torquespec 0.1.7 → 0.2.0

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.
@@ -24,12 +24,14 @@ module TorqueSpec
24
24
  begin
25
25
  domain_api( :operation => "add",
26
26
  :address => [ "deployment", addressify(path) ],
27
- :url => urlify(path) )
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",
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.1.7"
2
+ VERSION = "0.2.0"
3
3
  end
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: 21
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 7
10
- version: 0.1.7
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-20 00:00:00 -04:00
19
+ date: 2011-05-23 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency