scratchpaper 0.0.3 → 0.0.4

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: 3917706fb9e382db4b213c2182f8398396525104
4
- data.tar.gz: 26a3365687ee9e385131b5dbd698350eda0086bb
3
+ metadata.gz: 10326bd830ce693a323240ae3b9116354d4c4bf2
4
+ data.tar.gz: 4acae9ef95fffbedadec1f482fd67f3b2f4ee055
5
5
  SHA512:
6
- metadata.gz: 9971ea30fdae03792fabff076c02d273d789e88dd7618ee6dbfb09b30f7abb7c11d3f2c99d30637270d0892d7d0cfde41bb45b1359947969e3c4ffd688fffe47
7
- data.tar.gz: 97bec87b4250cbd5a87a30ae21da77c8045af34b678964489397075975344241a89e035f83e877d44d6073eb4a99e44e4868ca13e0e6efb61c25fdcea4f04899
6
+ metadata.gz: 77c18879e61223d39abb0c379fb7fd6fa8cdb9cbf612159683344de35a08272d7123eb702d2dd278518766a592dc6e40cd0633fbd14f71c6035f035eb1a3cedc
7
+ data.tar.gz: 08c282ab4f5568b4878c5ddd9311d30dce03e80d81589119a7467513ceb322cd5426e8e8b2c0051cc93056f509d1846c39302b3dc9791a0ffc3410cdeadd3541
@@ -1,3 +1,3 @@
1
1
  module ScratchPaper
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/scratchpaper.rb CHANGED
@@ -28,7 +28,7 @@ module ScratchPaper
28
28
  when ActiveRecord::Relation
29
29
  st(data.map { |r| r.attributes.to_a })
30
30
  when ActiveRecord::Base
31
- st(r.attributes.to_a)
31
+ st(data.attributes.to_a)
32
32
  end
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scratchpaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Brown