complex_config 0.18.0 → 0.18.1

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
  SHA256:
3
- metadata.gz: 0cbfd36a1c362c5a31c41f18b56597d9e5fe746f8423cda94ea3997f7318d04b
4
- data.tar.gz: 2911005e7b9991a2d0d371dff643b387d24f270ea69f73173916ab283d393a66
3
+ metadata.gz: e73e68945dd80153f4d2b7bdf6230188c2f818116b1be2b5d15275f6a60bd4cf
4
+ data.tar.gz: 9b26daedb74a7ec7b964949157b090e132f2578caee5bc5017a8e9846e0737ae
5
5
  SHA512:
6
- metadata.gz: 6605061de0863fa15b7bd328339f97159e2af7d80dc2db5c9742dbb42277d982ad0dcafc96c3db9d3a58c1de14d2d6446d77a58b5bc9588648df1c38309540a6
7
- data.tar.gz: 10caa562325d06a8e2148303cb48010453eb7871df801432e42fbb250dbc56ae8f5354ccad2791dbebf93f3f62c34e07b2459b73d2bd52bea429ce47cdf870c3
6
+ metadata.gz: 34f7301a12996a624fda778cf814601324e7241fd955bd19b32d37cec572ee3cf0550ac2868851094bc2badfa86b79ede0614beb2f3f90c9c24a2d6535985b63
7
+ data.tar.gz: 62dd718af441e486f1ccf0c54201f4ca34cc46e02dd853956d331e8fbe903b3025e94734c84ec3cb854ae273cc009bcb3aefa874c48a4c0d786c6bbf16d0e807
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.18.0
1
+ 0.18.1
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: complex_config 0.18.0 ruby lib
2
+ # stub: complex_config 0.18.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "complex_config".freeze
6
- s.version = "0.18.0"
6
+ s.version = "0.18.1"
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]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2020-01-07"
11
+ s.date = "2020-08-26"
12
12
  s.description = "This library allows you to access configuration files via a simple interface".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["complex_config".freeze]
@@ -176,7 +176,9 @@ class ComplexConfig::Provider
176
176
  end
177
177
 
178
178
  def env
179
- @env || defined?(Rails) && Rails.env || ENV['RAILS_ENV'] || 'development'
179
+ @env || defined?(Rails) && Rails.respond_to?(:env) && Rails.env ||
180
+ ENV['RAILS_ENV'] ||
181
+ 'development'
180
182
  end
181
183
 
182
184
  attr_writer :env
@@ -1,6 +1,6 @@
1
1
  module ComplexConfig
2
2
  # ComplexConfig version
3
- VERSION = '0.18.0'
3
+ VERSION = '0.18.1'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: complex_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-07 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -200,7 +200,7 @@ homepage: https://github.com/flori/complex_config
200
200
  licenses:
201
201
  - Apache-2.0
202
202
  metadata: {}
203
- post_install_message:
203
+ post_install_message:
204
204
  rdoc_options:
205
205
  - "--title"
206
206
  - ComplexConfig -- configuration library
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  requirements: []
222
222
  rubygems_version: 3.1.2
223
- signing_key:
223
+ signing_key:
224
224
  specification_version: 4
225
225
  summary: configuration library
226
226
  test_files: