isotope11-suitcase 1.7.8 → 1.7.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module Suitcase
6
6
  class Configuration
7
7
  class << self
8
8
  attr_accessor :hotel_api_key, :hotel_cid, :hotel_shared_secret,
9
- :hotwire_api_key, :hotwire_linkshare_id
9
+ :hotwire_api_key, :hotwire_linkshare_id, :use_signature_auth
10
10
 
11
11
  attr_writer :ean_revision
12
12
  attr_reader :cache
@@ -19,6 +19,10 @@ module Suitcase
19
19
  @cache = Suitcase::Hotel::Cache.new(mechanism)
20
20
  end
21
21
 
22
+ def use_signature_auth?
23
+ @use_signature_auth
24
+ end
25
+
22
26
  def method_missing(method, *args, &blk)
23
27
  if method.to_s =~ /(.+)\?/
24
28
  send($1.to_sym)
@@ -1,3 +1,3 @@
1
1
  module Suitcase
2
- VERSION = "1.7.8"
2
+ VERSION = "1.7.9"
3
3
  end
metadata CHANGED
@@ -1,188 +1,182 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: isotope11-suitcase
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.7.9
4
5
  prerelease:
5
- version: 1.7.8
6
6
  platform: ruby
7
- authors:
8
- - Walter Nelson
9
- - Tad Hosford
7
+ authors:
8
+ - Walter Nelson
9
+ - Tad Hosford
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2012-09-13 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: minitest
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: "0"
25
- type: :development
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: mocha
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "0"
36
- type: :development
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: turn
40
- prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "0"
47
- type: :development
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: chronic
51
- prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
58
- type: :development
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: rake
62
- prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
69
- type: :development
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: pry
73
- prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
80
- type: :development
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: json
84
- prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
91
- type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: patron
95
- prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: "0"
102
- type: :runtime
103
- version_requirements: *id008
104
- description: Ruby library that utilizes the EAN (Expedia.com) API for locating available hotels and the Hotwire API for rental cars.
105
- email:
106
- - tad@isotope11.com
13
+ date: 2012-10-09 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: minitest
17
+ requirement: &11211560 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *11211560
26
+ - !ruby/object:Gem::Dependency
27
+ name: mocha
28
+ requirement: &11210640 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *11210640
37
+ - !ruby/object:Gem::Dependency
38
+ name: turn
39
+ requirement: &11210080 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *11210080
48
+ - !ruby/object:Gem::Dependency
49
+ name: chronic
50
+ requirement: &11209400 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *11209400
59
+ - !ruby/object:Gem::Dependency
60
+ name: rake
61
+ requirement: &11208820 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: *11208820
70
+ - !ruby/object:Gem::Dependency
71
+ name: pry
72
+ requirement: &11208100 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: *11208100
81
+ - !ruby/object:Gem::Dependency
82
+ name: json
83
+ requirement: &11207380 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: *11207380
92
+ - !ruby/object:Gem::Dependency
93
+ name: patron
94
+ requirement: &11206860 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *11206860
103
+ description: Ruby library that utilizes the EAN (Expedia.com) API for locating available
104
+ hotels and the Hotwire API for rental cars.
105
+ email:
106
+ - tad@isotope11.com
107
107
  executables: []
108
-
109
108
  extensions: []
110
-
111
109
  extra_rdoc_files: []
112
-
113
- files:
114
- - .gitignore
115
- - CHANGELOG.md
116
- - Gemfile
117
- - README.md
118
- - Rakefile
119
- - examples/hash_adapter.rb
120
- - examples/hotel_image_db.rb
121
- - examples/redis_adapter.rb
122
- - isotope11-suitcase.gemspec
123
- - lib/suitcase.rb
124
- - lib/suitcase/car_rental.rb
125
- - lib/suitcase/codes.rb
126
- - lib/suitcase/configuration.rb
127
- - lib/suitcase/core_ext/string.rb
128
- - lib/suitcase/hotel.rb
129
- - lib/suitcase/hotel/.room.rb.swp
130
- - lib/suitcase/hotel/amenity.rb
131
- - lib/suitcase/hotel/bed_type.rb
132
- - lib/suitcase/hotel/cache.rb
133
- - lib/suitcase/hotel/cancellation.rb
134
- - lib/suitcase/hotel/ean_exception.rb
135
- - lib/suitcase/hotel/helpers.rb
136
- - lib/suitcase/hotel/image.rb
137
- - lib/suitcase/hotel/location.rb
138
- - lib/suitcase/hotel/nightly_rate.rb
139
- - lib/suitcase/hotel/payment_option.rb
140
- - lib/suitcase/hotel/reservation.rb
141
- - lib/suitcase/hotel/room.rb
142
- - lib/suitcase/hotel/session.rb
143
- - lib/suitcase/hotel/surcharge.rb
144
- - lib/suitcase/version.rb
145
- - test/car_rentals/car_rental_test.rb
146
- - test/hotels/amenity_test.rb
147
- - test/hotels/caching_test.rb
148
- - test/hotels/ean_exception_test.rb
149
- - test/hotels/helpers_test.rb
150
- - test/hotels/hotel_location_test.rb
151
- - test/hotels/hotel_test.rb
152
- - test/hotels/image_test.rb
153
- - test/hotels/payment_option_test.rb
154
- - test/hotels/reservation_test.rb
155
- - test/hotels/room_test.rb
156
- - test/hotels/session_test.rb
157
- - test/keys.rb
158
- - test/minitest_helper.rb
159
- - test/support/fake_response.rb
110
+ files:
111
+ - .gitignore
112
+ - CHANGELOG.md
113
+ - Gemfile
114
+ - README.md
115
+ - Rakefile
116
+ - examples/hash_adapter.rb
117
+ - examples/hotel_image_db.rb
118
+ - examples/redis_adapter.rb
119
+ - isotope11-suitcase.gemspec
120
+ - lib/suitcase.rb
121
+ - lib/suitcase/car_rental.rb
122
+ - lib/suitcase/codes.rb
123
+ - lib/suitcase/configuration.rb
124
+ - lib/suitcase/core_ext/string.rb
125
+ - lib/suitcase/hotel.rb
126
+ - lib/suitcase/hotel/.room.rb.swp
127
+ - lib/suitcase/hotel/amenity.rb
128
+ - lib/suitcase/hotel/bed_type.rb
129
+ - lib/suitcase/hotel/cache.rb
130
+ - lib/suitcase/hotel/cancellation.rb
131
+ - lib/suitcase/hotel/ean_exception.rb
132
+ - lib/suitcase/hotel/helpers.rb
133
+ - lib/suitcase/hotel/image.rb
134
+ - lib/suitcase/hotel/location.rb
135
+ - lib/suitcase/hotel/nightly_rate.rb
136
+ - lib/suitcase/hotel/payment_option.rb
137
+ - lib/suitcase/hotel/reservation.rb
138
+ - lib/suitcase/hotel/room.rb
139
+ - lib/suitcase/hotel/session.rb
140
+ - lib/suitcase/hotel/surcharge.rb
141
+ - lib/suitcase/version.rb
142
+ - test/car_rentals/car_rental_test.rb
143
+ - test/hotels/amenity_test.rb
144
+ - test/hotels/caching_test.rb
145
+ - test/hotels/ean_exception_test.rb
146
+ - test/hotels/helpers_test.rb
147
+ - test/hotels/hotel_location_test.rb
148
+ - test/hotels/hotel_test.rb
149
+ - test/hotels/image_test.rb
150
+ - test/hotels/payment_option_test.rb
151
+ - test/hotels/reservation_test.rb
152
+ - test/hotels/room_test.rb
153
+ - test/hotels/session_test.rb
154
+ - test/keys.rb
155
+ - test/minitest_helper.rb
156
+ - test/support/fake_response.rb
160
157
  homepage: http://github.com/isotope11/suitcase
161
158
  licenses: []
162
-
163
159
  post_install_message:
164
160
  rdoc_options: []
165
-
166
- require_paths:
167
- - lib
168
- required_ruby_version: !ruby/object:Gem::Requirement
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
169
164
  none: false
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: "0"
174
- required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
170
  none: false
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: "0"
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
180
175
  requirements: []
181
-
182
176
  rubyforge_project:
183
- rubygems_version: 1.8.15
177
+ rubygems_version: 1.8.17
184
178
  signing_key:
185
179
  specification_version: 3
186
- summary: Locates available hotels and rental cars through Expedia and Hotwire. This is a fork of Walter Nelson's gem - suitcase
180
+ summary: Locates available hotels and rental cars through Expedia and Hotwire. This
181
+ is a fork of Walter Nelson's gem - suitcase
187
182
  test_files: []
188
-