🚀 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.0.3
to
3.0.4
+6
-0
History.txt

@@ -0,1 +1,7 @@

=== 3.0.4 / 2012-11-26
* 1 bug fix:
* RPStringScanner#lineno was still using byte offset, not char offset. (brynary)
=== 3.0.3 / 2012-11-23

@@ -2,0 +8,0 @@

+2
-2

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

def lineno
string[0...pos].count("\n") + 1 - extra_lines_added
string[0...charpos].count("\n") + 1 - extra_lines_added
end

@@ -112,3 +112,3 @@

module RubyParserStuff
VERSION = '3.0.3' unless constants.include? "VERSION" # SIGH
VERSION = '3.0.4' unless constants.include? "VERSION" # SIGH

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

@@ -192,5 +192,5 @@ # -*- ruby -*-

task :bugs do
sh "for f in bug*.rb ; do rake debug F=$f && rm $f ; done"
sh "for f in bug*.rb ; do rake19 debug F=$f && rm $f ; done"
end
# vim: syntax=Ruby