notifiee-ruby 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: 6ec9f9a09d362c37d94289dd2ded48beac4ab73633fb7df9fc027abb18d9a6ef
4
- data.tar.gz: a964a4bf0189dbe3cec24aa9a70b92bc694d2fc6c4dab88b15065a2b68e8461d
3
+ metadata.gz: 9a322d1235c4da179a5b58b0af28f91c25aa9cbf723e0d63047ed7b70e948c5d
4
+ data.tar.gz: 05f5d1f1f9403962eff9d34f920046bb5435447aff6ce8d2e6350de08dd5d777
5
5
  SHA512:
6
- metadata.gz: '0828198eaed0e4e3fa8c771449e8b0dd4877c7881c55e62c78432b32c5d37381b154f0605cf3c497cde6dc008431ff2908883230e89da68e4862ee23ba693813'
7
- data.tar.gz: 4732da2793c3f3dbedb9f0b493500ebed16d07f4c4613d41e73f1b45c88619253fc2d28051e7502c16ef403c065c8c9787cac0d1909ed4f02b721fb2592a7b01
6
+ metadata.gz: ce0ddbdb5490cbf4cfcba4915c53297f0d6d0cc07d74336e0774466ddcbe43bc56c2578601ed5dbfe3b705b8ba2d7ae7afec571c4432044a1010dcb8bb00ffda
7
+ data.tar.gz: b6352967c24579f43fafefa8b0b768dcc7698fd4e9efa40385978074404e71fee4577c94f1c314b5fae778d88baf0493250486b4de0c33ba51751edb2aeba5db
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- notifiee-ruby (1.0.1)
4
+ notifiee-ruby (1.0.2)
5
5
  json
6
6
 
7
7
  GEM
data/LICENSE.txt CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 garethfuller
1
+ Copyright (c) 2018 "Remotely Digital LTD"
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
4
  of this software and associated documentation files (the "Software"), to deal
@@ -63,10 +63,12 @@ module NotifieeAPI
63
63
  case response
64
64
  when Net::HTTPSuccess
65
65
  response.body
66
+ when Net::HTTPUnprocessableEntity
67
+ response.body
66
68
  when Net::HTTPUnauthorized
67
69
  raise NotifieeAPI::Unauthorized.new response.body
68
70
  else
69
- raise NotifieeAPI::Error.new response.body
71
+ response.body
70
72
  end
71
73
  end
72
74
 
@@ -1,3 +1,3 @@
1
1
  module NotifieeAPI
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiee-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gareth Fuller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler