pupper 0.1.10 → 0.1.11

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: fade2c588ef6abba0655c7b7856fe843fa695104
4
- data.tar.gz: 12002d902704ef139cdb55d45dbfd96e2d910030
3
+ metadata.gz: 456be479316a784d696950c5336937cd6156deda
4
+ data.tar.gz: 3d5958b1ad1969792a1c32f2ec8dd8ed13e947f9
5
5
  SHA512:
6
- metadata.gz: ab56831330f7410f3f68d668ffc42606665220654e55c3e717f3bf0a14faa5f397e8f126dd5735791f0aca206943fd26dce3951c2a3dbff8ba45a58e311ba355
7
- data.tar.gz: 8b913456d5a9ce4dec4ec7993dc11883e710b4d63936381ec0eac95d7bafb8abb33692fb09f34883b1404e8bd58dceabe12b63ea0f419ef0064491c98d76cd8a
6
+ metadata.gz: e09904846161cfd3bcc1345f2a8b6c2a2f1756aa82eb2fcaaff21190494e9a03edb46f394d629d095abf37f4a6c7e3e708df3ed9622d70b6ab191ecc3dc0ebad
7
+ data.tar.gz: 59d7f00ae56f03ab3cad973f59c5f9713c2d02f420888fb7ed9c27d2b130f13d7d2c7e9ddcf9821f4c8e6d92a563111fe46c209b187f3d77df9564ab6b6ed108
@@ -14,6 +14,10 @@ module Pupper
14
14
  @attributes ||= {}
15
15
  end
16
16
 
17
+ def changed_attributes
18
+ changes.transform_values(&:last)
19
+ end
20
+
17
21
  def reload!
18
22
  restore_attributes
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module Pupper
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pupper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Machin