sexp_processor 4.11.0 → 4.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -3
- data/History.rdoc +88 -0
- data/Manifest.txt +1 -0
- data/Rakefile +2 -0
- data/lib/pt_testcase.rb +22 -19
- data/lib/sexp.rb +32 -1061
- data/lib/sexp_matcher.rb +1100 -0
- data/lib/sexp_processor.rb +2 -2
- data/lib/strict_sexp.rb +26 -4
- data/test/test_sexp.rb +213 -134
- data/test/test_sexp_processor.rb +2 -2
- data.tar.gz.sig +1 -2
- metadata +32 -22
- metadata.gz.sig +0 -0
data/test/test_sexp_processor.rb
CHANGED
@@ -247,12 +247,12 @@ class TestSexpProcessor < Minitest::Test
|
|
247
247
|
end
|
248
248
|
|
249
249
|
def test_assert_type_hit
|
250
|
-
assert_nil @processor.assert_type(
|
250
|
+
assert_nil @processor.assert_type(s(:blah, 1, 2, 3), :blah)
|
251
251
|
end
|
252
252
|
|
253
253
|
def test_assert_type_miss
|
254
254
|
assert_raises SexpTypeError do
|
255
|
-
@processor.assert_type(
|
255
|
+
@processor.assert_type(s(:thingy, 1, 2, 3), :blah)
|
256
256
|
end
|
257
257
|
end
|
258
258
|
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
H[=l����<�9ub!b�X��� ��y,!"2�^C�X�L,3~���fC{�ʆB�9f�L���/���=x�%(��I�f�R5t��2��"����:���&yŀ��<j�w�ń����,`[���B&V�d3��D�����}vr*'�ǷMD��Z
|
1
|
+
=��R�����t��m8[]U��zL��N��D�*m\+�
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sexp_processor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir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GZSecG
|
27
|
+
oMQ8DzzauZfbvhe2kDg7G9BBPU0wLQlY25rDcCy9bLnD7R0UK3ONqpwvsI5I7x5X
|
28
|
+
ZIMXR0a9/DG+55mawwdGzCQobDKiSNLK89KK7OcNTALKU0DfgdTkktdgKchzKHqZ
|
29
|
+
d/AHw/kcnU6iuMUoJEcGiJd4gVCTn1l3cDcIvxakGslCA88Jubw0Sqatan0TnC9g
|
30
|
+
KToW560QIey7SPfHWduzFJnV
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.0'
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '7'
|
41
44
|
type: :development
|
42
45
|
prerelease: false
|
43
46
|
version_requirements: !ruby/object:Gem::Requirement
|
44
47
|
requirements:
|
45
|
-
- - "
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: '4.0'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '7'
|
48
54
|
- !ruby/object:Gem::Dependency
|
49
55
|
name: hoe
|
50
56
|
requirement: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
60
|
+
version: '3.22'
|
55
61
|
type: :development
|
56
62
|
prerelease: false
|
57
63
|
version_requirements: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
67
|
+
version: '3.22'
|
62
68
|
description: |-
|
63
69
|
sexp_processor branches from ParseTree bringing all the generic sexp
|
64
70
|
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
|
@@ -79,6 +85,7 @@ files:
|
|
79
85
|
- lib/composite_sexp_processor.rb
|
80
86
|
- lib/pt_testcase.rb
|
81
87
|
- lib/sexp.rb
|
88
|
+
- lib/sexp_matcher.rb
|
82
89
|
- lib/sexp_processor.rb
|
83
90
|
- lib/strict_sexp.rb
|
84
91
|
- lib/unique.rb
|
@@ -89,8 +96,9 @@ files:
|
|
89
96
|
homepage: https://github.com/seattlerb/sexp_processor
|
90
97
|
licenses:
|
91
98
|
- MIT
|
92
|
-
metadata:
|
93
|
-
|
99
|
+
metadata:
|
100
|
+
homepage_uri: https://github.com/seattlerb/sexp_processor
|
101
|
+
post_install_message:
|
94
102
|
rdoc_options:
|
95
103
|
- "--main"
|
96
104
|
- README.rdoc
|
@@ -100,16 +108,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
108
|
requirements:
|
101
109
|
- - ">="
|
102
110
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
111
|
+
version: '2.1'
|
112
|
+
- - "<"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '4'
|
104
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
116
|
requirements:
|
106
117
|
- - ">="
|
107
118
|
- !ruby/object:Gem::Version
|
108
119
|
version: '0'
|
109
120
|
requirements: []
|
110
|
-
|
111
|
-
|
112
|
-
signing_key:
|
121
|
+
rubygems_version: 3.2.16
|
122
|
+
signing_key:
|
113
123
|
specification_version: 4
|
114
124
|
summary: sexp_processor branches from ParseTree bringing all the generic sexp processing
|
115
125
|
tools with it
|
metadata.gz.sig
CHANGED
Binary file
|