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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 652a0aab48afeb4087fec44d53eab1c63ae00eaa
4
- data.tar.gz: 8a8f6c5f92f253a54cc7763f6ae74cb04dd7d7a4
3
+ metadata.gz: 73f072542dc9b84afd4eede7cf1158d08d4ea836
4
+ data.tar.gz: ce567efc8b2d9479f3faf5f47b1b2b2a27827c6f
5
5
  SHA512:
6
- metadata.gz: 93f95b5a76f7fb6038343e9b6fd09164151742601c2f002b50627fc7aa3056804d547111863107f1f4e1aac8818cbc8adeb2470c6bf46d3d8b414b5cc7f7a8b5
7
- data.tar.gz: 6b30479714b67d791099a1eeadda4e3501a1cb26072f9f09346fb4794ed3f37064af1557a319770d1bdd2af70223dd448527b0c409af6dc4d2965bab85f6b38c
6
+ metadata.gz: 70d8dd59d7afdfe35b492559d0a8cc9bf557d09db0bb2e63634532bd0d42b2270627ef12a7ae64e4facce766c3f6033855230f40eefeef8548bc34759a044232
7
+ data.tar.gz: 0a4686593e3f45ad15b42bf3afee001afd6d46a78047e6475a716a51626df7cdd105da51ea01dad5c68c2c8f5cf377eeb3c1cf647ba18596804b9adf33197233
data/README.md CHANGED
@@ -54,7 +54,6 @@ Usage: soror [options]
54
54
  --access-key=KEY
55
55
  --secret-key=KEY
56
56
  --region=REGION
57
- -v, --version
58
57
  ```
59
58
 
60
59
  ## Required permissions
data/bin/soror CHANGED
@@ -3,8 +3,9 @@
3
3
  require 'optparse'
4
4
  require 'soror'
5
5
 
6
- options = { header: true, tag: {}, config: {} }
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
@@ -1,3 +1,3 @@
1
1
  module Soror
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/soror.rb CHANGED
@@ -23,6 +23,7 @@ module Soror
23
23
  class << self
24
24
  extend Forwardable
25
25
  def_delegators Aws, :config, :config=
26
+ def_delegators Soror::EC2::Instance, :search_by
26
27
  end
27
28
  end
28
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soror
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kirikiriyamama