ripper 1.0.3 → 1.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/ext/Makefile +1 -1
- data/ext/extconf.rb +2 -2
- data/ext/ripper.bundle +0 -0
- metadata +38 -21
data/ext/Makefile
CHANGED
|
@@ -45,7 +45,7 @@ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
|
|
|
45
45
|
|
|
46
46
|
RUBY_EXTCONF_H =
|
|
47
47
|
CFLAGS = -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common $(cflags)
|
|
48
|
-
INCFLAGS = -I.
|
|
48
|
+
INCFLAGS = -I. -I$(srcdir)/backports -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
|
49
49
|
DEFS =
|
|
50
50
|
CPPFLAGS = -DRIPPER -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) $(cppflags)
|
|
51
51
|
CXXFLAGS = $(CFLAGS)
|
data/ext/extconf.rb
CHANGED
|
@@ -17,9 +17,9 @@ def main
|
|
|
17
17
|
$defs << '-DRIPPER_DEBUG' if $debug
|
|
18
18
|
$VPATH = []
|
|
19
19
|
if RUBY_VERSION < "1.9.1"
|
|
20
|
-
$INCFLAGS
|
|
20
|
+
$INCFLAGS = " -I$(srcdir)/backports #{$INCFLAGS} "
|
|
21
21
|
else
|
|
22
|
-
$INCFLAGS
|
|
22
|
+
$INCFLAGS = " -I$(srcdir)/extra #{$INCFLAGS} "
|
|
23
23
|
end
|
|
24
24
|
create_makefile 'ripper'
|
|
25
25
|
end
|
data/ext/ripper.bundle
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,28 +1,34 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ripper
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 1
|
|
8
|
+
- 0
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.0.4
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- Loren Segal
|
|
9
14
|
- Minero Aoki
|
|
10
15
|
autorequire:
|
|
11
16
|
bindir: bin
|
|
12
17
|
cert_chain: []
|
|
13
|
-
|
|
18
|
+
|
|
19
|
+
date: 2011-10-12 00:00:00 -04:00
|
|
14
20
|
default_executable:
|
|
15
21
|
dependencies: []
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Ripper 1.9\n for Ruby 1.8.x. Ripper was written by Minero Aoki and ported by
|
|
19
|
-
Loren Segal.\n"
|
|
22
|
+
|
|
23
|
+
description: " This gem is meant for Ruby 1.8.x builds. Ruby 1.9.x comes with a functioning\n ripper implementation out of the box. This gem is a port of the Ripper 1.9\n for Ruby 1.8.x. Ripper was written by Minero Aoki and ported by Loren Segal.\n"
|
|
20
24
|
email: lsegal@soen.ca
|
|
21
25
|
executables: []
|
|
22
|
-
|
|
26
|
+
|
|
27
|
+
extensions:
|
|
23
28
|
- ext/extconf.rb
|
|
24
29
|
extra_rdoc_files: []
|
|
25
|
-
|
|
30
|
+
|
|
31
|
+
files:
|
|
26
32
|
- lib/ripper/core.rb
|
|
27
33
|
- lib/ripper/filter.rb
|
|
28
34
|
- lib/ripper/lexer.rb
|
|
@@ -61,28 +67,39 @@ files:
|
|
|
61
67
|
has_rdoc: false
|
|
62
68
|
homepage: http://github.com/lsegal/ripper18
|
|
63
69
|
licenses: []
|
|
70
|
+
|
|
64
71
|
post_install_message:
|
|
65
72
|
rdoc_options: []
|
|
66
|
-
|
|
73
|
+
|
|
74
|
+
require_paths:
|
|
67
75
|
- lib
|
|
68
76
|
- ext
|
|
69
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
78
|
none: false
|
|
71
|
-
requirements:
|
|
79
|
+
requirements:
|
|
72
80
|
- - ~>
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
hash: 57
|
|
83
|
+
segments:
|
|
84
|
+
- 1
|
|
85
|
+
- 8
|
|
86
|
+
- 7
|
|
74
87
|
version: 1.8.7
|
|
75
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
89
|
none: false
|
|
77
|
-
requirements:
|
|
78
|
-
- -
|
|
79
|
-
- !ruby/object:Gem::Version
|
|
80
|
-
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
hash: 3
|
|
94
|
+
segments:
|
|
95
|
+
- 0
|
|
96
|
+
version: "0"
|
|
81
97
|
requirements: []
|
|
98
|
+
|
|
82
99
|
rubyforge_project:
|
|
83
100
|
rubygems_version: 1.3.9.3
|
|
84
101
|
signing_key:
|
|
85
102
|
specification_version: 3
|
|
86
103
|
summary: Ripper parses Ruby source and tokenizes or builds an AST
|
|
87
|
-
test_files:
|
|
104
|
+
test_files:
|
|
88
105
|
- test/test_ripper.rb
|