evt-schema 2.5.0.0.pre.2 → 2.5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/schema/schema.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2da63ac381710f07d3eaf73c14935519846e1cf9f97ac4cbe27c472a8034af80
4
- data.tar.gz: 7fa56b66b7524dda5089d1209040604f34247551d41dfc98f9497c576493114c
3
+ metadata.gz: b7f39ba650c62ee4bf0f2de29183ab17eb1425d770f56d098584d744d6d6cb02
4
+ data.tar.gz: d0474a2e4d66b03ef4424a06fab9ecb0683570ff55bdd928895717cd238fd59f
5
5
  SHA512:
6
- metadata.gz: bae6ed63b133103a875b85cbb83a89e4f5b3d051408eb7da056bf11778ee4ecc60c2cc4732bc04fa2ecf62a2dbf289be604b6f97d8e5778c777b9d8f5c8518b9
7
- data.tar.gz: 0c5604d671d62e5104632d6733d481a633f6f7c79bcffcd07b59eeb976ed784a1fbacff9aa0840b989c5563aad0d16082795910616f5c5b6e8a001a907f1918f
6
+ metadata.gz: 3fb7c6d8ca133bd24cb212430e488a8dfbdf2e794cfc35addb7a186e1b1e9febbeaf70bfed375153fd8dda5cc216d6fc6f53f4135e2a1504da29c73a835e2383
7
+ data.tar.gz: dfd3e8e2e47d6dfbe0f064926f9b6fac9b26cfa0ece8956f1ecb5dda7fe6cf4dc1a1b45dadacea386c95adbef2b29edb63f392afd916eb4eee9c1d1adb84859e
data/lib/schema/schema.rb CHANGED
@@ -30,7 +30,7 @@ module Schema
30
30
 
31
31
  check = lambda do |val|
32
32
  if not type_check.(type, val)
33
- raise Schema::Attribute::TypeError, "#{val.inspect} of type #{val.class.name} cannot be assigned to attribute #{attribute_name.inspect} of #{self.to_s}"
33
+ raise Schema::Attribute::TypeError, "#{val.inspect} of type #{val.class.name} cannot be assigned to #{self.to_s} attribute #{attribute_name.inspect} of type #{type.name}"
34
34
  end
35
35
  end
36
36
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.0.pre.2
4
+ version: 2.5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-11 00:00:00.000000000 Z
11
+ date: 2024-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-attribute
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  requirements: []
154
- rubygems_version: 3.5.11
154
+ rubygems_version: 3.5.22
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Primitives for schema and data structure