releaseable 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -57,6 +57,7 @@ class Logger
57
57
  def finalize
58
58
  if @fatalities
59
59
  trace :failsafe => @config[:failsafe].string if @config[:failsafe].respond_to? :string
60
+ log.sound_alarm
60
61
  sleep 1
61
62
  @fatalities.logdev.dev.deliverer.kill
62
63
  end
@@ -10,17 +10,7 @@ module Releaseable
10
10
  OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
11
11
 
12
12
  def self.post address, data
13
- p uri = URI(address) #'https://secure.example.com/some_path?query=string')
14
-
15
- #Net::HTTP.start(uri.host, uri.port,
16
- # :use_ssl => uri.scheme == 'https',
17
- # :ssl_verify_mode => OpenSSL::SSL::VERIFY_NONE) do |http|
18
- # #request = Net::HTTP::Get.new uri.request_uri
19
- # request = Net::HTTP::Post.new uri.path
20
- # request.set_form_data(data)
21
- #
22
- # p response = http.request(request) # Net::HTTPResponse object
23
- #end
13
+ uri = URI(address)
24
14
 
25
15
  server = Net::HTTP.new(uri.host, uri.port)
26
16
  server.use_ssl = (uri.scheme == 'https')
@@ -137,7 +127,7 @@ module Releaseable
137
127
  end
138
128
 
139
129
  def self.analyze_aws_response response
140
- p message = XmlSimple.xml_in(response.body)
130
+ message = XmlSimple.xml_in(response.body)
141
131
  if response.code.to_i == 201
142
132
  message['PostResponse']['Location']
143
133
  else
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: releaseable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9
5
+ version: 0.0.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - arvicco