parser 2.2.0.2 → 2.2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7ee3b62efb93509bd26984f67ccef404ed4436a
4
- data.tar.gz: 3997b9e8dfa9ad2acd372d363e4e30094889bda1
3
+ metadata.gz: 32ce09c1a28d2549bf2f979555d9d961091df27b
4
+ data.tar.gz: e936c4eb15b204dd1aa89bb107e615f2cf9549dd
5
5
  SHA512:
6
- metadata.gz: faf5d3ced213d86629ab6bc357a97d32e9fda555e8077743abfe9c340d85608362dd2ff2ca61e6ebf6a990d7d64d5130c5f89dd7feb33b9cf1ac85979d76728d
7
- data.tar.gz: d36bbe80d4b3d150a408db67765f154eaee25fd44b49b969e2d54a4d0b4bd7b702f8116836f21f6923952ace7539c8ed504e985bfc5dae9c725567882b983b43
6
+ metadata.gz: 7abb6830a6804ed9b0debdb1ad1c985a33b947d1db7a66dfb36f7c0b3f1acafd74822984985756a67658f1b8a15da97fc7b62a9db2df76230ec4562c8d28bf84
7
+ data.tar.gz: ab9d08b75232d9fdd210e50265db49fa7703b5a05d03fdd5d50756f00b40a359f6da0660dc9c7436721fcf0bf958bcc900763b577e077f74bc0cc0e5742dd5b6
@@ -1031,7 +1031,7 @@ module Parser
1031
1031
  this_name == that_name
1032
1032
  else
1033
1033
  # Ignore everything beginning with underscore.
1034
- this_name[0] != '_' &&
1034
+ this_name && this_name[0] != '_' &&
1035
1035
  this_name == that_name
1036
1036
  end
1037
1037
  end
@@ -1,3 +1,3 @@
1
1
  module Parser
2
- VERSION = '2.2.0.2'
2
+ VERSION = '2.2.0.3'
3
3
  end
@@ -1980,6 +1980,13 @@ class TestParser < Minitest::Test
1980
1980
  s(:blockarg, :b)),
1981
1981
  %q{**baz, &b},
1982
1982
  ALL_VERSIONS - %w(1.8 1.9))
1983
+
1984
+ assert_parses_args(
1985
+ s(:args,
1986
+ s(:restarg),
1987
+ s(:kwrestarg)),
1988
+ %q{*, **},
1989
+ ALL_VERSIONS - %w(1.8 1.9))
1983
1990
  end
1984
1991
 
1985
1992
  def test_kwarg_no_paren
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.2.0.2
4
+ version: 2.2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Zotov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast