🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ruby_parser

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby_parser - rubygems Package Compare versions

Comparing version
3.18.0
to
3.18.1
+12
-0
History.rdoc

@@ -0,1 +1,13 @@

=== 3.18.1 / 2021-11-10
* 1 minor enhancement:
* All parser tests are now explicitly testing line numbers at every level.
* 3 bug fixes:
* Fixed endless method with noargs. (mitsuru)
* Fixed line numbers on some yield forms.
* Handle and clearly report if unifdef is missing.
=== 3.18.0 / 2021-10-27

@@ -2,0 +14,0 @@

+1
-1

@@ -33,3 +33,3 @@ # encoding: ASCII-8BIT

module RubyParserStuff
VERSION = "3.18.0"
VERSION = "3.18.1"

@@ -36,0 +36,0 @@ attr_accessor :lexer, :in_def, :in_single, :file

@@ -78,4 +78,13 @@ # -*- ruby -*-

def unifdef?
@unifdef ||= system("which unifdef") or abort <<~EOM
unifdef not found!
Please install 'unifdef' package on your system or `rake generate` on a mac.
EOM
end
V2.each do |n|
file "lib/ruby#{n}_parser.y" => "lib/ruby_parser.yy" do |t|
unifdef?
cmd = 'unifdef -tk -DV=%s -UDEAD %s > %s || true' % [n, t.source, t.name]

@@ -90,2 +99,3 @@ sh cmd

file "lib/ruby#{n}_parser.y" => "lib/ruby3_parser.yy" do |t|
unifdef?
cmd = 'unifdef -tk -DV=%s -UDEAD %s > %s || true' % [n, t.source, t.name]

@@ -92,0 +102,0 @@ sh cmd

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display