fog-core 1.32.0 → 1.32.1

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: cce0c130a1aade8f7c0b37686d8c4373108cdb96
4
- data.tar.gz: d139b954306ca369a9ec3a27ef6a1b3534049f14
3
+ metadata.gz: afdce5d9207a895da4a113cf11456fe1118083df
4
+ data.tar.gz: 830b638596caa985de0903912f4dc00690582bae
5
5
  SHA512:
6
- metadata.gz: b42044e5b7f6ec5cb1c8d10b5f26d0cd18fbb311b406e1d710d25b32f7644b0780626a872b0bc91d5cef08035a1032f194a3d77aeb02e48bf37560b3d0030d80
7
- data.tar.gz: 4ef2091abaac8996facfeceebaabadcc8f6ef661b75b4ee6dbeee145ddd5c04289be2aa0bfe38e3cf6dcb7cfbc6057cc272b182d7f0449ac94b1ff30544f8259
6
+ metadata.gz: 08105b0a526766ba9fe9808bd4c84c9aa4119998ab1136ff6f5e0fc8b46b49e01121610547f472c1decc268c8ac2f5d8d1553376e1ca9b56229539fbe154b2b3
7
+ data.tar.gz: 7ad4e9e0c2f031ed72b00e899d5b18a2e07ee5fc15bae1824c09cd38d88d9b701876b738aac6464f1dbdbe44695d24adf589e64097779b6c5cfe718fba68d573
data/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ 1.32.1 08/12/2015
2
+ ==========================================================
3
+
4
+ expose identities in models
5
+
1
6
  1.32.0 07/02/2015
2
7
  ==========================================================
3
8
 
@@ -101,12 +101,16 @@ module Fog
101
101
  copy
102
102
  end
103
103
 
104
+ def identity_name
105
+ self.class.instance_variable_get("@identity")
106
+ end
107
+
104
108
  def identity
105
- send(self.class.instance_variable_get("@identity"))
109
+ send(identity_name)
106
110
  end
107
111
 
108
112
  def identity=(new_identity)
109
- send("#{self.class.instance_variable_get("@identity")}=", new_identity)
113
+ send("#{identity_name}=", new_identity)
110
114
  end
111
115
 
112
116
  def merge_attributes(new_attributes = {})
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Core
3
- VERSION = "1.32.0"
3
+ VERSION = "1.32.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Light
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-02 00:00:00.000000000 Z
12
+ date: 2015-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder