coaster 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coaster/core_ext/object_translation.rb +2 -2
- data/lib/coaster/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5415f3c53dc06cca25f7d96d31440185e3793979
|
4
|
+
data.tar.gz: 97b733d43057141da419a94dcef5dd2a1817b0d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250a0d14983d3cc80998f1e5ec1cd0fcbae29233743cba60e86eadfa2005e564aa53332b92425eaaa3d768e87f6ff831b52e4dc6fc53b071f8d99ad558e5c304
|
7
|
+
data.tar.gz: 09aaae926edc5aa3de43120f96c2b771947c530d158549b31420b6f5bfc537fff24fa3f34190de528dfa7467ded4544ec3665e9a1398d5f0b8b0abe6b57ff85a
|
@@ -47,14 +47,14 @@ class Object
|
|
47
47
|
throw :exception, result if options[:original_throw]
|
48
48
|
missing = options[:original_missing] || result
|
49
49
|
msg = missing.message
|
50
|
-
msg.
|
50
|
+
msg.instance_variable_set(:@missing, missing)
|
51
51
|
msg
|
52
52
|
else
|
53
53
|
options[:class] = key_class.superclass
|
54
54
|
_translate(subkey, *args, options)
|
55
55
|
end
|
56
56
|
else
|
57
|
-
result.
|
57
|
+
result.instance_variable_set(:@translated, true)
|
58
58
|
result
|
59
59
|
end
|
60
60
|
end
|
data/lib/coaster/version.rb
CHANGED