athena-utils 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/athena-utils.gemspec +1 -1
  3. data/bin/athena +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5925f13af9eb4d45e77a98d29f2042a9bfe5e1900a5484d439559d10b701e68b
4
- data.tar.gz: 47b269625233923112bf769782508c7202b8ede7ab7a15023cfc88e110ef7809
3
+ metadata.gz: a04e7761129246f42653e7333218082ed900b661656392732af858120f24d94e
4
+ data.tar.gz: fe58301e956fdc1fe1c2618893cfb542c67d2d625d6a0969562ed2c12923d581
5
5
  SHA512:
6
- metadata.gz: 35439e1023eeab693fac9f9952a142b237f252948be65c847bf6696d91bfd36c4445806ee63e6a8c87b13e5901e03f2eb1deacdc78c1a3d1f0e596c78eac81bd
7
- data.tar.gz: 4a4a353342978c7eb477a0de5a5e10d32c1f03b1373bd7144ec35f449e2326f747f49c34ca411547a9304f4cc199b0294e95084ccbcba22926a2302c2df1ae0c
6
+ metadata.gz: 5663d6ed80644c41b8855ac2bc2e4e8c6cb08f4521a0ee681c3455a16b4e745a760327af577a313ee9c7e457e040a80706a6a47bf98056f44ebe5424fcb896f3
7
+ data.tar.gz: 12254ef5b5fcee6bc46a0367c1055855201015551c18f1173dbb35b6d108bca76a58776b09e626f8f2e9eadc794b9109d3a06294e3303a9aaf01aa20233048a3
data/athena-utils.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'athena-utils'
5
- s.version = '0.2.2'
5
+ s.version = '0.2.3'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'Athena Utils'
8
8
  s.description = 'Tools for querying AWS Athena'
data/bin/athena CHANGED
@@ -24,7 +24,7 @@ OptionParser.new do |opts|
24
24
  end
25
25
 
26
26
  opts.on('-e', '--execute QUERY', 'Execute SQL Query') do |v|
27
- options[:query] = v
27
+ options[:query] = v =~ /^@/ ? File.read(v[1..-1]) : v
28
28
  end
29
29
 
30
30
  opts.on('-s', '--save FILE', 'Save query results to file') do |v|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athena-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-14 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-athena