rbx-require-relative 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS +3 -0
- data/Rakefile +5 -1
- data/lib/version.rb +1 -1
- metadata +15 -26
data/NEWS
CHANGED
data/Rakefile
CHANGED
@@ -31,7 +31,11 @@ def gemspec
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def gem_file
|
34
|
-
|
34
|
+
if gemspec.platform.to_s == 'ruby'
|
35
|
+
"#{gemspec.name}-#{gemspec.version}.gem"
|
36
|
+
else
|
37
|
+
"#{gemspec.name}-#{gemspec.version}-#{gemspec.platform.to_s}.gem"
|
38
|
+
end
|
35
39
|
end
|
36
40
|
|
37
41
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbx-require-relative
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- R. Bernstein
|
@@ -14,22 +15,9 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2012-02-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
name: rb-threadframe
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
type: :runtime
|
32
|
-
version_requirements: *id001
|
18
|
+
date: 2012-02-26 00:00:00 Z
|
19
|
+
dependencies: []
|
20
|
+
|
33
21
|
description: |
|
34
22
|
Ruby 1.9's require_relative for Rubinius and MRI 1.8.
|
35
23
|
|
@@ -57,16 +45,15 @@ files:
|
|
57
45
|
- lib/version.rb
|
58
46
|
- lib/require_relative.rb
|
59
47
|
- test/test-rr.rb
|
60
|
-
- test/bar.rb
|
61
48
|
- test/foo.rb
|
62
|
-
|
49
|
+
- test/bar.rb
|
63
50
|
homepage: http://github.com/rocky/rbx-require-relative
|
64
51
|
licenses:
|
65
52
|
- MIT
|
66
53
|
post_install_message:
|
67
54
|
rdoc_options:
|
68
55
|
- --title
|
69
|
-
- require_relative 0.0.
|
56
|
+
- require_relative 0.0.7 Documentation
|
70
57
|
require_paths:
|
71
58
|
- lib
|
72
59
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -74,23 +61,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
61
|
requirements:
|
75
62
|
- - ~>
|
76
63
|
- !ruby/object:Gem::Version
|
64
|
+
hash: 57
|
77
65
|
segments:
|
78
66
|
- 1
|
79
|
-
-
|
80
|
-
-
|
81
|
-
version: 1.
|
67
|
+
- 8
|
68
|
+
- 7
|
69
|
+
version: 1.8.7
|
82
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
71
|
none: false
|
84
72
|
requirements:
|
85
73
|
- - ">="
|
86
74
|
- !ruby/object:Gem::Version
|
75
|
+
hash: 3
|
87
76
|
segments:
|
88
77
|
- 0
|
89
78
|
version: "0"
|
90
79
|
requirements: []
|
91
80
|
|
92
81
|
rubyforge_project:
|
93
|
-
rubygems_version: 1.
|
82
|
+
rubygems_version: 1.8.6
|
94
83
|
signing_key:
|
95
84
|
specification_version: 3
|
96
85
|
summary: Ruby 1.9's require_relative for Rubinius and MRI 1.8. We also add abs_path which is like __FILE__ but __FILE__ can be fooled by a sneaky "chdir" while abs_path can't. If you are running on Ruby 1.9 or greater, require_relative is the pre-defined version. The benefit we provide in this situation by this package is the ability to write the same require_relative sequence in Rubinius 1.8 and Ruby 1.9.
|