fluidfeatures-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fluidfeatures/rails.rb +1 -1
- data/lib/fluidfeatures/rails/version.rb +1 -1
- metadata +2 -2
data/lib/fluidfeatures/rails.rb
CHANGED
@@ -37,7 +37,7 @@ module FluidFeatures
|
|
37
37
|
replacements["baseuri"] = ENV["FLUIDFEATURES_BASEURI"] if ENV["FLUIDFEATURES_BASEURI"]
|
38
38
|
replacements["appid"] = ENV["FLUIDFEATURES_APPID"] if ENV["FLUIDFEATURES_APPID"]
|
39
39
|
replacements["secret"] = ENV["FLUIDFEATURES_SECRET"] if ENV["FLUIDFEATURES_SECRET"]
|
40
|
-
config = ::FluidFeatures::Config.new("#{::Rails.root}/config/
|
40
|
+
config = ::FluidFeatures::Config.new("#{::Rails.root}/config/fluidfeatures.yml", ::Rails.env, replacements)
|
41
41
|
::FluidFeatures::Rails.ff_app = ::FluidFeatures.app(config)
|
42
42
|
ActionController::Base.append_before_filter :fluidfeatures_request_before
|
43
43
|
ActionController::Base.append_after_filter :fluidfeatures_request_after
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluidfeatures-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluidfeatures
|