evt-schema 2.2.7.1 → 2.2.7.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68ebbe603540d26bdbfcbd9e1045b4ee75914532233e91cf8a60cc99031ec3c4
4
- data.tar.gz: 5cd65b8c2d22371c71b699aa91d9bf5293100a6eecfcbc2dcafbadd1c70c9ffd
3
+ metadata.gz: 7ba3db2edbbe435d203deacf8e1adf8371126f4233496668a4a3bf64e0f9b7b9
4
+ data.tar.gz: 327690e6aac9bf21458776935ab4213d62b45bf109290bcb416ac18fea0912de
5
5
  SHA512:
6
- metadata.gz: 4fe3f97a14704837d44bc716939ab242b892d486c17eba2d173564f725aeb1d903fdf5a5639440893875a27ed2e28cbc84b75b9100b0a3502410d9b6167912c7
7
- data.tar.gz: ef4bbbb81d4665f243dd7b60c945d1866b81142d0bf4193543960f8741f0ed2a6d4be7604e864cbc4ab79f494ca94c93dd893816f9a7e233ee6b6acdb4b839cd
6
+ metadata.gz: 7244b65f846380ea41de0f6b19ed6c1bac4b67ca7843e6e0ea20903627904c58879a3d703f4cd5f35caa23e4b5569cb8a7948523ea18bba02d5cf304ed6f6b06
7
+ data.tar.gz: 8d7418966296aa94c6df0bc79abc30b8d2e06e8cdd46bcc8a65f20fbd92052b1d763a0596951011aaaaf10273931b9f4082cbb8972381aedbfe86a446b3192a9
@@ -50,12 +50,12 @@ module Schema
50
50
 
51
51
  def self.build_entry(control_name, control, compare_name, compare)
52
52
  control_class = control.class
53
- if not control_class.attribute_names.include?(control_name)
53
+ if not control_class.all_attribute_names.include?(control_name)
54
54
  raise Error, "Attribute is not defined (Attribute Name: #{control_name.inspect}, Schema Class: #{control_class})"
55
55
  end
56
56
 
57
57
  compare_class = compare.class
58
- if not compare_class.attribute_names.include?(compare_name)
58
+ if not compare_class.all_attribute_names.include?(compare_name)
59
59
  raise Error, "Attribute is not defined (Attribute Name: #{compare_name.inspect}, Schema Class: #{compare_class})"
60
60
  end
61
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7.1
4
+ version: 2.2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project