rb_snowflake_client 1.2.0 → 1.3.0

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: e9d6598913d1c47b930ed9b3db3b4aae621ea9089055cecaa2ec897140154fbb
4
- data.tar.gz: a2735059fd007bced307b285bae356222bafbd59bc1aa950dd9edf5556c35e7b
3
+ metadata.gz: ef7c1798270965128711042d7d218668b318356bf6a3fac8efc2144538c5a246
4
+ data.tar.gz: a04c605cfff4659c18deb58ccdca3d49db8a6d85d98825a496ab6d8641030193
5
5
  SHA512:
6
- metadata.gz: 170075bb5b7af8c816f2e069001f83e3e46968b5af56796da5e41f738b16ae946978058da7b26fed3b9fb9516bebdf0fec8ef96f341dcca58fa813d03c2bddc6
7
- data.tar.gz: 2829982c8d29a4fb7a154e683028e395631cdfc2131b2b9e6ffc08eabe8d65ac967e7f48f5278441320dae54dae001a4e5d456512619e255f0d52453d6d63ecc
6
+ metadata.gz: 3633bc26af9b0912735ad82840795ab81c6178c381b11ae7ade7b6fd2272576a7a9d4f65a7cd22a5786ede9f2d153bc7ccb3a5816fe0263e48cb6f5df448297b
7
+ data.tar.gz: 449e2d7140b58c6d629fd17bf4641b3d698a03d10a1fb6df3444fd3bd5bf6fd6da1f146c59d96dcedd3932ddc1f5b4b086524f427385510435e36dc8de052824
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rb_snowflake_client (1.2.0)
4
+ rb_snowflake_client (1.3.0)
5
5
  bigdecimal (>= 3.0)
6
6
  concurrent-ruby (>= 1.2)
7
7
  connection_pool (>= 2.4)
@@ -14,18 +14,18 @@ GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
16
  base64 (0.2.0)
17
- bigdecimal (3.1.8)
17
+ bigdecimal (3.1.9)
18
18
  coderay (1.1.3)
19
- concurrent-ruby (1.3.3)
19
+ concurrent-ruby (1.3.4)
20
20
  connection_pool (2.4.1)
21
21
  diff-lcs (1.5.1)
22
- dotenv (3.1.2)
22
+ dotenv (3.1.7)
23
23
  json (2.9.1)
24
- jwt (2.8.2)
24
+ jwt (2.10.1)
25
25
  base64
26
26
  method_source (1.1.0)
27
- parallel (1.25.1)
28
- pry (0.14.2)
27
+ parallel (1.26.3)
28
+ pry (0.15.2)
29
29
  coderay (~> 1.1)
30
30
  method_source (~> 1.0)
31
31
  rake (13.2.1)
@@ -34,15 +34,15 @@ GEM
34
34
  rspec-core (~> 3.13.0)
35
35
  rspec-expectations (~> 3.13.0)
36
36
  rspec-mocks (~> 3.13.0)
37
- rspec-core (3.13.0)
37
+ rspec-core (3.13.2)
38
38
  rspec-support (~> 3.13.0)
39
- rspec-expectations (3.13.1)
39
+ rspec-expectations (3.13.3)
40
40
  diff-lcs (>= 1.2.0, < 2.0)
41
41
  rspec-support (~> 3.13.0)
42
- rspec-mocks (3.13.1)
42
+ rspec-mocks (3.13.2)
43
43
  diff-lcs (>= 1.2.0, < 2.0)
44
44
  rspec-support (~> 3.13.0)
45
- rspec-support (3.13.1)
45
+ rspec-support (3.13.2)
46
46
 
47
47
  PLATFORMS
48
48
  arm64-darwin-22
data/README.md CHANGED
@@ -197,7 +197,8 @@ ALTER USER EXAMPLE_USER SET RSA_PUBLIC_KEY = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMI
197
197
  ```
198
198
  5. Verify your auth setup. If you have `snowsql` installed, that has an easy method (CTRL-d to exit)
199
199
  ```bash
200
- snowsql -a <account_identifier>.<region>p -u <user> --private-key-path private_key.pem
200
+ # example: snowsql -a AAAAAAA.BBBBBBBB.us-east-1 -u john --private-key-path private_key.pem
201
+ snowsql -a <account_identifier>.<region> -u <user> --private-key-path private_key.pem
201
202
  ```
202
203
  or alternatively, use the client to verify:
203
204
  ```ruby
@@ -30,8 +30,8 @@ module RubySnowflake
30
30
  private_key = OpenSSL::PKey.read(@private_key_pem)
31
31
 
32
32
  payload = {
33
- :iss => "#{@organization.upcase}-#{@account.upcase}.#{@user}.#{public_key_fingerprint}",
34
- :sub => "#{@organization.upcase}-#{@account.upcase}.#{@user}",
33
+ :iss => "#{@organization.upcase}-#{@account.upcase}.#{@user.upcase}.#{public_key_fingerprint}",
34
+ :sub => "#{@organization.upcase}-#{@account.upcase}.#{@user.upcase}",
35
35
  :iat => now,
36
36
  :exp => @token_expires_at
37
37
  }
@@ -1,3 +1,3 @@
1
1
  module RubySnowflake
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_snowflake_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rinsed