Chrononaut-hostconnect 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/hostconnect.gemspec +42 -219
- data/lib/hostconnect.rb +1 -1
- data/lib/hostconnect/builders/get_booking_builder.rb +3 -2
- data/lib/hostconnect/coercion.rb +2 -3
- metadata +73 -77
data/CHANGELOG
CHANGED
data/hostconnect.gemspec
CHANGED
@@ -1,223 +1,46 @@
|
|
1
|
-
|
2
|
-
name: hostconnect
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.5
|
5
|
-
platform: ruby
|
6
|
-
authors:
|
7
|
-
- "Bj\xC3\xB8rn Arild M\xC3\xA6land"
|
8
|
-
autorequire:
|
9
|
-
bindir: bin
|
1
|
+
# -*- encoding: utf-8 -*-
|
10
2
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: activesupport
|
16
|
-
type: :runtime
|
17
|
-
version_requirement:
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
23
|
-
version:
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: hpricot
|
26
|
-
type: :runtime
|
27
|
-
version_requirement:
|
28
|
-
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
requirements:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: "0"
|
33
|
-
version:
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: builder
|
36
|
-
type: :runtime
|
37
|
-
version_requirement:
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: "0"
|
43
|
-
version:
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: rtf
|
46
|
-
type: :runtime
|
47
|
-
version_requirement:
|
48
|
-
version_requirements: !ruby/object:Gem::Requirement
|
49
|
-
requirements:
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: "0"
|
53
|
-
version:
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: echoe
|
56
|
-
type: :development
|
57
|
-
version_requirement:
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: "0"
|
63
|
-
version:
|
64
|
-
description: Library for interfacing with Tourplan's hostConnect software, which is a web service interface for tour booking.
|
65
|
-
email: ""
|
66
|
-
executables: []
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{hostconnect}
|
5
|
+
s.version = "0.1.6"
|
67
6
|
|
68
|
-
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Bj\303\270rn Arild M\303\246land"]
|
9
|
+
s.date = %q{2008-12-02}
|
10
|
+
s.description = %q{Library for interfacing with Tourplan's hostConnect software, which is a web service interface for tour booking.}
|
11
|
+
s.email = %q{}
|
12
|
+
s.extra_rdoc_files = ["README.markdown", "CHANGELOG", "lib/hostconnect.rb", "lib/hostconnect/builders/agent_info_builder.rb", "lib/hostconnect/builders/pax_details_builder.rb", "lib/hostconnect/builders/record_booking_payment_builder.rb", "lib/hostconnect/builders/add_service_builder.rb", "lib/hostconnect/builders/room_config_builder.rb", "lib/hostconnect/builders/get_booking_builder.rb", "lib/hostconnect/builders/get_services_builder.rb", "lib/hostconnect/builders/get_system_settings_builder.rb", "lib/hostconnect/builders/get_locations_builder.rb", "lib/hostconnect/builders/new_booking_info_builder.rb", "lib/hostconnect/builders/suppler_info_builder.rb", "lib/hostconnect/builders/list_bookings_builder.rb", "lib/hostconnect/builders/option_info_builder.rb", "lib/hostconnect/builders/get_booking_payment_summary_builder.rb", "lib/hostconnect/builders/service_line_note_builder.rb", "lib/hostconnect/builders/ping_builder.rb", "lib/hostconnect/coercion.rb", "lib/hostconnect/core_extensions/string.rb", "lib/hostconnect/core_extensions/symbol.rb", "lib/hostconnect/translation.rb", "lib/hostconnect/responses/agent_info.rb", "lib/hostconnect/responses/get_services.rb", "lib/hostconnect/responses/list_bookings.rb", "lib/hostconnect/responses/get_locations.rb", "lib/hostconnect/responses/get_booking.rb", "lib/hostconnect/responses/record_booking_payment.rb", "lib/hostconnect/responses/option_info.rb", "lib/hostconnect/responses/get_booking_payment_summary.rb", "lib/hostconnect/responses/add_service.rb", "lib/hostconnect/responses/supplier_info.rb", "lib/hostconnect/responses/get_system_settings.rb", "lib/hostconnect/responses/ping.rb", "lib/hostconnect/rtf_document.rb", "lib/hostconnect/builder.rb", "lib/hostconnect/client.rb", "lib/hostconnect/response.rb"]
|
13
|
+
s.files = ["Rakefile", "README.markdown", "CHANGELOG", "hostconnect.gemspec", "lib/hostconnect.rb", "lib/hostconnect/builders/agent_info_builder.rb", "lib/hostconnect/builders/pax_details_builder.rb", "lib/hostconnect/builders/record_booking_payment_builder.rb", "lib/hostconnect/builders/add_service_builder.rb", "lib/hostconnect/builders/room_config_builder.rb", "lib/hostconnect/builders/get_booking_builder.rb", "lib/hostconnect/builders/get_services_builder.rb", "lib/hostconnect/builders/get_system_settings_builder.rb", "lib/hostconnect/builders/get_locations_builder.rb", "lib/hostconnect/builders/new_booking_info_builder.rb", "lib/hostconnect/builders/suppler_info_builder.rb", "lib/hostconnect/builders/list_bookings_builder.rb", "lib/hostconnect/builders/option_info_builder.rb", "lib/hostconnect/builders/get_booking_payment_summary_builder.rb", "lib/hostconnect/builders/service_line_note_builder.rb", "lib/hostconnect/builders/ping_builder.rb", "lib/hostconnect/coercion.rb", "lib/hostconnect/core_extensions/string.rb", "lib/hostconnect/core_extensions/symbol.rb", "lib/hostconnect/translation.rb", "lib/hostconnect/responses/agent_info.rb", "lib/hostconnect/responses/get_services.rb", "lib/hostconnect/responses/list_bookings.rb", "lib/hostconnect/responses/get_locations.rb", "lib/hostconnect/responses/get_booking.rb", "lib/hostconnect/responses/record_booking_payment.rb", "lib/hostconnect/responses/option_info.rb", "lib/hostconnect/responses/get_booking_payment_summary.rb", "lib/hostconnect/responses/add_service.rb", "lib/hostconnect/responses/supplier_info.rb", "lib/hostconnect/responses/get_system_settings.rb", "lib/hostconnect/responses/ping.rb", "lib/hostconnect/rtf_document.rb", "lib/hostconnect/builder.rb", "lib/hostconnect/client.rb", "lib/hostconnect/response.rb", "MIT-LICENSE", "spec/builders/new_booking_info_builder_spec.rb", "spec/builders/ping_builder_spec.rb", "spec/builders/get_locations_builder_spec.rb", "spec/builders/add_service_builder_spec.rb", "spec/builders/room_config_builder_spec.rb", "spec/builders/option_info_builder_spec.rb", "spec/builders/agent_info_builder_spec.rb", "spec/builders/pax_details_builder_spec.rb", "spec/spec_helper.rb", "spec/fixtures/requests/ping.xml", "spec/fixtures/requests/agent_info.xml", "spec/fixtures/requests/option_info/hotel_search_total_stay_price.xml", "spec/fixtures/requests/option_info/option_number.xml", "spec/fixtures/requests/option_info/hotel_search.xml", "spec/fixtures/requests/get_locations.xml", "spec/fixtures/requests/add_service_request/hotel_booking.xml", "spec/fixtures/responses/ping.xml", "spec/fixtures/responses/agent_info.xml", "spec/fixtures/responses/agent_info_error.xml", "spec/fixtures/responses/get_booking.xml", "spec/fixtures/responses/option_info/tours.xml", "spec/fixtures/responses/option_info/hotel_search_with_stay_price.xml", "spec/fixtures/responses/option_info/option_number.xml", "spec/fixtures/responses/option_info/hotel_price.xml", "spec/fixtures/responses/option_info/hotel_search.xml", "spec/fixtures/responses/get_system_settings.xml", "spec/fixtures/responses/add_service.xml", "spec/fixtures/responses/get_locations.xml", "spec/client_spec.rb", "spec/core_extensions_spec.rb", "spec/responses/get_booking_spec.rb", "spec/responses/get_system_settings_spec.rb", "spec/responses/agent_info_spec.rb", "spec/responses/option_info_spec.rb", "spec/responses/add_service_spec.rb", "spec/responses/ping_spec.rb", "spec/responses/get_locations_spec.rb", "spec/translation_spec.rb", "spec/coercion_spec.rb", "Manifest"]
|
14
|
+
s.has_rdoc = true
|
15
|
+
s.homepage = %q{http://www.github.com/Chrononaut/hostconnect/}
|
16
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hostconnect", "--main", "README.markdown"]
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubyforge_project = %q{hostconnect}
|
19
|
+
s.rubygems_version = %q{1.3.1}
|
20
|
+
s.summary = %q{Library for interfacing with Tourplan's hostConnect software, which is a web service interface for tour booking.}
|
69
21
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
- lib/hostconnect/builders/add_service_builder.rb
|
74
|
-
- lib/hostconnect/builders/agent_info_builder.rb
|
75
|
-
- lib/hostconnect/builders/get_booking_builder.rb
|
76
|
-
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
77
|
-
- lib/hostconnect/builders/get_locations_builder.rb
|
78
|
-
- lib/hostconnect/builders/get_services_builder.rb
|
79
|
-
- lib/hostconnect/builders/get_system_settings_builder.rb
|
80
|
-
- lib/hostconnect/builders/list_bookings_builder.rb
|
81
|
-
- lib/hostconnect/builders/new_booking_info_builder.rb
|
82
|
-
- lib/hostconnect/builders/option_info_builder.rb
|
83
|
-
- lib/hostconnect/builders/pax_details_builder.rb
|
84
|
-
- lib/hostconnect/builders/ping_builder.rb
|
85
|
-
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
86
|
-
- lib/hostconnect/builders/room_config_builder.rb
|
87
|
-
- lib/hostconnect/builders/service_line_note_builder.rb
|
88
|
-
- lib/hostconnect/builders/suppler_info_builder.rb
|
89
|
-
- lib/hostconnect/client.rb
|
90
|
-
- lib/hostconnect/coercion.rb
|
91
|
-
- lib/hostconnect/core_extensions/string.rb
|
92
|
-
- lib/hostconnect/core_extensions/symbol.rb
|
93
|
-
- lib/hostconnect/response.rb
|
94
|
-
- lib/hostconnect/responses/add_service.rb
|
95
|
-
- lib/hostconnect/responses/agent_info.rb
|
96
|
-
- lib/hostconnect/responses/get_booking.rb
|
97
|
-
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
98
|
-
- lib/hostconnect/responses/get_locations.rb
|
99
|
-
- lib/hostconnect/responses/get_services.rb
|
100
|
-
- lib/hostconnect/responses/get_system_settings.rb
|
101
|
-
- lib/hostconnect/responses/list_bookings.rb
|
102
|
-
- lib/hostconnect/responses/option_info.rb
|
103
|
-
- lib/hostconnect/responses/ping.rb
|
104
|
-
- lib/hostconnect/responses/record_booking_payment.rb
|
105
|
-
- lib/hostconnect/responses/supplier_info.rb
|
106
|
-
- lib/hostconnect/rtf_document.rb
|
107
|
-
- lib/hostconnect/translation.rb
|
108
|
-
- lib/hostconnect.rb
|
109
|
-
- README.markdown
|
110
|
-
files:
|
111
|
-
- CHANGELOG
|
112
|
-
- lib/hostconnect/builder.rb
|
113
|
-
- lib/hostconnect/builders/add_service_builder.rb
|
114
|
-
- lib/hostconnect/builders/agent_info_builder.rb
|
115
|
-
- lib/hostconnect/builders/get_booking_builder.rb
|
116
|
-
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
117
|
-
- lib/hostconnect/builders/get_locations_builder.rb
|
118
|
-
- lib/hostconnect/builders/get_services_builder.rb
|
119
|
-
- lib/hostconnect/builders/get_system_settings_builder.rb
|
120
|
-
- lib/hostconnect/builders/list_bookings_builder.rb
|
121
|
-
- lib/hostconnect/builders/new_booking_info_builder.rb
|
122
|
-
- lib/hostconnect/builders/option_info_builder.rb
|
123
|
-
- lib/hostconnect/builders/pax_details_builder.rb
|
124
|
-
- lib/hostconnect/builders/ping_builder.rb
|
125
|
-
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
126
|
-
- lib/hostconnect/builders/room_config_builder.rb
|
127
|
-
- lib/hostconnect/builders/service_line_note_builder.rb
|
128
|
-
- lib/hostconnect/builders/suppler_info_builder.rb
|
129
|
-
- lib/hostconnect/client.rb
|
130
|
-
- lib/hostconnect/coercion.rb
|
131
|
-
- lib/hostconnect/core_extensions/string.rb
|
132
|
-
- lib/hostconnect/core_extensions/symbol.rb
|
133
|
-
- lib/hostconnect/response.rb
|
134
|
-
- lib/hostconnect/responses/add_service.rb
|
135
|
-
- lib/hostconnect/responses/agent_info.rb
|
136
|
-
- lib/hostconnect/responses/get_booking.rb
|
137
|
-
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
138
|
-
- lib/hostconnect/responses/get_locations.rb
|
139
|
-
- lib/hostconnect/responses/get_services.rb
|
140
|
-
- lib/hostconnect/responses/get_system_settings.rb
|
141
|
-
- lib/hostconnect/responses/list_bookings.rb
|
142
|
-
- lib/hostconnect/responses/option_info.rb
|
143
|
-
- lib/hostconnect/responses/ping.rb
|
144
|
-
- lib/hostconnect/responses/record_booking_payment.rb
|
145
|
-
- lib/hostconnect/responses/supplier_info.rb
|
146
|
-
- lib/hostconnect/rtf_document.rb
|
147
|
-
- lib/hostconnect/translation.rb
|
148
|
-
- lib/hostconnect.rb
|
149
|
-
- MIT-LICENSE
|
150
|
-
- Rakefile
|
151
|
-
- README.markdown
|
152
|
-
- spec/builders/add_service_builder_spec.rb
|
153
|
-
- spec/builders/agent_info_builder_spec.rb
|
154
|
-
- spec/builders/get_locations_builder_spec.rb
|
155
|
-
- spec/builders/new_booking_info_builder_spec.rb
|
156
|
-
- spec/builders/option_info_builder_spec.rb
|
157
|
-
- spec/builders/pax_details_builder_spec.rb
|
158
|
-
- spec/builders/ping_builder_spec.rb
|
159
|
-
- spec/builders/room_config_builder_spec.rb
|
160
|
-
- spec/client_spec.rb
|
161
|
-
- spec/coercion_spec.rb
|
162
|
-
- spec/core_extensions_spec.rb
|
163
|
-
- spec/fixtures/requests/add_service_request/hotel_booking.xml
|
164
|
-
- spec/fixtures/requests/agent_info.xml
|
165
|
-
- spec/fixtures/requests/get_locations.xml
|
166
|
-
- spec/fixtures/requests/option_info/hotel_search.xml
|
167
|
-
- spec/fixtures/requests/option_info/hotel_search_total_stay_price.xml
|
168
|
-
- spec/fixtures/requests/option_info/option_number.xml
|
169
|
-
- spec/fixtures/requests/ping.xml
|
170
|
-
- spec/fixtures/responses/add_service.xml
|
171
|
-
- spec/fixtures/responses/agent_info.xml
|
172
|
-
- spec/fixtures/responses/agent_info_error.xml
|
173
|
-
- spec/fixtures/responses/get_booking.xml
|
174
|
-
- spec/fixtures/responses/get_locations.xml
|
175
|
-
- spec/fixtures/responses/get_system_settings.xml
|
176
|
-
- spec/fixtures/responses/option_info/hotel_price.xml
|
177
|
-
- spec/fixtures/responses/option_info/hotel_search.xml
|
178
|
-
- spec/fixtures/responses/option_info/hotel_search_with_stay_price.xml
|
179
|
-
- spec/fixtures/responses/option_info/option_number.xml
|
180
|
-
- spec/fixtures/responses/option_info/tours.xml
|
181
|
-
- spec/fixtures/responses/ping.xml
|
182
|
-
- spec/responses/add_service_spec.rb
|
183
|
-
- spec/responses/agent_info_spec.rb
|
184
|
-
- spec/responses/get_booking_spec.rb
|
185
|
-
- spec/responses/get_locations_spec.rb
|
186
|
-
- spec/responses/get_system_settings_spec.rb
|
187
|
-
- spec/responses/option_info_spec.rb
|
188
|
-
- spec/responses/ping_spec.rb
|
189
|
-
- spec/spec_helper.rb
|
190
|
-
- spec/translation_spec.rb
|
191
|
-
- Manifest
|
192
|
-
- hostconnect.gemspec
|
193
|
-
has_rdoc: true
|
194
|
-
homepage: http://www.github.com/Chrononaut/hostconnect/
|
195
|
-
post_install_message:
|
196
|
-
rdoc_options:
|
197
|
-
- --line-numbers
|
198
|
-
- --inline-source
|
199
|
-
- --title
|
200
|
-
- Hostconnect
|
201
|
-
- --main
|
202
|
-
- README.markdown
|
203
|
-
require_paths:
|
204
|
-
- lib
|
205
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ">="
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: "0"
|
210
|
-
version:
|
211
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: "1.2"
|
216
|
-
version:
|
217
|
-
requirements: []
|
22
|
+
if s.respond_to? :specification_version then
|
23
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
24
|
+
s.specification_version = 2
|
218
25
|
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
26
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
27
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
28
|
+
s.add_runtime_dependency(%q<hpricot>, [">= 0"])
|
29
|
+
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
30
|
+
s.add_runtime_dependency(%q<rtf>, [">= 0"])
|
31
|
+
s.add_development_dependency(%q<echoe>, [">= 0"])
|
32
|
+
else
|
33
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
34
|
+
s.add_dependency(%q<hpricot>, [">= 0"])
|
35
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
36
|
+
s.add_dependency(%q<rtf>, [">= 0"])
|
37
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
38
|
+
end
|
39
|
+
else
|
40
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
41
|
+
s.add_dependency(%q<hpricot>, [">= 0"])
|
42
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
43
|
+
s.add_dependency(%q<rtf>, [">= 0"])
|
44
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
45
|
+
end
|
46
|
+
end
|
data/lib/hostconnect.rb
CHANGED
@@ -4,7 +4,7 @@ module HostConnect
|
|
4
4
|
# who made the booking.
|
5
5
|
class GetBookingBuilder < AbstractBuilder
|
6
6
|
def initialize(options = {})
|
7
|
-
@valid_options = [ :agent_id, :password, :booking_id ].freeze
|
7
|
+
@valid_options = [ :agent_id, :password, :booking_id, :ref ].freeze
|
8
8
|
super(options)
|
9
9
|
end
|
10
10
|
|
@@ -14,7 +14,8 @@ module HostConnect
|
|
14
14
|
x.GetBookingRequest {
|
15
15
|
x.AgentID @agent_id
|
16
16
|
x.Password @password
|
17
|
-
x.BookingId @booking_id
|
17
|
+
x.BookingId @booking_id if @booking_id
|
18
|
+
x.Ref @ref if @ref
|
18
19
|
}
|
19
20
|
}
|
20
21
|
x
|
data/lib/hostconnect/coercion.rb
CHANGED
@@ -38,14 +38,13 @@ module HostConnect
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
#
|
42
|
-
# which probably is too general for regexp. I.e "2310"
|
41
|
+
# Time strings are i.e "2310"
|
43
42
|
def self.time(string)
|
44
43
|
Time.parse(string[0,2] << ":" << string[2,4])
|
45
44
|
end
|
46
45
|
|
47
46
|
def self.price(string)
|
48
|
-
|
47
|
+
(string.to_f / 100).round
|
49
48
|
end
|
50
49
|
end
|
51
50
|
end
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Chrononaut-hostconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Bj\xC3\xB8rn Arild M\xC3\xA6land"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-12-02 00:00:00 -08:00
|
12
13
|
default_executable:
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: activesupport
|
16
|
-
type: :runtime
|
17
17
|
version_requirement:
|
18
18
|
version_requirements: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
@@ -23,7 +23,6 @@ dependencies:
|
|
23
23
|
version:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: hpricot
|
26
|
-
type: :runtime
|
27
26
|
version_requirement:
|
28
27
|
version_requirements: !ruby/object:Gem::Requirement
|
29
28
|
requirements:
|
@@ -33,7 +32,6 @@ dependencies:
|
|
33
32
|
version:
|
34
33
|
- !ruby/object:Gem::Dependency
|
35
34
|
name: builder
|
36
|
-
type: :runtime
|
37
35
|
version_requirement:
|
38
36
|
version_requirements: !ruby/object:Gem::Requirement
|
39
37
|
requirements:
|
@@ -43,7 +41,6 @@ dependencies:
|
|
43
41
|
version:
|
44
42
|
- !ruby/object:Gem::Dependency
|
45
43
|
name: rtf
|
46
|
-
type: :runtime
|
47
44
|
version_requirement:
|
48
45
|
version_requirements: !ruby/object:Gem::Requirement
|
49
46
|
requirements:
|
@@ -53,7 +50,6 @@ dependencies:
|
|
53
50
|
version:
|
54
51
|
- !ruby/object:Gem::Dependency
|
55
52
|
name: echoe
|
56
|
-
type: :development
|
57
53
|
version_requirement:
|
58
54
|
version_requirements: !ruby/object:Gem::Requirement
|
59
55
|
requirements:
|
@@ -68,128 +64,128 @@ executables: []
|
|
68
64
|
extensions: []
|
69
65
|
|
70
66
|
extra_rdoc_files:
|
67
|
+
- README.markdown
|
71
68
|
- CHANGELOG
|
72
|
-
- lib/hostconnect
|
73
|
-
- lib/hostconnect/builders/add_service_builder.rb
|
69
|
+
- lib/hostconnect.rb
|
74
70
|
- lib/hostconnect/builders/agent_info_builder.rb
|
71
|
+
- lib/hostconnect/builders/pax_details_builder.rb
|
72
|
+
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
73
|
+
- lib/hostconnect/builders/add_service_builder.rb
|
74
|
+
- lib/hostconnect/builders/room_config_builder.rb
|
75
75
|
- lib/hostconnect/builders/get_booking_builder.rb
|
76
|
-
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
77
|
-
- lib/hostconnect/builders/get_locations_builder.rb
|
78
76
|
- lib/hostconnect/builders/get_services_builder.rb
|
79
77
|
- lib/hostconnect/builders/get_system_settings_builder.rb
|
80
|
-
- lib/hostconnect/builders/
|
78
|
+
- lib/hostconnect/builders/get_locations_builder.rb
|
81
79
|
- lib/hostconnect/builders/new_booking_info_builder.rb
|
80
|
+
- lib/hostconnect/builders/suppler_info_builder.rb
|
81
|
+
- lib/hostconnect/builders/list_bookings_builder.rb
|
82
82
|
- lib/hostconnect/builders/option_info_builder.rb
|
83
|
-
- lib/hostconnect/builders/
|
84
|
-
- lib/hostconnect/builders/ping_builder.rb
|
85
|
-
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
86
|
-
- lib/hostconnect/builders/room_config_builder.rb
|
83
|
+
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
87
84
|
- lib/hostconnect/builders/service_line_note_builder.rb
|
88
|
-
- lib/hostconnect/builders/
|
89
|
-
- lib/hostconnect/client.rb
|
85
|
+
- lib/hostconnect/builders/ping_builder.rb
|
90
86
|
- lib/hostconnect/coercion.rb
|
91
87
|
- lib/hostconnect/core_extensions/string.rb
|
92
88
|
- lib/hostconnect/core_extensions/symbol.rb
|
93
|
-
- lib/hostconnect/
|
94
|
-
- lib/hostconnect/responses/add_service.rb
|
89
|
+
- lib/hostconnect/translation.rb
|
95
90
|
- lib/hostconnect/responses/agent_info.rb
|
96
|
-
- lib/hostconnect/responses/get_booking.rb
|
97
|
-
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
98
|
-
- lib/hostconnect/responses/get_locations.rb
|
99
91
|
- lib/hostconnect/responses/get_services.rb
|
100
|
-
- lib/hostconnect/responses/get_system_settings.rb
|
101
92
|
- lib/hostconnect/responses/list_bookings.rb
|
102
|
-
- lib/hostconnect/responses/
|
103
|
-
- lib/hostconnect/responses/
|
93
|
+
- lib/hostconnect/responses/get_locations.rb
|
94
|
+
- lib/hostconnect/responses/get_booking.rb
|
104
95
|
- lib/hostconnect/responses/record_booking_payment.rb
|
96
|
+
- lib/hostconnect/responses/option_info.rb
|
97
|
+
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
98
|
+
- lib/hostconnect/responses/add_service.rb
|
105
99
|
- lib/hostconnect/responses/supplier_info.rb
|
100
|
+
- lib/hostconnect/responses/get_system_settings.rb
|
101
|
+
- lib/hostconnect/responses/ping.rb
|
106
102
|
- lib/hostconnect/rtf_document.rb
|
107
|
-
- lib/hostconnect/
|
108
|
-
- lib/hostconnect.rb
|
109
|
-
-
|
103
|
+
- lib/hostconnect/builder.rb
|
104
|
+
- lib/hostconnect/client.rb
|
105
|
+
- lib/hostconnect/response.rb
|
110
106
|
files:
|
107
|
+
- Rakefile
|
108
|
+
- README.markdown
|
111
109
|
- CHANGELOG
|
112
|
-
-
|
113
|
-
- lib/hostconnect
|
110
|
+
- hostconnect.gemspec
|
111
|
+
- lib/hostconnect.rb
|
114
112
|
- lib/hostconnect/builders/agent_info_builder.rb
|
113
|
+
- lib/hostconnect/builders/pax_details_builder.rb
|
114
|
+
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
115
|
+
- lib/hostconnect/builders/add_service_builder.rb
|
116
|
+
- lib/hostconnect/builders/room_config_builder.rb
|
115
117
|
- lib/hostconnect/builders/get_booking_builder.rb
|
116
|
-
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
117
|
-
- lib/hostconnect/builders/get_locations_builder.rb
|
118
118
|
- lib/hostconnect/builders/get_services_builder.rb
|
119
119
|
- lib/hostconnect/builders/get_system_settings_builder.rb
|
120
|
-
- lib/hostconnect/builders/
|
120
|
+
- lib/hostconnect/builders/get_locations_builder.rb
|
121
121
|
- lib/hostconnect/builders/new_booking_info_builder.rb
|
122
|
+
- lib/hostconnect/builders/suppler_info_builder.rb
|
123
|
+
- lib/hostconnect/builders/list_bookings_builder.rb
|
122
124
|
- lib/hostconnect/builders/option_info_builder.rb
|
123
|
-
- lib/hostconnect/builders/
|
124
|
-
- lib/hostconnect/builders/ping_builder.rb
|
125
|
-
- lib/hostconnect/builders/record_booking_payment_builder.rb
|
126
|
-
- lib/hostconnect/builders/room_config_builder.rb
|
125
|
+
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
|
127
126
|
- lib/hostconnect/builders/service_line_note_builder.rb
|
128
|
-
- lib/hostconnect/builders/
|
129
|
-
- lib/hostconnect/client.rb
|
127
|
+
- lib/hostconnect/builders/ping_builder.rb
|
130
128
|
- lib/hostconnect/coercion.rb
|
131
129
|
- lib/hostconnect/core_extensions/string.rb
|
132
130
|
- lib/hostconnect/core_extensions/symbol.rb
|
133
|
-
- lib/hostconnect/
|
134
|
-
- lib/hostconnect/responses/add_service.rb
|
131
|
+
- lib/hostconnect/translation.rb
|
135
132
|
- lib/hostconnect/responses/agent_info.rb
|
136
|
-
- lib/hostconnect/responses/get_booking.rb
|
137
|
-
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
138
|
-
- lib/hostconnect/responses/get_locations.rb
|
139
133
|
- lib/hostconnect/responses/get_services.rb
|
140
|
-
- lib/hostconnect/responses/get_system_settings.rb
|
141
134
|
- lib/hostconnect/responses/list_bookings.rb
|
142
|
-
- lib/hostconnect/responses/
|
143
|
-
- lib/hostconnect/responses/
|
135
|
+
- lib/hostconnect/responses/get_locations.rb
|
136
|
+
- lib/hostconnect/responses/get_booking.rb
|
144
137
|
- lib/hostconnect/responses/record_booking_payment.rb
|
138
|
+
- lib/hostconnect/responses/option_info.rb
|
139
|
+
- lib/hostconnect/responses/get_booking_payment_summary.rb
|
140
|
+
- lib/hostconnect/responses/add_service.rb
|
145
141
|
- lib/hostconnect/responses/supplier_info.rb
|
142
|
+
- lib/hostconnect/responses/get_system_settings.rb
|
143
|
+
- lib/hostconnect/responses/ping.rb
|
146
144
|
- lib/hostconnect/rtf_document.rb
|
147
|
-
- lib/hostconnect/
|
148
|
-
- lib/hostconnect.rb
|
145
|
+
- lib/hostconnect/builder.rb
|
146
|
+
- lib/hostconnect/client.rb
|
147
|
+
- lib/hostconnect/response.rb
|
149
148
|
- MIT-LICENSE
|
150
|
-
- Rakefile
|
151
|
-
- README.markdown
|
152
|
-
- spec/builders/add_service_builder_spec.rb
|
153
|
-
- spec/builders/agent_info_builder_spec.rb
|
154
|
-
- spec/builders/get_locations_builder_spec.rb
|
155
149
|
- spec/builders/new_booking_info_builder_spec.rb
|
156
|
-
- spec/builders/option_info_builder_spec.rb
|
157
|
-
- spec/builders/pax_details_builder_spec.rb
|
158
150
|
- spec/builders/ping_builder_spec.rb
|
151
|
+
- spec/builders/get_locations_builder_spec.rb
|
152
|
+
- spec/builders/add_service_builder_spec.rb
|
159
153
|
- spec/builders/room_config_builder_spec.rb
|
160
|
-
- spec/
|
161
|
-
- spec/
|
162
|
-
- spec/
|
163
|
-
- spec/
|
154
|
+
- spec/builders/option_info_builder_spec.rb
|
155
|
+
- spec/builders/agent_info_builder_spec.rb
|
156
|
+
- spec/builders/pax_details_builder_spec.rb
|
157
|
+
- spec/spec_helper.rb
|
158
|
+
- spec/fixtures/requests/ping.xml
|
164
159
|
- spec/fixtures/requests/agent_info.xml
|
165
|
-
- spec/fixtures/requests/get_locations.xml
|
166
|
-
- spec/fixtures/requests/option_info/hotel_search.xml
|
167
160
|
- spec/fixtures/requests/option_info/hotel_search_total_stay_price.xml
|
168
161
|
- spec/fixtures/requests/option_info/option_number.xml
|
169
|
-
- spec/fixtures/requests/
|
170
|
-
- spec/fixtures/
|
162
|
+
- spec/fixtures/requests/option_info/hotel_search.xml
|
163
|
+
- spec/fixtures/requests/get_locations.xml
|
164
|
+
- spec/fixtures/requests/add_service_request/hotel_booking.xml
|
165
|
+
- spec/fixtures/responses/ping.xml
|
171
166
|
- spec/fixtures/responses/agent_info.xml
|
172
167
|
- spec/fixtures/responses/agent_info_error.xml
|
173
168
|
- spec/fixtures/responses/get_booking.xml
|
174
|
-
- spec/fixtures/responses/
|
175
|
-
- spec/fixtures/responses/get_system_settings.xml
|
176
|
-
- spec/fixtures/responses/option_info/hotel_price.xml
|
177
|
-
- spec/fixtures/responses/option_info/hotel_search.xml
|
169
|
+
- spec/fixtures/responses/option_info/tours.xml
|
178
170
|
- spec/fixtures/responses/option_info/hotel_search_with_stay_price.xml
|
179
171
|
- spec/fixtures/responses/option_info/option_number.xml
|
180
|
-
- spec/fixtures/responses/option_info/
|
181
|
-
- spec/fixtures/responses/
|
182
|
-
- spec/responses/
|
183
|
-
- spec/responses/
|
172
|
+
- spec/fixtures/responses/option_info/hotel_price.xml
|
173
|
+
- spec/fixtures/responses/option_info/hotel_search.xml
|
174
|
+
- spec/fixtures/responses/get_system_settings.xml
|
175
|
+
- spec/fixtures/responses/add_service.xml
|
176
|
+
- spec/fixtures/responses/get_locations.xml
|
177
|
+
- spec/client_spec.rb
|
178
|
+
- spec/core_extensions_spec.rb
|
184
179
|
- spec/responses/get_booking_spec.rb
|
185
|
-
- spec/responses/get_locations_spec.rb
|
186
180
|
- spec/responses/get_system_settings_spec.rb
|
181
|
+
- spec/responses/agent_info_spec.rb
|
187
182
|
- spec/responses/option_info_spec.rb
|
183
|
+
- spec/responses/add_service_spec.rb
|
188
184
|
- spec/responses/ping_spec.rb
|
189
|
-
- spec/
|
185
|
+
- spec/responses/get_locations_spec.rb
|
190
186
|
- spec/translation_spec.rb
|
187
|
+
- spec/coercion_spec.rb
|
191
188
|
- Manifest
|
192
|
-
- hostconnect.gemspec
|
193
189
|
has_rdoc: true
|
194
190
|
homepage: http://www.github.com/Chrononaut/hostconnect/
|
195
191
|
post_install_message:
|