capistrano-maven 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-maven.gemspec +3 -3
- data/lib/capistrano-maven.rb +2 -2
- data/lib/capistrano-maven/version.rb +1 -1
- data/test/config/deploy.rb +1 -1
- metadata +8 -8
data/capistrano-maven.gemspec
CHANGED
@@ -16,9 +16,9 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = Capistrano::Maven::VERSION
|
17
17
|
|
18
18
|
gem.add_dependency("capistrano")
|
19
|
-
gem.add_dependency("capistrano-file-resources", "
|
20
|
-
gem.add_dependency("capistrano-file-transfer-ext", "
|
21
|
-
gem.add_development_dependency("capistrano-jdk-installer", "
|
19
|
+
gem.add_dependency("capistrano-file-resources", ">= 0.1.0")
|
20
|
+
gem.add_dependency("capistrano-file-transfer-ext", ">= 0.1.0")
|
21
|
+
gem.add_development_dependency("capistrano-jdk-installer", ">= 0.1.0")
|
22
22
|
gem.add_development_dependency("net-scp", "~> 1.0.4")
|
23
23
|
gem.add_development_dependency("net-ssh", "~> 2.2.2")
|
24
24
|
gem.add_development_dependency("vagrant", "~> 1.0.6")
|
data/lib/capistrano-maven.rb
CHANGED
@@ -107,7 +107,7 @@ module Capistrano
|
|
107
107
|
if top.namespaces.key?(:multistage)
|
108
108
|
after "multistage:ensure", "mvn:setup_default_environment"
|
109
109
|
else
|
110
|
-
on :
|
110
|
+
on :load do
|
111
111
|
if top.namespaces.key?(:multistage)
|
112
112
|
after "multistage:ensure", "mvn:setup_default_environment"
|
113
113
|
else
|
@@ -235,7 +235,7 @@ module Capistrano
|
|
235
235
|
}
|
236
236
|
_cset(:mvn_update_hook_type, :after)
|
237
237
|
_cset(:mvn_update_hook, "deploy:finalize_update")
|
238
|
-
on(:
|
238
|
+
on(:load) do
|
239
239
|
[ mvn_update_hook ].flatten.each do |hook|
|
240
240
|
send(mvn_update_hook_type, hook, "mvn:update") if hook
|
241
241
|
end
|
data/test/config/deploy.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-maven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: 0.1.0
|
38
38
|
type: :runtime
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: 0.1.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
@@ -48,7 +48,7 @@ dependencies:
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 0.1.0
|
54
54
|
type: :runtime
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.1.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 0.1.0
|
70
70
|
type: :development
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 0.1.0
|
78
78
|
- !ruby/object:Gem::Dependency
|