ast 2.2.0 → 2.3.0

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: 6fd328f8be0444eea7ebadfba831f783f87defe1
4
- data.tar.gz: ee6204555aec2a37f32aa1db514a7a43dd959d77
3
+ metadata.gz: 5188ebb01ae2cb91d0e2dae2e40804376d106e66
4
+ data.tar.gz: bb200f5e71042ac5557007ad49c51e4645a00961
5
5
  SHA512:
6
- metadata.gz: 32abdd8a6d4ba69e9433c307d9048358d39423c621a8af819649f9cc712ada40cdfd21289549a5478d1db68c695eab51b4edb7bae5966381284735ebc9cd65bc
7
- data.tar.gz: a680513585f7b67ef99b25e621cf5bbea81183d2412e3c237d756cc82faa21a32775ea050251bf893aeeba813699a27104705f6032fb94c7e1fbb38f212c983d
6
+ metadata.gz: 397957b342a439a794431ad75d842d8d10d086dc8599dad0077451bd0fcbec5f1b9eb2f0a192958b38d1ce0a2620b53ae23977531ea2e3596c6c43868cdf290a
7
+ data.tar.gz: e019bbec67f6c1d0b34410e8f2ddd1587d2a9054e0f7dc60e240387aff5b92a7b0a3bfdea7cfeb771a8ca3544be54327f05d45bf34816f311cbc1634159e619e
@@ -1,9 +1,14 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
- - 1.9.2
5
- - 1.9.3
6
- - 2.0
7
- - jruby-18mode
8
- - jruby-19mode
9
- - rbx-2
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - 2.0
7
+ - 2.1
8
+ - 2.2
9
+ - jruby-18mode
10
+ - jruby-19mode
11
+ - rbx-2
12
+
13
+ before_install:
14
+ - gem install bundler
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ast'
3
- s.version = '2.2.0'
3
+ s.version = '2.3.0'
4
4
  s.license = 'MIT'
5
5
  s.authors = ["whitequark"]
6
6
  s.email = ["whitequark@whitequark.org"]
@@ -195,13 +195,13 @@ module AST
195
195
 
196
196
  children.each_with_index do |child, idx|
197
197
  if child.is_a?(Node) && idx >= first_node_child
198
- sexp << "\n#{child.to_sexp(indent + 1)}"
198
+ sexp += "\n#{child.to_sexp(indent + 1)}"
199
199
  else
200
- sexp << " #{child.inspect}"
200
+ sexp += " #{child.inspect}"
201
201
  end
202
202
  end
203
203
 
204
- sexp << ")"
204
+ sexp += ")"
205
205
 
206
206
  sexp
207
207
  end
@@ -223,13 +223,13 @@ module AST
223
223
 
224
224
  children.each_with_index do |child, idx|
225
225
  if child.is_a?(Node) && idx >= first_node_child
226
- sexp << ",\n#{child.inspect(indent + 1)}"
226
+ sexp += ",\n#{child.inspect(indent + 1)}"
227
227
  else
228
- sexp << ", #{child.inspect}"
228
+ sexp += ", #{child.inspect}"
229
229
  end
230
230
  end
231
231
 
232
- sexp << ")"
232
+ sexp += ")"
233
233
 
234
234
  sexp
235
235
  end
@@ -37,7 +37,7 @@ module AST
37
37
  # require 'ast'
38
38
  #
39
39
  # class ArithmeticsProcessor
40
- # include AST::Processor::Module
40
+ # include AST::Processor::Mixin
41
41
  # # This method traverses any binary operators such as (add)
42
42
  # # or (multiply).
43
43
  # def process_binary_op(node)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ast
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - whitequark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-19 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  requirements: []
196
196
  rubyforge_project:
197
- rubygems_version: 2.4.1
197
+ rubygems_version: 2.5.1
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: A library for working with Abstract Syntax Trees.