ruby_parser 3.1.1 → 3.1.2
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.tar.gz.sig +0 -0
- data/History.txt +7 -1
- data/lib/gauntlet_rubyparser.rb +7 -10
- data/lib/ruby_parser_extras.rb +1 -1
- metadata +11 -11
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 3.1.2 / 2013-03-18
|
2
|
+
|
3
|
+
* 1 minor enhancement:
|
4
|
+
|
5
|
+
* OMG A SECURITY ISSUE FOR CODE NOBODY USES... EVER
|
6
|
+
|
1
7
|
=== 3.1.1 / 2012-12-19
|
2
8
|
|
3
9
|
* 1 minor enhancement:
|
@@ -520,7 +526,7 @@ bugs/patches/complaints/suggestions.
|
|
520
526
|
* lex_strterm is now a plain array, removed RubyLexer#s(...).
|
521
527
|
* yield and super now flatten args.
|
522
528
|
|
523
|
-
* 21
|
529
|
+
* 21 bug fixes:
|
524
530
|
|
525
531
|
* I'm sure this list is missing a lot:
|
526
532
|
* Fixed 2 bugs both involving attrasgn (and ilk) esp when lhs is an array.
|
data/lib/gauntlet_rubyparser.rb
CHANGED
@@ -35,18 +35,15 @@ class RubyParserGauntlet < Gauntlet
|
|
35
35
|
def diff_pp o1, o2
|
36
36
|
require 'pp'
|
37
37
|
|
38
|
-
|
39
|
-
PP.pp o1,
|
40
|
-
end
|
38
|
+
Tempfile.new('ruby_parser_a') do |file_a|
|
39
|
+
PP.pp o1, file_a
|
41
40
|
|
42
|
-
|
43
|
-
|
44
|
-
end
|
41
|
+
Tempfile.new('ruby_parser_b') do |file_b|
|
42
|
+
PP.pp o2, file_b
|
45
43
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
File.unlink "/tmp/b.#{$$}" rescue nil
|
44
|
+
`diff -u #{file_a.path} #{file_b.path}`
|
45
|
+
end
|
46
|
+
end
|
50
47
|
end
|
51
48
|
|
52
49
|
def broke name, file, msg
|
data/lib/ruby_parser_extras.rb
CHANGED
@@ -108,7 +108,7 @@ class RPStringScanner < StringScanner
|
|
108
108
|
end
|
109
109
|
|
110
110
|
module RubyParserStuff
|
111
|
-
VERSION = '3.1.
|
111
|
+
VERSION = '3.1.2' unless constants.include? "VERSION" # SIGH
|
112
112
|
|
113
113
|
attr_accessor :lexer, :in_def, :in_single, :file
|
114
114
|
attr_reader :env, :comments
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 2
|
10
|
+
version: 3.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Davis
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
FBHgymkyj/AOSqKRIpXPhjC6
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date:
|
39
|
+
date: 2013-03-18 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sexp_processor
|
@@ -61,11 +61,11 @@ dependencies:
|
|
61
61
|
requirements:
|
62
62
|
- - ~>
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
hash:
|
64
|
+
hash: 23
|
65
65
|
segments:
|
66
66
|
- 4
|
67
|
-
-
|
68
|
-
version: "4.
|
67
|
+
- 6
|
68
|
+
version: "4.6"
|
69
69
|
type: :development
|
70
70
|
version_requirements: *id002
|
71
71
|
- !ruby/object:Gem::Dependency
|
@@ -107,11 +107,11 @@ dependencies:
|
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
110
|
+
hash: 13
|
111
111
|
segments:
|
112
112
|
- 3
|
113
|
-
-
|
114
|
-
version: "3.
|
113
|
+
- 5
|
114
|
+
version: "3.5"
|
115
115
|
type: :development
|
116
116
|
version_requirements: *id005
|
117
117
|
description: |-
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
requirements: []
|
197
197
|
|
198
198
|
rubyforge_project: parsetree
|
199
|
-
rubygems_version: 1.8.
|
199
|
+
rubygems_version: 1.8.25
|
200
200
|
signing_key:
|
201
201
|
specification_version: 3
|
202
202
|
summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension)
|
metadata.gz.sig
CHANGED
Binary file
|