athens 0.4.0 → 0.4.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: cb4922b50ef935d722a54d54d4f3d9a9e47b587b67592454b806bf11e00f7be1
4
- data.tar.gz: 2fc14349880958e3212444e8285a0005c76f9e1bcb219ac8423cb1f1cdacfb57
3
+ metadata.gz: 4bed77ded41e5ac8bcff35169ac9fec6ffe6f2b9732aefe05c8e1fb034a0afc5
4
+ data.tar.gz: 1b0c5f99c343e0179a81a92b115725542704bff8a1f50884a41b48d7fd557be3
5
5
  SHA512:
6
- metadata.gz: 6c8dc6d78814f5b947d08434b8f2ccf13998439fca59465495401cc9e73f7e7e30efe3899679d545fe17184704b81fab33ddf5ffc5d2eb833e6ea2ef67dc6f2e
7
- data.tar.gz: 4e7d3d6f0cd1bdd5da7644c16b8802bc810d8f15f12e05fcd746acb743d48fe5c0ff740928ae117047aa2d6c2417daf33b86cab630cfbe0f42e87650c58e7909
6
+ metadata.gz: 598d9114124c9f842ae708b11922762a3061711a674c29827f8e7c9fc37b0a2095bc510bc1ab5525e8e0131d6ac85447e518ef9e8a4a788f7a1ddb2a3e455b97
7
+ data.tar.gz: 993e073ab06cbbf688d86cbb9f6de10dd587a6bc548c5cb4d53d00af30106ffc89a221e2374a53872490b7b4095a160e0fe11ea18f2de9fb018ae42981043622
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.4.1 / 2022-06-16
2
+
3
+ * Specifying minimum version of `aws-sdk-core` gem for `jmespath` security issue
4
+
1
5
  ## 0.4.0 / 2021-12-03
2
6
 
3
7
  * Added automatic parsing of JSON columns (thanks [darkside](https://github.com/darkside))
data/Gemfile.lock CHANGED
@@ -3,24 +3,25 @@ PATH
3
3
  specs:
4
4
  athens (0.4.0)
5
5
  aws-sdk-athena (~> 1)
6
+ aws-sdk-core (~> 3.131.1)
6
7
  multi_json (~> 1.0)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
12
  aws-eventstream (1.2.0)
12
- aws-partitions (1.539.0)
13
- aws-sdk-athena (1.44.0)
14
- aws-sdk-core (~> 3, >= 3.122.0)
13
+ aws-partitions (1.599.0)
14
+ aws-sdk-athena (1.53.0)
15
+ aws-sdk-core (~> 3, >= 3.127.0)
15
16
  aws-sigv4 (~> 1.1)
16
- aws-sdk-core (3.124.0)
17
+ aws-sdk-core (3.131.1)
17
18
  aws-eventstream (~> 1, >= 1.0.2)
18
19
  aws-partitions (~> 1, >= 1.525.0)
19
20
  aws-sigv4 (~> 1.1)
20
- jmespath (~> 1.0)
21
- aws-sigv4 (1.4.0)
21
+ jmespath (~> 1, >= 1.6.1)
22
+ aws-sigv4 (1.5.0)
22
23
  aws-eventstream (~> 1, >= 1.0.2)
23
- jmespath (1.4.0)
24
+ jmespath (1.6.1)
24
25
  multi_json (1.15.0)
25
26
  rake (13.0.6)
26
27
  rexml (3.2.5)
data/README.md CHANGED
@@ -170,6 +170,12 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
170
170
 
171
171
  If you want you can use Vagrant instead, there's already a `Vagrantfile` so a simple `vagrant up` should get you setup.
172
172
 
173
+ If you want to use Docker, grab a ruby image and boot into the console. Then install git and bash and you can run the `bin/setup` script from there:
174
+
175
+ ```
176
+ docker run --rm -it -v $(pwd):/app -w /app ruby:2.7-alpine /bin/sh -c 'apk add bash git;/bin/bash'
177
+ ```
178
+
173
179
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
174
180
 
175
181
  ## Contributing
data/athens.gemspec CHANGED
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.required_ruby_version = '>= 2.4'
36
36
 
37
+ spec.add_dependency "aws-sdk-core", "~> 3.131.1"
37
38
  spec.add_dependency "aws-sdk-athena", "~> 1"
38
39
  spec.add_dependency 'multi_json', '~> 1.0'
39
40
 
data/bin/setup CHANGED
@@ -3,6 +3,7 @@ set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
  set -vx
5
5
 
6
+ gem install bundler:`tail -1 Gemfile.lock | xargs`
6
7
  bundle install
7
8
 
8
9
  # Do any other automated setup that you need to do here
@@ -1,3 +1,3 @@
1
1
  module Athens
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athens
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schulte
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-03 00:00:00.000000000 Z
11
+ date: 2022-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.131.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.131.1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: aws-sdk-athena
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -127,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
141
  - !ruby/object:Gem::Version
128
142
  version: '0'
129
143
  requirements: []
130
- rubygems_version: 3.0.9
144
+ rubygems_version: 3.1.6
131
145
  signing_key:
132
146
  specification_version: 4
133
147
  summary: Run simple SQL queries in AWS Athena