gecko-ruby 0.2.5 → 0.2.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
- SHA1:
3
- metadata.gz: 78dbcb669143afab92b059b24bedd24cac28f75c
4
- data.tar.gz: fd5e7a317be4e7f6133127098d7cb38a0646e1df
2
+ SHA256:
3
+ metadata.gz: 20b88c9b40a367779ee76883eb9c6311b9bddaf4520895d6385f4e2628413919
4
+ data.tar.gz: 1acf395ece0f1abbfd475f976667658894d0b56bdebd461371e25825e92e75b4
5
5
  SHA512:
6
- metadata.gz: cb9e19202ef0148586b84a3642b5a544e76d6e2dde51ead54c3f84ada8e3468e62caf3b735ee43570555b6bd89a8db1f84cec091edced6dd5923a5a6aa546985
7
- data.tar.gz: e8a0cbb8785f83e62f04a92223d3e5d01bf6a1d7b3b8d262356d824bb1ba6bb6f5d49130d1d1a8039388341830fe4295c6b641f9ba38cf08bf560d30cd049bc4
6
+ metadata.gz: 27433416b6b19c2c2678da35bfc9c4ce0ed6f6f81866bf4e8993b26cb1430eb8691270810796014cd53558de573cbca59ebdd1bfea1291e82e1bfec8fc1794ec
7
+ data.tar.gz: 32f3d00580a3f09a288938a6675fd1c94580e5e15e00956bd861841103ac5842d56926e3867bd935e9cd2e0675b3537d916bcf0589ba589c780c1e98555f58b0
@@ -1,3 +1,6 @@
1
+ ## 0.2.6 (2019-03-19)
2
+ - [BACKPORT] Fix issue with find_many which manifested as a bug in has_many definitions with cached records being duplicated when more than 100 children existed.
3
+
1
4
  ## 0.2.5 (2018-01-15)
2
5
  - Add `User#account_name`
3
6
 
@@ -78,7 +78,7 @@ module Gecko
78
78
  def find_many(ids)
79
79
  existing, required = ids.partition { |id| has_record_for_id?(id) }
80
80
  if required.any?
81
- where(ids: ids) + existing.map { |id| record_for_id(id) }
81
+ where(ids: required) + existing.map { |id| record_for_id(id) }
82
82
  else
83
83
  existing.map { |id| record_for_id(id) }
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module Gecko
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gecko-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Priest
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2019-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -356,8 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
356
  - !ruby/object:Gem::Version
357
357
  version: '0'
358
358
  requirements: []
359
- rubyforge_project:
360
- rubygems_version: 2.6.13
359
+ rubygems_version: 3.0.3
361
360
  signing_key:
362
361
  specification_version: 4
363
362
  summary: A Ruby interface to the TradeGecko API.