diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e73dd6f..8830607 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2015-10-20 18:42:42 -0500 using RuboCop version 0.34.1. +# on 2015-10-29 13:19:55 -0500 using RuboCop version 0.34.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -10,3 +10,9 @@ # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 91 + +# Offense count: 1 +# Configuration parameters: Exclude. +Style/FileName: + Exclude: + - 'lib/critical-path-css-rails.rb' diff --git a/README.md b/README.md index 4100dd6..836567d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ bundle install Run the generator to install the rake task and configuration file: ``` -rails generator critical_path_css:install +rails generate critical_path_css:install ``` The generator adds the following files: diff --git a/lib/critical_path_css_rails.rb b/lib/critical-path-css-rails.rb similarity index 100% rename from lib/critical_path_css_rails.rb rename to lib/critical-path-css-rails.rb diff --git a/lib/critical_path_css/rails/version.rb b/lib/critical_path_css/rails/version.rb index 38862d2..7115eaa 100644 --- a/lib/critical_path_css/rails/version.rb +++ b/lib/critical_path_css/rails/version.rb @@ -1,6 +1,6 @@ module CriticalPathCSS module Rails - VERSION = '0.2.1' + VERSION = '0.2.2' PENTHOUSE_VERSION = '0.3.4' end end diff --git a/lib/tasks/critical_path_css.rake b/lib/tasks/critical_path_css.rake index 5137a4e..30016fb 100644 --- a/lib/tasks/critical_path_css.rake +++ b/lib/tasks/critical_path_css.rake @@ -1,4 +1,4 @@ -require 'critical_path_css_rails' +require 'critical-path-css-rails' namespace :critical_path_css do desc 'Generate critical CSS for the routes defined'