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.
- checksums.yaml +4 -4
- data/lib/schema/schema.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7f39ba650c62ee4bf0f2de29183ab17eb1425d770f56d098584d744d6d6cb02
|
4
|
+
data.tar.gz: d0474a2e4d66b03ef4424a06fab9ecb0683570ff55bdd928895717cd238fd59f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 #{
|
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
|
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-
|
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.
|
154
|
+
rubygems_version: 3.5.22
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Primitives for schema and data structure
|