evt-schema 2.2.5.0 → 2.2.6.0
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 +4 -4
- data/lib/schema/data_structure.rb +12 -1
- data/lib/schema/fixtures +1 -0
- data/lib/schema/fixtures.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e85e8129bc7b3e3c183ded30c91a15c2bb7fdbbb1ef5954af4f205a6dca365c9
|
|
4
|
+
data.tar.gz: 1fc28c3af0d046322e7554877d34bdedc8ed6931697e9e08a57ddea87c4a95f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e131cca12c87fe020ce030301614c3ca4b591b791ba9bd0aa03ec1eb4645f64ebbc7159232fb2dd07c61e173fc938ed57766061e7fdb87370d3db4b978c247b
|
|
7
|
+
data.tar.gz: 1b7e59bfdcb09d91258778a34ab7a36eae82facccc04bc7c0d37f9063fe2c355b91f74aae5195bf216afcb0b3aebaea88eceb1d14cecc1e5251bb01e4f165433
|
|
@@ -39,9 +39,20 @@ module Schema
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
def
|
|
42
|
+
def deep_copy
|
|
43
43
|
data = to_h
|
|
44
44
|
self.class.build(data)
|
|
45
45
|
end
|
|
46
|
+
alias :dup :deep_copy
|
|
47
|
+
|
|
48
|
+
def clone
|
|
49
|
+
duplicate = deep_copy
|
|
50
|
+
|
|
51
|
+
if frozen?
|
|
52
|
+
duplicate.freeze
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
duplicate
|
|
56
|
+
end
|
|
46
57
|
end
|
|
47
58
|
end
|
data/lib/schema/fixtures
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lib/schema/Users/sbellware/projects/eventide/schema-fixtures/lib/schema/fixtures
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lib/schema/Users/sbellware/projects/eventide/schema-fixtures/lib/schema/fixtures.rb
|
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.2.
|
|
4
|
+
version: 2.2.6.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: 2020-07-
|
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: evt-attribute
|
|
@@ -110,6 +110,8 @@ files:
|
|
|
110
110
|
- lib/schema/controls/schema.rb
|
|
111
111
|
- lib/schema/controls/schema/different.rb
|
|
112
112
|
- lib/schema/data_structure.rb
|
|
113
|
+
- lib/schema/fixtures
|
|
114
|
+
- lib/schema/fixtures.rb
|
|
113
115
|
- lib/schema/schema.rb
|
|
114
116
|
- lib/schema/schema/attribute.rb
|
|
115
117
|
- lib/schema/schema/compare.rb
|