Pistos-ruby-which 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby-which.rb +1 -5
- metadata +2 -2
data/lib/ruby-which.rb
CHANGED
@@ -18,7 +18,7 @@ class Which
|
|
18
18
|
# matches under one path.
|
19
19
|
def self.which( lib )
|
20
20
|
begin
|
21
|
-
|
21
|
+
require lib
|
22
22
|
rescue LoadError
|
23
23
|
return nil
|
24
24
|
end
|
@@ -38,8 +38,4 @@ class Which
|
|
38
38
|
|
39
39
|
nil
|
40
40
|
end
|
41
|
-
|
42
|
-
class << self
|
43
|
-
alias_method :require, :which
|
44
|
-
end
|
45
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Pistos-ruby-which
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pistos
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-25 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|