leap_salesforce 1.2.1 → 1.2.2

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: 44ffa8e3367450ab36724adf3fc899d2cb95afe6f53d35e691f0b195abb76951
4
- data.tar.gz: 913a39e2840894dd0c1a906a301ae864b1e368b9ebc80fa4e547315c06c25497
3
+ metadata.gz: 5da0baf19ea7e71976cfeaf25f36c892ccadfb080f0753151cc8a79d17e1f0a0
4
+ data.tar.gz: 2c4c357f1350fd03bb462d682b7a3f85502763a05aade8e6f60df48d029cf9f6
5
5
  SHA512:
6
- metadata.gz: b0f4e1e61acf32114e51fe16451ea745d92198eb3944177885bc0f3cbc36bada65bc70c5efaa596978422b31246eaf3cd16aeab927ede42662dff79aa74d97dd
7
- data.tar.gz: a8f1cfaea86a0766dbe58889e46c9a51370c2a934140bb37f55d5da235b31af7640aa2b79d70125aa6b9626d92d722d35c19d85d89e018f21d0b3f8210409ba1
6
+ metadata.gz: 76e282452781f8905f96810ae8f56e2862b9df511496fe0d0bef080d0aee43691e5f6069feaf049233c995b4af08cdf13dfd765ef76df93ee1cb5df0e6e2cac4
7
+ data.tar.gz: 9ddae61c0dc0cbc4e338e3fcf3bed22045a2afb9efd122c019ff08dda434d0dc9b2f476a76e81f7e329c192a6287c06de49fb19e646f20c355b1fd39ba8c01f7
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ Version 1.2.2
2
+ * Fix issue with sfdx logging in with new access token format
3
+
1
4
  Version 1.2.1
2
5
  * Debug SOAP login request so it can be debugged
3
6
 
data/Rakefile CHANGED
@@ -45,9 +45,10 @@ end
45
45
 
46
46
  desc 'Example of cleaning up data'
47
47
  task :remove_contacts do
48
+ require 'parallel'
48
49
  contacts = Contact.where first_name: '!null'
49
50
  puts "Deleting #{contacts.size} contacts"
50
- contacts.each do |contact|
51
+ Parallel.each(contacts) do |contact|
51
52
  contact.delete
52
53
  print '.'
53
54
  end
@@ -27,6 +27,7 @@ It reads the Metadata from Salesforce and creates the foundation for API tests.'
27
27
  spec.require_paths = ['lib']
28
28
 
29
29
  spec.add_development_dependency 'bundler', '~> 2.0'
30
+ spec.add_development_dependency 'parallel'
30
31
  spec.add_development_dependency 'pry'
31
32
  spec.add_development_dependency 'rspec', '~> 3.0'
32
33
  spec.add_development_dependency 'semaphore_test_boosters'
@@ -107,11 +107,11 @@ module LeapSalesforce
107
107
 
108
108
  def from_output(variable)
109
109
  var_line = sfdx_display_output.lines.find do |line|
110
- line.start_with? variable
110
+ line.strip.start_with? variable
111
111
  end
112
112
  raise LeapSalesforce::SetupError, "Error retrieving from #{sfdx_display_output}" unless var_line
113
113
 
114
- var_line.split[-1]
114
+ var_line.strip.split[-1]
115
115
  end
116
116
  end
117
117
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '1.2.1'
5
+ VERSION = '1.2.2'
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.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - IQA
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-02-09 00:00:00.000000000 Z
12
+ date: 2022-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: parallel
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: pry
30
44
  requirement: !ruby/object:Gem::Requirement