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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/ruby_snowflake/client.rb +7 -0
- data/lib/ruby_snowflake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721067a7c603fedbdfb6eb31f48dd617ea5380fd46188c213f7ca756184c4fe9
|
4
|
+
data.tar.gz: e92cc21bd08b0054522c70d0f5b80bad3fb02e922ced776e43fbc4f59fdd9f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de1bf89ab1276a8021d67ed7bfd08205cd64affb695dab1397b205f2c970006e014c078fbc6ad617925c18c8ec2dcdf9a42d3e77e658c7e859d453142409f28b
|
7
|
+
data.tar.gz: a02999829b5b92afc56a39f628334a15399099831c6ae818c3591b944984124e7d176c33c437e29c8644b7ae1703ad465732e6dcefc4fc05f4e8ffd253c5a7c3
|
data/Gemfile.lock
CHANGED
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
|
18
|
+
Add to your Gemfile or use `gem install rb_snowflake_client`
|
19
19
|
```ruby
|
20
|
-
gem "
|
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
|
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.
|
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:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|