rb_snowflake_client 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c61238d7915a65cc04b0219e1fd8dc016cc645d8b62819264e2476cd22bdace
4
- data.tar.gz: b23ace47b825ed4650a12c1fe51b88a72ee51e9e6451e8421c99efbad14ccd1f
3
+ metadata.gz: '089c46288d7dc44f8717542fce8732ce32c65db796e5ac5d49fa6fff6cb1f29d'
4
+ data.tar.gz: '035589f8bcc072830f037c333379a2059eb6a205ad8ae6daecb2bb2ea9c4761a'
5
5
  SHA512:
6
- metadata.gz: 9c6616faa6d200731c4783e2ae0390022b9a90086e05e9c8b19527e74b65c59912155240f036f660c83c24b50fa30242a14a79f4b4c6b464cdc2d51a396725cf
7
- data.tar.gz: 3dfeceb361c57f2f40eb3e3adc626abd0832ee977ef8ed86cdd089ae4f1eae95013c8441085aa3c9e74b19f8f367f7259adc75a477ecc34dcffeddbc65853158
6
+ metadata.gz: e390973b02ce165e3bb5722c84cc79cb8c1fcc8457b57ceaf9317f2675fdfe2e5b6276d7c8a496ec5605ab66c15fcdfa2247182d1f54bed39df3c8ce4240fed7
7
+ data.tar.gz: '092ba2997da8f64f6e9e7ff912d7bdb43882681f5d564028f9a9c6ad51854515e237de27b51de35329acb3fd021de3d4212551cbc31a58942592627805f2e298'
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ #
4
+ # BUNDLER
5
+ #
6
+ - package-ecosystem: bundler
7
+ directory: '/'
8
+ schedule:
9
+ interval: weekly
10
+ allow:
11
+ - dependency-type: direct
12
+ - dependency-type: indirect
13
+ open-pull-requests-limit: 10
data/Gemfile CHANGED
@@ -6,13 +6,7 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem "bundler"
9
- gem "concurrent-ruby"
10
- gem "connection_pool"
11
- gem "dotenv"
12
- gem "jwt"
13
- gem "oj"
14
9
  gem "rake"
15
- gem "retryable"
16
10
 
17
11
  group :development do
18
12
  gem "parallel"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rb_snowflake_client (1.1.0)
4
+ rb_snowflake_client (1.1.1)
5
5
  concurrent-ruby (>= 1.2)
6
6
  connection_pool (>= 2.4)
7
7
  dotenv (>= 2.8)
@@ -50,16 +50,10 @@ PLATFORMS
50
50
 
51
51
  DEPENDENCIES
52
52
  bundler
53
- concurrent-ruby
54
- connection_pool
55
- dotenv
56
- jwt
57
- oj
58
53
  parallel
59
54
  pry
60
55
  rake
61
56
  rb_snowflake_client!
62
- retryable
63
57
  rspec
64
58
 
65
59
  BUNDLED WITH
data/README.md CHANGED
@@ -105,6 +105,12 @@ Clients are not warehouse specific, you can override the default warehouse per q
105
105
  client.query("SELECT * FROM BIGTABLE", warehouse: "FAST_WH")
106
106
  ```
107
107
 
108
+ ## Specifying a schema
109
+
110
+ ```ruby
111
+ client.query("SELECT * FROM BIGTABLE", schema: "MY_SCHEMA")
112
+ ```
113
+
108
114
  ## Binding parameters
109
115
 
110
116
  Say we have `BIGTABLE` with a `data` column of a type `VARIANT`.
@@ -223,7 +223,7 @@ module RubySnowflake
223
223
  def retryable_http_response_code?(code)
224
224
  # retry (in order): bad request, forbidden (token expired in flight), method not allowed,
225
225
  # request timeout, too many requests, anything in the 500 range (504 is fairly common)
226
- [400, 403, 405, 408, 429, 504].include?(code.to_i) || (500..599).include?(code)
226
+ [400, 403, 405, 408, 429, 502, 504].include?(code.to_i) || (500..599).include?(code.to_i)
227
227
  end
228
228
 
229
229
  def retryable_log_method
@@ -1,3 +1,3 @@
1
1
  module RubySnowflake
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_snowflake_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rinsed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -105,6 +105,7 @@ executables: []
105
105
  extensions: []
106
106
  extra_rdoc_files: []
107
107
  files:
108
+ - ".github/dependabot.yml"
108
109
  - ".github/workflows/ci.yml"
109
110
  - ".github/workflows/release-gh-packages.yml"
110
111
  - ".github/workflows/release-rubygems.yml"