s3_patron 0.0.2.1 → 0.0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/exe/s3p +5 -0
  4. data/lib/s3_patron/version.rb +1 -1
  5. metadata +3 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcd8213be62686995920bd1ab4f8d701185ba94e
4
- data.tar.gz: a5823c91f0d69389bc565ec6913946af9f054891
3
+ metadata.gz: 191d8b7f7b32590ade5e56e8325ae7b0a1090627
4
+ data.tar.gz: f907b46d785806086e0d2612d4934487f01b6eab
5
5
  SHA512:
6
- metadata.gz: ac825c13054b08f5805a9716f529b1b6d0cf4aa5c213435fc9ea242acc7eef15aec3739ff4d27af4bda444b7d2bdfc7b0369a7636988cab7e0f5336070245f1a
7
- data.tar.gz: 8f128df75dc287ed73eca60ea6e57af92eaa10be2b30a43611dba07240f2b85180d4d2f72b868d128cab907a6882dd2f8fadb7490f5fcca0ecfe7648e6789ef1
6
+ metadata.gz: 8b4aef0f45360a1805519a72f864565dd0f30e45410148061f1e32baa312dd2b5dd741241b775ca7b57a373e35d72452e346320efed725c92186e608f9e31573
7
+ data.tar.gz: 3285955c365c261e8003b7dd841da10bc6db9d22cff40b7cfdcd571c2c6121b536c48ef75e2597ae68b69b0276885778d252c3080c134fe545d15dccddcba57c
data/README.md CHANGED
@@ -7,7 +7,7 @@ S3-Patron lets you list, upload, download to and from s3 using your terminal
7
7
  ## Setup
8
8
  Make sure [Ruby](https://www.ruby-lang.org/en/documentation/installation/) is installed.
9
9
 
10
- Add this line to your application's Gemfile:
10
+ Execute:
11
11
  ```
12
12
  $ gem install s3_patron
13
13
  ```
@@ -31,6 +31,7 @@ $ s3patron help [COMMAND] # Describe Commands
31
31
  $ s3patron list [BUCKET_NAME] [REGION(OPTIONAL)] # List objects inside bucket
32
32
  $ s3patron upload [BUCKET_NAME] [FILE] [REGION(OPTIONAL)] # Upload into bucket
33
33
 
34
+ #You can also use s3p instead of s3patron
34
35
  ```
35
36
 
36
37
  #Examples
@@ -47,6 +48,8 @@ $ s3patron buckets -a
47
48
 
48
49
  $ s3patron buckets -l 10 #will show first 10 buckets
49
50
  # You can customize number of results by passing -l flag followed by limit
51
+
52
+ #You can also use s3p instead of s3patron
50
53
  ```
51
54
 
52
55
  ##Create Bucket
@@ -59,6 +62,8 @@ $ s3patron create example_bucket
59
62
  #Optional
60
63
  # If you do not want to use the AWS REGION defined in env variables you can pass region as next argument to create
61
64
  $ s3patron create example_bucket us-east-1
65
+
66
+ #You can also use s3p instead of s3patron
62
67
  ```
63
68
 
64
69
  ##List Objects inside the bucket
@@ -73,6 +78,8 @@ $ s3patron list example_bucket -a
73
78
 
74
79
  $ s3patron list example_bucket -l 10 #will show first 10 buckets
75
80
  # You can customize number of results by passing -l flag followed by limit
81
+
82
+ #You can also use s3p instead of s3patron
76
83
  ```
77
84
 
78
85
  ##Upload into a bucket
@@ -83,6 +90,8 @@ $ s3patron upload example_bucket example_file.txt
83
90
 
84
91
  #Optional
85
92
  # If you do not want to use the AWS REGION defined in env variables you can pass region as next argument
93
+
94
+ #You can also use s3p instead of s3patron
86
95
  ```
87
96
 
88
97
  ##Download object from bucket
@@ -93,6 +102,8 @@ $ s3patron download example_bucket example_file.txt
93
102
 
94
103
  #Optional
95
104
  # If you do not want to use the AWS REGION defined in env variables you can pass region as next argument
105
+
106
+ #You can also use s3p instead of s3patron
96
107
  ```
97
108
 
98
109
 
data/exe/s3p ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/s3_patron.rb'
4
+
5
+ S3Patron::Cli.start(ARGV)
@@ -1,3 +1,3 @@
1
1
  module S3Patron
2
- VERSION = '0.0.2.1'.freeze
2
+ VERSION = '0.0.2.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_patron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suyesh Bhandari
@@ -104,6 +104,7 @@ description: Command-line utility to manage S3
104
104
  email:
105
105
  - suyeshb@gmail.com
106
106
  executables:
107
+ - s3p
107
108
  - s3patron
108
109
  extensions: []
109
110
  extra_rdoc_files: []
@@ -116,6 +117,7 @@ files:
116
117
  - Rakefile
117
118
  - bin/console
118
119
  - bin/setup
120
+ - exe/s3p
119
121
  - exe/s3patron
120
122
  - lib/s3_patron.rb
121
123
  - lib/s3_patron/cli.rb