rbs 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rbs/parser.y CHANGED
@@ -726,7 +726,7 @@ rule
726
726
  | tQUOTEDIDENT
727
727
  | tWRITE_ATTR
728
728
 
729
- method_name0: tUIDENT | tLIDENT | tINTERFACEIDENT | identifier_keywords
729
+ method_name0: tUIDENT | tLIDENT | tINTERFACEIDENT | tUNDERSCOREIDENT | identifier_keywords
730
730
 
731
731
  identifier_keywords:
732
732
  kCLASS | kVOID | kNIL | kTRUE | kFALSE | kANY | kUNTYPED | kTOP | kBOT | kINSTANCE | kBOOL | kSINGLETON
@@ -1722,7 +1722,7 @@ def next_token
1722
1722
  new_token(:tLIDENT)
1723
1723
  when input.scan(/_[a-z]\w*\b/)
1724
1724
  new_token(:tUNDERSCOREIDENT)
1725
- when input.scan(/_[\w_]*\b/)
1725
+ when input.scan(/_\w*\b/)
1726
1726
  new_token(:tPARAMNAME)
1727
1727
  when input.scan(/"(\\"|[^"])*"/)
1728
1728
  s = input.matched.yield_self {|s| s[1, s.length - 2] }
data/lib/rbs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RBS
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-21 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: RBS is the language for type signatures for Ruby and standard library
14
14
  definitions.
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  - !ruby/object:Gem::Version
295
295
  version: '0'
296
296
  requirements: []
297
- rubygems_version: 3.2.3
297
+ rubygems_version: 3.2.15
298
298
  signing_key:
299
299
  specification_version: 4
300
300
  summary: Type signature for Ruby.