directive 0.24.0 → 0.25.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
  SHA256:
3
- metadata.gz: f4b65ae4632fd364637d4d6a342eee46ffa577aee6638c1c69ee69bbc2215357
4
- data.tar.gz: ca78edee3c25be6f367f03e89280e9ca3ee61c2c1d4a85f7603be7a30ca16a7f
3
+ metadata.gz: 8fb1887845733661d84f08fcd89db5b492093088d1a276cf52f6ed0fb6e9230d
4
+ data.tar.gz: dd235b4279ae0ef12c1509dde772002f1f481470a0e7d3cae9eebb996818f2c6
5
5
  SHA512:
6
- metadata.gz: 671cc9ead1f1394e95de171f1b5827bdf9bf979c088f0228c90fd4ff0e03d1eac64089368b0fa39b08956b60f8d38839e5283966eaa3c0ea1216aed4bda66cf3
7
- data.tar.gz: 64716207b988d73307bd3908b42130ea8ea20e20a3265f94837f56ab674d003b82e25346d5a5267ee00d1afd355e5a6860ddd00549a59fa9138745ef01c76104
6
+ metadata.gz: e6c67adc0e092d71c3e29ea0c00c444b7836317dc076df36f6eef8d01cf59e728c80e8f6a3a98efa036795c725b72a3ad08ac561a145ffbd9e3001e5853d8fd8
7
+ data.tar.gz: 6eed2dd660a688ce1bd97629d87caffb3d0a7d4c4f9ebc4f49ce0be9660946df5924800436aa3e29866022fb0473a439d6199f61b9e46ec592694a95325c7da1
@@ -27,12 +27,12 @@ module Directive
27
27
  end
28
28
 
29
29
  # NOTE: options must be set up before {#configure} is called
30
- def option(*args, &block)
31
- config_class.__send__(:option, *args, &block)
30
+ def option(*args, **kwargs, &block)
31
+ config_class.__send__(:option, *args, **kwargs, &block)
32
32
  end
33
33
 
34
- def nested(*args, &block)
35
- config_class.__send__(:nested, *args, &block)
34
+ def nested(namespace, &block)
35
+ config_class.__send__(:nested, namespace, &block)
36
36
  end
37
37
 
38
38
  private
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Directive
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.24.0"
5
+ VERSION = "0.25.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: directive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Rettberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-28 00:00:00.000000000 Z
11
+ date: 2020-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.24.0
33
+ version: 0.25.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.24.0
40
+ version: 0.25.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement