parser 2.0.0.beta7 → 2.0.0.beta8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ddc24b45d61fd0c8dbd0796770c2932bdd6b6e2
4
- data.tar.gz: 25b8bbe0798e066f1fa005a88e5ea3e8cdf95a20
3
+ metadata.gz: ccb29ca45008c480f7d06bebc486b5a6c4137a83
4
+ data.tar.gz: ad0be62764cf0e9ee5ad18e3d353adaac06e0951
5
5
  SHA512:
6
- metadata.gz: 3454dc2eb47f0555bb29c4cafe6ef65ecf18003b2dfc4406e00190652af8098f2a48160d1225ad36d655755a537de3115ccad033594bf0b946fe65687caa73ca
7
- data.tar.gz: 05e32b3d2f67f0ff2c7d745efc63336f81ae83f22841f4cddb8cfe76e8a311886eeefe53eaed814c17655b05422899590afa141dca73a3e08e1daaa90f2dc0c6
6
+ metadata.gz: b305ef3b909c5aabf17957dd55a72441c47482b280bc6ab3253dd732be9643366f3012c11c95286ec3ea7de10ab69972e80f607b9c8afa7bd3c37732817060b0
7
+ data.tar.gz: 1d1d3b29136fa4ba6faf37fa09a98f396294055cc14cf296ee9cfb6c0ca77f490a9cb306721ea0e311913bd66a43cc2cc371fc558f8c4a222809d072a4a752f8
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ v2.0.0.beta8 (2013-06-24)
5
+ -------------------------
6
+
7
+ Bugs fixed:
8
+ * ast/processor: add missing node handlers (Yuji Nakayama)
9
+ * ast/processor: rename some obsolete node handlers (Yuji Nakayama)
10
+
4
11
  v2.0.0.beta7 (2013-06-22)
5
12
  -------------------------
6
13
 
data/Rakefile CHANGED
@@ -44,17 +44,8 @@ task :clean_env do
44
44
  end
45
45
 
46
46
  task :ragel_check do
47
- major_req, minor_req = 6, 7
48
-
49
- ragel_check = `which ragel && ragel --version`
50
- ragel_version = ragel_check.match(/version (([0-9]+)\.([0-9]+))/)
51
- raise 'command-line dependency ragel not installed!' unless ragel_version
52
-
53
- _, version_str, major, minor = *ragel_version
54
- if (major.to_i != major_req || minor.to_i < minor_req) # ~> major.minor
55
- raise "command-line dependency ragel must be " +
56
- "~> #{major_req}.#{minor_req}; got #{version_str}"
57
- end
47
+ require 'cliver'
48
+ Cliver.assert('ragel', '~> 6.7')
58
49
  end
59
50
 
60
51
  desc 'Generate YARD documentation'
@@ -97,11 +97,12 @@ module Parser
97
97
 
98
98
  alias on_arg process_argument_node
99
99
  alias on_optarg process_argument_node
100
- alias on_splatarg process_argument_node
100
+ alias on_restarg process_argument_node
101
101
  alias on_blockarg process_argument_node
102
+ alias on_shadowarg process_argument_node
102
103
  alias on_kwarg process_argument_node
103
104
  alias on_kwoptarg process_argument_node
104
- alias on_kwsplatarg process_argument_node
105
+ alias on_kwrestarg process_argument_node
105
106
 
106
107
  alias on_arg_expr process_regular_node
107
108
  alias on_restarg_expr process_regular_node
@@ -143,9 +144,11 @@ module Parser
143
144
 
144
145
  alias on_block process_regular_node
145
146
 
146
- alias on_while process_regular_node
147
- alias on_until process_regular_node
148
- alias on_for process_regular_node
147
+ alias on_while process_regular_node
148
+ alias on_while_post process_regular_node
149
+ alias on_until process_regular_node
150
+ alias on_until_post process_regular_node
151
+ alias on_for process_regular_node
149
152
 
150
153
  alias on_return process_regular_node
151
154
  alias on_break process_regular_node
@@ -165,11 +168,21 @@ module Parser
165
168
  alias on_when process_regular_node
166
169
  alias on_case process_regular_node
167
170
 
171
+ alias on_iflipflop process_regular_node
172
+ alias on_eflipflop process_regular_node
173
+
174
+ alias on_match_current_line process_regular_node
175
+ alias on_match_with_lvasgn process_regular_node
176
+
168
177
  alias on_resbody process_regular_node
169
178
  alias on_rescue process_regular_node
170
179
  alias on_ensure process_regular_node
171
180
 
172
181
  alias on_begin process_regular_node
182
+ alias on_kwbegin process_regular_node
183
+
184
+ alias on_preexe process_regular_node
185
+ alias on_postexe process_regular_node
173
186
  end
174
187
 
175
188
  end
@@ -1,3 +1,3 @@
1
1
  module Parser
2
- VERSION = '2.0.0.beta7'
2
+ VERSION = '2.0.0.beta8'
3
3
  end
@@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency 'simplecov', '~> 0.7'
36
36
  spec.add_development_dependency 'coveralls'
37
37
  spec.add_development_dependency 'json_pure' # for coveralls on 1.9.2
38
+ spec.add_development_dependency 'cliver' # executable version detection
38
39
 
39
40
  spec.add_development_dependency 'simplecov-sublime-ruby-coverage'
40
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta7
4
+ version: 2.0.0.beta8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Zotov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-22 00:00:00.000000000 Z
11
+ date: 2013-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: cliver
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: simplecov-sublime-ruby-coverage
141
155
  requirement: !ruby/object:Gem::Requirement