cap-rightscale 0.3.11 → 0.3.12

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.11
1
+ 0.3.12
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cap-rightscale}
8
- s.version = "0.3.11"
8
+ s.version = "0.3.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Satoshi Ohki"]
@@ -69,7 +69,13 @@ module Capistrano
69
69
  end
70
70
 
71
71
  def tag(params)
72
- tags = Tag.search(params) # not stored
72
+ begin
73
+ tags = Tag.search(params) # not stored
74
+ rescue => e
75
+ STDERR.puts("#{e.class}: #{e.pretty_inspect}")
76
+ warn("Backtrace:\n#{e.backtrace.pretty_inspect}")
77
+ exit(1)
78
+ end
73
79
 
74
80
  unless Tag.status_code == 200
75
81
  STDERR.puts("Errors: STATUS is NOT 200 OK")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-rightscale
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 11
10
- version: 0.3.11
9
+ - 12
10
+ version: 0.3.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki