blazer 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +2 -1
- data/lib/blazer/adapters/athena_adapter.rb +4 -3
- data/lib/blazer/adapters/sql_adapter.rb +1 -1
- data/lib/blazer/result.rb +2 -0
- data/lib/blazer/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: 9730ca392e0f5bf0d7ff9b186ee554914c12f204c9250ae0f4e8101334a8eb0a
|
4
|
+
data.tar.gz: a82b46348506e422ba96db6ad70755a6f18a70f65d3b44d9bab53c598af9393b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1dfa10786ea69f0d3603549c572132643162b994bdc78ee8ed06a3b0dfae4e5cb748f02ae2433ccac4962dcf94c67f20a57baec400ed2da6ea9a5bf882a49db
|
7
|
+
data.tar.gz: 4c98700f9adac11025fb337d91e992c3f347b8a61b499938d15505b3e40216029f0edb3faa2c6fa85810375f3d41ba65f2abb8c5e33f0c819cedc95aab0a8c7e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -607,6 +607,7 @@ data_sources:
|
|
607
607
|
workgroup: primary
|
608
608
|
access_key_id: ...
|
609
609
|
secret_access_key: ...
|
610
|
+
region: ...
|
610
611
|
```
|
611
612
|
|
612
613
|
Here’s an example IAM policy:
|
@@ -709,7 +710,7 @@ Use a read-only user. Requires the [Thrift server](https://spark.apache.org/docs
|
|
709
710
|
|
710
711
|
### Cassandra
|
711
712
|
|
712
|
-
Add [cassandra-driver](https://github.com/datastax/ruby-driver) to your Gemfile and set:
|
713
|
+
Add [cassandra-driver](https://github.com/datastax/ruby-driver) (and [sorted_set](https://github.com/knu/sorted_set) for Ruby 3+) to your Gemfile and set:
|
713
714
|
|
714
715
|
```yml
|
715
716
|
data_sources:
|
@@ -169,11 +169,12 @@ module Blazer
|
|
169
169
|
|
170
170
|
def client_options
|
171
171
|
@client_options ||= begin
|
172
|
+
options = {}
|
172
173
|
if settings["access_key_id"] || settings["secret_access_key"]
|
173
|
-
|
174
|
-
else
|
175
|
-
{}
|
174
|
+
options[:credentials] = Aws::Credentials.new(settings["access_key_id"], settings["secret_access_key"])
|
176
175
|
end
|
176
|
+
options[:region] = settings["region"] if settings["region"]
|
177
|
+
options
|
177
178
|
end
|
178
179
|
end
|
179
180
|
end
|
@@ -193,7 +193,7 @@ module Blazer
|
|
193
193
|
def parameter_binding
|
194
194
|
if postgresql? || sqlite?
|
195
195
|
:numeric
|
196
|
-
elsif mysql? && connection_model.connection.prepared_statements
|
196
|
+
elsif mysql? && connection_model.connection.prepared_statements
|
197
197
|
# Active Record silently ignores binds with MySQL when prepared statements are disabled
|
198
198
|
:positional
|
199
199
|
elsif sqlserver?
|
data/lib/blazer/result.rb
CHANGED
data/lib/blazer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blazer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|