sexp_processor 4.1.2 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ === 4.1.3 / 2012-12-06
2
+
3
+ * 2 bug fixes:
4
+
5
+ * Code cleanup... what was I thinking???
6
+ * Explicitly setting pt_testcase.rb to US-ASCII to avoid encoding hell
7
+
1
8
  === 4.1.2 / 2012-11-03
2
9
 
3
10
  * 1 bug fix:
data/lib/pt_testcase.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # encoding: US-ASCII
2
+
1
3
  $TESTING = true
2
4
 
3
5
  require 'minitest/unit'
data/lib/sexp.rb CHANGED
@@ -44,11 +44,7 @@ class Sexp < Array # ZenTest FULL
44
44
  end
45
45
 
46
46
  def ==(obj) # :nodoc:
47
- if obj.class == self.class then
48
- super
49
- else
50
- false
51
- end
47
+ obj.class == self.class and super
52
48
  end
53
49
 
54
50
  ##
@@ -253,6 +249,7 @@ class Sexp < Array # ZenTest FULL
253
249
  def structure
254
250
  result = self.class.new
255
251
  if Array === self.first then
252
+ raise "When does this happen? #{self.inspect}" # TODO: remove >= 4.2.0
256
253
  result = self.first.structure
257
254
  else
258
255
  result << self.first
@@ -1,4 +1,3 @@
1
-
2
1
  $TESTING = false unless defined? $TESTING
3
2
 
4
3
  require 'sexp'
@@ -34,7 +33,7 @@ require 'sexp'
34
33
 
35
34
  class SexpProcessor
36
35
 
37
- VERSION = '4.1.2'
36
+ VERSION = '4.1.3'
38
37
 
39
38
  ##
40
39
  # Automatically shifts off the Sexp type before handing the
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: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 1
9
- - 2
10
- version: 4.1.2
9
+ - 3
10
+ version: 4.1.3
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: 2012-11-03 00:00:00 Z
39
+ date: 2012-12-07 00:00:00 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
@@ -46,11 +46,11 @@ dependencies:
46
46
  requirements:
47
47
  - - ~>
48
48
  - !ruby/object:Gem::Version
49
- hash: 25
49
+ hash: 29
50
50
  segments:
51
51
  - 4
52
- - 1
53
- version: "4.1"
52
+ - 3
53
+ version: "4.3"
54
54
  type: :development
55
55
  version_requirements: *id001
56
56
  - !ruby/object:Gem::Dependency
@@ -76,11 +76,11 @@ dependencies:
76
76
  requirements:
77
77
  - - ~>
78
78
  - !ruby/object:Gem::Version
79
- hash: 5
79
+ hash: 1
80
80
  segments:
81
81
  - 3
82
- - 1
83
- version: "3.1"
82
+ - 3
83
+ version: "3.3"
84
84
  type: :development
85
85
  version_requirements: *id003
86
86
  description: |-
metadata.gz.sig CHANGED
Binary file