act_as_fire_record_beta 0.0.9 → 0.0.10

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
  SHA256:
3
- metadata.gz: 81eb3576251a5e99a7250637ee9b906a5b7c345338b7947db43dd1241e79d8b9
4
- data.tar.gz: 15a2f9251f19d01d5a8e1ea58dcb45c0888440075e9ea827d585e7a5447c41c4
3
+ metadata.gz: 77d8ac84675d8ec650cb51876c7ba1517a403ea82f050827bd1974d75138bc31
4
+ data.tar.gz: aca93cb508bf0ec6703c362ac5b9331ef940fd7fac61e766b1d57c27bfbbceec
5
5
  SHA512:
6
- metadata.gz: 993a8bd4c0a4a032f1560954fb76eb5d03208e18a14c0fa2e35245d5199eebb3ed56d64ebf972dde770f37bfb6aed514c35df5b0d9cb29acfbcd18f6ee7073d3
7
- data.tar.gz: 53ce442fff0fb9dd9c32c8e6edbf0994d105c60ed4e7476bb713c4e2508b4b98c2e88dcb2fe48308aa29cc6957aad1f0102f7258b386af02b4aa31d6825c996b
6
+ metadata.gz: 295b47d79ef485aff5b03190f77d79b1de8b3abec2b80fbd6fe9fd8975efe0175d50f4927c94c1273441f8b81f8f894d858acb52cf1d44533318930cab95d037
7
+ data.tar.gz: 90818791ea217adb7f026f00342302604a4de97bcf195f8e8f3a635c851fd4ab2f5bcb202d210878e8a583db8cd07d32b99dd43838714cc3b0ddd1faa2109a3a
@@ -25,6 +25,15 @@ module Google
25
25
  b ? records : records.each
26
26
  end
27
27
 
28
+ def inspect
29
+ entries = self.to_a.map(&:inspect)
30
+ "#<#{self.class.name} [#{entries.join(', ')}]>"
31
+ end
32
+
33
+ def pretty_print(q)
34
+ q.pp(self.to_a)
35
+ end
36
+
28
37
  def destroy_all
29
38
  doc_refs = self.map(&:doc_ref)
30
39
  fire_record_class.delete_in_batch(doc_refs)
@@ -1,3 +1,3 @@
1
1
  module ActAsFireRecordBeta
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act_as_fire_record_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Junichi Ito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-27 00:00:00.000000000 Z
11
+ date: 2022-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails