fanforce-api 0.19.2 → 0.20.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjQ2MGJlNDY0NjI3N2UwNmI0OTEzYTYwMzBmOTNjZGRkMzdiNjZlNA==
4
+ NjY3OTM2Njg5NWQxODkzOTE5NGI4OGY2MTk4NWFlNWQwNDc5ZTRjNw==
5
5
  data.tar.gz: !binary |-
6
- YjE2YzQxYTU2NWY1MmY3ZTExNDY3ZmI2YjQxNTM2ZjZlNmNmZTUwMA==
6
+ NTE3NGZjODRmMzlmNDUyYThkYzVlOGZiMjA5YTFkNzYxZGFmMzBiYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTlkYThhYWY1Y2FhOWUwOTI2YzdkM2E0NGY3YzYyZGJkNGZlMzg2NGYwODg2
10
- ZWYwNWE3MzViMTVlYjM0ZjI5OTE4YWRjNzVhMzI0NTU0MDYxYTkzMDg2YTQz
11
- NTg5MDRmOGJiMWY4MWZhY2JiMjA3NzA4MjE5YTdiM2RjYmFkMmI=
9
+ MWFiZmEyOTJkYjQzNjA5OTA0NzcwOTcwOTYwY2ZmNDJjOWU3ZGQ3ODBmZjMw
10
+ ZmZlZDdlMTlmNGIzYmExODM5ZTIzOTJjNjQ5YmE1MWZkMzA3NWY0ZTkwODU0
11
+ NjhjNTJlYjA3YTE1NWYwZTNlNTM5OTYxN2E5N2ZiOGQwNzRmZmE=
12
12
  data.tar.gz: !binary |-
13
- MTQ2OTAxZGUxZDA5MWI0MDMzMDA1Y2ViOWJhYmVmZTFlNTdiNTI4YTU4YzE4
14
- ZmY4ZGMxMDNiMTYyMGJlOThiN2ZjYWJlNjVhYzhjYTVhNGFjMmRkYWIyYzgw
15
- NzY2NDMxNzM1NWE4YTYzMjAwYTMwN2RkMGEwZTgxZDg1MWNjNjI=
13
+ ZDk3ZDA2MDBjZmViOWVhOGRhMjcwZGQ1YWJlNGE3MGJkYjJmZGY5YTM5YmNh
14
+ ZjYxNzU4NmExZWM0N2Y4NWFlNjU3NzgxMjUyMzFhYWM1NDhkNGRjYTdhM2Y1
15
+ OTE1ZDc2NzcyYzRiMTZjOThhNWQ0ZjdkMzRmMjYzNGFmYzRjY2Q=
@@ -2,7 +2,7 @@ class Fanforce::API::Response
2
2
  attr_reader :curl_command, :requested_url, :requested_params
3
3
 
4
4
  def self.process(response, request, requested_url, requested_params)
5
- return nil if response.code == 404
5
+ return nil if response.code == 404 and request.method == :get
6
6
  raise Fanforce::API::ServerError.new(response, request, requested_url, requested_params) if response.code > 201
7
7
 
8
8
  begin response_hash = Fanforce::Utils.decode_json(response)
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class API
3
- VERSION = '0.19.2'
3
+ VERSION = '0.20.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.2
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-08 00:00:00.000000000 Z
11
+ date: 2013-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client