rails_simple_config 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7062295f831684ba50ddcf292ee79cafc5857106
4
- data.tar.gz: 81980f9ce7356c3bcd2bec9b0ac1f1bec3d31b03
2
+ SHA256:
3
+ metadata.gz: c9ed6457bebcf56575fd58f53b9de1be10142eeffe5ea31929ed759ddf3fcfff
4
+ data.tar.gz: ad3bf77166571f0f00cfa235c61b1de101e161c254c88e829942bff1e8c4ead2
5
5
  SHA512:
6
- metadata.gz: be92eb057ed4a1d32a26a7baf525d5b35ad6528869f61b0232b60408a3c1be89b5cef66389b4a833fc6169234101808b9a89e17d2aea1c4a31cee020a84a4144
7
- data.tar.gz: f2cc3d168e8c8ca02a5a95a1bd1322b1361ad97b597b8443c1c1b0c218e7c91d1070373766205362e006829b78ffe86bccdb712ade07743ec875f2597f684b72
6
+ metadata.gz: 49d255e1a4b7f60e7a68f69be2c4f3353b26c9e8dfd7959bf4c1b345261db0be1c3fdd58b3bf483f83723c09057122eac70d530c7819b25e0b619d66caaa6dc6
7
+ data.tar.gz: 4d83170dc860f7e12dece846a9c05148375aeadc10ea2ac80a58210fc94018f5b4c60b9d99b682e0d2208b1b24faa4e3b9bffea09ab8a96214513b87fb1a3023
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_simple_config (0.0.5)
4
+ rails_simple_config (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -12,3 +12,6 @@ PLATFORMS
12
12
 
13
13
  DEPENDENCIES
14
14
  rails_simple_config!
15
+
16
+ BUNDLED WITH
17
+ 1.17.1
@@ -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
- prepend_before_filter { ::SimpleConfig.reload! }
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
@@ -1,3 +1,3 @@
1
1
  module RailsSimpleConfig
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  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.5
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: 2014-05-14 00:00:00.000000000 Z
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.2.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