rentlinx 0.4.1 → 0.4.2

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: babf2e382f7c689a016ecb5655b3533fab46fa0e
4
- data.tar.gz: 829b6c7dfee44ec51a66c039698e60008bb30e59
3
+ metadata.gz: 7b2d847aedddaa5ea10c385c15f8bdbb0a577e11
4
+ data.tar.gz: d1c4fadcc7cd83f639853f94304068f928a42cfa
5
5
  SHA512:
6
- metadata.gz: bcbbf878d214761ced1f8bdef772c78d883b5956091a41493e834c1b5d860118b7a8adfb48fcee47c53c1ff3224d3a0b52bf8f327502907feb2d4a4e36042ec9
7
- data.tar.gz: 9dd8f60624e0ded69c991b6db840fea5e49864a68f7e862206abc5cfdc47a9e9d1be17287baad7f20ff4d00d6732d52ab56039e6b887f71cc6111243d04d3e2c
6
+ metadata.gz: d61accbd165974b51cd657c8fac9218438229b9a486d10aa2cb22965a4809819e9220f53470402099e35a3b9bb9788de3685ff050e77060714ddc1803ee1aa73
7
+ data.tar.gz: 34b2fe43c6976f5a24694ee25e0dcc30c2dbb814d80b9b20e7c260fa842cf60162e76ca6642482cab8865586a887060015505a9e1dd3b84157b3b6e3f09dca39
@@ -2,11 +2,11 @@ module Rentlinx
2
2
  class Base
3
3
  def initialize(attrs)
4
4
  @processor = AttributeProcessor.new(attrs)
5
- attrs = @processor.process
5
+ new_attrs = @processor.process
6
6
  attributes.each do |at|
7
- send("#{at}=", attrs[at])
7
+ send("#{at}=", new_attrs[at])
8
8
  end
9
- remaining_attrs = attrs.keys - attributes
9
+ remaining_attrs = new_attrs.keys - attributes
10
10
  raise UnexpectedAttributes, "Unexpected Attributes: #{remaining_attrs.join(', ')}" if remaining_attrs.compact.size > 0
11
11
  end
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Rentlinx
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rentlinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient