Skip to content

Commit

Permalink
Default generated Gemfile to coffee-rails ~> 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Oct 13, 2014
1 parent 5127857 commit fa5a1b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -14,7 +14,7 @@ gem 'mocha', '~> 0.14', require: false

gem 'rack-cache', '~> 1.2'
gem 'jquery-rails', '~> 4.0.0.beta2'
gem 'coffee-rails', '~> 4.0.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'turbolinks', '~> 2.2.3'

# require: false so bcrypt is loaded only when has_secure_password is used.
Expand Down
4 changes: 2 additions & 2 deletions railties/lib/rails/generators/app_base.rb
Expand Up @@ -265,11 +265,11 @@ def sdoc_gemfile_entry
end

def coffee_gemfile_entry
comment = 'Use CoffeeScript for .js.coffee assets and views'
comment = 'Use CoffeeScript for .coffee assets and views'
if options.dev? || options.edge?
GemfileEntry.github 'coffee-rails', 'rails/coffee-rails', comment
else
GemfileEntry.version 'coffee-rails', '~> 4.0.0', comment
GemfileEntry.version 'coffee-rails', '~> 4.1.0', comment
end
end

Expand Down

0 comments on commit fa5a1b9

Please sign in to comment.