s3grep 0.1.3 → 0.1.4

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/bin/s3cat +10 -0
  3. data/s3grep.gemspec +1 -1
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7fcbe863f65881a9cd23522655c6d0ec236029b2ba2e6ac52d89328390afbc4
4
- data.tar.gz: f281306f058a995a25e042e9846aeeab2376aa560494fcea3e8fc91f565fc0c1
3
+ metadata.gz: 6fb56dd1c40b9f37f94aaa93e963e210f426b18bc069e39e02cb7b11e35bfe7d
4
+ data.tar.gz: 5223b8400b98054a9d67c600e98266491ae1bdfebb8cc3b6e64269a1d04a02bd
5
5
  SHA512:
6
- metadata.gz: 5fce97df276b956fd836d2cc40d36137489a739271a41cf7923c43c6c4fd022e7dd14f6516e959a268bc9480407c92b01d7716b7302e48c1580437da22d4895a
7
- data.tar.gz: b959b8a7f9981adcfc35f7130514de75e1c3f9e737652180e5e04623f89bcf8f8bbe4606f469f40f398c07ae8351e2cb4230b53b6402cc5cf7091c5b647f2937
6
+ metadata.gz: fe2313afb750b3f510d1d4e4272977ad75b7db5bbd9d8469160ec3589d45e99d9fb365a5b23638b4afc36852d57bf695f34dfe9ffda861d7f1c1b44fadeda2c0
7
+ data.tar.gz: f4a8828c13bc4cd4127a14bda0bb54f7d41b70503e58255881443b786480cadd7946c472d3fdf6db2fa47a3c607fc12b2fda7b1e9cbb5201dc86ecc86f2b1a94
data/bin/s3cat ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 's3grep'
5
+ require 'aws-sdk-s3'
6
+
7
+ s3_file = ARGV[0]
8
+ aws_s3_client = Aws::S3::Client.new
9
+ search = S3Grep::Search.new(s3_file, aws_s3_client, nil)
10
+ print search.to_io.read
data/s3grep.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 's3grep'
5
- s.version = '0.1.3'
5
+ s.version = '0.1.4'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'Search through S3 files'
8
8
  s.description = 'Tools for searching files on S3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3grep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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-09-08 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -27,6 +27,7 @@ dependencies:
27
27
  description: Tools for searching files on S3
28
28
  email: dougyouch@gmail.com
29
29
  executables:
30
+ - s3cat
30
31
  - s3grep
31
32
  extensions: []
32
33
  extra_rdoc_files: []
@@ -38,6 +39,7 @@ files:
38
39
  - Gemfile.lock
39
40
  - LICENSE
40
41
  - README.md
42
+ - bin/s3cat
41
43
  - bin/s3grep
42
44
  - lib/s3grep.rb
43
45
  - lib/s3grep/directory.rb