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.
- checksums.yaml +4 -4
- data/bin/ey-scp +7 -3
- data/ey-scp.gemspec +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 361a562656c5a5e7b83313894e4d324db0f4fffe
|
4
|
+
data.tar.gz: c5265ffe52a51b840e6818d745dcb9bbeff3419b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
98
|
-
|
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
|
data/ey-scp.gemspec
CHANGED
@@ -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.
|
5
|
-
spec.authors = ["
|
6
|
-
spec.email = ["
|
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.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Mitch Oliver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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
|
-
-
|
86
|
+
- mitch@roadtrippers.com
|
87
87
|
executables:
|
88
88
|
- ey-scp
|
89
89
|
extensions: []
|