sexp_processor 3.0.9 → 3.0.10

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.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ === 3.0.10 / 2012-01-04
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Add test for bare hash at end of array in 1.9. (presidentbeef)
6
+
7
+ * 1 bug fix:
8
+
9
+ * Fixed 1.9.3 warnings
10
+
1
11
  === 3.0.9 / 2011-12-07
2
12
 
3
13
  * 1 minor enhancement:
data/lib/pt_testcase.rb CHANGED
@@ -4479,6 +4479,14 @@ class ParseTreeTestCase < MiniTest::Unit::TestCase
4479
4479
  "ParseTree" => s(:lit, 97),
4480
4480
  "Ruby2Ruby" => "97")
4481
4481
 
4482
+ add_19tests("array_bare_hash",
4483
+ "Ruby" => "[:a, :b => :c]",
4484
+ "ParseTree" => s(:array,
4485
+ s(:lit, :a),
4486
+ s(:hash,
4487
+ s(:lit, :b),
4488
+ s(:lit, :c))))
4489
+
4482
4490
  add_19tests("call_arglist_norm_hash_colons",
4483
4491
  "Ruby" => "o.m(42, a: 1, b: 2)",
4484
4492
  "RawParseTree" => [:call,
@@ -4787,4 +4795,5 @@ class ParseTreeTestCase < MiniTest::Unit::TestCase
4787
4795
  "Ruby" => '?a',
4788
4796
  "RawParseTree" => [:str, "a"],
4789
4797
  "ParseTree" => s(:str, "a"))
4798
+
4790
4799
  end
@@ -34,7 +34,7 @@ require 'sexp'
34
34
 
35
35
  class SexpProcessor
36
36
 
37
- VERSION = '3.0.9'
37
+ VERSION = '3.0.10'
38
38
 
39
39
  ##
40
40
  # Automatically shifts off the Sexp type before handing the
@@ -24,7 +24,7 @@ class TestProcessor < SexpProcessor # ZenTest SKIP
24
24
  end
25
25
 
26
26
  def process_specific(exp)
27
- name = exp.shift
27
+ _ = exp.shift
28
28
  result = s(:blah)
29
29
  until exp.empty?
30
30
  result.push process(exp.shift)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sexp_processor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 9
10
- version: 3.0.9
9
+ - 10
10
+ version: 3.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,25 +36,25 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-12-08 00:00:00 Z
39
+ date: 2012-01-05 00:00:00 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
- name: rdoc
42
+ name: minitest
43
43
  prerelease: false
44
44
  requirement: &id001 !ruby/object:Gem::Requirement
45
45
  none: false
46
46
  requirements:
47
47
  - - ~>
48
48
  - !ruby/object:Gem::Version
49
- hash: 21
49
+ hash: 17
50
50
  segments:
51
- - 3
51
+ - 2
52
52
  - 9
53
- version: "3.9"
53
+ version: "2.9"
54
54
  type: :development
55
55
  version_requirements: *id001
56
56
  - !ruby/object:Gem::Dependency
57
- name: minitest
57
+ name: rdoc
58
58
  prerelease: false
59
59
  requirement: &id002 !ruby/object:Gem::Requirement
60
60
  none: false
@@ -63,9 +63,9 @@ dependencies:
63
63
  - !ruby/object:Gem::Version
64
64
  hash: 19
65
65
  segments:
66
- - 2
67
- - 8
68
- version: "2.8"
66
+ - 3
67
+ - 10
68
+ version: "3.10"
69
69
  type: :development
70
70
  version_requirements: *id002
71
71
  - !ruby/object:Gem::Dependency
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements: []
143
143
 
144
144
  rubyforge_project: parsetree
145
- rubygems_version: 1.8.10
145
+ rubygems_version: 1.8.12
146
146
  signing_key:
147
147
  specification_version: 3
148
148
  summary: sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it
metadata.gz.sig CHANGED
Binary file