iron_bank 4.0.0 → 4.0.1

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: ddab957161d110b39c87104391a5883a5e22091186a0e368ebcd8b03d8d7b4ad
4
- data.tar.gz: 372c3ecc6be5c37ff50cf08085451244df1c49fa1dae6de9ed4301de18c05511
3
+ metadata.gz: 067bac2c19999dd3a589b07a34e32626df11fbbd26fdad2083131928f06c1f2f
4
+ data.tar.gz: 3143662227f48f7446f72a4fee567bbb3a190243b7be0c184811d37f8d28c2f9
5
5
  SHA512:
6
- metadata.gz: adda95d1a9f68e9aa4819244ad322b8b71b8ae19596b8c48ee704a559c835c1646fe4affd9d0b3bafac275641b9fc1f581be7887606657e0d8268c4c08f8303d
7
- data.tar.gz: a069124becac1289cb2e43e58ae7cf8fc47727a5b0b7860551c46ff6d6531d48e145eab296884bcc1a3a33df7da0660e3bbea8f1309a8d8c404021b7828f8d66
6
+ metadata.gz: be04e3c77d5391cf0e076cce35e5f92a281246605b9ff217d1a12046a803aec81c76ded39d40e39124b8544bd601782c4bc38f839c08188af64bae295ee56d9a
7
+ data.tar.gz: 993ad81b0fcbd3d5a31e15b76602c8d13c6a3113e59d86273dccee79b6f1bc79b7c772fe3988a89599c76c28dc3f9bdb3fa0999f0675cdf5569d1b55dd65b470
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iron_bank (4.0.0)
4
+ iron_bank (4.0.1)
5
5
  faraday (~> 0)
6
6
  faraday_middleware (~> 0)
7
7
  nokogiri (~> 1)
@@ -74,7 +74,10 @@ module IronBank
74
74
  end
75
75
 
76
76
  def valid_query?
77
- object.first
77
+ # Querying using the ID (indexed field) should return an empty
78
+ # collectio fast when it's successful
79
+ object.where(id: "XYZ")
80
+
78
81
  info "Successful query for #{object_name}"
79
82
 
80
83
  true
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IronBank
4
- VERSION = "4.0.0"
4
+ VERSION = "4.0.1"
5
5
  API_VERSION = "v1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Pham
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2019-09-05 00:00:00.000000000 Z
14
+ date: 2019-09-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bump