torquespec 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/torquespec/as7.rb +4 -2
- data/lib/torquespec/version.rb +1 -1
- metadata +5 -5
data/lib/torquespec/as7.rb
CHANGED
@@ -24,12 +24,14 @@ module TorqueSpec
|
|
24
24
|
begin
|
25
25
|
domain_api( :operation => "add",
|
26
26
|
:address => [ "deployment", addressify(path) ],
|
27
|
-
:url
|
28
|
-
rescue Exception
|
27
|
+
:content => [ { :url=>urlify(path)} ] )
|
28
|
+
rescue Exception=>e
|
29
29
|
_undeploy(path)
|
30
30
|
if once
|
31
31
|
once = false
|
32
32
|
retry
|
33
|
+
else
|
34
|
+
raise e
|
33
35
|
end
|
34
36
|
end
|
35
37
|
domain_api( :operation => "deploy",
|
data/lib/torquespec/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torquespec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jim Crossley
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-05-
|
19
|
+
date: 2011-05-23 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|