config 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d41f995d1fd8d3aee4387a3cb11760b1441bebaa
4
- data.tar.gz: cfcf41a24aad2faf1f0dfd624084bfcc7a27e173
3
+ metadata.gz: 33b69a268cf5f3283b1d14ea01b4345fbd6433ef
4
+ data.tar.gz: 4ad2fb585182fd398877f53974bba1244eae8bea
5
5
  SHA512:
6
- metadata.gz: 4ebe8a4086d0f1b2ab535bb580ef8abd256806bab29108cb1caff44750364b3c4cadbb36502eb1b418411970a1496da37cf1dd16329b9237cc2c9578c820a3c3
7
- data.tar.gz: ec664ab9191b81f8d44f59f4e60a79e3bf2505b556be7cfaf4209ccbb9ba8574ff02c6afa14ecf3c140ee14a5a336547ba42e753cc2a49eec1d167dc0809e670
6
+ metadata.gz: a92ef95bc9265fcd182d29cffd3f37e2bd71f3b0e3d8ca4d0f540f62389c4aaab2fbddd4ba15b45fd11c782c9ed3836eabe35927c3ceb3bd54abdf4d616cb1cc
7
+ data.tar.gz: 58568bb221dd00b41b8b5305510c763bf1610b63e7904a41e38ef1b5305c79e9ca0cbb49f3177bbb33c8107075314e5349d1ebd9d26e3fe1b15810c71b46057e
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0
4
+
5
+ * Add ability to load settings from ENV variables ([#108](https://github.com/railsconfig/config/issues/108) thanks @vinceve and @spalladino)
6
+ * Removed Rails 5 deprecation warnings for prepend_before_filter ([#141](https://github.com/railsconfig/config/pull/141)
7
+
3
8
  ## 1.1.1
4
9
 
5
10
  * Downgrade minimum ruby version to 2.0.0 ([#136](https://github.com/railsconfig/config/issues/136))
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- The MIT License (MIT)
1
+ # The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2010-2014 Jacques Crocker, Fred Wu, Piotr Kuczynski
4
4
 
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # Config
2
+
1
3
  [![Build Status](https://api.travis-ci.org/railsconfig/config.svg?branch=master)](http://travis-ci.org/railsconfig/config)
2
4
  [![Gem Version](https://badge.fury.io/rb/config.svg)](http://badge.fury.io/rb/config)
3
5
  [![Dependency Status](https://gemnasium.com/railsconfig/config.svg)](https://gemnasium.com/railsconfig/config)
@@ -5,8 +7,6 @@
5
7
  [![Issue Count](https://codeclimate.com/github/railsconfig/config/badges/issue_count.svg)](https://codeclimate.com/github/railsconfig/config)
6
8
  [![Test Coverage](https://codeclimate.com/github/railsconfig/config/badges/coverage.svg)](https://codeclimate.com/github/railsconfig/config/coverage)
7
9
 
8
- # Config
9
-
10
10
  ## Summary
11
11
 
12
12
  Config helps you easily manage environment specific settings in an easy and usable manner.
@@ -23,7 +23,7 @@ Config helps you easily manage environment specific settings in an easy and usab
23
23
  ## Compatibility
24
24
 
25
25
  * Ruby `2.x`
26
- * Rails `>= 3.1` and `4`
26
+ * Rails `>= 3.1`, `4` and `5`
27
27
  * Padrino
28
28
  * Sinatra
29
29
 
@@ -31,7 +31,7 @@ For older versions of Rails or Ruby use [AppConfig](http://github.com/fredwu/app
31
31
 
32
32
  ## Installing
33
33
 
34
- ### Installing on Rails 3 or 4
34
+ ### Installing on Rails 3, 4 or 5
35
35
 
36
36
  Add `gem 'config'` to your `Gemfile` and run `bundle install` to install it. Then run
37
37
 
@@ -252,51 +252,102 @@ Settings.section.servers[1].name # => amazon.com
252
252
 
253
253
  ## Configuration
254
254
 
255
- You can customize `Config` only once, preferably during application initialization phase:
255
+ There are multiple configuration options available, however you can customize `Config` only once, preferably during
256
+ application initialization phase:
256
257
 
257
258
  ```ruby
258
259
  Config.setup do |config|
259
260
  config.const_name = 'Settings'
260
- config.knockout_prefix = nil
261
+ ...
261
262
  end
262
263
  ```
263
264
 
264
- After installing `Config` in Rails, you will find this configuration at `config/initializers/config.rb`.
265
+ After installing `Config` in Rails, you will find automatically generated file that contains default configuration
266
+ located at `config/initializers/config.rb`.
265
267
 
266
- Following options are available:
268
+ ### General
267
269
 
268
270
  * `const_name` - name of the object holing you settings. Default: `'Settings'`
269
271
 
270
- Inheritance customization (check [Deep Merge](https://github.com/danielsdeleo/deep_merge) for more details):
272
+ ### Merge customization
271
273
 
272
274
  * `knockout_prefix` - ability to remove elements of the array set in earlier loaded settings file. Default: `nil`
273
275
 
274
- ## Working with Heroku
276
+ Check [Deep Merge](https://github.com/danielsdeleo/deep_merge) for more details.
275
277
 
276
- Heroku uses ENV object to store sensitive settings which are like the local files described above. You cannot upload
277
- such files to Heroku because it's ephemeral filesystem gets recreated from the git sources on each instance refresh.
278
+ ### Environment variables
278
279
 
279
- To use config with Heroku just set the `use_env` var to `true` in your `config/initializers/config.rb` file. Eg:
280
+ See section below for more details.
281
+
282
+ ## Working with environment variables
283
+
284
+ To load environment variables from the `ENV` object, that will override any settings defined in files, set the `use_env`
285
+ to true in your `config/initializers/config.rb` file:
280
286
 
281
287
  ```ruby
282
288
  Config.setup do |config|
283
- config.const_name = 'AppSettings'
289
+ config.const_name = 'Settings'
284
290
  config.use_env = true
285
291
  end
286
292
  ```
287
293
 
288
294
  Now config would read values from the ENV object to the settings. For the example above it would look for keys starting
289
- with 'AppSettings'. Eg:
295
+ with `Settings`:
290
296
 
291
297
  ```ruby
292
- ENV['AppSettings.section.size'] = 1
293
- ENV['AppSettings.section.server'] = 'google.com'
298
+ ENV['Settings.section.size'] = 1
299
+ ENV['Settings.section.server'] = 'google.com'
294
300
  ```
295
301
 
296
302
  It won't work with arrays, though.
297
303
 
304
+ ### Working with Heroku
305
+
306
+ Heroku uses ENV object to store sensitive settings. You cannot upload such files to Heroku because it's ephemeral
307
+ filesystem gets recreated from the git sources on each instance refresh. To use config with Heroku just set the
308
+ `use_env` var to `true` as mentioned above.
309
+
298
310
  To upload your local values to Heroku you could ran `bundle exec rake config:heroku`.
299
311
 
312
+ ### Fine-tuning
313
+
314
+ You can customize how environment variables are processed:
315
+
316
+ * `env_prefix` - which variables to load into config
317
+ * `env_separator` - what string to use as level separator instead of dots - default value of `.` works well with
318
+ Heroku, but you might want to change it for example for `__` to easy override settings from command line, where using
319
+ dots in variable names might not be allowed (eg. Bash)
320
+ * `env_converter` - how to process variables names:
321
+ * `nil` - no change
322
+ * `:downcase` - convert to lower case
323
+ * `env_parse_values` - parse numeric values as integers instead of strings
324
+
325
+ For instance, given the following environment:
326
+
327
+ ```bash
328
+ SETTINGS__SECTION__SERVER_SIZE=1
329
+ SETTINGS__SECTION__SERVER=google.com
330
+ ```
331
+
332
+ And the following configuration:
333
+
334
+ ```ruby
335
+ Config.setup do |config|
336
+ config.use_env = true
337
+ config.env_prefix = 'Settings'
338
+ config.env_separator = '__'
339
+ config.env_converter = :downcase
340
+ config.env_parse_values = true
341
+ end
342
+ ```
343
+
344
+ The following settings will be available:
345
+
346
+ ```ruby
347
+ Settings.section.server_size # => 1
348
+ Settings.section.server # => 'google.com'
349
+ ```
350
+
300
351
  ## Contributing
301
352
 
302
353
  Bootstrap
@@ -319,8 +370,8 @@ mdl --style .mdlstyle.rb *.md
319
370
 
320
371
  ## Authors
321
372
 
322
- * [Fred Wu](http://github.com/fredwu)
323
373
  * [Piotr Kuczynski](http://github.com/pkuczynski)
374
+ * [Fred Wu](http://github.com/fredwu)
324
375
  * [Jacques Crocker](http://github.com/railsjedi)
325
376
  * Inherited from [AppConfig](http://github.com/cjbottaro/app_config) by [Christopher J. Bottaro](http://github.com/cjbottaro)
326
377
 
@@ -1,50 +1,48 @@
1
- $:.push File.expand_path("../lib", __FILE__)
1
+ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  # Maintain your gem's version:
4
4
  require 'config/version'
5
5
 
6
6
  # Describe your gem and declare its dependencies:
7
7
  Gem::Specification.new do |s|
8
- s.name = "config"
8
+ s.name = 'config'
9
9
  s.version = Config::VERSION
10
10
  s.date = Time.now.strftime '%F'
11
- s.authors = ["Jacques Crocker", "Fred Wu", "Piotr Kuczynski"]
12
- s.email = ["railsjedi@gmail.com", "ifredwu@gmail.com", "piotr.kuczynski@gmail.com"]
13
- s.summary = "Effortless multi-environment settings in Rails, Sinatra, Pandrino and others"
14
- s.description = "Easiest way to manage multi-environment settings in any ruby project or framework: Rails, Sinatra, Pandrino and others"
15
- s.homepage = "https://github.com/railsconfig/config"
16
- s.license = "MIT"
17
- s.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.md"]
18
- s.rdoc_options = ["--charset=UTF-8"]
11
+ s.authors = ['Piotr Kuczynski', 'Fred Wu', 'Jacques Crocker']
12
+ s.email = %w(piotr.kuczynski@gmail.com ifredwu@gmail.com railsjedi@gmail.com)
13
+ s.summary = 'Effortless multi-environment settings in Rails, Sinatra, Pandrino and others'
14
+ s.description = 'Easiest way to manage multi-environment settings in any ruby project or framework: Rails, Sinatra, Pandrino and others'
15
+ s.homepage = 'https://github.com/railsconfig/config'
16
+ s.license = 'MIT'
17
+ s.extra_rdoc_files = %w(README.md CHANGELOG.md LICENSE.md)
18
+ s.rdoc_options = ['--charset=UTF-8']
19
19
 
20
20
  s.files = `git ls-files`.split($/)
21
21
  s.files.select! { |file| /(^lib\/|\.md$|\.gemspec$)/ =~ file }
22
- s.files += Dir.glob("doc/**/*")
22
+ s.files += Dir.glob('doc/**/*')
23
23
 
24
- s.require_paths = ["lib"]
25
- s.required_ruby_version = ">= 2.0.0"
24
+ s.require_paths = ['lib']
25
+ s.required_ruby_version = '>= 2.0.0'
26
26
 
27
- s.add_dependency "activesupport", ">= 3.0"
28
- s.add_dependency "deep_merge", "~> 1.0.1"
27
+ s.add_dependency 'activesupport', '>= 3.0'
28
+ s.add_dependency 'deep_merge', '~> 1.0', '>= 1.0.1'
29
29
 
30
- s.add_development_dependency "bundler", "~> 1.11.2"
31
- s.add_development_dependency "rake"
32
- s.add_development_dependency "rdoc"
33
- s.add_development_dependency "pry"
30
+ s.add_development_dependency 'bundler', '~> 1.11', '>= 1.11.2'
31
+ s.add_development_dependency 'rake', '~> 11.1', '>= 11.1.2'
34
32
 
35
33
  # Testing
36
- s.add_development_dependency "appraisal", "~> 2.1.0"
37
- s.add_development_dependency "rails", "~> 4.2.6"
38
- s.add_development_dependency "rspec", "~> 3.4.0"
39
- s.add_development_dependency "rspec-rails", "~> 3.4.2"
40
- s.add_development_dependency "test-unit", "~> 3.1.7"
41
- s.add_development_dependency "sqlite3"
34
+ s.add_development_dependency 'appraisal', '~> 2.1', '>= 2.1.0'
35
+ s.add_development_dependency 'rails', '~> 4.2', '>= 4.2.6'
36
+ s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
37
+ s.add_development_dependency 'rspec-rails', '~> 3.4', '>= 3.4.2'
38
+ s.add_development_dependency 'test-unit', '~> 3.1', '>= 3.1.7'
39
+ s.add_development_dependency 'sqlite3', '~> 1.3', '>= 1.3.11'
42
40
 
43
41
  # Static code analysis
44
- s.add_development_dependency "mdl"
45
- s.add_development_dependency "rubocop"
42
+ s.add_development_dependency 'mdl', '~> 0.3', '>= 0.3.1'
43
+ s.add_development_dependency 'rubocop', '~> 0.40', '>= 0.40.0'
46
44
 
47
45
  if ENV['TRAVIS']
48
- s.add_development_dependency "codeclimate-test-reporter"
46
+ s.add_development_dependency 'codeclimate-test-reporter'
49
47
  end
50
48
  end
@@ -11,9 +11,13 @@ module Config
11
11
  # Ensures the setup only gets run once
12
12
  @@_ran_once = false
13
13
 
14
- mattr_accessor :const_name, :use_env
15
- @@const_name = "Settings"
14
+ mattr_accessor :const_name, :use_env, :env_prefix, :env_separator, :env_converter, :env_parse_values
15
+ @@const_name = 'Settings'
16
16
  @@use_env = false
17
+ @@env_prefix = @@const_name
18
+ @@env_separator = '.'
19
+ @@env_converter = nil
20
+ @@env_parse_values = false
17
21
 
18
22
  # deep_merge options
19
23
  mattr_accessor :knockout_prefix
@@ -25,7 +25,11 @@ module Config
25
25
  if ::Rails.env.development?
26
26
  initializer :config_reload_on_development do
27
27
  ActionController::Base.class_eval do
28
- prepend_before_filter { ::Config.reload! }
28
+ if ::Rails::VERSION::MAJOR >= 4
29
+ prepend_before_action { ::Config.reload! }
30
+ else
31
+ prepend_before_filter { ::Config.reload! }
32
+ end
29
33
  end
30
34
  end
31
35
  end
@@ -31,15 +31,21 @@ module Config
31
31
  return self if ENV.nil? || ENV.empty?
32
32
  conf = Hash.new
33
33
  ENV.each do |key, value|
34
- next unless key.to_s.index(Config.const_name) == 0
35
- hash = value
36
- key.to_s.split('.').reverse.each do |element|
34
+ next unless key.to_s.index(Config.env_prefix || Config.const_name) == 0
35
+ hash = Config.env_parse_values ? __value(value) : value
36
+ key.to_s.split(Config.env_separator).reverse[0...-1].each do |element|
37
+ element = case Config.env_converter
38
+ when :downcase then element.downcase
39
+ when nil then element
40
+ else raise "Invalid env converter: #{Config.env_converter}"
41
+ end
42
+
37
43
  hash = {element => hash}
38
44
  end
39
45
  DeepMerge.deep_merge!(hash, conf, :preserve_unmergeables => false)
40
46
  end
41
47
 
42
- merge!(conf[Config.const_name] || {})
48
+ merge!(conf)
43
49
  end
44
50
 
45
51
  alias :load_env! :reload_env!
@@ -158,5 +164,10 @@ module Config
158
164
  end
159
165
  s
160
166
  end
167
+
168
+ # Return an integer if it looks like one
169
+ def __value(v)
170
+ Integer(v) rescue v
171
+ end
161
172
  end
162
173
  end
@@ -1,3 +1,3 @@
1
1
  module Config
2
- VERSION = '1.1.1'
2
+ VERSION = '1.2.0'
3
3
  end
@@ -1,7 +1,32 @@
1
1
  Config.setup do |config|
2
- # Name of the constat exposing loaded settings
2
+ # Name of the constant exposing loaded settings
3
3
  config.const_name = 'Settings'
4
4
 
5
- # Ability to remove elements of the array set in earlier loaded settings file. Default: nil
6
- # config.knockout_prefix = '--'
5
+ # Ability to remove elements of the array set in earlier loaded settings file. For example value: '--'.
6
+ #
7
+ # config.knockout_prefix = nil
8
+
9
+ # Load environment variables from the `ENV` object and override any settings defined in files.
10
+ #
11
+ # config.use_env = false
12
+
13
+ # Define ENV variable prefix deciding which variables to load into config.
14
+ #
15
+ # config.env_prefix = 'Settings'
16
+
17
+ # What string to use as level separator for settings loaded from ENV variables. Default value of '.' works well
18
+ # with Heroku, but you might want to change it for example for '__' to easy override settings from command line, where
19
+ # using dots in variable names might not be allowed (eg. Bash).
20
+ #
21
+ # config.env_separator = '.'
22
+
23
+ # Ability to process variables names:
24
+ # * nil - no change
25
+ # * :downcase - convert to lower case
26
+ #
27
+ # config.env_converter = nil
28
+
29
+ # Parse numeric values as integers instead of strings.
30
+ #
31
+ # config.env_parse_values = false
7
32
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - Jacques Crocker
8
- - Fred Wu
9
7
  - Piotr Kuczynski
8
+ - Fred Wu
9
+ - Jacques Crocker
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-05-11 00:00:00.000000000 Z
13
+ date: 2016-05-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -31,6 +31,9 @@ dependencies:
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '1.0'
36
+ - - ">="
34
37
  - !ruby/object:Gem::Version
35
38
  version: 1.0.1
36
39
  type: :runtime
@@ -38,6 +41,9 @@ dependencies:
38
41
  version_requirements: !ruby/object:Gem::Requirement
39
42
  requirements:
40
43
  - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.0'
46
+ - - ">="
41
47
  - !ruby/object:Gem::Version
42
48
  version: 1.0.1
43
49
  - !ruby/object:Gem::Dependency
@@ -45,6 +51,9 @@ dependencies:
45
51
  requirement: !ruby/object:Gem::Requirement
46
52
  requirements:
47
53
  - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.11'
56
+ - - ">="
48
57
  - !ruby/object:Gem::Version
49
58
  version: 1.11.2
50
59
  type: :development
@@ -52,55 +61,39 @@ dependencies:
52
61
  version_requirements: !ruby/object:Gem::Requirement
53
62
  requirements:
54
63
  - - "~>"
64
+ - !ruby/object:Gem::Version
65
+ version: '1.11'
66
+ - - ">="
55
67
  - !ruby/object:Gem::Version
56
68
  version: 1.11.2
57
69
  - !ruby/object:Gem::Dependency
58
70
  name: rake
59
71
  requirement: !ruby/object:Gem::Requirement
60
72
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
73
+ - - "~>"
69
74
  - !ruby/object:Gem::Version
70
- version: '0'
71
- - !ruby/object:Gem::Dependency
72
- name: rdoc
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
75
+ version: '11.1'
75
76
  - - ">="
76
77
  - !ruby/object:Gem::Version
77
- version: '0'
78
+ version: 11.1.2
78
79
  type: :development
79
80
  prerelease: false
80
81
  version_requirements: !ruby/object:Gem::Requirement
81
82
  requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: '0'
85
- - !ruby/object:Gem::Dependency
86
- name: pry
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ">="
83
+ - - "~>"
90
84
  - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
85
+ version: '11.1'
96
86
  - - ">="
97
87
  - !ruby/object:Gem::Version
98
- version: '0'
88
+ version: 11.1.2
99
89
  - !ruby/object:Gem::Dependency
100
90
  name: appraisal
101
91
  requirement: !ruby/object:Gem::Requirement
102
92
  requirements:
103
93
  - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.1'
96
+ - - ">="
104
97
  - !ruby/object:Gem::Version
105
98
  version: 2.1.0
106
99
  type: :development
@@ -108,6 +101,9 @@ dependencies:
108
101
  version_requirements: !ruby/object:Gem::Requirement
109
102
  requirements:
110
103
  - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '2.1'
106
+ - - ">="
111
107
  - !ruby/object:Gem::Version
112
108
  version: 2.1.0
113
109
  - !ruby/object:Gem::Dependency
@@ -115,6 +111,9 @@ dependencies:
115
111
  requirement: !ruby/object:Gem::Requirement
116
112
  requirements:
117
113
  - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '4.2'
116
+ - - ">="
118
117
  - !ruby/object:Gem::Version
119
118
  version: 4.2.6
120
119
  type: :development
@@ -122,6 +121,9 @@ dependencies:
122
121
  version_requirements: !ruby/object:Gem::Requirement
123
122
  requirements:
124
123
  - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '4.2'
126
+ - - ">="
125
127
  - !ruby/object:Gem::Version
126
128
  version: 4.2.6
127
129
  - !ruby/object:Gem::Dependency
@@ -129,6 +131,9 @@ dependencies:
129
131
  requirement: !ruby/object:Gem::Requirement
130
132
  requirements:
131
133
  - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: '3.4'
136
+ - - ">="
132
137
  - !ruby/object:Gem::Version
133
138
  version: 3.4.0
134
139
  type: :development
@@ -136,6 +141,9 @@ dependencies:
136
141
  version_requirements: !ruby/object:Gem::Requirement
137
142
  requirements:
138
143
  - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3.4'
146
+ - - ">="
139
147
  - !ruby/object:Gem::Version
140
148
  version: 3.4.0
141
149
  - !ruby/object:Gem::Dependency
@@ -143,6 +151,9 @@ dependencies:
143
151
  requirement: !ruby/object:Gem::Requirement
144
152
  requirements:
145
153
  - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '3.4'
156
+ - - ">="
146
157
  - !ruby/object:Gem::Version
147
158
  version: 3.4.2
148
159
  type: :development
@@ -150,6 +161,9 @@ dependencies:
150
161
  version_requirements: !ruby/object:Gem::Requirement
151
162
  requirements:
152
163
  - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '3.4'
166
+ - - ">="
153
167
  - !ruby/object:Gem::Version
154
168
  version: 3.4.2
155
169
  - !ruby/object:Gem::Dependency
@@ -157,6 +171,9 @@ dependencies:
157
171
  requirement: !ruby/object:Gem::Requirement
158
172
  requirements:
159
173
  - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: '3.1'
176
+ - - ">="
160
177
  - !ruby/object:Gem::Version
161
178
  version: 3.1.7
162
179
  type: :development
@@ -164,56 +181,77 @@ dependencies:
164
181
  version_requirements: !ruby/object:Gem::Requirement
165
182
  requirements:
166
183
  - - "~>"
184
+ - !ruby/object:Gem::Version
185
+ version: '3.1'
186
+ - - ">="
167
187
  - !ruby/object:Gem::Version
168
188
  version: 3.1.7
169
189
  - !ruby/object:Gem::Dependency
170
190
  name: sqlite3
171
191
  requirement: !ruby/object:Gem::Requirement
172
192
  requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '1.3'
173
196
  - - ">="
174
197
  - !ruby/object:Gem::Version
175
- version: '0'
198
+ version: 1.3.11
176
199
  type: :development
177
200
  prerelease: false
178
201
  version_requirements: !ruby/object:Gem::Requirement
179
202
  requirements:
203
+ - - "~>"
204
+ - !ruby/object:Gem::Version
205
+ version: '1.3'
180
206
  - - ">="
181
207
  - !ruby/object:Gem::Version
182
- version: '0'
208
+ version: 1.3.11
183
209
  - !ruby/object:Gem::Dependency
184
210
  name: mdl
185
211
  requirement: !ruby/object:Gem::Requirement
186
212
  requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.3'
187
216
  - - ">="
188
217
  - !ruby/object:Gem::Version
189
- version: '0'
218
+ version: 0.3.1
190
219
  type: :development
191
220
  prerelease: false
192
221
  version_requirements: !ruby/object:Gem::Requirement
193
222
  requirements:
223
+ - - "~>"
224
+ - !ruby/object:Gem::Version
225
+ version: '0.3'
194
226
  - - ">="
195
227
  - !ruby/object:Gem::Version
196
- version: '0'
228
+ version: 0.3.1
197
229
  - !ruby/object:Gem::Dependency
198
230
  name: rubocop
199
231
  requirement: !ruby/object:Gem::Requirement
200
232
  requirements:
233
+ - - "~>"
234
+ - !ruby/object:Gem::Version
235
+ version: '0.40'
201
236
  - - ">="
202
237
  - !ruby/object:Gem::Version
203
- version: '0'
238
+ version: 0.40.0
204
239
  type: :development
205
240
  prerelease: false
206
241
  version_requirements: !ruby/object:Gem::Requirement
207
242
  requirements:
243
+ - - "~>"
244
+ - !ruby/object:Gem::Version
245
+ version: '0.40'
208
246
  - - ">="
209
247
  - !ruby/object:Gem::Version
210
- version: '0'
248
+ version: 0.40.0
211
249
  description: 'Easiest way to manage multi-environment settings in any ruby project
212
250
  or framework: Rails, Sinatra, Pandrino and others'
213
251
  email:
214
- - railsjedi@gmail.com
215
- - ifredwu@gmail.com
216
252
  - piotr.kuczynski@gmail.com
253
+ - ifredwu@gmail.com
254
+ - railsjedi@gmail.com
217
255
  executables: []
218
256
  extensions: []
219
257
  extra_rdoc_files: