help_scout 0.9.0 → 0.10.0

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
- SHA256:
3
- metadata.gz: 22b43808e985721324615d9c33c751eb33f65f5bae676011184755d7dd444a75
4
- data.tar.gz: 0d1a6a13c8b4e19009a9f343d56a04109db74a552fcb006fccc1c55e0b76ab7c
2
+ SHA1:
3
+ metadata.gz: 62dae154ee84e9bd1b12554b7640ccd778c1d961
4
+ data.tar.gz: 8f6e5fddb9c5fd010c36d8928913d1e48a1aeac3
5
5
  SHA512:
6
- metadata.gz: eb05fac372cb9e6c5ed969508979c4024b125bb1aec84dd23902ee5608f5444ea888abaa53e0f3bc6954e2c1a56e63287f6f7f4f8513f53e1a48a03a49b9067c
7
- data.tar.gz: bbd7e6fa76ec38854acc3b13e29c73ebb144ee83dd314061419d06bc73926a574ab6668b85254958280ed2c03c1e7a2a6aa7b095ce02ef4f8eedf4d686eb0733
6
+ metadata.gz: f540a1cb8574caea5944bbb78f10d5adedec1f9292500dabfb684d463f0e16116cc48aed705774c5a48969209ffb45d1b6bdfa1580ab86ddfc98b4a4c855385e
7
+ data.tar.gz: e584154ffb74e865febd99500c79228241d349537168b4980c722c20c2158a922d03ea3e303cc78e122005b93943b9c649e69857e4cf8715d6f34f0212077cc6
@@ -6,8 +6,8 @@ require 'help_scout/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "help_scout"
8
8
  spec.version = HelpScout::VERSION
9
- spec.authors = ["Dennis Paagman", "Miriam Tocino", "Mark Mulder"]
10
- spec.email = ["dennispaagman@gmail.com", "miriam.tocino@gmail.com", "markmulder@gmail.com"]
9
+ spec.authors = ["Dennis Paagman", "Miriam Tocino", "Mark Mulder", "Martin Balk"]
10
+ spec.email = ["dennispaagman@gmail.com", "miriam.tocino@gmail.com", "markmulder@gmail.com", "m@martinbalk.com"]
11
11
 
12
12
  spec.summary = "HelpScout is an API client for Help Scout"
13
13
  spec.homepage = "https://github.com/Springest/help_scout"
@@ -234,7 +234,7 @@ class HelpScout
234
234
  when HTTP_OK, HTTP_CREATED, HTTP_NO_CONTENT
235
235
  @last_response.parsed_response
236
236
  when HTTP_BAD_REQUEST
237
- raise ValidationError, last_response.parsed_response["message"]
237
+ raise ValidationError, last_response.parsed_response["validationErrors"]
238
238
  when HTTP_FORBIDDEN
239
239
  raise ForbiddenError
240
240
  when HTTP_NOT_FOUND
@@ -1,3 +1,3 @@
1
1
  class HelpScout
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Paagman
8
8
  - Miriam Tocino
9
9
  - Mark Mulder
10
+ - Martin Balk
10
11
  autorequire:
11
12
  bindir: exe
12
13
  cert_chain: []
13
- date: 2018-01-22 00:00:00.000000000 Z
14
+ date: 2018-02-27 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: httparty
@@ -101,6 +102,7 @@ email:
101
102
  - dennispaagman@gmail.com
102
103
  - miriam.tocino@gmail.com
103
104
  - markmulder@gmail.com
105
+ - m@martinbalk.com
104
106
  executables: []
105
107
  extensions: []
106
108
  extra_rdoc_files: []
@@ -137,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
139
  version: '0'
138
140
  requirements: []
139
141
  rubyforge_project:
140
- rubygems_version: 2.7.3
142
+ rubygems_version: 2.6.14
141
143
  signing_key:
142
144
  specification_version: 4
143
145
  summary: HelpScout is an API client for Help Scout