sorcerer 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,6 +39,7 @@ module Sorcerer
39
39
  list_sexp(sexp)
40
40
  when :aref
41
41
  @result << sexp
42
+ recur(sexp[1])
42
43
  recur(sexp[2])
43
44
  when :brace_block
44
45
  # ignore
@@ -2,7 +2,7 @@ module Sorcerer
2
2
  VERSION_NUMBERS = [
3
3
  VERSION_MAJOR = 0,
4
4
  VERSION_MINOR = 3,
5
- VERSION_BUILD = 6,
5
+ VERSION_BUILD = 7,
6
6
  ]
7
7
 
8
8
  VERSION = VERSION_NUMBERS.join('.')
@@ -51,7 +51,7 @@ class SubexpressionTest < Test::Unit::TestCase
51
51
  end
52
52
 
53
53
  def test_array_reference
54
- assert_subexpressions "a[i]", ["a[i]", "i"]
54
+ assert_subexpressions "a[i]", ["a[i]", "a", "i"]
55
55
  end
56
56
 
57
57
  def test_array_literal
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorcerer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: