adaptiveconfiguration 1.0.0.beta03 → 1.0.0.beta04

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
  SHA256:
3
- metadata.gz: ec8e4cec6a37127b4bc376f810cbee603723b067dab0d335f93b3dbcc3650704
4
- data.tar.gz: 713dab6e604323df35ce20cacd034165801240c22ac0d92f86a65828811626cc
3
+ metadata.gz: a11fad3ccce7d331a27190c743c44688ad95900a7cc8f168a4fdcb824b625bce
4
+ data.tar.gz: aa7ed25488d182dcaf59ec3f2f0a6442c9004660d9c22b8b1ba73b0e730b190c
5
5
  SHA512:
6
- metadata.gz: 2675668e7ed07d9f17d410dd0be09fb4a52c40e9e98e30f770494e4cbebbcb6cb7e5b34c6b4677fa06e5ac60b36619730ef6144bed94e5453bb8de667766af1e
7
- data.tar.gz: d794189593853971ac8bb9edf88ee2d8bae4aa1f6299fed358c40c29c5b9f9194af56e75aed5d58fbdff5169679fd34b4b1d31586b5dc48f67697da8161031c3
6
+ metadata.gz: 82df20c8476433d0cec6cb10df0242b5b2b9acfe426741727871f67bde4b46b1bff4e3ab56c1bd8553284d5336074f48abad92ba30f3cc4ef2f27ca41e5b2429
7
+ data.tar.gz: c83a76b55815d78ddc19cce6a118ce6ce26f4c3a4288837e40ee9b565db1d13c329d8dfed04ef1f42923d76b703d20742b73de652a4857fd2f9b0f158e64c850
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do | spec |
2
2
 
3
3
  spec.name = 'adaptiveconfiguration'
4
- spec.version = '1.0.0.beta03'
4
+ spec.version = '1.0.0.beta04'
5
5
  spec.authors = [ 'Kristoph Cichocki-Romanov' ]
6
6
  spec.email = [ 'rubygems.org@kristoph.net' ]
7
7
 
@@ -116,8 +116,11 @@ module AdaptiveConfiguration
116
116
  unless definition[ :array ]
117
117
  if definition[ :type ] == :group
118
118
  context =
119
- @values[ name ] ||
120
- Context.new( converters: @converters, definitions: definition[ :definitions ] )
119
+ @values[ name ] || Context.new(
120
+ args.first,
121
+ converters: @converters,
122
+ definitions: definition[ :definitions ]
123
+ )
121
124
  context.instance_eval( &block ) if block
122
125
  @values[ name ] = context
123
126
  else
@@ -130,7 +133,11 @@ module AdaptiveConfiguration
130
133
  ::Array.new :
131
134
  @values[ name ] || ::Array.new
132
135
  if definition[ :type ] == :group
133
- context = Context.new( converters: @converters, definitions: definition[ :definitions ] )
136
+ context = Context.new(
137
+ args.first,
138
+ converters: @converters,
139
+ definitions: definition[ :definitions ]
140
+ )
134
141
  context.instance_eval( &block ) if block
135
142
  @values[ name ] << context
136
143
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adaptiveconfiguration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta03
4
+ version: 1.0.0.beta04
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristoph Cichocki-Romanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-06 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec