soapforce 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTk2ZjA2ZjNkY2IzMzI0ZWRiNmY5ZTNhYmRhNzlmN2Q2ZWM5NjllOA==
4
+ NDZjNzkzNzYxNzA5YmJhZmM4ZjA1ODZhYTgxMTVkYzYwMjU1MTEyYQ==
5
5
  data.tar.gz: !binary |-
6
- ZGQyZTNhZjdkMzU0MDVmZDNjNWJiMTQ3NjhkNzYyYzgxZTg5ODc3NQ==
6
+ Y2Q5MThhZTIzZmQ3NGRiYjQ0MzM0MmViNDM1YThlODhhNTY4OGVmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWVmMzlmZGUxNTFmZWY4ZDlmNGFjN2ZhOTcyYzM0YjNhYTU2YjE2ZTA1NzQ0
10
- MjIyM2YyZWFkOTkzZTU0ODk5N2UwYWZkNWFmZjFkY2YzZDBjNTI0NDlhMTky
11
- ODg5Yjk5MDViNTg1YmQ3YjFmYTVkNWM5OWMxNThkNzRmZTUzNmM=
9
+ OGIzYzM3YTk1NjBlM2I5ZmMyOGZjNDYwM2VhYjJjM2UwNTNjODcwODE1ZjZl
10
+ YjIzZDM1MmQ5MzYyZGU1Mjg3ZjRlYTA2MjMzZDlkNWJmMjU0OTlkYWIzZGZl
11
+ YWVlNGQ3N2FhNzY1NzlmNDk2NTU3NjNkZWIxMzJmZGU5NmYzOWE=
12
12
  data.tar.gz: !binary |-
13
- NDFhMTRmYjE1MTQ0NzNkM2QzM2Q2ZGYyMjdjOWE0ZmQ2MDBkMzBkODdhZTI1
14
- Mjk0ZGQ5MTc5YmIwN2MyY2VkNGQ0YTBjNGM1MDI0NWMwZDE1MzU5NTUwNzEz
15
- ZDhiYmNjY2QwODJhMTRlNzRjOTQ0MzE3ZTJhMGYyYTg4OWYyZGQ=
13
+ ZmJkNDM4ZmY2NDJkYTNkNDQyMDcxNzMzYzlkYzExN2U3YmIwNzcwMGVkNTNk
14
+ NTYyMGY5MmU3MTJhYjc3NGU0ZDlhMjIwZjM2NDMwODdlOWNjMGI2MzJmM2Ix
15
+ OWQ3NDU0YWQzNDIyZDI1ZTM0NDE0NTUzYWM2YTkyZjIzOWQxODg=
data/README.md CHANGED
@@ -50,7 +50,7 @@ client = Soapforce::Client.new(:host => 'test.salesforce.com')
50
50
  You can specify a logger by passing a logger. Logging is disabled by default.
51
51
 
52
52
  ```ruby
53
- client = Soapforce::Client.new(:logger => 'test.salesforce.com')
53
+ client = Soapforce::Client.new(:logger => Logger.new(STDOUT))
54
54
  ```
55
55
 
56
56
  #### Username/Password authentication
@@ -26,6 +26,8 @@ module Soapforce
26
26
  @login_url = "https://#{@host}/services/Soap/u/#{@version}"
27
27
 
28
28
  @logger = options[:logger] || false
29
+ # Due to recent SSLv3 POODLE vulnerabilty we default to TLSv1
30
+ @ssl_version = options[:ssl_version] || :TLSv1
29
31
 
30
32
  @client = Savon.client(
31
33
  wsdl: @wsdl,
@@ -34,7 +36,8 @@ module Soapforce
34
36
  pretty_print_xml: true,
35
37
  logger: @logger,
36
38
  log: (@logger != false),
37
- endpoint: @login_url
39
+ endpoint: @login_url,
40
+ ssl_version: @ssl_version # Sets ssl_version for HTTPI adapter
38
41
  )
39
42
  end
40
43
 
@@ -84,7 +87,8 @@ module Soapforce
84
87
  convert_request_keys_to: :none,
85
88
  logger: @logger,
86
89
  log: (@logger != false),
87
- endpoint: @server_url
90
+ endpoint: @server_url,
91
+ ssl_version: @ssl_version # Sets ssl_version for HTTPI adapter
88
92
  )
89
93
 
90
94
  # If a session_id/server_url were passed in then invoke get_user_info for confirmation.
@@ -1,3 +1,3 @@
1
1
  module Soapforce
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/soapforce.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "savon", "~>2.3.0", '>= 2.3.0'
21
+ spec.add_runtime_dependency "savon", ">= 2.3.0", '< 3.0.0'
22
22
 
23
23
  spec.add_development_dependency 'rspec', '~> 2.14.0', '>= 2.14.0'
24
24
  spec.add_development_dependency 'webmock', '~> 1.17.0', '>= 1.17.0'
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Heth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-16 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: 2.3.0
20
17
  - - ! '>='
21
18
  - !ruby/object:Gem::Version
22
19
  version: 2.3.0
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 2.3.0
30
27
  - - ! '>='
31
28
  - !ruby/object:Gem::Version
32
29
  version: 2.3.0
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement