sexp_processor 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/lib/sexp.rb +4 -1
  3. data/lib/sexp_processor.rb +1 -1
  4. metadata +49 -10
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 3.0.4 / 2010-03-27
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Added line number to pretty_print output if $VERBOSE
6
+
1
7
  === 3.0.3 / 2009-08-14
2
8
 
3
9
  * 1 minor enhancement:
data/lib/sexp.rb CHANGED
@@ -192,7 +192,10 @@ class Sexp < Array # ZenTest FULL
192
192
  end
193
193
 
194
194
  def pretty_print(q) # :nodoc:
195
- q.group(1, 's(', ')') do
195
+ nnd = ')'
196
+ nnd << ".line(#{line})" if line && ENV['VERBOSE']
197
+
198
+ q.group(1, 's(', nnd) do
196
199
  q.seplist(self) {|v| q.pp v }
197
200
  end
198
201
  end
@@ -34,7 +34,7 @@ require 'sexp'
34
34
 
35
35
  class SexpProcessor
36
36
 
37
- VERSION = '3.0.3'
37
+ VERSION = '3.0.4'
38
38
 
39
39
  ##
40
40
  # Automatically shifts off the Sexp type before handing the
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sexp_processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ prerelease: false
5
+ segments:
6
+ - 3
7
+ - 0
8
+ - 4
9
+ version: 3.0.4
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ryan Davis
@@ -9,19 +14,51 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-08-14 00:00:00 -07:00
17
+ date: 2010-03-27 00:00:00 -07:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
- name: hoe
21
+ name: rubyforge
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 0
30
+ - 3
31
+ version: 2.0.3
32
+ type: :development
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: minitest
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 5
44
+ - 0
45
+ version: 1.5.0
17
46
  type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: hoe
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
20
52
  requirements:
21
53
  - - ">="
22
54
  - !ruby/object:Gem::Version
23
- version: 2.3.3
24
- version:
55
+ segments:
56
+ - 2
57
+ - 5
58
+ - 0
59
+ version: 2.5.0
60
+ type: :development
61
+ version_requirements: *id003
25
62
  description: |-
26
63
  sexp_processor branches from ParseTree bringing all the generic sexp
27
64
  processing tools with it. Sexp, SexpProcessor, Environment, etc... all
@@ -63,18 +100,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
100
  requirements:
64
101
  - - ">="
65
102
  - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
66
105
  version: "0"
67
- version:
68
106
  required_rubygems_version: !ruby/object:Gem::Requirement
69
107
  requirements:
70
108
  - - ">="
71
109
  - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
72
112
  version: "0"
73
- version:
74
113
  requirements: []
75
114
 
76
115
  rubyforge_project: parsetree
77
- rubygems_version: 1.3.5
116
+ rubygems_version: 1.3.6
78
117
  signing_key:
79
118
  specification_version: 3
80
119
  summary: sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it