miasma 0.2.20 → 0.2.22

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: 62f79ab01a173526eeeddce33773d09da0c95bda
4
- data.tar.gz: 9bfb290df4a4383d9c6f3fa0138c3c8a22862dff
3
+ metadata.gz: c819001bad6e06682bf9a373462a1acf4cf317cb
4
+ data.tar.gz: 0d477fdeaba9b395fceea08c51e5230aff885528
5
5
  SHA512:
6
- metadata.gz: 603350c584ea581c96922bf764b63ac5fd076363c5293ba6aca64c601dd59ea49c649c4122fc243f5777f446de1589b18b1c4db4dcae9292f85302b3b49a82c5
7
- data.tar.gz: c6d24222054251d5ab210ba6da055082f2e289a6d04fc9b06586f59837665cdb548119dde7ff3ee363d07bbd9b10c8ebfc2d765b64dda18baef7a085acd4bc09
6
+ metadata.gz: 34e65fa95bfd5f6ad77a4f587dbe006fe38b6cad19bb62541f156b9559f760be6bba9cd442220686925b9dda29d8c4a9003d7c91dfc79d42474968ee617efa41
7
+ data.tar.gz: d9f32e1b81c4bc143dd043542be3a66b7dc4957abc8dd18a6bb022be892839e904b84028662c91b1562722e5ba63b82dbe5bffd40c6543e0d44e4c02d3162bae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.2.22
2
+ * Fix lazy attribute loading on subclasses
3
+
1
4
  # v0.2.20
2
5
  * Add scrubbing response prior to parsing to prevent XML related errors
3
6
  * Stub credentials if none are provided
@@ -222,11 +222,7 @@ module Miasma
222
222
  class << self
223
223
 
224
224
  def inherited(klass)
225
- klass.set_attributes(
226
- MultiJson.load(
227
- MultiJson.dump(self.attributes)
228
- ).to_smash
229
- )
225
+ klass.set_attributes(self.attributes.to_smash)
230
226
  end
231
227
 
232
228
  end
@@ -1,4 +1,4 @@
1
1
  module Miasma
2
2
  # current library version
3
- VERSION = Gem::Version.new('0.2.20')
3
+ VERSION = Gem::Version.new('0.2.22')
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20
4
+ version: 0.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie