tiqets 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ad1afe311b1a077c318e4ee6b45d69d4c53c5b4
4
- data.tar.gz: 67905e5b1fe8d7cdd0cca30af4a895dd51a6aa43
3
+ metadata.gz: 79ef6ebbe506622ce991a5e52b300cd16f49d24e
4
+ data.tar.gz: 5eece3525c00644d91288d1d95c0e087e6a80a96
5
5
  SHA512:
6
- metadata.gz: 6d913c8561b4dd658fcbd79878c69e6d9a9b5538102a24223870b9f55ec7b575b64f9b2c78845d5228ec7207a6eaa1d6f42c2bfe572734e7cdf43ece28968ed0
7
- data.tar.gz: d4ec73fb11e4949c538c564880d95072203ab171555ea7f8a46e91eba54193d4e1830ff73aaae379eddc07036176ee3fd4c14456fedf64c9bd1fbc07dc4dd3ca
6
+ metadata.gz: 5658336b759492d61cc028d59fd1614998afa4d3eaa14916afdf5893ad0ed37d02bc5c39bc56f577d1d242f3667bf547585729b1d0369a8032e25ac2f218b834
7
+ data.tar.gz: ad7f23a98a9605b1e191cb6c107197f13b58c573cbd81a235f9c28f73c32f3d924d0977f521e2f8723f03a2a5c22764fcee0b8561a0a5c5d5a61d919ca4e812c
@@ -28,6 +28,8 @@ module Tiqets
28
28
  return response[response_key] if response['success'] == true
29
29
 
30
30
  raise Error.new(response['status'], response['message'])
31
+ rescue JSON::ParserError
32
+ raise Error.new(404, 'Not Found')
31
33
  end
32
34
  end
33
35
  end
@@ -1,3 +1,3 @@
1
1
  module Tiqets
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiqets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Venneman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http