soror 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/bin/soror +2 -2
- data/lib/soror/version.rb +1 -1
- data/lib/soror.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f072542dc9b84afd4eede7cf1158d08d4ea836
|
4
|
+
data.tar.gz: ce567efc8b2d9479f3faf5f47b1b2b2a27827c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d8dd59d7afdfe35b492559d0a8cc9bf557d09db0bb2e63634532bd0d42b2270627ef12a7ae64e4facce766c3f6033855230f40eefeef8548bc34759a044232
|
7
|
+
data.tar.gz: 0a4686593e3f45ad15b42bf3afee001afd6d46a78047e6475a716a51626df7cdd105da51ea01dad5c68c2c8f5cf377eeb3c1cf647ba18596804b9adf33197233
|
data/README.md
CHANGED
data/bin/soror
CHANGED
@@ -3,8 +3,9 @@
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'soror'
|
5
5
|
|
6
|
-
|
6
|
+
Version = Soror::VERSION
|
7
7
|
|
8
|
+
options = { header: true, tag: {}, config: {} }
|
8
9
|
OptionParser.new do |opt|
|
9
10
|
opt.on('-t', '--tag=\'KEY=VALUE\'', /\A[^=]+=[^=]+\z/) do |v|
|
10
11
|
key, val = v.split('=')
|
@@ -15,7 +16,6 @@ OptionParser.new do |opt|
|
|
15
16
|
opt.on('--access-key=KEY') { |v| options[:config][:access_key_id] = v }
|
16
17
|
opt.on('--secret-key=KEY') { |v| options[:config][:secret_access_key] = v }
|
17
18
|
opt.on('--region=REGION') { |v| options[:config][:region] = v }
|
18
|
-
opt.on('-v', '--version') { puts "soror #{Soror::VERSION}"; exit }
|
19
19
|
opt.parse!(ARGV)
|
20
20
|
end
|
21
21
|
fail OptionParser::MissingArgument, '--tag' if options[:tag].empty?
|
data/lib/soror/version.rb
CHANGED
data/lib/soror.rb
CHANGED