billwise4r 0.3.0 → 0.4.1
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.
- data/Gemfile.lock +17 -15
- data/lib/billwise4r.rb +4 -2
- data/lib/billwise4r/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
billwise4r (0.
|
|
4
|
+
billwise4r (0.3.0)
|
|
5
5
|
multi_xml
|
|
6
6
|
savon
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: http://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
akami (1.
|
|
11
|
+
akami (1.2.0)
|
|
12
12
|
gyoku (>= 0.4.0)
|
|
13
|
+
nokogiri (>= 1.4.0)
|
|
13
14
|
awesome_print (0.4.0)
|
|
14
15
|
builder (3.0.0)
|
|
15
16
|
diff-lcs (1.1.3)
|
|
16
17
|
fakeweb (1.3.0)
|
|
17
|
-
gyoku (0.4.
|
|
18
|
+
gyoku (0.4.6)
|
|
18
19
|
builder (>= 2.1.2)
|
|
19
|
-
httpi (
|
|
20
|
+
httpi (1.1.1)
|
|
20
21
|
rack
|
|
21
|
-
multi_xml (0.
|
|
22
|
-
nokogiri (1.5.
|
|
23
|
-
nori (1.
|
|
24
|
-
rack (1.
|
|
22
|
+
multi_xml (0.5.1)
|
|
23
|
+
nokogiri (1.5.5)
|
|
24
|
+
nori (1.1.2)
|
|
25
|
+
rack (1.4.1)
|
|
25
26
|
rspec (2.7.0)
|
|
26
27
|
rspec-core (~> 2.7.0)
|
|
27
28
|
rspec-expectations (~> 2.7.0)
|
|
@@ -30,15 +31,16 @@ GEM
|
|
|
30
31
|
rspec-expectations (2.7.0)
|
|
31
32
|
diff-lcs (~> 1.1.2)
|
|
32
33
|
rspec-mocks (2.7.0)
|
|
33
|
-
savon (
|
|
34
|
-
akami (~> 1.0)
|
|
34
|
+
savon (1.1.0)
|
|
35
|
+
akami (~> 1.2.0)
|
|
35
36
|
builder (>= 2.1.2)
|
|
36
|
-
gyoku (
|
|
37
|
-
httpi (~> 0
|
|
37
|
+
gyoku (~> 0.4.5)
|
|
38
|
+
httpi (~> 1.1.0)
|
|
38
39
|
nokogiri (>= 1.4.0)
|
|
39
|
-
nori (~> 1.0)
|
|
40
|
-
wasabi (~> 2.0)
|
|
41
|
-
wasabi (2.
|
|
40
|
+
nori (~> 1.1.0)
|
|
41
|
+
wasabi (~> 2.5.0)
|
|
42
|
+
wasabi (2.5.0)
|
|
43
|
+
httpi (~> 1.0)
|
|
42
44
|
nokogiri (>= 1.4.0)
|
|
43
45
|
|
|
44
46
|
PLATFORMS
|
data/lib/billwise4r.rb
CHANGED
|
@@ -14,7 +14,7 @@ class Billwise
|
|
|
14
14
|
log = params[:log] || false
|
|
15
15
|
log_level = params[:log_level] || :info
|
|
16
16
|
@httpi_log = params[:httpi_log] || false
|
|
17
|
-
@ssl_verify_mode = params[:verify_mode] ||
|
|
17
|
+
@ssl_verify_mode = params[:verify_mode] || :peer
|
|
18
18
|
@read_timeout = params[:read_timeout] || 300
|
|
19
19
|
|
|
20
20
|
Savon.configure do |config|
|
|
@@ -23,6 +23,8 @@ class Billwise
|
|
|
23
23
|
config.env_namespace = :soap
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
HTTPI.log = @httpi_log
|
|
27
|
+
|
|
26
28
|
@soap_endpoint = URI.parse params[:endpoint] || 'https://cwa021.connect4billing.com:8443/axis2/services/ConnectSmService.ConnectSmServiceHttpSoap12Endpoint/'
|
|
27
29
|
@soap_namespace = params[:namespace] || 'http://connectsm.ws.bwse.com/xsd'
|
|
28
30
|
@soap_version = 2
|
|
@@ -34,7 +36,7 @@ class Billwise
|
|
|
34
36
|
end
|
|
35
37
|
|
|
36
38
|
@soap_driver.http.read_timeout = @read_timeout
|
|
37
|
-
@soap_driver.http.auth.ssl.verify_mode = @ssl_verify_mode
|
|
39
|
+
@soap_driver.http.auth.ssl.verify_mode = @ssl_verify_mode.to_sym # or one of [:peer, :fail_if_no_peer_cert, :client_once]
|
|
38
40
|
@soap_driver.http.auth.ssl.cert_key_file = params[:cert_key_file] if params[:cert_key_file] # the private key file to use
|
|
39
41
|
@soap_driver.http.auth.ssl.cert_key_password = params[:cert_key_password] if params[:cert_key_password] # the key file's password
|
|
40
42
|
@soap_driver.http.auth.ssl.cert_file = params[:cert_file] if params[:cert_file] # the certificate file to use
|
data/lib/billwise4r/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: billwise4r
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-07-
|
|
13
|
+
date: 2012-07-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|