s3_patron 0.0.2.3 → 0.0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/console +2 -5
- data/lib/s3_patron/banner.rb +58 -0
- data/lib/s3_patron/version.rb +1 -1
- data/s3_patron.gemspec +4 -3
- metadata +45 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235b6e44f333380f84395bbcd6f354fd1392aee9
|
4
|
+
data.tar.gz: 423d2d5d55365b77c04b55cafedf16d0cfead7f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c244ae483fcef33b59b363af8969af10b649dfb687ef17a484136ec482b46af53b6baa2e2c0857b30180e95abd2ed652f4de5d0dd41b8d9096612fc5c1b0c11b
|
7
|
+
data.tar.gz: a74fbe7d3f5e59e16115f507024f6878251c88e21969e29df3cb6a8034a0397c122542799038b704ee062d030263c66dfef2cc558c45466afb94313be57dfaea
|
data/README.md
CHANGED
@@ -106,7 +106,7 @@ $ s3patron download example_bucket example_file.txt
|
|
106
106
|
#You can also use s3p instead of s3patron
|
107
107
|
```
|
108
108
|
|
109
|
-
|
109
|
+
#TODO: Set permissions on objects, encryption properties and storage class properties
|
110
110
|
|
111
111
|
##Rubygems.org
|
112
112
|
Hosted at [Rubygems.org](https://rubygems.org/gems/s3_patron)
|
data/bin/console
CHANGED
@@ -0,0 +1,58 @@
|
|
1
|
+
module S3Patron
|
2
|
+
class Banner
|
3
|
+
def initialize(env = ENV)
|
4
|
+
@env = env
|
5
|
+
end
|
6
|
+
|
7
|
+
def to_s
|
8
|
+
patron_banner
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
|
13
|
+
def patron_banner
|
14
|
+
'
|
15
|
+
.,.................,.,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**,,,,,,,,,,************
|
16
|
+
,(((/////**********/(######%#&@%&@@@@&&@@@@@@@@@@&@@@@@@@@@@@&&%&&&@@@@@@@@@@@@
|
17
|
+
*////////**********%&%&&&&@@@@@@@@&@@@@@@@@@@@&&@&&&%&&&&@%&@&@@@@@@@@@@@@@
|
18
|
+
*/*/**/*********/(%&%&%%(#%&&@@@@@@&@@@&@@&@&&&&%%#(#(///**(#&&%@@@@@@@@@@@@@@@
|
19
|
+
*/*********.****(%%&&@&@@@@@@@&&%#((//*(####(/**,*,,,******/*%%%&@@@@@@@@@@@@@@
|
20
|
+
,****,*********/##&&@@@@@@@@@&%#(/*****,,,,,,........,,*******#&&@@@@@@&&@@@@@@
|
21
|
+
,*****,**. ***#&%%&@@@@@@@@@@##((/***,,,,.,,........,,,,******/&&@@@@@@@@&@@@@@
|
22
|
+
,*****,*******(&(%%@@@@@@&%%%#(((((****,,,,,,,,,,,,,,,,,,,****(%@@@@@@@@&@@@@@@
|
23
|
+
,*.**,***,*,*,(#%&@@@@@@@&%%%#((/////***,,,,,,,,,,,,,,,,,,***/#&@@@@@@@@&@&@@@@
|
24
|
+
,*****,*******#%%@@@@@@@@@&&%##(/****,,*,,,,,,,,,,,,,,,,,****/%@@@@@@@@@@@@@&@@
|
25
|
+
*//***********(#&@@@@@@@@@&&#(//***,,,,,,,,,,.....,,,,,,**//%@@@@@@@@@@@@@@@@
|
26
|
+
**//********,,/&@@@@@@@@@&&&%((////***,,,,,,,,,,,,,,,,,,,****/#@@@@@@@@@@@@@@@@
|
27
|
+
***********,*,#%&@@@@@@@@&&&&@&%%%%%##(/******/##%&%#%####*///(%@@@@@@@@@@@@@@@
|
28
|
+
**************/&@@@@@@@@&&@@@@@&&&&&&&&%#(/*/#%%%%%%%%##%&&%//*(%@@@@@@@@@@&@@@
|
29
|
+
************,,*#&@@@@@@@&&&&@@@@%@@%(%%&*,,#&%&%/&@@&&&%%%(///#@@@@@@@@&&&%@@
|
30
|
+
,*****,****,****%&@@@@@@&%%%%&&&&%%#%%#%#,...**/(##((((#(//****/(@@&%@@@&%%%#%&
|
31
|
+
,****,**,,******(%@@@&&@&%%##%%%%%((((#%(,..,*,,,*/*******,,,**/(&(#&@@&%###(%%
|
32
|
+
,/******,**,*,**/#%&@&%@&%#((///*//*//#%(*..,**,,...,,..,,,,**/(#(*/&@@%##(#((#
|
33
|
+
,********,,,,.,,*/%&@@#@&%%#((//****/(%(*,..,,****,....,,***//((%//*@@&((((((#(
|
34
|
+
,***,,,,,,,,,,.,,*#&@@&%&%%%#((///**/%%#/,,,,**,***,,,,,,***//(#&/*%&&(((((((((
|
35
|
+
,**,*,,,*,,*,,,,,,*(&&@@&%%%%##(/(//(%%&&%%%/**,******///((((#@@(//////((/(
|
36
|
+
,***,*,****,,,,,,,,,,/#&&%%%%%##((/(##&&&&%#&&%*,,,*////(((((((#%//////**//((((
|
37
|
+
*/***,****,,,,,,,,,.,,*,*%%%%%#%###&@@@@@%%%#%###/(####(((((#(//********////(
|
38
|
+
**/***,*,***,,*,,,,,,,*,,#%%%%%%%&@@@&&@&&&&&&%%&&&&@((((((##//**,**//*/(((//
|
39
|
+
******,***,,**,,,,,,,,,,,*&%#%%&@@@&%&&%##((///(#%%%&(#(((#%(//*,,,,***/////*
|
40
|
+
*,/*****,*,*.,,,,,,,,,,,,,,#%%%%%%%%%%%%%%&&%##(((((((#####%@#/*****,**////////
|
41
|
+
**/*/**,***,**,,,,.,,,.,,,,,/&%&%%%%%%##(/**,*//////((###%&@%(//*****,**///*//*
|
42
|
+
*////*/****,**,,,,,,,,,,,,,,*%&&&&%%##((/***,**////#%&%&@@&%#(******,****///(//
|
43
|
+
*/////,*******,,,,,.,,,,.,,*(%&&&@@&&&%#((/(///((#&@&@@&&%##(#****.,****//*////
|
44
|
+
*/*//*/*,*,**,,,,,,,,,,,,,,/%%&%&&&@@@@&&&&&%&&@@@@@@&%%###(((/***,********//**
|
45
|
+
*//****,***,,,*.,,,.,,,,,,//%&&%%%%%&&&&&&&&&&&&&&&&%%##(((((%/***,,******/*,*/
|
46
|
+
,*/********,*,,*,,,,,.,,,**/#%&%%%%%%%%%%%%%%%%%%%####(((/(/(%//*****,,,*******
|
47
|
+
,*******,**,,,,,,,,,*,,,***/#&&%%%&%%%%%%%%%%%%###(((///////%#@@@@/*****,,,,,,*
|
48
|
+
,***,*,**,*,,,,,,,,,,,,,/%%&@%%&&&&%%%%%%%%%%%####((////(///%(&&@@@%*******,*,,
|
49
|
+
,**,*,,,*,,,,,.,,*******%&@@@@#&%%&&%%%%%%%%%####(/(///////(/&&&&@@@&*********,
|
50
|
+
,,,,,,.......,***/*****#&&&%&&&%%%%&&%%%%#####(((//////////%#%&%&%&@@%*******,,
|
51
|
+
.,....,,,...,*,,*/****(&&&&&&&@@@&%%%&%%%##((((/////*/**/%&##%&%&&&@(********
|
52
|
+
.,,,,,,,,,,*/*,*/****#&&&&@&&&@&&&@@#%%##((////*//***/%&&%(*/**//%%%%%@#*******
|
53
|
+
.,,,,,******,,**/***%&&&%&&%&&&&&&&&&((///*/*****/%(%#(/*///*///*/(%%&&/*****
|
54
|
+
|
55
|
+
'
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
data/lib/s3_patron/version.rb
CHANGED
data/s3_patron.gemspec
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 's3_patron/version'
|
5
|
+
require 's3_patron/banner'
|
5
6
|
|
6
7
|
Gem::Specification.new do |spec|
|
7
8
|
spec.name = "s3_patron"
|
@@ -9,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
9
10
|
spec.authors = ["Suyesh Bhandari"]
|
10
11
|
spec.email = ["suyeshb@gmail.com"]
|
11
12
|
|
12
|
-
spec.summary = "Command-line utility to manage S3"
|
13
|
-
spec.description = "Command-line utility to manage S3"
|
13
|
+
spec.summary = "Command-line utility to manage S3 written in Ruby"
|
14
|
+
spec.description = "Command-line utility to manage S3 written in Ruby"
|
14
15
|
spec.homepage = "https://github.com/suyesh/s3_patron"
|
15
16
|
spec.license = "MIT"
|
16
17
|
|
@@ -29,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
29
30
|
spec.bindir = "exe"
|
30
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
32
|
spec.require_paths = ["lib"]
|
32
|
-
spec.post_install_message =
|
33
|
+
spec.post_install_message = S3Patron::Banner.new.to_s
|
33
34
|
spec.add_development_dependency "bundler", "~> 1.13"
|
34
35
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
36
|
spec.add_development_dependency "pry"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_patron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suyesh Bhandari
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
|
-
description: Command-line utility to manage S3
|
103
|
+
description: Command-line utility to manage S3 written in Ruby
|
104
104
|
email:
|
105
105
|
- suyeshb@gmail.com
|
106
106
|
executables:
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- exe/s3p
|
121
121
|
- exe/s3patron
|
122
122
|
- lib/s3_patron.rb
|
123
|
+
- lib/s3_patron/banner.rb
|
123
124
|
- lib/s3_patron/cli.rb
|
124
125
|
- lib/s3_patron/version.rb
|
125
126
|
- s3_patron.gemspec
|
@@ -128,7 +129,46 @@ licenses:
|
|
128
129
|
- MIT
|
129
130
|
metadata:
|
130
131
|
allowed_push_host: https://rubygems.org
|
131
|
-
post_install_message:
|
132
|
+
post_install_message: "\n .,.................,.,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**,,,,,,,,,,************\n
|
133
|
+
\ ,(((/////**********/(######%#&@%&@@@@&&@@@@@@@@@@&@@@@@@@@@@@&&%&&&@@@@@@@@@@@@\n
|
134
|
+
\ *////////**********%&%&&&&@@@@@@@@&@@@@@@@@@@@&&@&&&%&&&&@%&@&@@@@@@@@@@@@@\n
|
135
|
+
\ */*/**/*********/(%&%&%%(#%&&@@@@@@&@@@&@@&@&&&&%%#(#(///**(#&&%@@@@@@@@@@@@@@@\n
|
136
|
+
\ */*********.****(%%&&@&@@@@@@@&&%#((//*(####(/**,*,,,******/*%%%&@@@@@@@@@@@@@@\n
|
137
|
+
\ ,****,*********/##&&@@@@@@@@@&%#(/*****,,,,,,........,,*******#&&@@@@@@&&@@@@@@\n
|
138
|
+
\ ,*****,**. ***#&%%&@@@@@@@@@@##((/***,,,,.,,........,,,,******/&&@@@@@@@@&@@@@@\n
|
139
|
+
\ ,*****,*******(&(%%@@@@@@&%%%#(((((****,,,,,,,,,,,,,,,,,,,****(%@@@@@@@@&@@@@@@\n
|
140
|
+
\ ,*.**,***,*,*,(#%&@@@@@@@&%%%#((/////***,,,,,,,,,,,,,,,,,,***/#&@@@@@@@@&@&@@@@\n
|
141
|
+
\ ,*****,*******#%%@@@@@@@@@&&%##(/****,,*,,,,,,,,,,,,,,,,,****/%@@@@@@@@@@@@@&@@\n
|
142
|
+
\ *//***********(#&@@@@@@@@@&&#(//***,,,,,,,,,,.....,,,,,,**//%@@@@@@@@@@@@@@@@\n
|
143
|
+
\ **//********,,/&@@@@@@@@@&&&%((////***,,,,,,,,,,,,,,,,,,,****/#@@@@@@@@@@@@@@@@\n
|
144
|
+
\ ***********,*,#%&@@@@@@@@&&&&@&%%%%%##(/******/##%&%#%####*///(%@@@@@@@@@@@@@@@\n
|
145
|
+
\ **************/&@@@@@@@@&&@@@@@&&&&&&&&%#(/*/#%%%%%%%%##%&&%//*(%@@@@@@@@@@&@@@\n
|
146
|
+
\ ************,,*#&@@@@@@@&&&&@@@@%@@%(%%&*,,#&%&%/&@@&&&%%%(///#@@@@@@@@&&&%@@\n
|
147
|
+
\ ,*****,****,****%&@@@@@@&%%%%&&&&%%#%%#%#,...**/(##((((#(//****/(@@&%@@@&%%%#%&\n
|
148
|
+
\ ,****,**,,******(%@@@&&@&%%##%%%%%((((#%(,..,*,,,*/*******,,,**/(&(#&@@&%###(%%\n
|
149
|
+
\ ,/******,**,*,**/#%&@&%@&%#((///*//*//#%(*..,**,,...,,..,,,,**/(#(*/&@@%##(#((#\n
|
150
|
+
\ ,********,,,,.,,*/%&@@#@&%%#((//****/(%(*,..,,****,....,,***//((%//*@@&((((((#(\n
|
151
|
+
\ ,***,,,,,,,,,,.,,*#&@@&%&%%%#((///**/%%#/,,,,**,***,,,,,,***//(#&/*%&&(((((((((\n
|
152
|
+
\ ,**,*,,,*,,*,,,,,,*(&&@@&%%%%##(/(//(%%&&%%%/**,******///((((#@@(//////((/(\n
|
153
|
+
\ ,***,*,****,,,,,,,,,,/#&&%%%%%##((/(##&&&&%#&&%*,,,*////(((((((#%//////**//((((\n
|
154
|
+
\ */***,****,,,,,,,,,.,,*,*%%%%%#%###&@@@@@%%%#%###/(####(((((#(//********////(\n
|
155
|
+
\ **/***,*,***,,*,,,,,,,*,,#%%%%%%%&@@@&&@&&&&&&%%&&&&@((((((##//**,**//*/(((//\n
|
156
|
+
\ ******,***,,**,,,,,,,,,,,*&%#%%&@@@&%&&%##((///(#%%%&(#(((#%(//*,,,,***/////*\n
|
157
|
+
\ *,/*****,*,*.,,,,,,,,,,,,,,#%%%%%%%%%%%%%%&&%##(((((((#####%@#/*****,**////////\n
|
158
|
+
\ **/*/**,***,**,,,,.,,,.,,,,,/&%&%%%%%%##(/**,*//////((###%&@%(//*****,**///*//*\n
|
159
|
+
\ *////*/****,**,,,,,,,,,,,,,,*%&&&&%%##((/***,**////#%&%&@@&%#(******,****///(//\n
|
160
|
+
\ */////,*******,,,,,.,,,,.,,*(%&&&@@&&&%#((/(///((#&@&@@&&%##(#****.,****//*////\n
|
161
|
+
\ */*//*/*,*,**,,,,,,,,,,,,,,/%%&%&&&@@@@&&&&&%&&@@@@@@&%%###(((/***,********//**\n
|
162
|
+
\ *//****,***,,,*.,,,.,,,,,,//%&&%%%%%&&&&&&&&&&&&&&&&%%##(((((%/***,,******/*,*/\n
|
163
|
+
\ ,*/********,*,,*,,,,,.,,,**/#%&%%%%%%%%%%%%%%%%%%%####(((/(/(%//*****,,,*******\n
|
164
|
+
\ ,*******,**,,,,,,,,,*,,,***/#&&%%%&%%%%%%%%%%%%###(((///////%#@@@@/*****,,,,,,*\n
|
165
|
+
\ ,***,*,**,*,,,,,,,,,,,,,/%%&@%%&&&&%%%%%%%%%%%####((////(///%(&&@@@%*******,*,,\n
|
166
|
+
\ ,**,*,,,*,,,,,.,,*******%&@@@@#&%%&&%%%%%%%%%####(/(///////(/&&&&@@@&*********,\n
|
167
|
+
\ ,,,,,,.......,***/*****#&&&%&&&%%%%&&%%%%#####(((//////////%#%&%&%&@@%*******,,\n
|
168
|
+
\ .,....,,,...,*,,*/****(&&&&&&&@@@&%%%&%%%##((((/////*/**/%&##%&%&&&@(********\n
|
169
|
+
\ .,,,,,,,,,,*/*,*/****#&&&&@&&&@&&&@@#%%##((////*//***/%&&%(*/**//%%%%%@#*******\n
|
170
|
+
\ .,,,,,******,,**/***%&&&%&&%&&&&&&&&&((///*/*****/%(%#(/*///*///*/(%%&&/*****\n\n
|
171
|
+
\ "
|
132
172
|
rdoc_options: []
|
133
173
|
require_paths:
|
134
174
|
- lib
|
@@ -147,5 +187,5 @@ rubyforge_project:
|
|
147
187
|
rubygems_version: 2.6.8
|
148
188
|
signing_key:
|
149
189
|
specification_version: 4
|
150
|
-
summary: Command-line utility to manage S3
|
190
|
+
summary: Command-line utility to manage S3 written in Ruby
|
151
191
|
test_files: []
|