require_relative 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -0
- data/lib/require_relative.rb +1 -1
- data/lib/require_relative/version.rb +1 -1
- data/require_relative.gemspec +1 -1
- metadata +6 -8
data/README.md
CHANGED
@@ -42,3 +42,8 @@ To install your development version of the gem, simply "rake install".
|
|
42
42
|
|
43
43
|
To generate the documentation, "rake read," and it'll open in your
|
44
44
|
browser.
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
require\_relative is licensed under one of three licenses: WTFPL, BSD,
|
49
|
+
or the same license as Ruby. Your choice.
|
data/lib/require_relative.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
# for more information on how to build your own copy of the gem, as well as
|
7
7
|
# contribute fixes.
|
8
8
|
|
9
|
-
#
|
9
|
+
# require\_relative has no effect on Ruby 1.9 (or other versions that provide Kernel#require_relative
|
10
10
|
# out of the box)
|
11
11
|
unless Object.new.respond_to?(:require_relative, true)
|
12
12
|
# Yep, you're looking at it! This gem is pretty small, and for good reason.
|
data/require_relative.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Steve Klabnik", "Brendan Taylor"]
|
10
10
|
s.email = ["steve@steveklabnik.com", "whateley@gmail.com"]
|
11
|
-
s.homepage = "
|
11
|
+
s.homepage = "http://steveklabnik.github.com/require_relative"
|
12
12
|
s.summary = %q{This backports require_relative to Ruby 1.8.}
|
13
13
|
s.description = %q{In Ruby 1.9.2, "." was removed from $:. This is a good idea, for security reasons. This gem backports this to Ruby 1.8.}
|
14
14
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: require_relative
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve Klabnik
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-10-22 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: minitest
|
@@ -69,8 +68,7 @@ files:
|
|
69
68
|
- test/foo.rb
|
70
69
|
- test/require_relative_test.rb
|
71
70
|
- test/subdir/bar.rb
|
72
|
-
|
73
|
-
homepage: https://steveklabnik.github.com/require_relative
|
71
|
+
homepage: http://steveklabnik.github.com/require_relative
|
74
72
|
licenses: []
|
75
73
|
|
76
74
|
post_install_message:
|
@@ -99,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
97
|
requirements: []
|
100
98
|
|
101
99
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.
|
100
|
+
rubygems_version: 1.8.10
|
103
101
|
signing_key:
|
104
102
|
specification_version: 3
|
105
103
|
summary: This backports require_relative to Ruby 1.8.
|