rails_config 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/rails_config/integration/sinatra.rb +3 -1
- data/lib/rails_config/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require "rails_config/rack/reloader"
|
2
|
+
|
1
3
|
module RailsConfig
|
2
4
|
# provide helper to register within your Sinatra app
|
3
5
|
#
|
@@ -22,7 +24,7 @@ module RailsConfig
|
|
22
24
|
File.join(root.to_s, "config", "environments", "#{env}.yml").to_s
|
23
25
|
)
|
24
26
|
|
25
|
-
inner_app.use(Rack::Reloader) if inner_app.development?
|
27
|
+
inner_app.use(::RailsConfig::Rack::Reloader) if inner_app.development?
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
data/lib/rails_config/version.rb
CHANGED