amadeus 1.0.0.beta4 → 1.0.0.beta5

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: 183aeaa0bf54b520b6b8df046c6522d6291a52eba37dcc5589575f0190820c87
4
- data.tar.gz: 845ceff1e75f4f35a6c820812edfc1a281e051a9c1baaec48282e6e0b11e92e0
3
+ metadata.gz: 791529954c105956f49fc4fb7501fcbde20c6e315a63b5b458e26cc55fe69ec1
4
+ data.tar.gz: 8d9809a62d730f91031edef5a45eb8ce37efcdb96949ded22c0197390aa0f7c5
5
5
  SHA512:
6
- metadata.gz: 1e51e325256ef2871f3f59c4a40fb2a8c3250ec4581d7824673ecb241c83e2fc8eb7d80a547f973e38de231b024355404399374367f420666226ca305629d9c1
7
- data.tar.gz: 0b7180dc22ccd22b7d35ae1c11f35bec498b5f629797fc890f9c8a5443f0c65e8e318727c051284e09e3201ea46967d194f68f90b4fe6b7669167d1e3607efd1
6
+ metadata.gz: c861dfa5193329f99c90d059f5b44d6ea6942ad5df3cffb7ada477fe728b557db4e4652892a5d0d0e04358646eedb42caf0c680166acd3328ebd44136e5cf519
7
+ data.tar.gz: 830555fa850108f7e9e085450f99b3204ac978b60d16a576a687aaf69b77954239a08c5421cf45922682004a9b0598dfeb75bba21bfcb44ebcd972dc90817a7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0.beta5 - 2018-03-28
4
+
5
+ Add support for Amadeus's specific `Accept` request header.
6
+
7
+ ## 1.0.0.beta4 - 2018-03-28
8
+
9
+ Update singular endpoints to use singular names.
10
+
11
+ For example:
12
+
13
+ ```sh
14
+ GET /v1/shopping/hotels/SMPARCOL/hotel-offers
15
+ ```
16
+
17
+ becomes
18
+
19
+ ```rb
20
+ amadeus.shopping.hotel('SMPARCOL').hotel_offers.get
21
+ ```
22
+
3
23
  ## 1.0.0.beta3 - 2018-03-24
4
24
 
5
25
  * Updates gemspec to specify a minimum Ruby version
data/README.md CHANGED
@@ -15,7 +15,7 @@ For more details see the [Ruby documentation](https://developer.amadeus.com/docs
15
15
  This gem requires Ruby 2.2+. You can install install it directly or via bundler.
16
16
 
17
17
  ```rb
18
- gem 'amadeus', '~> 1.0.0.beta4'
18
+ gem 'amadeus', '~> 1.0.0.beta5'
19
19
  ```
20
20
 
21
21
  __Next__: [Get Started with the Ruby SDK.](https://developer.amadeus.com/docs/ruby/get_started/initialize)
data/amadeus.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  Ruby library for the Amadeus travel APIs, providing hotel, flight, airport,
15
15
  and other travel related APIs.
16
16
  DESCRIPTION
17
- spec.homepage = 'https://github.com/amadeusdev/amadeus-ruby'
17
+ spec.homepage = 'https://github.com/amadeus4dev/amadeus-ruby'
18
18
  spec.license = 'MIT'
19
19
 
20
20
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -97,7 +97,7 @@ module Amadeus
97
97
  def initialize_headers
98
98
  @headers = {
99
99
  'User-Agent' => build_user_agent,
100
- 'Accept' => 'application/json'
100
+ 'Accept' => 'application/json, application/vnd.amadeus+json'
101
101
  }
102
102
  end
103
103
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Amadeus
4
4
  # The current client version
5
- VERSION = '1.0.0.beta4'.freeze
5
+ VERSION = '1.0.0.beta5'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amadeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta4
4
+ version: 1.0.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amadeus
@@ -226,7 +226,7 @@ files:
226
226
  - lib/amadeus/namespaces/travel/analytics/air_traffics.rb
227
227
  - lib/amadeus/namespaces/travel/analytics/fare_searches.rb
228
228
  - lib/amadeus/version.rb
229
- homepage: https://github.com/amadeusdev/amadeus-ruby
229
+ homepage: https://github.com/amadeus4dev/amadeus-ruby
230
230
  licenses:
231
231
  - MIT
232
232
  metadata: {}