ws_cee_client 0.1.5 → 0.1.7

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: b1ef5682e3fc01d3b63bbd49f4cb647017b18569
4
- data.tar.gz: 00446be0c4deb64dd20057f41337f97987260be3
3
+ metadata.gz: fef24554f82a0fc353047a6da6271bd93fbb4ebe
4
+ data.tar.gz: 6b07f97f2b08bbbd2a1b2bd905380c276afe57c9
5
5
  SHA512:
6
- metadata.gz: 81d1ad9e7a3e46dd72f3769bcabe7582abb9ecd8d83ab3ab2fd65949558d86fba20ed8a4e9fc264627d70f6a13506611abc1dda427ae99f8eadb4cb4cff65e37
7
- data.tar.gz: d84cfcc3d69f25455376309517332dfb16eebc444e5d796eea6f76acfa2990eb6fb08e4304f55d7670e729292a9605c124cd881ae7b6582cb05e9e4dd50d1d94
6
+ metadata.gz: 28634fd1184c8d55542b47c2428edc1468851cbf23d13f0adb1888a9ff7491460247a9fad8d90e97456c84ceb99410b63b905ee060dab35c47d77754a76a19c2
7
+ data.tar.gz: 61285abdbee54e5cffab82328cf35605c62ed3fc2c69554b42a5eafc47f16bef6acf18aed0ef6b00703bd378078002d5cefddf653b60cb2f497db401df1726ae
@@ -1,3 +1,3 @@
1
1
  module WsCee
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.7'
3
3
  end
data/lib/ws_cee_client.rb CHANGED
@@ -22,10 +22,10 @@ module WsCee
22
22
  @password = options[:password]
23
23
  @proxy = options[:proxy]
24
24
 
25
- @savon = Savon.client do
26
- wsdl options[:testing] ? WS_CEE_TESTING_URL : WS_CEE_PRODUCTION_URL
27
- proxy @proxy if !@proxy.nil? && !@proxy.empty?
28
- end
25
+ savon_options = { wsdl: (options[:testing] ? WS_CEE_TESTING_URL : WS_CEE_PRODUCTION_URL) }
26
+ savon_options.merge!({ proxy: @proxy }) if !@proxy.nil? && !@proxy.empty?
27
+
28
+ @savon = Savon.client savon_options
29
29
  rescue *SAVON_ERRORS => e
30
30
  raise WsCee::ConnectionError, e.message
31
31
  end
metadata CHANGED
@@ -1,80 +1,80 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws_cee_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaromír Červenka
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-04 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: savon
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - ~>
17
+ - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '2.0'
19
- name: savon
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: bundler
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '1.10'
33
- name: bundler
34
- prerelease: false
35
34
  type: :development
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.10'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: rake
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - ~>
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: '10.0'
47
- name: rake
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: minitest
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - '>='
59
+ - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: minitest
62
- prerelease: false
63
62
  type: :development
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description:
69
+ description:
70
70
  email:
71
71
  - jaromir@virt.io
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
78
78
  - CODE_OF_CONDUCT.md
79
79
  - Gemfile
80
80
  - LICENSE.txt
@@ -92,24 +92,25 @@ homepage: https://github.com/enrian/ws_cee_client
92
92
  licenses:
93
93
  - MIT
94
94
  metadata: {}
95
- post_install_message:
95
+ post_install_message:
96
96
  rdoc_options: []
97
97
  require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubyforge_project:
111
- rubygems_version: 2.4.5
112
- signing_key:
110
+ rubyforge_project:
111
+ rubygems_version: 2.5.1
112
+ signing_key:
113
113
  specification_version: 4
114
- summary: Client for communication with Czech Database of Distraints. Connected to Bisnode WS CEE SOAP API.
114
+ summary: Client for communication with Czech Database of Distraints. Connected to
115
+ Bisnode WS CEE SOAP API.
115
116
  test_files: []