object-template 0.5 → 0.6
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/COPYING +1 -1
- data/lib/object-template.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0a5de83ebb8ff998cc58867095e39d3f0db3791
|
|
4
|
+
data.tar.gz: 017f452601552d9925eaa66ee644a083cd8fb811
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6f1388f966a99862f993cfb1148b0875aa95ee4f683496aa7df5c4beedef0091e681db2ac968b9234fba1df9b9118a00cab0de32fa7f512bf7c082a3f252784
|
|
7
|
+
data.tar.gz: 66704904c9834996643f418a9aa848e1fa0e814d62d68983fad6322ad8183f20766b5e1f277ad0ff1b49553ba60d495111f6b69183d7b1f52d8802512ead6367
|
data/COPYING
CHANGED
data/lib/object-template.rb
CHANGED
|
@@ -2,7 +2,7 @@ require 'set'
|
|
|
2
2
|
|
|
3
3
|
# Base class for classes of templates used to match somewhat arbitrary objects.
|
|
4
4
|
class ObjectTemplate
|
|
5
|
-
VERSION = "0.
|
|
5
|
+
VERSION = "0.6"
|
|
6
6
|
|
|
7
7
|
attr_reader :spec
|
|
8
8
|
|
|
@@ -188,7 +188,7 @@ class PortableObjectTemplate < ObjectTemplate
|
|
|
188
188
|
rx = col_rot_spec
|
|
189
189
|
{regex: rx.source}
|
|
190
190
|
|
|
191
|
-
when
|
|
191
|
+
when Set
|
|
192
192
|
set = col_rot_spec
|
|
193
193
|
if set == BOOLEAN
|
|
194
194
|
## awkward API: must reference PortableObjectTemplate::BOOLEAN
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: object-template
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.6'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joel VanderWerf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Templates for matching objects.
|
|
14
14
|
email: vjoel@users.sourceforge.net
|
|
@@ -57,12 +57,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
57
57
|
version: '0'
|
|
58
58
|
requirements: []
|
|
59
59
|
rubyforge_project:
|
|
60
|
-
rubygems_version: 2.2.
|
|
60
|
+
rubygems_version: 2.2.2
|
|
61
61
|
signing_key:
|
|
62
62
|
specification_version: 4
|
|
63
63
|
summary: Templates for matching objects
|
|
64
64
|
test_files:
|
|
65
|
-
- test/test-key-conv.rb
|
|
66
65
|
- test/test-match.rb
|
|
66
|
+
- test/test-key-conv.rb
|
|
67
67
|
- test/test-errors.rb
|
|
68
68
|
has_rdoc:
|