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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2438ccfdaf98ac780b68714372b10bbb7182372c
4
- data.tar.gz: 8f080fdec12373dc8cc8d9c0802f3260913e0389
3
+ metadata.gz: 91cff40a2e3883b3d68b9b54b1640dfe6b5c9fb7
4
+ data.tar.gz: 6fa15184b9e0eecf15b0b666bdf494a51b0cd0f9
5
5
  SHA512:
6
- metadata.gz: c51f0ec1983312a743c9ae9d5ec8988f3c2eb0be46f76d5575f4f14428a524c734ad60b2079d1e1fcb3b4a7331bfe8b88827bbd82c5a6fd780886d568940c1be
7
- data.tar.gz: 4fb09674fa65c1dc3aeb97be98f3a52255cfebecd853f891e4288ed31db5e9a1007adb82c5f9bec9e8008a5472c545b826742ef76d4ea419bad03023fda6f71f
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! unless present?
134
+ get!
134
135
  resource[key]
135
136
  end
136
137
 
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "3.3.2"
2
+ VERSION = "3.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson