ruby-freshbooks 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/VERSION +1 -1
  3. data/lib/freshbooks.rb +1 -1
  4. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.4.1
2
+ * support httparty 0.8.x as well as 0.5.x
3
+
1
4
  == 0.4.0
2
5
  * added support for (invoice|recurring).line methods
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -129,7 +129,7 @@ module FreshBooks
129
129
  # FreshBooks' API unfortunately redirects to a login search
130
130
  # html page if you specify an endpoint that doesn't exist
131
131
  # (i.e. typo in subdomain) instead of returning a 404
132
- def handle_response
132
+ def handle_response(body=nil)
133
133
  if loc = last_response['location'] and loc.match /loginSearch\.php$/
134
134
  resp = Net::HTTPNotFound.new(1.1, 404, "Not Found")
135
135
  resp.instance_variable_set :@read, true
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-freshbooks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Giancola
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-16 00:00:00 -05:00
18
+ date: 2012-05-05 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency