blimpy 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -49,10 +49,12 @@ Here's an example Blimpfile:
49
49
  Blimpy.fleet do |fleet|
50
50
  fleet.add(:aws) do |ship|
51
51
  ship.name = 'rails-app'
52
- ship.image_id = 'ami-349b495d' # optional, defaults to Ubuntu 10.04 64-bit
53
- ship.livery = 'rails' # optional
54
- ship.group = 'Simple' # [Required] The name of the desired Security Group
55
- ship.region = 'us-west-1' # optional, defaults to us-west-2
52
+ ship.ports = [22, 80, 8080] # [Optional] Create a security group with these ports open
53
+ ship.image_id = 'ami-349b495d' # [Optional] defaults to Ubuntu 10.04 64-bit
54
+ ship.livery = 'rails' # [Optional]
55
+ ship.group = 'Simple' # [Optional] The name of the desired Security Group
56
+ ship.region = 'us-west-1' # [Optional] defaults to us-west-2
57
+ ship.username = 'ubuntu' # [Optional] SSH username, defaults to "ubuntu" for AWS machines
56
58
  end
57
59
  end
58
60
  ```
@@ -22,7 +22,7 @@ Feature: SCP a file into a named VM
22
22
 
23
23
  # This test is in the same boat that the complimentary test in ssh.feature is
24
24
  # in.
25
- @slow @destroy @wip
25
+ @slow @destroy
26
26
  Scenario: SCPing a valid file
27
27
  Given I have the Blimpfile:
28
28
  """
@@ -33,5 +33,6 @@ Feature: SCP a file into a named VM
33
33
  end
34
34
  """
35
35
  And I have a file named "hello.txt"
36
+ And I run `blimpy start`
36
37
  When I run `blimpy scp "Cucumber Host" hello.txt`
37
38
  Then the exit status should be 0
@@ -152,7 +152,9 @@ module Blimpy
152
152
  def ssh_into(*args)
153
153
  # Support using #ssh_into within our own code as well to pass arguments
154
154
  # to the ssh(1) binary
155
- args = args || ARGV[2 .. -1]
155
+ if args.empty?
156
+ args = ARGV[2 .. -1]
157
+ end
156
158
  run_command('ssh', '-o', 'StrictHostKeyChecking=no',
157
159
  '-l', username, dns_name, *args)
158
160
  end
@@ -166,7 +168,7 @@ module Blimpy
166
168
  def bootstrap_livery
167
169
  if livery == :cwd
168
170
  dir_name = File.basename(Dir.pwd)
169
- run_command('rsync', '-av',
171
+ run_command('rsync', '-avL',
170
172
  '--exclude=.git',
171
173
  '--exclude=.svn',
172
174
  '--exclude=.blimpy.d',
@@ -1,3 +1,3 @@
1
1
  module Blimpy
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blimpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-20 00:00:00.000000000Z
12
+ date: 2012-06-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
16
- requirement: &7711400 !ruby/object:Gem::Requirement
16
+ requirement: &14091140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7711400
24
+ version_requirements: *14091140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &7710980 !ruby/object:Gem::Requirement
27
+ requirement: &14090460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *7710980
35
+ version_requirements: *14090460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitar
38
- requirement: &7710540 !ruby/object:Gem::Requirement
38
+ requirement: &14089460 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *7710540
46
+ version_requirements: *14089460
47
47
  description: Blimpy is a tool for managing a fleet of machines in the CLOUD!
48
48
  email:
49
49
  - tyler@monkeypox.org
@@ -104,12 +104,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  - - ! '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
+ segments:
108
+ - 0
109
+ hash: -3393293475964109853
107
110
  required_rubygems_version: !ruby/object:Gem::Requirement
108
111
  none: false
109
112
  requirements:
110
113
  - - ! '>='
111
114
  - !ruby/object:Gem::Version
112
115
  version: '0'
116
+ segments:
117
+ - 0
118
+ hash: -3393293475964109853
113
119
  requirements: []
114
120
  rubyforge_project:
115
121
  rubygems_version: 1.8.10