awsam 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/ascp CHANGED
@@ -30,7 +30,7 @@ end
30
30
 
31
31
  keyfile = nil
32
32
  0.upto(args.length - 1) do |i|
33
- m = args[i].match(/([a-zA-Z0-9_]{1,}@){0,1}(i-[0-9a-f]{8}):/)
33
+ m = args[i].match(/([a-zA-Z0-9_]{1,}@){0,1}(i-[0-9a-f]{8,17}):/)
34
34
  if m
35
35
  user = m[1]
36
36
  instance_id = m[2]
data/lib/awsam/ec2.rb CHANGED
@@ -27,7 +27,7 @@ module Awsam
27
27
  end
28
28
 
29
29
  def self.find(ec2, instance_id)
30
- if instance_id =~ /^i-[0-9a-f]{7,9}$/
30
+ if instance_id =~ /^i-[0-9a-f]{8,17}$/
31
31
  find_by_instance_id(ec2, instance_id)
32
32
  else
33
33
  find_by_tag(ec2, instance_id)
data/lib/awsam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Awsam
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awsam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-28 00:00:00.000000000 Z
12
+ date: 2015-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: right_aws
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  segments:
121
121
  - 0
122
- hash: -207219964221159059
122
+ hash: -663979283149504482
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  none: false
125
125
  requirements:
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  segments:
130
130
  - 0
131
- hash: -207219964221159059
131
+ hash: -663979283149504482
132
132
  requirements: []
133
133
  rubyforge_project:
134
134
  rubygems_version: 1.8.23.2