rails_simple_config 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +4 -1
- data/lib/rails_simple_config/railtie.rb +5 -1
- data/lib/rails_simple_config/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c9ed6457bebcf56575fd58f53b9de1be10142eeffe5ea31929ed759ddf3fcfff
|
4
|
+
data.tar.gz: ad3bf77166571f0f00cfa235c61b1de101e161c254c88e829942bff1e8c4ead2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d255e1a4b7f60e7a68f69be2c4f3353b26c9e8dfd7959bf4c1b345261db0be1c3fdd58b3bf483f83723c09057122eac70d530c7819b25e0b619d66caaa6dc6
|
7
|
+
data.tar.gz: 4d83170dc860f7e12dece846a9c05148375aeadc10ea2ac80a58210fc94018f5b4c60b9d99b682e0d2208b1b24faa4e3b9bffea09ab8a96214513b87fb1a3023
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,11 @@ module RailsSimpleConfig
|
|
12
12
|
if Rails.env.development?
|
13
13
|
initializer :load_simple_config_development do
|
14
14
|
ActionController::Base.class_eval do
|
15
|
-
|
15
|
+
if Rails::VERSION::MAJOR >= 5 && Rails::VERSION::MINOR >= 1
|
16
|
+
prepend_before_action { ::SimpleConfig.reload! }
|
17
|
+
else
|
18
|
+
prepend_before_filter { ::SimpleConfig.reload! }
|
19
|
+
end
|
16
20
|
end
|
17
21
|
end
|
18
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_simple_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Stefano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple YAML based configuration for Ruby on Rails, which supports shared
|
14
14
|
settings, ERB and more.
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
version: '0'
|
52
52
|
requirements: []
|
53
53
|
rubyforge_project: rails_simple_config
|
54
|
-
rubygems_version: 2.
|
54
|
+
rubygems_version: 2.7.6
|
55
55
|
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: Simple YAML based configuration gem for Rails
|