Skip to content

Commit 786bc80

Browse files
Merge pull request #4 from mudbugmedia/fix-rails-autoload-issue
Fix rails autoload issue
2 parents acf10bb + 523dd1e commit 786bc80

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

.rubocop_todo.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2015-10-20 18:42:42 -0500 using RuboCop version 0.34.1.
3+
# on 2015-10-29 13:19:55 -0500 using RuboCop version 0.34.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -10,3 +10,9 @@
1010
# Configuration parameters: AllowURI, URISchemes.
1111
Metrics/LineLength:
1212
Max: 91
13+
14+
# Offense count: 1
15+
# Configuration parameters: Exclude.
16+
Style/FileName:
17+
Exclude:
18+
- 'lib/critical-path-css-rails.rb'

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bundle install
2626
Run the generator to install the rake task and configuration file:
2727

2828
```
29-
rails generator critical_path_css:install
29+
rails generate critical_path_css:install
3030
```
3131

3232
The generator adds the following files:
File renamed without changes.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module CriticalPathCSS
22
module Rails
3-
VERSION = '0.2.1'
3+
VERSION = '0.2.2'
44
PENTHOUSE_VERSION = '0.3.4'
55
end
66
end

lib/tasks/critical_path_css.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'critical_path_css_rails'
1+
require 'critical-path-css-rails'
22

33
namespace :critical_path_css do
44
desc 'Generate critical CSS for the routes defined'

0 commit comments

Comments
 (0)