Skip to content

Commit

Permalink
Rescope rails dependency for flexibility
Browse files Browse the repository at this point in the history
References rmosolgo#37:  Rails association should be more flexible now.
The runtime dependency on `railties` is required for Engine.

References rmosolgo#13: Having a runtime dependency on `sprockets-rails`
explicitly ensures that sprockets will be available for handling
application.{css,js} requests.
  • Loading branch information
ryanmt committed Mar 6, 2018
1 parent b19b002 commit 94ad3b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graphiql-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,lib}/**/*", "MIT-LICENSE", "readme.md"]
s.test_files = Dir["test/**/*"]

s.add_runtime_dependency "rails"
s.add_runtime_dependency "railties"
s.add_runtime_dependency "sprockets-rails"

s.add_development_dependency "rails"
s.add_development_dependency "sqlite3"
s.add_development_dependency "codeclimate-test-reporter", '~>0.4'
s.add_development_dependency "minitest", "~> 5"
Expand Down

0 comments on commit 94ad3b3

Please sign in to comment.