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 +5 -5
- data/CHANGELOG.md +3 -0
- data/lib/gecko/record/base_adapter.rb +1 -1
- data/lib/gecko/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20b88c9b40a367779ee76883eb9c6311b9bddaf4520895d6385f4e2628413919
|
4
|
+
data.tar.gz: 1acf395ece0f1abbfd475f976667658894d0b56bdebd461371e25825e92e75b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27433416b6b19c2c2678da35bfc9c4ce0ed6f6f81866bf4e8993b26cb1430eb8691270810796014cd53558de573cbca59ebdd1bfea1291e82e1bfec8fc1794ec
|
7
|
+
data.tar.gz: 32f3d00580a3f09a288938a6675fd1c94580e5e15e00956bd861841103ac5842d56926e3867bd935e9cd2e0675b3537d916bcf0589ba589c780c1e98555f58b0
|
data/CHANGELOG.md
CHANGED
@@ -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:
|
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
|
data/lib/gecko/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
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.
|