scratchpaper 0.0.5 → 0.0.6

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: 31f7a8d09eca0b628cefef9d4662ed676425cb8a
4
- data.tar.gz: f1d3a6b7966d633167266381535ddeea012c1ec6
3
+ metadata.gz: f71ca3c3b6cce9f0f1ce3b7df3b60374153dad10
4
+ data.tar.gz: 4878fbe51e5a86a1a81453d0dcfaacad9e4f8eb7
5
5
  SHA512:
6
- metadata.gz: 7a75196f7318d43ff3323810a4062ed76c1c6aa7820fa7bd8ac0f74dcda6554cfb9fc2d23a4c5016a2ae4f36bad1c7a0cab0527425c14931301279a4b37e33bc
7
- data.tar.gz: 56553f1a656cec7adce67fbec3b48d55a4f56d85f2293711c2a831b4ff3c758d9970905e0b693a0ba9605cbf10557463795fd918a99f355b8e56c2c36514557e
6
+ metadata.gz: 8ae509c610a5d679a42adddf3906b63f6692a3b053cd3e88f69f4780c1a55e50f418114ff809603fe927ec756f1586b4df7ef3c9d7cdae0ea36231971deb71a4
7
+ data.tar.gz: 4d946b3a594c336f00eecdefe50cba655f558ab2a1506e659126bdb13534d068d022b41952de72f01f957aae655b15bcfc5bf852c2712b846369e0430f38d593
@@ -26,7 +26,7 @@ module ScratchPaper
26
26
  def sr(data)
27
27
  case data
28
28
  when ActiveRecord::Relation
29
- st([data.attribute_names] + data.map { |r| data.attributes.values })
29
+ st([data.attribute_names] + data.map { |r| r.attributes.values })
30
30
  when ActiveRecord::Base
31
31
  st(data.attributes.to_a)
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module ScratchPaper
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Brown