RubyGems
npm
Organizations
Log in
Sign up
RubyGems
sorcerer
Versions diffs
0.3.6 → 0.3.7
sorcerer 0.3.6 → 0.3.7
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (4)
hide
show
data/lib/sorcerer/subexpression.rb
+1
-0
data/lib/sorcerer/version.rb
+1
-1
data/test/sorcerer/subexpression_test.rb
+1
-1
metadata
+1
-1
data/lib/sorcerer/subexpression.rb
CHANGED
Viewed
@@ -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
data/lib/sorcerer/version.rb
CHANGED
Viewed
@@ -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('.')
data/test/sorcerer/subexpression_test.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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: