antlr4-runtime 0.2.10 → 0.2.11

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
  SHA256:
3
- metadata.gz: 51776a9ee01a1812b0c21dd3552fdf126ed65ce9ddf3e2f9311877d018d50bbb
4
- data.tar.gz: 242391f8b18508df6488e6c72d0f4b8c63452a6874ced5de0c5ed30ee33967e4
3
+ metadata.gz: 5364d6a2c8d102778be1b90251b7fa7355a20700a159ad67ed897e29cad2094d
4
+ data.tar.gz: 487602b68035807cccbccd47daf579ff8cc2c2a8adfd1c9dfcfce98481f0e881
5
5
  SHA512:
6
- metadata.gz: 564b504b6e1308d5d39be46db7b2c215721164e873da62747ba58c23e7805b4dc374675375f646411324a6655b3d9a23ee0abfcb846828c28930d850982ae4fa
7
- data.tar.gz: df9871b31191968905867eedbbfd490e3535785456d6748613a4d155aa213afb589ea4d54f58dca03a70c1eae744afd623453b567b969d0d9065f049549e6560
6
+ metadata.gz: 45337de3f8d323baa3ff02c2005448c20deddb07a4d00430bd3b6154774703f35cd042ded77fd501f60ef5a99fb691e3ade1b4b1529729ea4421c74708e2c89a
7
+ data.tar.gz: 59f36548d1d523f949ac12399f63e2942595b9d7a51cbc60078c39ec26115fb57afe4fe43df15116971d4e1dcf7c212a95ec47beec4ddbfc879c12ceadcf9ecc
@@ -1,3 +1,11 @@
1
+ 0.2.11
2
+ ===
3
+ - Fix for channels, kindly provided by Jan Žák (zakjan).
4
+
5
+ 0.2.10
6
+ ===
7
+ - Update Rake due to security advisory.
8
+
1
9
  0.2.9
2
10
  ===
3
11
  - Minor changes to clear some ruby interpreter and code smell warnings.
@@ -16,13 +16,13 @@ module Antlr4::Runtime
16
16
  end
17
17
 
18
18
  def execute(lexer)
19
- lexer.setChannel(@channel)
19
+ lexer._channel = @channel
20
20
  end
21
21
 
22
22
  def hash
23
23
  return @_hash unless @_hash.nil?
24
24
 
25
- hash_code = RumourHash.calculate([action_type.ordinal, channel])
25
+ hash_code = RumourHash.calculate([action_type, @channel])
26
26
 
27
27
  unless @_hash.nil?
28
28
  if hash_code == @_hash
@@ -1,5 +1,5 @@
1
1
  module Antlr4
2
2
  module Runtime
3
- VERSION = "0.2.10"
3
+ VERSION = "0.2.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antlr4-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Walmsley
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-03 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -214,7 +214,7 @@ homepage: https://github.com/MODLanguage/antlr4-ruby-runtime
214
214
  licenses:
215
215
  - MIT
216
216
  metadata: {}
217
- post_install_message:
217
+ post_install_message:
218
218
  rdoc_options: []
219
219
  require_paths:
220
220
  - lib
@@ -230,9 +230,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  requirements: []
233
- rubyforge_project:
233
+ rubyforge_project:
234
234
  rubygems_version: 2.7.9
235
- signing_key:
235
+ signing_key:
236
236
  specification_version: 4
237
237
  summary: ANTLR4 Runtime for Ruby language target lexers and parsers.
238
238
  test_files: []