posterous 0.2.4 → 0.2.5

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.
@@ -34,13 +34,13 @@ module Posterous
34
34
 
35
35
  params = args.last || {}
36
36
 
37
- puts "POSTLY :: #{verb.upcase} #{path} #{params}\n\n" if ENV['POSTLY_DEBUG']
37
+ puts "POSTEROUS :: #{verb.to_s.upcase} #{path} #{params}\n\n" if ENV['POSTEROUS_DEBUG']
38
38
 
39
39
  response = http.send(verb, "#{Posterous::BASE_API_URL}#{path}",
40
40
  default_options.merge!(:params => default_params.merge!(params)))
41
41
  result = parse(response.body)
42
-
43
- puts "POSTLY :: #{response.body}\n\n" if ENV['POSTLY_DEBUG']
42
+
43
+ puts "POSTEROUS :: #{response.body}\n\n" if ENV['POSTEROUS_DEBUG']
44
44
 
45
45
  unless [200,201].include?(response.code)
46
46
  msg = result.nil? ? response.body : "#{result.error} #{result.message}"
@@ -1,3 +1,3 @@
1
1
  module Posterous
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 4
9
- version: 0.2.4
8
+ - 5
9
+ version: 0.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Christopher Burnett @twoism
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-06-08 00:00:00 -07:00
17
+ date: 2011-06-09 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency