parser 3.3.0.2 → 3.3.0.4

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.
data/lib/parser/runner.rb CHANGED
@@ -133,6 +133,11 @@ module Parser
133
133
  @parser_class = Parser::Ruby33
134
134
  end
135
135
 
136
+ opts.on '--34', 'Parse as Ruby 3.4 would' do
137
+ require 'parser/ruby34'
138
+ @parser_class = Parser::Ruby34
139
+ end
140
+
136
141
  opts.on '--mac', 'Parse as MacRuby 0.12 would' do
137
142
  require 'parser/macruby'
138
143
  @parser_class = Parser::MacRuby
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parser
4
- VERSION = '3.3.0.2'
4
+ VERSION = '3.3.0.4'
5
5
  end
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: 3.3.0.2
4
+ version: 3.3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - whitequark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast
@@ -210,6 +210,7 @@ files:
210
210
  - lib/parser/ruby31.rb
211
211
  - lib/parser/ruby32.rb
212
212
  - lib/parser/ruby33.rb
213
+ - lib/parser/ruby34.rb
213
214
  - lib/parser/rubymotion.rb
214
215
  - lib/parser/runner.rb
215
216
  - lib/parser/runner/ruby_parse.rb
@@ -249,9 +250,9 @@ licenses:
249
250
  - MIT
250
251
  metadata:
251
252
  bug_tracker_uri: https://github.com/whitequark/parser/issues
252
- changelog_uri: https://github.com/whitequark/parser/blob/v3.3.0.2/CHANGELOG.md
253
- documentation_uri: https://www.rubydoc.info/gems/parser/3.3.0.2
254
- source_code_uri: https://github.com/whitequark/parser/tree/v3.3.0.2
253
+ changelog_uri: https://github.com/whitequark/parser/blob/v3.3.0.4/CHANGELOG.md
254
+ documentation_uri: https://www.rubydoc.info/gems/parser/3.3.0.4
255
+ source_code_uri: https://github.com/whitequark/parser/tree/v3.3.0.4
255
256
  post_install_message:
256
257
  rdoc_options: []
257
258
  require_paths: