schemacop 3.0.21 → 3.0.22

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: 5e052fc48d690551076d72ec99fe2b3189e7e92861c70ea1b13d6ce2ab7e0f86
4
- data.tar.gz: e6bf934bc3c8489639b6f492a71d699f397b3ffcc67d573b18e19656b46648b5
3
+ metadata.gz: 2ac247150fb2c8a5e10bff8173787ce94e063b3a24f8fe2f323d78015424bfbb
4
+ data.tar.gz: c3393891a019419b1b0aac9200487bdd547124787507ce67d9be7d9a8ee2ae63
5
5
  SHA512:
6
- metadata.gz: 1e916b157d4f36beebfc698f8680a3d8cc5283b49b7e95c56fe6c270851ae9c43fc3769bae7ea9829aca2d121774b8c809c1c9b271bd5ad901587498f9a43695
7
- data.tar.gz: 6faa79d40c4dcc045c33072f06327599fd98e853f1d3e416c4163df47326cc2ee13555b4fe6c2100b90e0604dc1e30e5d32ae3ca02515b4ce5545dc8bcd73bba
6
+ metadata.gz: b51f45a493ce448dcb6413ec9f4eb7c109891bad83ff5bac50ef1fb59af7adac8606c70de744dff598b19784faa4c43a8c88e47ed3fddfa1e7f772eee97cc6e3
7
+ data.tar.gz: 42e69a2f2767bd95ebfaa13306e0e3e3d70b21998e013754b08a5ff6de448ddd680cec4f490b2acf9b94d9b5b2235bf713c63af675d256411feaa352b95912c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 3.0.22 (2022-10-31)
4
+
5
+ * Fix `v3_default_options` being not applied to nodes
6
+
3
7
  ## 3.0.21 (2022-10-31)
4
8
 
5
9
  * Adapt option `ignore_obsolete_properties` of `HashNode` so that it can also
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.21
1
+ 3.0.22
@@ -28,9 +28,8 @@ module Schemacop
28
28
  klass = resolve_class(type)
29
29
  fail "Could not find node for type #{type.inspect}." unless klass
30
30
 
31
- node = klass.new(**options, &block)
32
-
33
31
  options = Schemacop.v3_default_options.slice(*klass.allowed_options).merge(options)
32
+ node = klass.new(**options, &block)
34
33
 
35
34
  if options.delete(:cast_str)
36
35
  format = NodeRegistry.name(klass)
data/schemacop.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: schemacop 3.0.21 ruby lib
2
+ # stub: schemacop 3.0.22 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "schemacop".freeze
6
- s.version = "3.0.21"
6
+ s.version = "3.0.22"
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schemacop
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.21
4
+ version: 3.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sitrox