complex_config 0.13.2 → 0.13.3

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
2
  SHA1:
3
- metadata.gz: 6801d4be41f9717643e5d2c8c3a6579fe2f74af9
4
- data.tar.gz: 15c87e5fccfe600f5e775d996feac8ee5c6c174e
3
+ metadata.gz: a30efbe0003ba98aded93c617b1802b6f0f9c023
4
+ data.tar.gz: 695341b002c6b75e5fd42aa6776977c9783c526f
5
5
  SHA512:
6
- metadata.gz: 578bc404bf7d30fd04865fc0855c719e6f9285d0e7031bf9040b66a3be8667ae4ed5850902e86fe8a77b517851b7cca90423907aca6de1e75d1bbf9f963e8b4f
7
- data.tar.gz: 52b81ccae832406d4cfd652baff4434c5a72ecb6cfd884edcabe899ad6755b220a2cbf3dd56ccc20570ea43f2fc2840bfde462e8b110f905d4460eb4ae4b5c3c
6
+ metadata.gz: 0a9364ac60919da664a58ff68edfce039809981938a984a218ced78e842393f93c1dfbfee86bd587f07a69a7adfc38a495f7a1e3826cc9e4942a86c874a80d67
7
+ data.tar.gz: 21731f876190780615611b2fbf48f564ebac28778fecd6048959050e6d1e6f018ad4ada85fc4547bd11beedcfc4c1f916d9f7972588e9267b5c7ed82b444bf9d
data/README.md CHANGED
@@ -95,7 +95,7 @@ can for example do in a rails config/initializers file:
95
95
 
96
96
  ComplexConfig.configure do |config|
97
97
  config.deep_freeze = !Rails.env.test? # allow modification during tests b/c of stubs etc.
98
-
98
+
99
99
  # config.env = 'some_environment'
100
100
 
101
101
  # config.config_dir = Rails.root + 'config'
@@ -144,6 +144,10 @@ Here is the `ComplexConfig::Plugins::MONEY` plugin for example:
144
144
 
145
145
  ## Changes
146
146
 
147
+ * 2018-02-23 Release 0.13.3
148
+ Change evaluation order of key sources
149
+ * 2018-02-23 Release 0.13.2
150
+ Refactor key sources
147
151
  * 2018-02-09 Release 0.13.1
148
152
  Improve error reporting for encrypted files (missing key)
149
153
  * 2018-01-26 Release 0.13.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.2
1
+ 0.13.3
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: complex_config 0.13.2 ruby lib
2
+ # stub: complex_config 0.13.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "complex_config".freeze
6
- s.version = "0.13.2"
6
+ s.version = "0.13.3"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
@@ -168,8 +168,8 @@ class ComplexConfig::Provider
168
168
 
169
169
  def key_source(pathname = nil)
170
170
  [
171
- ComplexConfig::KeySource.new(pathname: pathname),
172
171
  ComplexConfig::KeySource.new(var: @key),
172
+ ComplexConfig::KeySource.new(pathname: pathname),
173
173
  ComplexConfig::KeySource.new(env_var: 'COMPLEX_CONFIG_KEY'),
174
174
  ComplexConfig::KeySource.new(env_var: 'RAILS_MASTER_KEY'),
175
175
  ComplexConfig::KeySource.new(master_key_pathname: master_key_pathname),
@@ -1,6 +1,6 @@
1
1
  module ComplexConfig
2
2
  # ComplexConfig version
3
- VERSION = '0.13.2'
3
+ VERSION = '0.13.3'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: complex_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank