sexp_processor 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 3.0.9 / 2011-12-07
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Add missing test for a ternary with nil without a space before the colon (brynary)
6
+
1
7
  === 3.0.8 / 2011-11-16
2
8
 
3
9
  * 4 minor enhancements:
data/lib/pt_testcase.rb CHANGED
@@ -854,6 +854,11 @@ class ParseTreeTestCase < MiniTest::Unit::TestCase
854
854
  "RawParseTree" => [:call, nil, :foo, [:array, [:lit, :bar]]],
855
855
  "ParseTree" => s(:call, nil, :foo, s(:arglist, s(:lit, :bar))))
856
856
 
857
+ add_tests("ternary_nil_no_space",
858
+ "Ruby" => "1 ? nil: 1",
859
+ "RawParseTree" => [:if, [:lit, 1], [:nil], [:lit, 1]],
860
+ "ParseTree" => s(:if, s(:lit, 1), s(:nil), s(:lit, 1)))
861
+
857
862
  add_tests("call_arglist_hash",
858
863
  "Ruby" => "o.m(:a => 1, :b => 2)",
859
864
  "RawParseTree" => [:call,
@@ -34,7 +34,7 @@ require 'sexp'
34
34
 
35
35
  class SexpProcessor
36
36
 
37
- VERSION = '3.0.8'
37
+ VERSION = '3.0.9'
38
38
 
39
39
  ##
40
40
  # Automatically shifts off the Sexp type before handing the
data.tar.gz.sig CHANGED
Binary file
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 8
10
- version: 3.0.8
9
+ - 9
10
+ version: 3.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,7 +36,7 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-11-17 00:00:00 Z
39
+ date: 2011-12-08 00:00:00 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
@@ -61,11 +61,11 @@ dependencies:
61
61
  requirements:
62
62
  - - ~>
63
63
  - !ruby/object:Gem::Version
64
- hash: 13
64
+ hash: 19
65
65
  segments:
66
66
  - 2
67
- - 7
68
- version: "2.7"
67
+ - 8
68
+ version: "2.8"
69
69
  type: :development
70
70
  version_requirements: *id002
71
71
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file