active_serialize 2.0.2 → 2.1.0

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: 218f72ebf8cd75157a4416fc034ae07d08519d6c
4
- data.tar.gz: '0192de8497b8263d3b1e66bad9911225be0484e7'
3
+ metadata.gz: 07f4f8ee2b874c8c7bac64edc87f7a174fc56465
4
+ data.tar.gz: 7fe6d3bb7464b9964d97d336ffebb25aec319b06
5
5
  SHA512:
6
- metadata.gz: b361297ae5cf9fb1cc8407eece2f4d4ca23ba239bada1d3bd12d76ddd05a155513dafe28a69bd5ed03044d94c93a3225032269332e97a4f992e5d9351859c0dd
7
- data.tar.gz: 1f61b48e35c413362589ccdc6a36a2b0fd26ba1fcb59a42ae192ffaee1443d36fd0bf42faf3e2371d9099d1a10e250ad2b55f1aa0f53eede163d00bf9f67eb83
6
+ metadata.gz: d7928027949f5e0b9bafa52105f43bffb6fd86eea3ae8077b8dcb422b0ede89e02a100ecb461753b8dcd580854002bb1f684bc029691776c6518387e101f4479
7
+ data.tar.gz: ef414deffd617467ae4352a6c514384153aacd74adb5406a7386d57431427538061a0632b91c8c562fffd1893e709d257c1fae36540dd841f9ef48ded6539ae8
@@ -7,7 +7,7 @@ module ActiveSerialize
7
7
  end
8
8
 
9
9
  def to_ha(**args)
10
- find_each.map { |record| record.to_h(**args) }
10
+ all.to_a.map { |record| record.to_h(**args) }
11
11
  end
12
12
 
13
13
  def active_serialize_rmv *attrs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveSerialize
4
- VERSION = '2.0.2'
4
+ VERSION = '2.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_serialize
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhandao