ocean-rails 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/api_remote_resource.rb +3 -2
- data/lib/ocean/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: 91cff40a2e3883b3d68b9b54b1640dfe6b5c9fb7
|
4
|
+
data.tar.gz: 6fa15184b9e0eecf15b0b666bdf494a51b0cd0f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e69bbaeb59be763814f41cfc3f9413af265f24da76e1109b995c6bdc82b90fdcb6dc40a527c901a9ed17078a2d253fc8a46c3443d4ed24531246e560a4b4cf3
|
7
|
+
data.tar.gz: c4c6bcdc5890377111480a8b8e9b697d10dc72f0f34bc63ffb0feb3a6714d35a442d14edfb58f2a4825e947d86069254851537188451dabd8a70eeb5fc4d7c1e
|
@@ -115,7 +115,8 @@ class Api
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def get!
|
118
|
-
RemoteResource._retrieve self
|
118
|
+
RemoteResource._retrieve self unless present?
|
119
|
+
self
|
119
120
|
end
|
120
121
|
|
121
122
|
def self.get(*args)
|
@@ -130,7 +131,7 @@ class Api
|
|
130
131
|
end
|
131
132
|
|
132
133
|
def [](key)
|
133
|
-
get!
|
134
|
+
get!
|
134
135
|
resource[key]
|
135
136
|
end
|
136
137
|
|
data/lib/ocean/version.rb
CHANGED