qonfig 0.18.1 → 0.19.0
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 +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +14 -0
- data/README.md +233 -34
- data/Rakefile +4 -2
- data/lib/qonfig/command_set.rb +14 -3
- data/lib/qonfig/commands/base.rb +37 -0
- data/lib/qonfig/commands/definition/add_nested_option.rb +3 -0
- data/lib/qonfig/commands/definition/add_option.rb +3 -0
- data/lib/qonfig/commands/definition/compose.rb +3 -0
- data/lib/qonfig/commands/definition/expose_json.rb +3 -0
- data/lib/qonfig/commands/definition/expose_self.rb +3 -0
- data/lib/qonfig/commands/definition/expose_yaml.rb +3 -0
- data/lib/qonfig/commands/definition/load_from_env.rb +3 -0
- data/lib/qonfig/commands/definition/load_from_json.rb +3 -0
- data/lib/qonfig/commands/definition/load_from_self.rb +3 -0
- data/lib/qonfig/commands/definition/load_from_yaml.rb +3 -0
- data/lib/qonfig/commands/instantiation/freeze_state.rb +18 -0
- data/lib/qonfig/commands/instantiation/values_file.rb +3 -0
- data/lib/qonfig/commands/instantiation.rb +1 -0
- data/lib/qonfig/data_set/class_builder.rb +11 -0
- data/lib/qonfig/data_set.rb +44 -16
- data/lib/qonfig/dsl.rb +10 -3
- data/lib/qonfig/errors.rb +24 -5
- data/lib/qonfig/plugins/abstract.rb +30 -1
- data/lib/qonfig/plugins/access_mixin.rb +11 -0
- data/lib/qonfig/plugins/pretty_print/data_set.rb +9 -0
- data/lib/qonfig/plugins/pretty_print/mixin.rb +24 -0
- data/lib/qonfig/plugins/pretty_print.rb +16 -0
- data/lib/qonfig/plugins/registry.rb +21 -0
- data/lib/qonfig/plugins/toml.rb +2 -2
- data/lib/qonfig/plugins.rb +15 -0
- data/lib/qonfig/settings/builder.rb +13 -2
- data/lib/qonfig/settings.rb +75 -8
- data/lib/qonfig/version.rb +1 -1
- data/lib/qonfig.rb +2 -0
- data/qonfig.gemspec +1 -1
- metadata +12 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qonfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -59,6 +59,9 @@ dependencies:
|
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.76'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 0.76.0.3
|
62
65
|
type: :development
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -66,6 +69,9 @@ dependencies:
|
|
66
69
|
- - "~>"
|
67
70
|
- !ruby/object:Gem::Version
|
68
71
|
version: '0.76'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.76.0.3
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: bundler
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,6 +157,7 @@ files:
|
|
151
157
|
- lib/qonfig/commands/definition/load_from_self.rb
|
152
158
|
- lib/qonfig/commands/definition/load_from_yaml.rb
|
153
159
|
- lib/qonfig/commands/instantiation.rb
|
160
|
+
- lib/qonfig/commands/instantiation/freeze_state.rb
|
154
161
|
- lib/qonfig/commands/instantiation/values_file.rb
|
155
162
|
- lib/qonfig/configurable.rb
|
156
163
|
- lib/qonfig/data_set.rb
|
@@ -174,6 +181,9 @@ files:
|
|
174
181
|
- lib/qonfig/plugins.rb
|
175
182
|
- lib/qonfig/plugins/abstract.rb
|
176
183
|
- lib/qonfig/plugins/access_mixin.rb
|
184
|
+
- lib/qonfig/plugins/pretty_print.rb
|
185
|
+
- lib/qonfig/plugins/pretty_print/data_set.rb
|
186
|
+
- lib/qonfig/plugins/pretty_print/mixin.rb
|
177
187
|
- lib/qonfig/plugins/registry.rb
|
178
188
|
- lib/qonfig/plugins/toml.rb
|
179
189
|
- lib/qonfig/plugins/toml/commands/expose_toml.rb
|