ploy 0.0.25 → 0.0.26
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.
- checksums.yaml +13 -5
- data/lib/ploy/command/client.rb +14 -13
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
NTA0OWU4MTRlOGRjYjdhYmFjMTRhNWVlMjU1NGUzOGJmYjcyZWEyNw==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZDRlOTFlMWZjNWIxNTczMGE2NTdiYjgzYzI1N2JkYWY4N2JkMTkyZg==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
YmEzYmU2ZGQ4NWU5NTc4MzU3YzExN2I4MzgyZWVhNWI3MjQ1YjU5Zjc2ZTFk
|
|
10
|
+
NWYxZjNiZDIzNWI1OTJmMmVlMGM5NTIzNGI4NmQ1MmJkNTEyMDAyNmY5ZjQw
|
|
11
|
+
ZjU2NGU4M2VhNDhjNzAyODY0MzQwMzdjZTg5MGZiYzJiMTE0NjM=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
ODE4YTkzNzg2MzQzYzIxMmM5M2E4OTliNTM4Njk4MDZhZjZjYTM3YWE3ZTY1
|
|
14
|
+
ODlhNDEzYWQ2Y2RlMGIzYjNhNzIwMjRkYTY0ZmFiODg2ZGY4OTYyM2VkZmFj
|
|
15
|
+
NWQwMWI3MTZhMGMxYjUwNTZmZGI3YmQyYzQ2ZDI0OTA4ODc1NDU=
|
data/lib/ploy/command/client.rb
CHANGED
|
@@ -15,23 +15,24 @@ module Ploy
|
|
|
15
15
|
|
|
16
16
|
if conf then
|
|
17
17
|
ps = Ploy::PackageSet.new(conf)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
ips = installable_packages(o[:target_packages], ps.packages)
|
|
19
|
+
ips.each do |package|
|
|
20
|
+
if package.installed_version == '' then
|
|
21
|
+
puts "installing #{package.deploy_name} for the first time"
|
|
22
|
+
package.install
|
|
23
|
+
elsif package.check_new_version then
|
|
24
|
+
if package.updatevia == 'swf'
|
|
25
|
+
puts "skipping update via ploy. updatevia=(%{package.updatevia})"
|
|
26
|
+
else
|
|
27
|
+
if ps.locked?
|
|
28
|
+
puts "locked, so not updating"
|
|
28
29
|
else
|
|
30
|
+
puts "updating #{package.deploy_name}"
|
|
29
31
|
package.install
|
|
30
|
-
puts "updated #{package.deploy_name}"
|
|
31
32
|
end
|
|
32
|
-
else
|
|
33
|
-
puts "no new #{package.deploy_name} available"
|
|
34
33
|
end
|
|
34
|
+
else
|
|
35
|
+
puts "no new #{package.deploy_name} available"
|
|
35
36
|
end
|
|
36
37
|
end
|
|
37
38
|
else
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bruce
|
|
@@ -14,42 +14,42 @@ dependencies:
|
|
|
14
14
|
name: aws-sdk
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ! '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ! '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: fpm
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ! '>='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ! '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: sinatra
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ! '>='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ! '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
description: Multi-phase deployment tool for use in a continuous deployment environment.
|
|
@@ -91,17 +91,17 @@ require_paths:
|
|
|
91
91
|
- lib
|
|
92
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - ! '>='
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
|
-
- -
|
|
99
|
+
- - ! '>='
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
101
|
version: '0'
|
|
102
102
|
requirements: []
|
|
103
103
|
rubyforge_project:
|
|
104
|
-
rubygems_version: 2.
|
|
104
|
+
rubygems_version: 2.4.5
|
|
105
105
|
signing_key:
|
|
106
106
|
specification_version: 4
|
|
107
107
|
summary: Multi-phase deployment tool
|