leap_salesforce 0.2.8 → 0.2.9

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: 0727f9b6fbfb3b1c1b20b77a96eae10a2769574e7aeefd9af1282bffa2c9ce1d
4
- data.tar.gz: 6ebb6a6246a65acec84880ac0b0c06f5757f0cad273bcff6e03c974973e2b41b
3
+ metadata.gz: c4dc5bd26b8412061706ac98895eea74b76075b089d5cec455d9d7450231dff4
4
+ data.tar.gz: 552ef5630394b37404ffa40a14cba794b81d5edc91489b0fa92241f1124cc328
5
5
  SHA512:
6
- metadata.gz: 15c74d38ab17892e205e0682ecdc677357a7810b384b60ed8b09b182de08abfca49320ba092af86e3f74a48293c158faf5544d24fc496b4f05831426e4c2e492
7
- data.tar.gz: 4bf6d4319d775a085f1083128b36adbfe02d824238fa830c4f08a3f932c7077a0476235917d86e0aada28fbec9dc9986f1d400a918a39af6acd6ef809f22919b
6
+ metadata.gz: a582df7a920c314bcaa3b776d6dacfcab03ca4af1b6f49c2b6544a560547cfa6fc83707c2d2af40da69ca91241d0bd63d93ee32613fc0f03b06109485e37cda1
7
+ data.tar.gz: d71765c646e4d356943fdc50309fe395a0cae3a15d98200fc18e78e4135c819258c6d095a359fb446ec51bd18fb490fcb9784765b0a49016574d932e8ae28d20
@@ -0,0 +1,7 @@
1
+ <component name="ProjectDictionaryState">
2
+ <dictionary name="samuelgarratt">
3
+ <words>
4
+ <w>soaspec</w>
5
+ </words>
6
+ </dictionary>
7
+ </component>
@@ -7,84 +7,84 @@
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.0" jdkType="RUBY_SDK" />
10
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.6.5" jdkType="RUBY_SDK" />
11
11
  <orderEntry type="sourceFolder" forTests="false" />
12
- <orderEntry type="library" scope="PROVIDED" name="activemodel (v6.0.0, RVM: ruby-2.6.0) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="activerecord (v6.0.0, RVM: ruby-2.6.0) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="activesupport (v6.0.0, RVM: ruby-2.6.0) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="addressable (v2.7.0, RVM: ruby-2.6.0) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="akami (v1.3.1, RVM: ruby-2.6.0) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, RVM: ruby-2.6.0) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.6.0) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.2, RVM: ruby-2.6.0) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.2, RVM: ruby-2.6.0) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.6.0) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.5, RVM: ruby-2.6.0) [gem]" level="application" />
23
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.0) [gem]" level="application" />
24
- <orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, RVM: ruby-2.6.0) [gem]" level="application" />
25
- <orderEntry type="library" scope="PROVIDED" name="factory_bot (v5.1.0, RVM: ruby-2.6.0) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="faker (v2.5.0, RVM: ruby-2.6.0) [gem]" level="application" />
27
- <orderEntry type="library" scope="PROVIDED" name="gyoku (v1.3.1, RVM: ruby-2.6.0) [gem]" level="application" />
28
- <orderEntry type="library" scope="PROVIDED" name="hashie (v3.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
29
- <orderEntry type="library" scope="PROVIDED" name="http-accept (v1.7.0, RVM: ruby-2.6.0) [gem]" level="application" />
30
- <orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.6.0) [gem]" level="application" />
31
- <orderEntry type="library" scope="PROVIDED" name="httpi (v2.4.4, RVM: ruby-2.6.0) [gem]" level="application" />
32
- <orderEntry type="library" scope="PROVIDED" name="humanize (v2.1.2, RVM: ruby-2.6.0) [gem]" level="application" />
33
- <orderEntry type="library" scope="PROVIDED" name="i18n (v1.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
34
- <orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.2, RVM: ruby-2.6.0) [gem]" level="application" />
35
- <orderEntry type="library" scope="PROVIDED" name="jsonpath (v1.0.4, RVM: ruby-2.6.0) [gem]" level="application" />
36
- <orderEntry type="library" scope="PROVIDED" name="kramdown (v2.1.0, RVM: ruby-2.6.0) [gem]" level="application" />
37
- <orderEntry type="library" scope="PROVIDED" name="launchy (v2.4.3, RVM: ruby-2.6.0) [gem]" level="application" />
38
- <orderEntry type="library" scope="PROVIDED" name="method_source (v0.9.2, RVM: ruby-2.6.0) [gem]" level="application" />
39
- <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.3, RVM: ruby-2.6.0) [gem]" level="application" />
40
- <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2019.0904, RVM: ruby-2.6.0) [gem]" level="application" />
41
- <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.4.0, RVM: ruby-2.6.0) [gem]" level="application" />
42
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, RVM: ruby-2.6.0) [gem]" level="application" />
43
- <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.13.1, RVM: ruby-2.6.0) [gem]" level="application" />
44
- <orderEntry type="library" scope="PROVIDED" name="mustermann (v1.0.3, RVM: ruby-2.6.0) [gem]" level="application" />
45
- <orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.6.0) [gem]" level="application" />
46
- <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.10.4, RVM: ruby-2.6.0) [gem]" level="application" />
47
- <orderEntry type="library" scope="PROVIDED" name="nori (v2.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
48
- <orderEntry type="library" scope="PROVIDED" name="parallel (v1.17.0, RVM: ruby-2.6.0) [gem]" level="application" />
49
- <orderEntry type="library" scope="PROVIDED" name="parser (v2.6.3.0, RVM: ruby-2.6.0) [gem]" level="application" />
50
- <orderEntry type="library" scope="PROVIDED" name="pry (v0.12.2, RVM: ruby-2.6.0) [gem]" level="application" />
51
- <orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.1, RVM: ruby-2.6.0) [gem]" level="application" />
52
- <orderEntry type="library" scope="PROVIDED" name="rack (v2.0.7, RVM: ruby-2.6.0) [gem]" level="application" />
53
- <orderEntry type="library" scope="PROVIDED" name="rack-protection (v2.0.4, RVM: ruby-2.6.0) [gem]" level="application" />
54
- <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.6.0) [gem]" level="application" />
55
- <orderEntry type="library" scope="PROVIDED" name="rake (v12.3.3, RVM: ruby-2.6.0) [gem]" level="application" />
56
- <orderEntry type="library" scope="PROVIDED" name="random-port (v0.5.1, RVM: ruby-2.6.0) [gem]" level="application" />
57
- <orderEntry type="library" scope="PROVIDED" name="require_all (v2.0.0, RVM: ruby-2.6.0) [gem]" level="application" />
58
- <orderEntry type="library" scope="PROVIDED" name="rest-client (v2.1.0, RVM: ruby-2.6.0) [gem]" level="application" />
59
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.6.0) [gem]" level="application" />
60
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, RVM: ruby-2.6.0) [gem]" level="application" />
61
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.3, RVM: ruby-2.6.0) [gem]" level="application" />
62
- <orderEntry type="library" scope="PROVIDED" name="rspec-its (v1.3.0, RVM: ruby-2.6.0) [gem]" level="application" />
63
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, RVM: ruby-2.6.0) [gem]" level="application" />
64
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, RVM: ruby-2.6.0) [gem]" level="application" />
65
- <orderEntry type="library" scope="PROVIDED" name="rubocop (v0.75.0, RVM: ruby-2.6.0) [gem]" level="application" />
66
- <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.0, RVM: ruby-2.6.0) [gem]" level="application" />
67
- <orderEntry type="library" scope="PROVIDED" name="rubykeyword (v0.0.4, RVM: ruby-2.6.0) [gem]" level="application" />
68
- <orderEntry type="library" scope="PROVIDED" name="savon (v2.12.0, RVM: ruby-2.6.0) [gem]" level="application" />
69
- <orderEntry type="library" scope="PROVIDED" name="sinatra (v2.0.4, RVM: ruby-2.6.0) [gem]" level="application" />
70
- <orderEntry type="library" scope="PROVIDED" name="sinatra-basic-auth (v0.1.0, RVM: ruby-2.6.0) [gem]" level="application" />
71
- <orderEntry type="library" scope="PROVIDED" name="sinatra-docdsl (v0.8.6, RVM: ruby-2.6.0) [gem]" level="application" />
72
- <orderEntry type="library" scope="PROVIDED" name="soaspec (v0.3.1, RVM: ruby-2.6.0) [gem]" level="application" />
73
- <orderEntry type="library" scope="PROVIDED" name="socksify (v1.7.1, RVM: ruby-2.6.0) [gem]" level="application" />
74
- <orderEntry type="library" scope="PROVIDED" name="thor (v0.20.3, RVM: ruby-2.6.0) [gem]" level="application" />
75
- <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.6.0) [gem]" level="application" />
76
- <orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.10, RVM: ruby-2.6.0) [gem]" level="application" />
77
- <orderEntry type="library" scope="PROVIDED" name="to_regexp (v0.2.1, RVM: ruby-2.6.0) [gem]" level="application" />
78
- <orderEntry type="library" scope="PROVIDED" name="topoisomerase (v0.1.5, RVM: ruby-2.6.0) [gem]" level="application" />
79
- <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.6.0) [gem]" level="application" />
80
- <orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.6.0) [gem]" level="application" />
81
- <orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.6, RVM: ruby-2.6.0) [gem]" level="application" />
82
- <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
83
- <orderEntry type="library" scope="PROVIDED" name="wasabi (v3.5.0, RVM: ruby-2.6.0) [gem]" level="application" />
84
- <orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.5, RVM: ruby-2.6.0) [gem]" level="application" />
85
- <orderEntry type="library" scope="PROVIDED" name="yard (v0.9.19, RVM: ruby-2.6.0) [gem]" level="application" />
86
- <orderEntry type="library" scope="PROVIDED" name="yard-doctest (v0.1.16, RVM: ruby-2.6.0) [gem]" level="application" />
87
- <orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.1.10, RVM: ruby-2.6.0) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="activemodel (v6.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="activerecord (v6.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v6.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="addressable (v2.7.0, RVM: ruby-2.6.5) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="akami (v1.3.1, RVM: ruby-2.6.5) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, RVM: ruby-2.6.5) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.6.5) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.2, RVM: ruby-2.6.5) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.2, RVM: ruby-2.6.5) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.6.5) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.5, RVM: ruby-2.6.5) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.5) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, RVM: ruby-2.6.5) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="factory_bot (v5.1.1, RVM: ruby-2.6.5) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="faker (v2.5.0, RVM: ruby-2.6.5) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="gyoku (v1.3.1, RVM: ruby-2.6.5) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="hashie (v3.6.0, RVM: ruby-2.6.5) [gem]" level="application" />
29
+ <orderEntry type="library" scope="PROVIDED" name="http-accept (v1.7.0, RVM: ruby-2.6.5) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.6.5) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="httpi (v2.4.4, RVM: ruby-2.6.5) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="humanize (v2.1.2, RVM: ruby-2.6.5) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v1.6.0, RVM: ruby-2.6.5) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.3, RVM: ruby-2.6.5) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="jsonpath (v1.0.4, RVM: ruby-2.6.5) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="kramdown (v2.1.0, RVM: ruby-2.6.5) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="launchy (v2.4.3, RVM: ruby-2.6.5) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="method_source (v0.9.2, RVM: ruby-2.6.5) [gem]" level="application" />
39
+ <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.3, RVM: ruby-2.6.5) [gem]" level="application" />
40
+ <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2019.0904, RVM: ruby-2.6.5) [gem]" level="application" />
41
+ <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.4.0, RVM: ruby-2.6.5) [gem]" level="application" />
42
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.12.2, RVM: ruby-2.6.5) [gem]" level="application" />
43
+ <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.13.1, RVM: ruby-2.6.5) [gem]" level="application" />
44
+ <orderEntry type="library" scope="PROVIDED" name="mustermann (v1.0.3, RVM: ruby-2.6.5) [gem]" level="application" />
45
+ <orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.6.5) [gem]" level="application" />
46
+ <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.10.4, RVM: ruby-2.6.5) [gem]" level="application" />
47
+ <orderEntry type="library" scope="PROVIDED" name="nori (v2.6.0, RVM: ruby-2.6.5) [gem]" level="application" />
48
+ <orderEntry type="library" scope="PROVIDED" name="parallel (v1.18.0, RVM: ruby-2.6.5) [gem]" level="application" />
49
+ <orderEntry type="library" scope="PROVIDED" name="parser (v2.6.4.1, RVM: ruby-2.6.5) [gem]" level="application" />
50
+ <orderEntry type="library" scope="PROVIDED" name="pry (v0.12.2, RVM: ruby-2.6.5) [gem]" level="application" />
51
+ <orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.1, RVM: ruby-2.6.5) [gem]" level="application" />
52
+ <orderEntry type="library" scope="PROVIDED" name="rack (v2.0.7, RVM: ruby-2.6.5) [gem]" level="application" />
53
+ <orderEntry type="library" scope="PROVIDED" name="rack-protection (v2.0.4, RVM: ruby-2.6.5) [gem]" level="application" />
54
+ <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
55
+ <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
56
+ <orderEntry type="library" scope="PROVIDED" name="random-port (v0.5.1, RVM: ruby-2.6.5) [gem]" level="application" />
57
+ <orderEntry type="library" scope="PROVIDED" name="require_all (v2.0.0, RVM: ruby-2.6.5) [gem]" level="application" />
58
+ <orderEntry type="library" scope="PROVIDED" name="rest-client (v2.1.0, RVM: ruby-2.6.5) [gem]" level="application" />
59
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.6.5) [gem]" level="application" />
60
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.2, RVM: ruby-2.6.5) [gem]" level="application" />
61
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.6, RVM: ruby-2.6.5) [gem]" level="application" />
62
+ <orderEntry type="library" scope="PROVIDED" name="rspec-its (v1.3.0, RVM: ruby-2.6.5) [gem]" level="application" />
63
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.2, RVM: ruby-2.6.5) [gem]" level="application" />
64
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.3, RVM: ruby-2.6.5) [gem]" level="application" />
65
+ <orderEntry type="library" scope="PROVIDED" name="rubocop (v0.75.0, RVM: ruby-2.6.5) [gem]" level="application" />
66
+ <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.6.5) [gem]" level="application" />
67
+ <orderEntry type="library" scope="PROVIDED" name="rubykeyword (v0.0.4, RVM: ruby-2.6.5) [gem]" level="application" />
68
+ <orderEntry type="library" scope="PROVIDED" name="savon (v2.12.0, RVM: ruby-2.6.5) [gem]" level="application" />
69
+ <orderEntry type="library" scope="PROVIDED" name="sinatra (v2.0.4, RVM: ruby-2.6.5) [gem]" level="application" />
70
+ <orderEntry type="library" scope="PROVIDED" name="sinatra-basic-auth (v0.1.0, RVM: ruby-2.6.5) [gem]" level="application" />
71
+ <orderEntry type="library" scope="PROVIDED" name="sinatra-docdsl (v0.8.6, RVM: ruby-2.6.5) [gem]" level="application" />
72
+ <orderEntry type="library" scope="PROVIDED" name="soaspec (v0.3.1, RVM: ruby-2.6.5) [gem]" level="application" />
73
+ <orderEntry type="library" scope="PROVIDED" name="socksify (v1.7.1, RVM: ruby-2.6.5) [gem]" level="application" />
74
+ <orderEntry type="library" scope="PROVIDED" name="thor (v0.20.3, RVM: ruby-2.6.5) [gem]" level="application" />
75
+ <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.6.5) [gem]" level="application" />
76
+ <orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.10, RVM: ruby-2.6.5) [gem]" level="application" />
77
+ <orderEntry type="library" scope="PROVIDED" name="to_regexp (v0.2.1, RVM: ruby-2.6.5) [gem]" level="application" />
78
+ <orderEntry type="library" scope="PROVIDED" name="topoisomerase (v0.1.5, RVM: ruby-2.6.5) [gem]" level="application" />
79
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.6.5) [gem]" level="application" />
80
+ <orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.6.5) [gem]" level="application" />
81
+ <orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.6, RVM: ruby-2.6.5) [gem]" level="application" />
82
+ <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.6.0, RVM: ruby-2.6.5) [gem]" level="application" />
83
+ <orderEntry type="library" scope="PROVIDED" name="wasabi (v3.5.0, RVM: ruby-2.6.5) [gem]" level="application" />
84
+ <orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.5, RVM: ruby-2.6.5) [gem]" level="application" />
85
+ <orderEntry type="library" scope="PROVIDED" name="yard (v0.9.20, RVM: ruby-2.6.5) [gem]" level="application" />
86
+ <orderEntry type="library" scope="PROVIDED" name="yard-doctest (v0.1.17, RVM: ruby-2.6.5) [gem]" level="application" />
87
+ <orderEntry type="library" scope="PROVIDED" name="zeitwerk (v2.1.10, RVM: ruby-2.6.5) [gem]" level="application" />
88
88
  </component>
89
89
  <component name="RModuleSettingsStorage">
90
90
  <LOAD_PATH number="1" string0="$MODULE_DIR$/spec/support" />
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ Version 0.2.9
2
+ * Enhancement
3
+ * LeapSalesforce::Users
4
+ * any? method to check whether user is defined
5
+ * execute_as_if_present to temporarily switch to another user if they exist
6
+
1
7
  Version 0.2.8
2
8
  * Bug fix
3
9
  * Could not handle double and boolean values in SOQL query
data/README.md CHANGED
@@ -413,7 +413,7 @@ test framework used and other preferences.
413
413
  ├── config # Code for the configuration of the automation suite
414
414
  │ ├── general.rb # Code loaded for common (non confidential code) setup across environments
415
415
  │ ├── credentials # Setting of secret properties like passwords
416
- │ │ └── salesforce_oauth2.yml # Credentials for connecting to Salesforce via OAuth2
416
+ │ │ └── salesforce_oauth.yml # Credentials for connecting to Salesforce via OAuth2.
417
417
  │ └── environments # Contains ruby files loaded specific to environment following `ENVIRONMENT_NAME.rb`
418
418
  ├── lib # Common library code
419
419
  │ └── leap_salesforce # Code generated by or specific to leap_salesforce
@@ -21,8 +21,10 @@ module LeapSalesforce
21
21
  @sfdx = false
22
22
  # @access_token = nil
23
23
  @instance_url = nil
24
+ # @return [String] Folder where credentials are stored
25
+ CREDENTIALS_FOLDER = File.join('config', 'credentials')
24
26
  # @return [String] File where Salesforce credentials are stored
25
- CREDENTIAL_FILE = File.join('config', 'credentials', 'salesforce_oauth2.yml')
27
+ CREDENTIAL_FILE = File.join(CREDENTIALS_FOLDER, 'salesforce_oauth2.yml')
26
28
  class << self
27
29
  # @return [String] Environment to use for tests. This can be accessed to change the username used to login
28
30
  # to test.salesforce with. This can be set on the command line with 'LEAP_ENV'
@@ -91,6 +93,7 @@ module LeapSalesforce
91
93
 
92
94
  # @param [String, LeapSalesforce::User] user User or email address of user
93
95
  def api_user=(user)
96
+ user = LeapSalesforce::Users.where(user) if user.is_a? Hash
94
97
  @api_user = case user
95
98
  when String then user
96
99
  when LeapSalesforce::User then user.username
@@ -3,14 +3,18 @@
3
3
  namespace :leaps do
4
4
  desc 'Create Enumeration objects for picklists from Salesforce Metadata'
5
5
  task :create_enums do
6
- require_relative '../generator/soql_enums'
7
- LeapSalesforce::Generator::SoqlEnums.new.create
6
+ LeapSalesforce::Users.execute_as_if_present key: :admin do
7
+ require_relative '../generator/soql_enums'
8
+ LeapSalesforce::Generator::SoqlEnums.new.create
9
+ end
8
10
  end
9
11
 
10
12
  desc 'Create Soql Data objects'
11
13
  task :create_soql_objects do
12
- require_relative '../generator/soql_objects'
13
- LeapSalesforce::Generator::SoqlObjects.new.create_all
14
+ LeapSalesforce::Users.execute_as_if_present key: :admin do
15
+ require_relative '../generator/soql_objects'
16
+ LeapSalesforce::Generator::SoqlObjects.new.create_all
17
+ end
14
18
  end
15
19
 
16
20
  desc 'Create objects, fields, enums'
@@ -22,7 +22,7 @@ module LeapSalesforce
22
22
  @list << User.new(*user)
23
23
  end
24
24
 
25
- # Return a user that meets the criteria
25
+ # @return [LeapSalesforce::User] A user that meets the criteria
26
26
  def where(filter)
27
27
  lookup_key, lookup_value = filter.first
28
28
  user = @list.find { |user_queried| user_queried.match?(lookup_key, lookup_value) }
@@ -30,6 +30,30 @@ module LeapSalesforce
30
30
 
31
31
  user
32
32
  end
33
+
34
+ # Execute block as user matching filter if that user is present
35
+ # If user is not present the current user will be used
36
+ def execute_as_if_present(filter)
37
+ raise ArgumentError, 'Pass block to :execute_as_if_present method' unless block_given?
38
+
39
+ current_user = LeapSalesforce.api_user
40
+ if any? filter
41
+ LeapSalesforce.api_user = LeapSalesforce::Users.where filter
42
+ yield
43
+ LeapSalesforce.api_user = current_user
44
+ else
45
+ LeapSalesforce.logger.warn "No user found user filter #{filter}, using '#{current_user}'"
46
+ yield
47
+ end
48
+ end
49
+
50
+ # @return [Boolean] Whether any user matches filter
51
+ def any?(filter)
52
+ where(filter)
53
+ true
54
+ rescue LeapSalesforce::UserError
55
+ false
56
+ end
33
57
  end
34
58
  end
35
59
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '0.2.8'
5
+ VERSION = '0.2.9'
6
6
  end
@@ -19,21 +19,33 @@ require 'faker' # For fake data
19
19
  require 'leap_salesforce/error'
20
20
  require 'leap_salesforce/loader'
21
21
 
22
+ # If variable is present within LeapSalesforce set it
23
+ def load_variables_from(file)
24
+ YAML.load_file(file).each do |key, value|
25
+ if respond_to? "#{key}="
26
+ if !send(key).nil?
27
+ logger.info "Ignoring #{key} from #{file} as already set"
28
+ else
29
+ send("#{key}=", value)
30
+ end
31
+ else
32
+ logger.info "LeapSalesforce ignoring unknown attribute '#{key}'"
33
+ end
34
+ end
35
+ end
36
+
37
+ # Global configuration for LeapSalesforce
22
38
  module LeapSalesforce
23
- leap_logger = LeapSalesforce.logger
24
- leap_logger.level = Logger::DEBUG
25
- leap_logger.datetime_format = '%Y-%m-%d %H:%M:%S'
39
+ logger.level = Logger::DEBUG
40
+ logger.datetime_format = '%Y-%m-%d %H:%M:%S'
26
41
 
27
42
  LeapSalesforce::Loader.load_config_file
28
43
  raise SetupError, 'LeapSalesforce.environment not set' if environment.nil? && !sfdx
29
44
 
30
- if File.exist? CREDENTIAL_FILE
31
- # Set credentials from credentials file for ConnectedApp
32
- YAML.load_file(CREDENTIAL_FILE).each do |key, value|
33
- send("#{key}=", value)
34
- end
35
- end
36
- # Either can be set
45
+ # Set credentials from credentials file for ConnectedApp
46
+ load_variables_from CREDENTIAL_FILE if File.exist? CREDENTIAL_FILE
47
+
48
+ # Either SF_CONSUMER_KEY or client_id can be set
37
49
  ENV['SF_CONSUMER_KEY'] ||= client_id
38
50
  self.client_id ||= ENV['SF_CONSUMER_KEY']
39
51
 
@@ -49,13 +61,17 @@ module LeapSalesforce
49
61
  if sfdx
50
62
  # Assume authentication already made through 'sfdx force:auth:jwt:grant'
51
63
  unless ENV['SF_USERNAME'] && ENV['SF_CONSUMER_KEY']
64
+ logger.error "No CREDENTIALS FILE found at #{CREDENTIAL_FILE}." unless File.exist? CREDENTIAL_FILE
52
65
  raise SetupError,
53
66
  'Please set SF_USERNAME and SF_CONSUMER_KEY environment variables'
54
67
  end
55
68
  Auth.jwt_file?
56
69
  else
57
70
  %w[client_id client_secret password].each do |param|
58
- raise SetupError, "LeapSalesforce.#{param} not set" if send(param).nil?
71
+ if send(param).nil?
72
+ logger.error "No CREDENTIALS FILE found at #{CREDENTIAL_FILE}." unless File.exist? CREDENTIAL_FILE
73
+ raise SetupError, "LeapSalesforce.#{param} not set"
74
+ end
59
75
  end
60
76
  end
61
77
 
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.8
4
+ version: 0.2.9
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-10-02 00:00:00.000000000 Z
12
+ date: 2019-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -263,6 +263,7 @@ files:
263
263
  - ".gitignore"
264
264
  - ".gitlab-ci.yml"
265
265
  - ".idea/dictionaries/iqa.xml"
266
+ - ".idea/dictionaries/samuelgarratt.xml"
266
267
  - ".idea/leap-salesforce.iml"
267
268
  - ".idea/markdown-exported-files.xml"
268
269
  - ".idea/markdown-navigator.xml"
@@ -358,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
358
359
  - !ruby/object:Gem::Version
359
360
  version: '0'
360
361
  requirements: []
361
- rubygems_version: 3.0.4
362
+ rubygems_version: 3.0.6
362
363
  signing_key:
363
364
  specification_version: 4
364
365
  summary: Helps with setting up integrated automated test frameworks against Salesforce.