leap_salesforce 1.2.0 → 1.2.1

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
  SHA256:
3
- metadata.gz: c7d7840f64baf2e945a29ab4f022f5ff2191b3443e9068f9cbd32afafb7520bb
4
- data.tar.gz: fbe2a1d779b5605cd19c7eb79b2327fb673865170e2becc567bc587fa4d32798
3
+ metadata.gz: 44ffa8e3367450ab36724adf3fc899d2cb95afe6f53d35e691f0b195abb76951
4
+ data.tar.gz: 913a39e2840894dd0c1a906a301ae864b1e368b9ebc80fa4e547315c06c25497
5
5
  SHA512:
6
- metadata.gz: 861290a24fbb1575f0c3338690bd0aef6c65d3ee6a6d0e7a98c5b511e6bffc243891d927b08cd925fa819a09e9b9bcd523a6950729364c5597815f26b8f95bb9
7
- data.tar.gz: c027b01dc9606cb88d388d25ba3b8895f05c9d5ae47b1377efc42022887b8fa160999c870e078f3434383a1249f24e66951c72b84dcbd5fcaf3398ca22bcd683
6
+ metadata.gz: b0f4e1e61acf32114e51fe16451ea745d92198eb3944177885bc0f3cbc36bada65bc70c5efaa596978422b31246eaf3cd16aeab927ede42662dff79aa74d97dd
7
+ data.tar.gz: a8f1cfaea86a0766dbe58889e46c9a51370c2a934140bb37f55d5da235b31af7640aa2b79d70125aa6b9626d92d722d35c19d85d89e018f21d0b3f8210409ba1
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ Version 1.2.1
2
+ * Debug SOAP login request so it can be debugged
3
+
1
4
  Version 1.2.0
2
5
  * Ability to set security token on leap_salesforce user by setting an environment variable with the format
3
6
  `ENV["#{key}_token"]``
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative 'config/credentials/token' if File.exist? 'config/credentials/token.rb'
3
4
  require 'bundler/gem_tasks'
4
5
  require 'rspec/core/rake_task'
5
6
  require 'rake/clean'
@@ -27,12 +27,16 @@ module LeapSalesforce
27
27
  client = Savon.client do
28
28
  endpoint "#{SoqlHandler.instance_url}/services/Soap/u/51.0"
29
29
  namespace "urn:partner.soap.sforce.com"
30
+ log true # See request and response. (Put this in traffic file)
31
+ log_level :debug
32
+ logger Soaspec::SpecLogger.create
33
+ pretty_print_xml true # Prints XML pretty
30
34
  end
31
35
 
32
36
  response = client.call(:login, message:
33
37
  {
34
38
  username: username,
35
- password: password + security_token
39
+ password: password + security_token.to_s
36
40
  })
37
41
  response.body
38
42
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '1.2.0'
5
+ VERSION = '1.2.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leap_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - IQA