tourico 0.0.7.2 → 0.0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33f91b6c9a8ac5b1a56390f189e649517544e6d4
4
- data.tar.gz: 6ad90cebd5b1427c1cad476d5e2bc062f0864125
3
+ metadata.gz: 5bf8919171c1c01b904aaefe21e7013172faefe3
4
+ data.tar.gz: f88a3301418e0684485297f5a679cc2bc3f51ad5
5
5
  SHA512:
6
- metadata.gz: e115456242297bfe9822e7d1697db78c20b7d655bc82e5a1bde8018bd336de6e8354de3b49220108dd87c12995be464bc4bfc94646fe46b5b789a5df65ce98fd
7
- data.tar.gz: 67b9df15361f679f71818bc8ed971d6fdc183d0a33821a402115232146486d8e048cfe9ee6dc77f18956c0419345fdf88e77cfce8758b5edb752e59e7b597f49
6
+ metadata.gz: d9d1743f5a24513346d8d58e3df61336cc0ee9ecaa29da4ed610bac9817baa1fcab1d324b8d15c902b83dfe4d3c36d73a5ea843f6e133dfeb018ac14c40a6046
7
+ data.tar.gz: 6166fb151d47a9f98e4065e1f6704d8e4c7495cb4deb9127d038a881da507224c3cd88da74f67e93164118a3107970a0777c54305e99c6193d7118c00190fe19
data/.gitignore CHANGED
@@ -13,4 +13,6 @@ capybara-*.html
13
13
  /spec/tmp/*
14
14
  **.orig
15
15
  rerun.txt
16
- pickle-email-*.html
16
+ pickle-email-*.html
17
+ .idea/*
18
+ .idea/workspace.xml
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tourico (0.0.7.2)
4
+ tourico (0.0.7.3)
5
5
  savon (~> 2.5.0)
6
6
 
7
7
  GEM
@@ -17,10 +17,12 @@ GEM
17
17
  httpi (2.1.0)
18
18
  rack
19
19
  rubyntlm (~> 0.3.2)
20
+ macaddr (1.7.1)
21
+ systemu (~> 2.6.2)
20
22
  mime-types (1.25.1)
21
- mini_portile (0.5.3)
22
- nokogiri (1.6.1)
23
- mini_portile (~> 0.5.0)
23
+ mini_portile (0.6.0)
24
+ nokogiri (1.6.2.1)
25
+ mini_portile (= 0.6.0)
24
26
  nori (2.4.0)
25
27
  rack (1.5.2)
26
28
  rake (10.1.1)
@@ -33,14 +35,18 @@ GEM
33
35
  diff-lcs (>= 1.1.3, < 2.0)
34
36
  rspec-mocks (2.14.4)
35
37
  rubyntlm (0.3.4)
36
- savon (2.5.0)
38
+ savon (2.5.1)
37
39
  akami (~> 1.2.0)
38
40
  builder (>= 2.1.2)
39
41
  gyoku (~> 1.1.0)
40
42
  httpi (~> 2.1.0)
41
43
  nokogiri (>= 1.4.0)
42
44
  nori (~> 2.4.0)
45
+ uuid (~> 2.3.7)
43
46
  wasabi (~> 3.3.0)
47
+ systemu (2.6.4)
48
+ uuid (2.3.7)
49
+ macaddr (~> 1.0)
44
50
  wasabi (3.3.0)
45
51
  httpi (~> 2.0)
46
52
  mime-types (< 2.0.0)
@@ -38,18 +38,18 @@ module Tourico
38
38
  client = Savon.client do
39
39
  log Tourico.show_logs
40
40
  wsdl Tourico.reservation_service_link
41
- soap_header 'aut:AuthenticationHeader' => {
42
- 'aut:LoginName' => Tourico.login_name,
43
- 'aut:Password' => Tourico.password,
44
- 'aut:Culture' => Tourico.culture,
45
- 'aut:Version' => Tourico.reservations_service_version
41
+ soap_header 'web:LoginHeader' => {
42
+ 'trav:username' => Tourico.login_name,
43
+ 'trav:password' => Tourico.password,
44
+ 'trav:culture' => Tourico.culture,
45
+ 'trav:version' => Tourico.reservations_service_version
46
46
  }
47
47
  namespaces(
48
- 'xmlns:env' => 'http://www.w3.org/2003/05/soap-envelope',
49
- 'xmlns:web' => 'http://tourico.com/webservices/',
50
- 'xmlns:hot' => 'http://tourico.com/webservices/',
51
- 'xmlns:wsdl' => 'http://tourico.com/webservices/',
52
- 'xmlns:trav' => 'http://tourico.com/travelservices/')
48
+ 'xmlns:env' => 'http://schemas.xmlsoap.org/soap/envelope/',
49
+ 'xmlns:web' => 'http://tourico.com/webservices/',
50
+ 'xmlns:hot' => 'http://tourico.com/webservices/',
51
+ 'xmlns:wsdl' => 'http://tourico.com/webservices/',
52
+ 'xmlns:trav' => 'http://tourico.com/travelservices/')
53
53
  end
54
54
 
55
55
  response = client.call(action, message: args)
@@ -1,3 +1,3 @@
1
1
  module Tourico
2
- VERSION = '0.0.7.2'
2
+ VERSION = '0.0.7.3'
3
3
  end
@@ -65,8 +65,8 @@ describe Tourico::Api do
65
65
  #'web:nResID' => '',
66
66
  'web:hotelId' =>'2210',
67
67
  'web:hotelRoomTypeId' => '5437',
68
- 'web:dtCheckIn' => '2013-08-28',
69
- 'web:dtCheckOut' => '2013-08-29'
68
+ 'web:dtCheckIn' => '2014-08-28',
69
+ 'web:dtCheckOut' => '2014-08-29'
70
70
  }
71
71
 
72
72
  api.get_cancellation_policy(args).should_not be_nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tourico
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.2
4
+ version: 0.0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitali Margolin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-04 00:00:00.000000000 Z
11
+ date: 2014-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -70,7 +70,6 @@ files:
70
70
  - lib/tourico/api.rb
71
71
  - lib/tourico/http_service.rb
72
72
  - lib/tourico/version.rb
73
- - pkg/tourico-0.0.1.gem
74
73
  - spec/models/api_spec.rb
75
74
  - spec/spec_helper.rb
76
75
  - spec/tourico_spec.rb
Binary file