messagebird-rest 1.3.1 → 1.3.2

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: cfd3d344b6f0dfd132e46a02ee5f3ff3e393dab0
4
- data.tar.gz: b08a40dde4ea7fa5cfb183f613be2905d4f94010
3
+ metadata.gz: fef609127e904a092153ab2dc6e80cd6a775b7d0
4
+ data.tar.gz: c75c619d065f6e551e9d875098d089915da4bcd2
5
5
  SHA512:
6
- metadata.gz: 40a9387f96f7650d5ed8f7712e71a14a463735aa376345cde420e5bc2d50a673b39ca0bb48a89548ae33398aa6cbf152759a1fb1e8019e43827d480f85eb8be3
7
- data.tar.gz: 84a007a0b57c6567f8838d71e6de9e0d5e0cf44a0d1d4eb95c579921cde21bd0b7cd6426401577a3f37d04dc5c47fe4596439fb0ad668301e98b8ac3438aa045
6
+ metadata.gz: d5ed9a42b17dfbdfe55a6b8c2a88218b48001edb8764e748b42e5777406f5fe5d8ce9bd60ebf7801461f8211eecd46e481645c9c068ab59c1dd1ead037a5b07c
7
+ data.tar.gz: 8dcca59dca9154927d34ebb5dfcb4b1104427c8dc50fc9b1de7f969583a5a6d536ca3042bc41df4c7c22fd51216f0ab4fc26212b79c6196aa2e8c47344878035
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  MessageBird's REST API for Ruby
2
2
  ===============================
3
- This repository contains the open source Ruby client for MessageBird's REST API. Documentation can be found at: https://www.messagebird.com/developers/ruby.
3
+ This repository contains the open source Ruby client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/
4
4
 
5
5
  Requirements
6
6
  ------------
7
7
  - [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account
8
- - Create a new access_key in the developers sections
8
+ - Create a new `access_key` in the developers sections
9
9
  - MessageBird's API client for Ruby requires Ruby >= 1.9
10
10
 
11
11
  Installation
@@ -176,7 +176,7 @@ client.voice_message('a08e51a0353bd16cea7f298a37405850')
176
176
  Documentation
177
177
  -------------
178
178
  Complete documentation, instructions, and examples are available at:
179
- [https://www.messagebird.com/developers/ruby](https://www.messagebird.com/developers/ruby).
179
+ [https://developers.messagebird.com/](https://developers.messagebird.com/).
180
180
 
181
181
  License
182
182
  -------
@@ -2,7 +2,7 @@ libdir = File.dirname(__FILE__)
2
2
  $:.unshift(libdir) unless $:.include?(libdir)
3
3
 
4
4
  module MessageBird
5
- CLIENT_VERSION = '1.3.1'
5
+ CLIENT_VERSION = '1.3.2'
6
6
  ENDPOINT = 'https://rest.messagebird.com'
7
7
  end
8
8
 
@@ -51,7 +51,7 @@ module MessageBird
51
51
  when 200, 201, 204, 401, 404, 405, 422
52
52
  json = JSON.parse(response.body)
53
53
  else
54
- raise Net::HTTPServerError.new 'Unknown response from server', response
54
+ raise Net::HTTPServerError.new response.http_version, 'Unknown response from server', response
55
55
  end
56
56
 
57
57
  # If the request returned errors, create Error objects and raise.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messagebird-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maurice Nonnekes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-01 00:00:00.000000000 Z
11
+ date: 2016-11-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple REST API for MessageBird in Ruby
14
14
  email: maurice@messagebird.com
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project:
52
- rubygems_version: 2.0.14
52
+ rubygems_version: 2.0.14.1
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: MessageBird's REST API