rdeis 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rdeis/upgrade.rb +2 -2
- data/lib/rdeis/version.rb +2 -2
- data/rdeis.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9387bf448349d59690236456bc8abe5637581e5
|
4
|
+
data.tar.gz: a9070c49d860c263eeee49c2bb9eea315e04f034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f47f55d18685df21039af34441933cc266e61cb7cdaa9f63da02836e41c0a48054e50cc411d6597a3c8abb1037e9e89d0c04d12ecbbce47a0cc113f28bf11c9b
|
7
|
+
data.tar.gz: 4ee81aed9fdf1e8df47d3c48c67195d417e2195848e7cab3770f03df74a2a155c54f9d404252bd84e698701d7c2c278022c2ec03a5faa5120296b325dff12d20
|
data/lib/rdeis/upgrade.rb
CHANGED
@@ -30,8 +30,8 @@ module DEIS
|
|
30
30
|
File.open(self.local_profile, "w"){|f| f.write(content.gsub(previous_version, current_version)) }
|
31
31
|
end
|
32
32
|
# remote
|
33
|
-
remote_current = run("ls -lart #{current_version} | wc -l").to_i
|
34
|
-
remote_previous = run("ls -lart #{previous_version} | wc -l").to_i
|
33
|
+
remote_current = run("ls -lart #{current_version} 2> /dev/null | wc -l").to_i
|
34
|
+
remote_previous = run("ls -lart #{previous_version} 2> /dev/null | wc -l").to_i
|
35
35
|
if remote_current == 0 && remote_previous > 1
|
36
36
|
say("Found previous remote version, migration..", :green)
|
37
37
|
run("mv -f #{previous_version} #{current_version}")
|
data/lib/rdeis/version.rb
CHANGED
data/rdeis.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = DEIS::VERSION
|
9
9
|
spec.authors = ["Charles Marshall"]
|
10
10
|
spec.email = ["cm56marshall@gmail.com"]
|
11
|
-
spec.summary = %q{ }
|
12
|
-
spec.description = %q{ }
|
11
|
+
spec.summary = %q{ Gem to controll deployment on Deis }
|
12
|
+
spec.description = %q{ Gem to controll deployment on Deis }
|
13
13
|
spec.homepage = "https://github.com/charlesmarshall/deis_deploy/tree/#{DEIS::VERSION}"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdeis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.9'
|
55
|
-
description: " "
|
55
|
+
description: " Gem to controll deployment on Deis "
|
56
56
|
email:
|
57
57
|
- cm56marshall@gmail.com
|
58
58
|
executables:
|
@@ -79,7 +79,7 @@ files:
|
|
79
79
|
- lib/rdeis/version.rb
|
80
80
|
- lib/ssh.rb
|
81
81
|
- rdeis.gemspec
|
82
|
-
homepage: https://github.com/charlesmarshall/deis_deploy/tree/0.0.
|
82
|
+
homepage: https://github.com/charlesmarshall/deis_deploy/tree/0.0.12
|
83
83
|
licenses:
|
84
84
|
- MIT
|
85
85
|
metadata: {}
|
@@ -102,5 +102,5 @@ rubyforge_project:
|
|
102
102
|
rubygems_version: 2.2.2
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
|
-
summary:
|
105
|
+
summary: Gem to controll deployment on Deis
|
106
106
|
test_files: []
|