rb_snowflake_client 1.0.0 → 1.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: 0c357bf24ecfbfa4755532fe5f141f8e2967790b2b42b265a3d1537452878b7d
4
- data.tar.gz: d36d356acd7d790e8e253866de289dd0a49d03141d1bbf47c2791bd9021ce70a
3
+ metadata.gz: 721067a7c603fedbdfb6eb31f48dd617ea5380fd46188c213f7ca756184c4fe9
4
+ data.tar.gz: e92cc21bd08b0054522c70d0f5b80bad3fb02e922ced776e43fbc4f59fdd9f60
5
5
  SHA512:
6
- metadata.gz: 98142da3217a8b70133496f31e3ef57f916049114e1f1f3975a0292e6c02ab3dcb3eb4528d51b0725dcc256330de6a55c7e8f2bcf7ac7e6fafc57d37a9266aaa
7
- data.tar.gz: 1fea1f1577bc40fd74483c9c967b6bcc152d92b009a97354f207267ed18e6b61cf203d1b1dd3d92920e473e0387ddedca74859f8f9d1cc3bf3d2999f85b9651b
6
+ metadata.gz: de1bf89ab1276a8021d67ed7bfd08205cd64affb695dab1397b205f2c970006e014c078fbc6ad617925c18c8ec2dcdf9a42d3e77e658c7e859d453142409f28b
7
+ data.tar.gz: a02999829b5b92afc56a39f628334a15399099831c6ae818c3591b944984124e7d176c33c437e29c8644b7ae1703ad465732e6dcefc4fc05f4e8ffd253c5a7c3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rb_snowflake_client (1.0.0)
4
+ rb_snowflake_client (1.0.1)
5
5
  concurrent-ruby (>= 1.2)
6
6
  connection_pool (>= 2.4)
7
7
  dotenv (>= 2.8)
data/README.md CHANGED
@@ -15,9 +15,9 @@ This library is implemented in ruby and while it leverages some libraries that h
15
15
 
16
16
  ## Create a client
17
17
 
18
- Add to your Gemfile or use `gem install rb-snowflake-client`
18
+ Add to your Gemfile or use `gem install rb_snowflake_client`
19
19
  ```ruby
20
- gem "rb-snowflake-client"
20
+ gem "rb_snowflake_client"
21
21
  ```
22
22
 
23
23
  Then require, create a client
@@ -156,6 +156,13 @@ module RubySnowflake
156
156
  value = ENV[env_var_name]
157
157
  value.nil? || value.empty? ? default_value : ENV[env_var_name].to_i
158
158
  end
159
+
160
+ # This method can be used to populate the JWT token used for authentication
161
+ # in tests that require time travel.
162
+ def create_jwt_token
163
+ @key_pair_jwt_auth_manager.jwt_token
164
+ end
165
+
159
166
  private_class_method :env_option
160
167
 
161
168
  private
@@ -1,3 +1,3 @@
1
1
  module RubySnowflake
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.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.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rinsed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby