ey-scp 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ey-scp +7 -3
  3. data/ey-scp.gemspec +3 -3
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7043cce43a0e15a6ec8efde762c2b2d2614a344e
4
- data.tar.gz: 166c391a5280060d7fc4b5cf8e3358778c38800b
3
+ metadata.gz: 361a562656c5a5e7b83313894e4d324db0f4fffe
4
+ data.tar.gz: c5265ffe52a51b840e6818d745dcb9bbeff3419b
5
5
  SHA512:
6
- metadata.gz: ec2db472b3ac1333a9b861d27e454c93792de0632073a401e68fa1e31f847d365c08070d7125f36fd01ab553bf104a2def9982b3a933db42734cb6399653bcc9
7
- data.tar.gz: 688533e77e5e1ca3aef0657a8fd6527c9eeef766ad05a6928ea8b54609383838f250ec32ac8a69d08d42f896425e86fcd94cea9673c7aac98c049f98d43e97bc
6
+ metadata.gz: 8428db6286c041151a0e336896f1b40e0a87fda593b8c1655546a8bd2d42a5326f0b87f635b5a50b3216bbd4247c6f07e881710f3dfd3d92c329286f4574bd05
7
+ data.tar.gz: 9cd92037011250cef1536bd1347a4ddd4316324d6bb2da6d7e7b6323651f0adb91f518f29e2bd592584467f654e98c1dfcada3a029f0d653aebf0f6e72b9dd16
data/bin/ey-scp CHANGED
@@ -93,7 +93,11 @@ end
93
93
  servers = instances.map{ |inst| inst['public_hostname'] }
94
94
 
95
95
  #time to do the copying!
96
- servers.each do |server|
97
- puts "Uploading to #{server}..."
98
- Net::SCP.upload!(server, 'deploy', options[:source], options[:destination] )
96
+ servers.each do |server|
97
+ begin
98
+ puts "Uploading to #{server}..."
99
+ Net::SCP.upload!(server, 'deploy', options[:source], options[:destination] )
100
+ rescue Net::SCP::Error => ex
101
+ STDERR.puts "Error uploading to #{server}: #{ex.message}"
102
+ end
99
103
  end
@@ -1,9 +1,9 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "ey-scp"
4
- spec.version = '0.3.0'
5
- spec.authors = ["Steven Dunlap"]
6
- spec.email = ["steven@roadtrippers.com"]
4
+ spec.version = '0.3.1'
5
+ spec.authors = ["Mitch Oliver"]
6
+ spec.email = ["mitch@roadtrippers.com"]
7
7
  spec.description = "Quickly copy files (e.g. YMLs or configuration files) to multiple EngineYard servers"
8
8
  spec.summary = File.open('README.md').read
9
9
  spec.homepage = "http://github.com/roadtrippers/ey-scp"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey-scp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Steven Dunlap
7
+ - Mitch Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-15 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,7 +83,7 @@ dependencies:
83
83
  description: Quickly copy files (e.g. YMLs or configuration files) to multiple EngineYard
84
84
  servers
85
85
  email:
86
- - steven@roadtrippers.com
86
+ - mitch@roadtrippers.com
87
87
  executables:
88
88
  - ey-scp
89
89
  extensions: []