Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't include jquery-rails in Gemfile
  • Loading branch information
dpowell committed Apr 22, 2012
1 parent e2e8698 commit 8379f97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rails-api/templates/rails/app/Gemfile
Expand Up @@ -9,8 +9,6 @@ gem 'rails-api'
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
<%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>

<%= javascript_gemfile_entry %>
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

Expand Down
1 change: 1 addition & 0 deletions test/generators/app_generator_test.rb
Expand Up @@ -18,6 +18,7 @@ def test_api_modified_files
assert_file "Gemfile" do |content|
assert_match(/gem 'rails-api'/, content)
assert_no_match(/gem 'coffee-rails'/, content)
assert_no_match(/gem 'jquery-rails'/, content)
assert_no_match(/gem 'sass-rails'/, content)
end
assert_file "app/controllers/application_controller.rb", /ActionController::API/
Expand Down

0 comments on commit 8379f97

Please sign in to comment.