hobo_support 1.3.0.pre21 → 1.3.0.pre22
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/hobo_support/string.rb +2 -4
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.0.
|
1
|
+
1.3.0.pre22
|
data/lib/hobo_support/string.rb
CHANGED
@@ -22,9 +22,7 @@ class String
|
|
22
22
|
def safe_constantize
|
23
23
|
Object.class_eval self
|
24
24
|
rescue NameError => e
|
25
|
-
|
26
|
-
# NameError has a #name method but it is always nil
|
27
|
-
if e.message !~ /\b#{self}$/
|
25
|
+
if e.missing_name != self
|
28
26
|
# oops - some other name error
|
29
27
|
raise
|
30
28
|
else
|
@@ -33,4 +31,4 @@ class String
|
|
33
31
|
end
|
34
32
|
|
35
33
|
|
36
|
-
end
|
34
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1637108444
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.3.0.
|
10
|
+
- pre22
|
11
|
+
version: 1.3.0.pre22
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Tom Locke
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-11-
|
19
|
+
date: 2010-11-27 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|