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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +1 -1
  3. data/lib/object-template.rb +2 -2
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fa8ca2bf4796154808248e6699f83e7b563ab1f
4
- data.tar.gz: 0981786792b58f0288f5e62ee6a06c4d04764129
3
+ metadata.gz: e0a5de83ebb8ff998cc58867095e39d3f0db3791
4
+ data.tar.gz: 017f452601552d9925eaa66ee644a083cd8fb811
5
5
  SHA512:
6
- metadata.gz: 8778e3da7d5b23710b8e3fda65d67b821f5fcedf315377dafa57fbefeb3e127a2b7a99600912372d7520bf49e250e996591b492233cced0e091fdd464bee2985
7
- data.tar.gz: df1183acc120dbd01e2d9054a5ff252a2c0dfb16ed5b76f42418929a575e36a7ffc83627e1c65f7205da90488e026641136b7518f9507dc3ac9def9f62564031
6
+ metadata.gz: f6f1388f966a99862f993cfb1148b0875aa95ee4f683496aa7df5c4beedef0091e681db2ac968b9234fba1df9b9118a00cab0de32fa7f512bf7c082a3f252784
7
+ data.tar.gz: 66704904c9834996643f418a9aa848e1fa0e814d62d68983fad6322ad8183f20766b5e1f277ad0ff1b49553ba60d495111f6b69183d7b1f52d8802512ead6367
data/COPYING CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013, Joel VanderWerf, vjoel@users.sourceforge.net
1
+ Copyright (c) 2013-2014, Joel VanderWerf, vjoel@users.sourceforge.net
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -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"
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 MemberMatchingSet
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.5'
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-01-17 00:00:00.000000000 Z
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.1
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: