ripper-plus 1.0.1 → 1.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/README.md +60 -5
- data/Rakefile +2 -0
- data/lib/ripper-plus.rb +1 -0
- data/lib/ripper-plus/scope_stack.rb +11 -1
- data/lib/ripper-plus/transformer.rb +81 -29
- data/lib/ripper-plus/version.rb +10 -0
- data/spec/scope_stack_spec.rb +20 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/transformer_spec.rb +799 -539
- metadata +7 -18
- data/ripper-plus.gemspec +0 -75
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripper-plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.0.
|
4
|
+
prerelease: 6
|
5
|
+
version: 1.1.0.pre2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Edgar
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-05-02 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -56,17 +56,6 @@ dependencies:
|
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: *id004
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: rcov
|
61
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
|
-
requirements:
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: "0"
|
67
|
-
type: :development
|
68
|
-
prerelease: false
|
69
|
-
version_requirements: *id005
|
70
59
|
description: |-
|
71
60
|
Ripper is the Ruby parser library packaged
|
72
61
|
with Ruby 1.9. While quite complete, it has some quirks that can
|
@@ -91,7 +80,7 @@ files:
|
|
91
80
|
- lib/ripper-plus/ripper-plus.rb
|
92
81
|
- lib/ripper-plus/scope_stack.rb
|
93
82
|
- lib/ripper-plus/transformer.rb
|
94
|
-
- ripper-plus.
|
83
|
+
- lib/ripper-plus/version.rb
|
95
84
|
- spec/ripper-plus_spec.rb
|
96
85
|
- spec/scope_stack_spec.rb
|
97
86
|
- spec/spec_helper.rb
|
@@ -109,16 +98,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
98
|
requirements:
|
110
99
|
- - ">="
|
111
100
|
- !ruby/object:Gem::Version
|
112
|
-
hash:
|
101
|
+
hash: 633908631425792624
|
113
102
|
segments:
|
114
103
|
- 0
|
115
104
|
version: "0"
|
116
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
106
|
none: false
|
118
107
|
requirements:
|
119
|
-
- - "
|
108
|
+
- - ">"
|
120
109
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
110
|
+
version: 1.3.1
|
122
111
|
requirements: []
|
123
112
|
|
124
113
|
rubyforge_project:
|
data/ripper-plus.gemspec
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{ripper-plus}
|
8
|
-
s.version = "1.0.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Michael Edgar"]
|
12
|
-
s.date = %q{2011-04-27}
|
13
|
-
s.description = %q{Ripper is the Ruby parser library packaged
|
14
|
-
with Ruby 1.9. While quite complete, it has some quirks that can
|
15
|
-
make use frustrating. This gem intends to correct them.}
|
16
|
-
s.email = %q{michael.j.edgar@dartmouth.edu}
|
17
|
-
s.extra_rdoc_files = [
|
18
|
-
"LICENSE.txt",
|
19
|
-
"README.md"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".document",
|
23
|
-
".rspec",
|
24
|
-
"Gemfile",
|
25
|
-
"LICENSE.txt",
|
26
|
-
"README.md",
|
27
|
-
"Rakefile",
|
28
|
-
"VERSION",
|
29
|
-
"lib/ripper-plus.rb",
|
30
|
-
"lib/ripper-plus/ripper-plus.rb",
|
31
|
-
"lib/ripper-plus/scope_stack.rb",
|
32
|
-
"lib/ripper-plus/transformer.rb",
|
33
|
-
"ripper-plus.gemspec",
|
34
|
-
"spec/ripper-plus_spec.rb",
|
35
|
-
"spec/scope_stack_spec.rb",
|
36
|
-
"spec/spec_helper.rb",
|
37
|
-
"spec/transformer_spec.rb"
|
38
|
-
]
|
39
|
-
s.homepage = %q{http://github.com/michaeledgar/ripper-plus}
|
40
|
-
s.licenses = ["MIT"]
|
41
|
-
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = %q{1.7.2}
|
43
|
-
s.summary = %q{Parses Ruby code into an improved Ripper AST format}
|
44
|
-
s.test_files = [
|
45
|
-
"spec/ripper-plus_spec.rb",
|
46
|
-
"spec/scope_stack_spec.rb",
|
47
|
-
"spec/spec_helper.rb",
|
48
|
-
"spec/transformer_spec.rb"
|
49
|
-
]
|
50
|
-
|
51
|
-
if s.respond_to? :specification_version then
|
52
|
-
s.specification_version = 3
|
53
|
-
|
54
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
56
|
-
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
|
57
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
58
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
59
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
60
|
-
else
|
61
|
-
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
62
|
-
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
63
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
64
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
65
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
66
|
-
end
|
67
|
-
else
|
68
|
-
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
69
|
-
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
70
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
71
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
72
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|