leap_salesforce 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/leap-salesforce.iml +80 -80
- data/ChangeLog +5 -0
- data/README.md +14 -0
- data/lib/leap_salesforce/auth.rb +16 -3
- data/lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb +1 -0
- data/lib/leap_salesforce/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24f67af320072c75b675ab10a3878648d50789cf47dbd049897a7665122ceeb1
|
4
|
+
data.tar.gz: 1a8f551e746ad5db54486dad45a984dfe24d06af98316499b9c5ffe02765b758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494ec17d4c97948430b734690d81047885740aeee5969df6f46081a90226758525587ddde161f05419d11a40dad34e465769ebec4c64dd6e6062620c7b5bbe62
|
7
|
+
data.tar.gz: feb32e181a7e73f31650597d79f1d1944017e98419aa3809271a502b8c067428deb7554d35846e12c3fdc7754ba5245f45e4c75b66df808fb7770b8d617c087f
|
data/.idea/leap-salesforce.iml
CHANGED
@@ -7,87 +7,87 @@
|
|
7
7
|
<content url="file://$MODULE_DIR$">
|
8
8
|
<excludeFolder url="file://$MODULE_DIR$/doc" />
|
9
9
|
</content>
|
10
|
-
<orderEntry type="jdk" jdkName="RVM: ruby-2.6.
|
10
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.6.3" jdkType="RUBY_SDK" />
|
11
11
|
<orderEntry type="sourceFolder" forTests="false" />
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="activemodel (v6.0.1, RVM: ruby-2.6.
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="activerecord (v6.0.1, RVM: ruby-2.6.
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="activesupport (v6.0.1, RVM: ruby-2.6.
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.7.0, RVM: ruby-2.6.
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="akami (v1.3.1, RVM: ruby-2.6.
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, RVM: ruby-2.6.
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.6.
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.2, RVM: ruby-2.6.
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.2, RVM: ruby-2.6.
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.6.
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.5, RVM: ruby-2.6.
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="docile (v1.3.2, RVM: ruby-2.6.
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, RVM: ruby-2.6.
|
26
|
-
<orderEntry type="library" scope="PROVIDED" name="factory_bot (v5.1.1, RVM: ruby-2.6.
|
27
|
-
<orderEntry type="library" scope="PROVIDED" name="faker (v2.7.0, RVM: ruby-2.6.
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="gyoku (v1.3.1, RVM: ruby-2.6.
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="hashie (v4.0.0, RVM: ruby-2.6.
|
30
|
-
<orderEntry type="library" scope="PROVIDED" name="http-accept (v1.7.0, RVM: ruby-2.6.
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.6.
|
32
|
-
<orderEntry type="library" scope="PROVIDED" name="httpi (v2.4.4, RVM: ruby-2.6.
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="humanize (v2.4.0, RVM: ruby-2.6.
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.7.0, RVM: ruby-2.6.
|
35
|
-
<orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.4, RVM: ruby-2.6.
|
36
|
-
<orderEntry type="library" scope="PROVIDED" name="json (v2.2.0, RVM: ruby-2.6.
|
37
|
-
<orderEntry type="library" scope="PROVIDED" name="jsonpath (v1.0.5, RVM: ruby-2.6.
|
38
|
-
<orderEntry type="library" scope="PROVIDED" name="kramdown (v2.1.0, RVM: ruby-2.6.
|
39
|
-
<orderEntry type="library" scope="PROVIDED" name="launchy (v2.4.3, RVM: ruby-2.6.
|
40
|
-
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.9.2, RVM: ruby-2.6.
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.3, RVM: ruby-2.6.
|
42
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2019.1009, RVM: ruby-2.6.
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.4.0, RVM: ruby-2.6.
|
44
|
-
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.13.0, RVM: ruby-2.6.
|
45
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.14.1, RVM: ruby-2.6.
|
46
|
-
<orderEntry type="library" scope="PROVIDED" name="mustermann (v1.0.3, RVM: ruby-2.6.
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.6.
|
48
|
-
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.10.5, RVM: ruby-2.6.
|
49
|
-
<orderEntry type="library" scope="PROVIDED" name="nori (v2.6.0, RVM: ruby-2.6.
|
50
|
-
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.19.0, RVM: ruby-2.6.
|
51
|
-
<orderEntry type="library" scope="PROVIDED" name="parser (v2.6.5.0, RVM: ruby-2.6.
|
52
|
-
<orderEntry type="library" scope="PROVIDED" name="pry (v0.12.2, RVM: ruby-2.6.
|
53
|
-
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.1, RVM: ruby-2.6.
|
54
|
-
<orderEntry type="library" scope="PROVIDED" name="rack (v2.0.7, RVM: ruby-2.6.
|
55
|
-
<orderEntry type="library" scope="PROVIDED" name="rack-protection (v2.0.4, RVM: ruby-2.6.
|
56
|
-
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.6.
|
57
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.1, RVM: ruby-2.6.
|
58
|
-
<orderEntry type="library" scope="PROVIDED" name="random-port (v0.5.1, RVM: ruby-2.6.
|
59
|
-
<orderEntry type="library" scope="PROVIDED" name="require_all (v3.0.0, RVM: ruby-2.6.
|
60
|
-
<orderEntry type="library" scope="PROVIDED" name="rest-client (v2.1.0, RVM: ruby-2.6.
|
61
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, RVM: ruby-2.6.
|
62
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.0, RVM: ruby-2.6.
|
63
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.0, RVM: ruby-2.6.
|
64
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-its (v1.3.0, RVM: ruby-2.6.
|
65
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.0, RVM: ruby-2.6.
|
66
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.0, RVM: ruby-2.6.
|
67
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.76.0, RVM: ruby-2.6.
|
68
|
-
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.6.
|
69
|
-
<orderEntry type="library" scope="PROVIDED" name="savon (v2.12.0, RVM: ruby-2.6.
|
70
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.17.1, RVM: ruby-2.6.
|
71
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.2, RVM: ruby-2.6.
|
72
|
-
<orderEntry type="library" scope="PROVIDED" name="sinatra (v2.0.4, RVM: ruby-2.6.
|
73
|
-
<orderEntry type="library" scope="PROVIDED" name="sinatra-basic-auth (v0.1.0, RVM: ruby-2.6.
|
74
|
-
<orderEntry type="library" scope="PROVIDED" name="sinatra-docdsl (v0.8.6, RVM: ruby-2.6.
|
75
|
-
<orderEntry type="library" scope="PROVIDED" name="soaspec (v0.3.7, RVM: ruby-2.6.
|
76
|
-
<orderEntry type="library" scope="PROVIDED" name="socksify (v1.7.1, RVM: ruby-2.6.
|
77
|
-
<orderEntry type="library" scope="PROVIDED" name="thor (v0.20.3, RVM: ruby-2.6.
|
78
|
-
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.6.
|
79
|
-
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.10, RVM: ruby-2.6.
|
80
|
-
<orderEntry type="library" scope="PROVIDED" name="to_regexp (v0.2.1, RVM: ruby-2.6.
|
81
|
-
<orderEntry type="library" scope="PROVIDED" name="topoisomerase (v0.1.5, RVM: ruby-2.6.
|
82
|
-
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.6.
|
83
|
-
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.6.
|
84
|
-
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.6, RVM: ruby-2.6.
|
85
|
-
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.6.0, RVM: ruby-2.6.
|
86
|
-
<orderEntry type="library" scope="PROVIDED" name="wasabi (v3.5.0, RVM: ruby-2.6.
|
87
|
-
<orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.5, RVM: ruby-2.6.
|
88
|
-
<orderEntry type="library" scope="PROVIDED" name="yard (v0.9.20, RVM: ruby-2.6.
|
89
|
-
<orderEntry type="library" scope="PROVIDED" name="yard-doctest (v0.1.17, RVM: ruby-2.6.
|
90
|
-
<orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.2.1, RVM: ruby-2.6.
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="activemodel (v6.0.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="activerecord (v6.0.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v6.0.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.7.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="akami (v1.3.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="docile (v1.3.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, RVM: ruby-2.6.3) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="factory_bot (v5.1.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="faker (v2.7.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="gyoku (v1.3.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="hashie (v4.0.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="http-accept (v1.7.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="httpi (v2.4.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="humanize (v2.4.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.7.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v2.2.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="jsonpath (v1.0.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="kramdown (v2.1.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="launchy (v2.4.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.9.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2019.1009, RVM: ruby-2.6.3) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.4.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.13.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.14.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="mustermann (v1.0.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.10.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="nori (v2.6.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.19.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v2.6.5.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.12.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
54
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v2.0.7, RVM: ruby-2.6.3) [gem]" level="application" />
|
55
|
+
<orderEntry type="library" scope="PROVIDED" name="rack-protection (v2.0.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="random-port (v0.5.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="require_all (v3.0.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="rest-client (v2.1.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-its (v1.3.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.76.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
69
|
+
<orderEntry type="library" scope="PROVIDED" name="savon (v2.12.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.17.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="sinatra (v2.0.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="sinatra-basic-auth (v0.1.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
74
|
+
<orderEntry type="library" scope="PROVIDED" name="sinatra-docdsl (v0.8.6, RVM: ruby-2.6.3) [gem]" level="application" />
|
75
|
+
<orderEntry type="library" scope="PROVIDED" name="soaspec (v0.3.7, RVM: ruby-2.6.3) [gem]" level="application" />
|
76
|
+
<orderEntry type="library" scope="PROVIDED" name="socksify (v1.7.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.20.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
78
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.6.3) [gem]" level="application" />
|
79
|
+
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.10, RVM: ruby-2.6.3) [gem]" level="application" />
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="to_regexp (v0.2.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
81
|
+
<orderEntry type="library" scope="PROVIDED" name="topoisomerase (v0.1.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
82
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
83
|
+
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
84
|
+
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.6, RVM: ruby-2.6.3) [gem]" level="application" />
|
85
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.6.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
86
|
+
<orderEntry type="library" scope="PROVIDED" name="wasabi (v3.5.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
87
|
+
<orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
88
|
+
<orderEntry type="library" scope="PROVIDED" name="yard (v0.9.20, RVM: ruby-2.6.3) [gem]" level="application" />
|
89
|
+
<orderEntry type="library" scope="PROVIDED" name="yard-doctest (v0.1.17, RVM: ruby-2.6.3) [gem]" level="application" />
|
90
|
+
<orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.2.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
91
91
|
</component>
|
92
92
|
<component name="RModuleSettingsStorage">
|
93
93
|
<LOAD_PATH number="1" string0="$MODULE_DIR$/spec/support" />
|
data/ChangeLog
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
Version 0.2.15
|
2
|
+
* Enhancement
|
3
|
+
* Ability to set SFDX Access token and instance url manually through ENV vars
|
4
|
+
* Start to document how to run against Scratch org for Sfdx
|
5
|
+
|
1
6
|
Version 0.2.14
|
2
7
|
* Enhancement
|
3
8
|
* Ability to set password or reset it for a LeapSalesforce::User
|
data/README.md
CHANGED
@@ -127,9 +127,11 @@ Following is a description of each key in this file:
|
|
127
127
|
* `lib_folder`: Can be set to change the default location (`lib/leap_salesforce`) of where all generated code is put
|
128
128
|
and read from.
|
129
129
|
* `soql_objects`: List of SOQL objects that the generator will create for and update
|
130
|
+
* `sfdx`: Boolean for whether to use sfdx for authentication. Defaults to false
|
130
131
|
|
131
132
|
##### `salesforce_oauth2.yml`
|
132
133
|
|
134
|
+
This file is used for using your own OAuth application. See next section for SFDX
|
133
135
|
* client_id: OAuth2 client id / customer id obtained from your Test App
|
134
136
|
* client_secret: OAuth2 client_secret / customer secret obtained from your Test App
|
135
137
|
* password: Password expected to be generic across test users and the same as what's used on the UI to logon with
|
@@ -147,6 +149,18 @@ The approach using these credentials follows [this tutorial](https://developer.s
|
|
147
149
|
This is where common code is stored for all the environments. This is where you would usually put your test users
|
148
150
|
as described in the next section.
|
149
151
|
|
152
|
+
For sfdx, set the `ENV['SF_USERNAME']` to the user to login to sfdx with and create a `server.key` for
|
153
|
+
authentication. How sfdx will fully work with different user roles is still a work in progress.
|
154
|
+
|
155
|
+
#### Changing environment
|
156
|
+
|
157
|
+
The `LEAP_ENV` environment variable can be used to change environment in non sfdx mode. The default is set through
|
158
|
+
`.leap_salesforce.yml` environment key.
|
159
|
+
|
160
|
+
In sfdx mode, setting env variable `SCRATCH_ORG` to `true`
|
161
|
+
will tell leap salesforce to authenticate against a SCRATCH ORG. It will try using either the `SCRATCH_ORG_ALIAS`
|
162
|
+
environment variable or a `SCRATCH_INSTANCE_URL` and `SCRATCH_ACCESS_TOKEN` if set.
|
163
|
+
|
150
164
|
#### Test Users
|
151
165
|
Test users are defined using the `LeapSalesforce::Users` module. Following is an example of setting up a few test
|
152
166
|
users:
|
data/lib/leap_salesforce/auth.rb
CHANGED
@@ -26,6 +26,8 @@ module LeapSalesforce
|
|
26
26
|
return @access_token if @access_token
|
27
27
|
|
28
28
|
extract_sfdx_variables
|
29
|
+
raise 'Instance URL was not set correctly' if @access_token&.empty?
|
30
|
+
|
29
31
|
@access_token
|
30
32
|
end
|
31
33
|
|
@@ -35,6 +37,8 @@ module LeapSalesforce
|
|
35
37
|
return @instance_url if @instance_url
|
36
38
|
|
37
39
|
extract_sfdx_variables
|
40
|
+
raise 'Instance URL was not set correctly' if @instance_url&.empty?
|
41
|
+
|
38
42
|
@instance_url
|
39
43
|
end
|
40
44
|
|
@@ -58,7 +62,19 @@ module LeapSalesforce
|
|
58
62
|
# Extract sfdx variables and store them
|
59
63
|
# Set ENV['SCRATCH_ORG'] to true to authenticate and run against sandbox
|
60
64
|
def extract_sfdx_variables
|
65
|
+
LeapSalesforce.client_id = ENV['SF_CONSUMER_KEY']
|
66
|
+
LeapSalesforce.password = :not_needed
|
67
|
+
LeapSalesforce.client_secret = :not_needed
|
68
|
+
if ENV['SCRATCH_ACCESS_TOKEN'] && ENV['SCRATCH_INSTANCE_URL']
|
69
|
+
url_obtained = ENV['SCRATCH_INSTANCE_URL']
|
70
|
+
self.instance_url = url_obtained[-1] == '/' ? url_obtained[0..-2] : url_obtained
|
71
|
+
self.access_token = ENV['SCRATCH_ACCESS_TOKEN']
|
72
|
+
return
|
73
|
+
end
|
74
|
+
|
61
75
|
script_name = if ENV['SCRATCH_ORG'] && !ENV['SCRATCH_ORG'].empty?
|
76
|
+
raise "Please set SCRATCH_ORG_ALIAS when SCRATCH_ORG(#{ENV['SCRATCH_ORG']}) is set" unless ENV['SCRATCH_ORG_ALIAS']
|
77
|
+
|
62
78
|
puts "Using sandbox #{ENV['SCRATCH_ORG_ALIAS']}"
|
63
79
|
'get_scratch_auth'
|
64
80
|
else
|
@@ -69,9 +85,6 @@ module LeapSalesforce
|
|
69
85
|
self.access_token = from_output 'Access Token'
|
70
86
|
url_obtained = from_output 'Instance Url'
|
71
87
|
self.instance_url = url_obtained[-1] == '/' ? url_obtained[0..-2] : url_obtained
|
72
|
-
LeapSalesforce.client_id = ENV['SF_CONSUMER_KEY']
|
73
|
-
LeapSalesforce.password = :not_needed
|
74
|
-
LeapSalesforce.client_secret = :not_needed
|
75
88
|
end
|
76
89
|
|
77
90
|
private
|
@@ -3,6 +3,7 @@
|
|
3
3
|
# This file is generated and updated automatically so best not to edit manually
|
4
4
|
# Fields for <%= @soql_object.class_name %> mapped from SOQL <%= @soql_object.backend_name %>
|
5
5
|
class <%= @soql_object.class_name %> < SoqlData
|
6
|
+
# List of accessors for retrieving and setting fields in <%= @soql_object.class_name %>
|
6
7
|
module Fields
|
7
8
|
extend SoqlGlobalObjectData
|
8
9
|
<% @soql_class.fields.each do |field| %>
|
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: 0.2.
|
4
|
+
version: 0.2.15
|
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: 2019-11-
|
12
|
+
date: 2019-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|