leap_salesforce 0.1.2 → 0.1.3

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: 88f33ed270f78f8ad086b2502fa1bb8ab55264e5241d9ce20f049bb8b2c8c608
4
- data.tar.gz: 5d7702bf2313d4837a76ed55460b6d983299ad9999f5a07b7cc2092d2fd5274f
3
+ metadata.gz: 567bcc3e8e7646db7a5c55fdccb5dffe5465e6ee50344380ae6028a950c947ef
4
+ data.tar.gz: f3c3977dec6a79d1a8021fd6fc1bc806754d702d8dd19caf3b75bf92876f9f01
5
5
  SHA512:
6
- metadata.gz: e3df7f786cc27722e12b4af549e6b07f0a50304df68c3ccd8a312977adb3386d37c8d0a89c4f10ea3bda1e71b4b3029c0ec48a4d951938467016c35d02d9a62e
7
- data.tar.gz: 95c9b59e13734c90a0fc55aaf24c06be7a16cea4c1e506f4f85bb9a48e079605ab57d1c9a736cbc9dbb1efbe15ae3c57dde7fbf36bdc331225cb5d266e6cdf41
6
+ metadata.gz: cfef3607abbd5615db422eca9710eca0ce4c481bdfa27df18f6a35c0a078d9610c8ea1a6977bd0bc05d6efbdcf073d03eacd8d8738a2096dd3779b2007838b80
7
+ data.tar.gz: 426f2a60ff86782decce83690a4fffa559143b282d562a09f3cf283808adcef1385225af0913330d392ca3b9e7b9a57dd599d9fe2e5f6de995a6c8a467259b51
@@ -27,6 +27,7 @@
27
27
  <orderEntry type="library" scope="PROVIDED" name="hashie (v3.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
28
28
  <orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.6.0) [gem]" level="application" />
29
29
  <orderEntry type="library" scope="PROVIDED" name="httpi (v2.4.4, RVM: ruby-2.6.0) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="humanize (v2.1.1, RVM: ruby-2.6.0) [gem]" level="application" />
30
31
  <orderEntry type="library" scope="PROVIDED" name="i18n (v1.6.0, RVM: ruby-2.6.0) [gem]" level="application" />
31
32
  <orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.2, RVM: ruby-2.6.0) [gem]" level="application" />
32
33
  <orderEntry type="library" scope="PROVIDED" name="jsonpath (v1.0.4, RVM: ruby-2.6.0) [gem]" level="application" />
data/.idea/workspace.xml CHANGED
@@ -1,7 +1,15 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="f424890b-d4ed-4658-932d-3b4d11846a9f" name="Default Changelist" comment="" />
4
+ <list default="true" id="f424890b-d4ed-4658-932d-3b4d11846a9f" name="Default Changelist" comment="">
5
+ <change beforePath="$PROJECT_DIR$/.idea/leap-salesforce.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/leap-salesforce.iml" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
+ <change beforePath="$PROJECT_DIR$/ChangeLog" beforeDir="false" afterPath="$PROJECT_DIR$/ChangeLog" afterDir="false" />
8
+ <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/leap_salesforce.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/leap_salesforce.gemspec" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb" afterDir="false" />
11
+ <change beforePath="$PROJECT_DIR$/lib/leap_salesforce/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/leap_salesforce/version.rb" afterDir="false" />
12
+ </list>
5
13
  <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6
14
  <option name="SHOW_DIALOG" value="false" />
7
15
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -11,37 +19,51 @@
11
19
  <component name="FileEditorManager">
12
20
  <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
13
21
  <file pinned="false" current-in-tab="false">
14
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/generator.rb">
22
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/version.rb">
15
23
  <provider selected="true" editor-type-id="text-editor">
16
- <state relative-caret-position="432">
17
- <caret line="24" column="63" selection-start-line="24" selection-start-column="11" selection-end-line="24" selection-end-column="63" />
24
+ <state relative-caret-position="54">
25
+ <caret line="3" column="18" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
18
26
  </state>
19
27
  </provider>
20
28
  </entry>
21
29
  </file>
22
30
  <file pinned="false" current-in-tab="false">
23
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/exe_helpers.rb">
24
- <provider selected="true" editor-type-id="text-editor">
25
- <state relative-caret-position="133">
26
- <caret line="46" column="24" selection-start-line="46" selection-start-column="24" selection-end-line="46" selection-end-column="24" />
31
+ <entry file="file://$PROJECT_DIR$/README.md">
32
+ <provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
33
+ <state split_layout="FIRST">
34
+ <first_editor relative-caret-position="333">
35
+ <caret line="34" selection-start-line="34" selection-end-line="34" />
36
+ </first_editor>
37
+ <second_editor>
38
+ <markdownNavigatorState />
39
+ </second_editor>
27
40
  </state>
28
41
  </provider>
29
42
  </entry>
30
43
  </file>
31
- <file pinned="false" current-in-tab="true">
32
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/version.rb">
44
+ <file pinned="false" current-in-tab="false">
45
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb">
33
46
  <provider selected="true" editor-type-id="text-editor">
34
- <state relative-caret-position="90">
35
- <caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" />
47
+ <state relative-caret-position="252">
48
+ <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
36
49
  </state>
37
50
  </provider>
38
51
  </entry>
39
52
  </file>
40
53
  <file pinned="false" current-in-tab="false">
54
+ <entry file="file://$PROJECT_DIR$/leap_salesforce.gemspec">
55
+ <provider selected="true" editor-type-id="text-editor">
56
+ <state relative-caret-position="247">
57
+ <caret line="36" column="31" selection-start-line="36" selection-start-column="31" selection-end-line="36" selection-end-column="31" />
58
+ </state>
59
+ </provider>
60
+ </entry>
61
+ </file>
62
+ <file pinned="false" current-in-tab="true">
41
63
  <entry file="file://$PROJECT_DIR$/ChangeLog">
42
64
  <provider selected="true" editor-type-id="text-editor">
43
- <state relative-caret-position="90">
44
- <caret line="5" column="55" selection-start-line="5" selection-start-column="55" selection-end-line="5" selection-end-column="55" />
65
+ <state relative-caret-position="36">
66
+ <caret line="2" column="86" selection-start-line="2" selection-start-column="86" selection-end-line="2" selection-end-column="86" />
45
67
  </state>
46
68
  </provider>
47
69
  </entry>
@@ -67,7 +89,7 @@
67
89
  <file pinned="false" current-in-tab="false">
68
90
  <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/parameters.rb">
69
91
  <provider selected="true" editor-type-id="text-editor">
70
- <state relative-caret-position="410">
92
+ <state relative-caret-position="576">
71
93
  <caret line="32" column="7" selection-start-line="32" selection-start-column="7" selection-end-line="32" selection-end-column="7" />
72
94
  </state>
73
95
  </provider>
@@ -152,7 +174,6 @@
152
174
  <list>
153
175
  <option value="$PROJECT_DIR$/config/credentials/salesforce_oauth2.yml" />
154
176
  <option value="$PROJECT_DIR$/.leap_salesforce.yml" />
155
- <option value="$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb" />
156
177
  <option value="$PROJECT_DIR$/spec/integration/creating_spec.rb" />
157
178
  <option value="$PROJECT_DIR$/spec/integration/limit_spec.rb" />
158
179
  <option value="$PROJECT_DIR$/.gitignore" />
@@ -186,8 +207,6 @@
186
207
  <option value="$PROJECT_DIR$/lib/leap_salesforce/generator/templates/spec/crud_eg_spec.rb.erb" />
187
208
  <option value="$PROJECT_DIR$/Rakefile" />
188
209
  <option value="$PROJECT_DIR$/.gitlab-ci.yml" />
189
- <option value="$PROJECT_DIR$/README.md" />
190
- <option value="$PROJECT_DIR$/leap_salesforce.gemspec" />
191
210
  <option value="$PROJECT_DIR$/lib/leap_salesforce/generator/templates/.leap_salesforce.yml.erb" />
192
211
  <option value="$PROJECT_DIR$/lib/leap_salesforce/generator/generator.rb" />
193
212
  <option value="$PROJECT_DIR$/lib/leap_salesforce.rb" />
@@ -198,9 +217,12 @@
198
217
  <option value="$PROJECT_DIR$/lib/leap_salesforce/soql_data/soql_handler.rb" />
199
218
  <option value="$PROJECT_DIR$/lib/leap_salesforce/generator/templates/config/general.rb.erb" />
200
219
  <option value="$PROJECT_DIR$/lib/leap_salesforce/generator/exe_helpers.rb" />
220
+ <option value="$PROJECT_DIR$/lib/leap_salesforce/parameters.rb" />
221
+ <option value="$PROJECT_DIR$/README.md" />
222
+ <option value="$PROJECT_DIR$/leap_salesforce.gemspec" />
201
223
  <option value="$PROJECT_DIR$/lib/leap_salesforce/version.rb" />
224
+ <option value="$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb" />
202
225
  <option value="$PROJECT_DIR$/ChangeLog" />
203
- <option value="$PROJECT_DIR$/lib/leap_salesforce/parameters.rb" />
204
226
  </list>
205
227
  </option>
206
228
  </component>
@@ -214,7 +236,6 @@
214
236
  <foldersAlwaysOnTop value="true" />
215
237
  </navigator>
216
238
  <panes>
217
- <pane id="Scope" />
218
239
  <pane id="ProjectPane">
219
240
  <subPane>
220
241
  <expand>
@@ -222,11 +243,6 @@
222
243
  <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
223
244
  <item name="leap_salesforce" type="462c0819:PsiDirectoryNode" />
224
245
  </path>
225
- <path>
226
- <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
227
- <item name="leap_salesforce" type="462c0819:PsiDirectoryNode" />
228
- <item name="config" type="462c0819:PsiDirectoryNode" />
229
- </path>
230
246
  <path>
231
247
  <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
232
248
  <item name="leap_salesforce" type="462c0819:PsiDirectoryNode" />
@@ -240,30 +256,16 @@
240
256
  </path>
241
257
  <path>
242
258
  <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
243
- <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
244
- </path>
245
- <path>
246
- <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
247
- <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
248
- <item name="soaspec (v0.2.26, RVM: ruby-2.6.0) [gem]" type="70bed36:NamedLibraryElementNode" />
249
- </path>
250
- <path>
251
- <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
252
- <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
253
- <item name="soaspec (v0.2.26, RVM: ruby-2.6.0) [gem]" type="70bed36:NamedLibraryElementNode" />
254
- <item name="lib" type="462c0819:PsiDirectoryNode" />
255
- </path>
256
- <path>
257
- <item name="leap_salesforce" type="b2602c69:ProjectViewProjectNode" />
258
- <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
259
- <item name="soaspec (v0.2.26, RVM: ruby-2.6.0) [gem]" type="70bed36:NamedLibraryElementNode" />
259
+ <item name="leap_salesforce" type="462c0819:PsiDirectoryNode" />
260
260
  <item name="lib" type="462c0819:PsiDirectoryNode" />
261
- <item name="soaspec" type="462c0819:PsiDirectoryNode" />
261
+ <item name="leap_salesforce" type="462c0819:PsiDirectoryNode" />
262
+ <item name="ext" type="462c0819:PsiDirectoryNode" />
262
263
  </path>
263
264
  </expand>
264
265
  <select />
265
266
  </subPane>
266
267
  </pane>
268
+ <pane id="Scope" />
267
269
  </panes>
268
270
  </component>
269
271
  <component name="PropertiesComponent">
@@ -568,7 +570,8 @@
568
570
  <workItem from="1563828830007" duration="20229000" />
569
571
  <workItem from="1563859049411" duration="1935000" />
570
572
  <workItem from="1563911392675" duration="2920000" />
571
- <workItem from="1563916471074" duration="1351000" />
573
+ <workItem from="1563916471074" duration="2377000" />
574
+ <workItem from="1563938549211" duration="1186000" />
572
575
  </task>
573
576
  <task id="LOCAL-00001" summary="Initial commit with functionality to interact with soql">
574
577
  <created>1562722949418</created>
@@ -823,7 +826,7 @@
823
826
  </history-entry>
824
827
  </component>
825
828
  <component name="TimeTrackingManager">
826
- <option name="totallyTimeSpent" value="153307000" />
829
+ <option name="totallyTimeSpent" value="155519000" />
827
830
  </component>
828
831
  <component name="TodoView" selected-index="4">
829
832
  <todo-panel id="selected-file">
@@ -838,7 +841,7 @@
838
841
  <frame x="-1" y="0" width="1602" height="873" extended-state="6" />
839
842
  <editor active="true" />
840
843
  <layout>
841
- <window_info content_ui="combo" id="Project" order="0" sideWeight="0.49808428" visible="true" weight="0.21364221" />
844
+ <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.49808428" visible="true" weight="0.21621622" />
842
845
  <window_info id="Structure" order="1" sideWeight="0.5019157" side_tool="true" weight="0.16151866" />
843
846
  <window_info id="Favorites" order="2" side_tool="true" />
844
847
  <window_info anchor="bottom" id="Message" order="0" />
@@ -851,7 +854,7 @@
851
854
  <window_info anchor="bottom" id="Docker" order="7" weight="0.32991013" />
852
855
  <window_info anchor="bottom" id="Database Changes" order="8" />
853
856
  <window_info anchor="bottom" id="Version Control" order="9" weight="0.3440308" />
854
- <window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.39537868" />
857
+ <window_info anchor="bottom" id="Terminal" order="10" visible="true" weight="0.39537868" />
855
858
  <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
856
859
  <window_info anchor="bottom" id="Messages" order="12" weight="0.32991013" />
857
860
  <window_info anchor="right" id="Commander" order="0" weight="0.4" />
@@ -940,14 +943,6 @@
940
943
  <SUITE FILE_PATH="coverage/leap_salesforce@LeapSalesforce_can_delete_records__leap_salesforce.rcov" NAME="LeapSalesforce can delete records: leap-salesforce Coverage Results" MODIFIED="1562721599656" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="leap-salesforce" />
941
944
  </component>
942
945
  <component name="editorHistoryManager">
943
- <entry file="file://$PROJECT_DIR$/tmp/logs/traffic_2019-07-23_14_17_50.log" />
944
- <entry file="file://$PROJECT_DIR$/spec/unit/soql_objects_spec.rb">
945
- <provider selected="true" editor-type-id="text-editor">
946
- <state>
947
- <caret selection-end-column="29" />
948
- </state>
949
- </provider>
950
- </entry>
951
946
  <entry file="file://$PROJECT_DIR$/tmp/init/config/credentials/salesforce_oauth2.yml" />
952
947
  <entry file="file://$PROJECT_DIR$/tmp/init/config/general.rb" />
953
948
  <entry file="file://$PROJECT_DIR$/tmp/init/config/environments/prod.rb" />
@@ -1084,25 +1079,6 @@
1084
1079
  </state>
1085
1080
  </provider>
1086
1081
  </entry>
1087
- <entry file="file://$PROJECT_DIR$/leap_salesforce.gemspec">
1088
- <provider selected="true" editor-type-id="text-editor">
1089
- <state relative-caret-position="139">
1090
- <caret line="30" column="19" selection-start-line="30" selection-start-column="19" selection-end-line="30" selection-end-column="19" />
1091
- </state>
1092
- </provider>
1093
- </entry>
1094
- <entry file="file://$PROJECT_DIR$/README.md">
1095
- <provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
1096
- <state split_layout="FIRST">
1097
- <first_editor relative-caret-position="216">
1098
- <caret line="33" selection-start-line="33" selection-end-line="33" />
1099
- </first_editor>
1100
- <second_editor>
1101
- <markdownNavigatorState />
1102
- </second_editor>
1103
- </state>
1104
- </provider>
1105
- </entry>
1106
1082
  <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.6.0/gems/soaspec-0.2.26/lib/soaspec/exchange_handlers/rest_parameters.rb">
1107
1083
  <provider selected="true" editor-type-id="text-editor">
1108
1084
  <state relative-caret-position="150">
@@ -1137,13 +1113,6 @@
1137
1113
  <entry file="file://$PROJECT_DIR$/spec/integration/picklists_spec.rb">
1138
1114
  <provider selected="true" editor-type-id="text-editor" />
1139
1115
  </entry>
1140
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb">
1141
- <provider selected="true" editor-type-id="text-editor">
1142
- <state relative-caret-position="36">
1143
- <caret line="2" column="26" selection-start-line="2" selection-start-column="26" selection-end-line="2" selection-end-column="26" />
1144
- </state>
1145
- </provider>
1146
- </entry>
1147
1116
  <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/users/user.rb">
1148
1117
  <provider selected="true" editor-type-id="text-editor">
1149
1118
  <state relative-caret-position="148">
@@ -1158,6 +1127,34 @@
1158
1127
  </state>
1159
1128
  </provider>
1160
1129
  </entry>
1130
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.6.0/gems/soaspec-0.2.26/lib/soaspec/not_found_errors.rb">
1131
+ <provider selected="true" editor-type-id="text-editor">
1132
+ <state relative-caret-position="18">
1133
+ <caret line="1" column="21" selection-start-line="1" selection-start-column="6" selection-end-line="1" selection-end-column="21" />
1134
+ </state>
1135
+ </provider>
1136
+ </entry>
1137
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.6.0/gems/soaspec-0.2.26/lib/soaspec/o_auth2.rb">
1138
+ <provider selected="true" editor-type-id="text-editor">
1139
+ <state relative-caret-position="148">
1140
+ <caret line="54" column="8" selection-start-line="54" selection-start-column="8" selection-end-line="54" selection-end-column="8" />
1141
+ </state>
1142
+ </provider>
1143
+ </entry>
1144
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/generator.rb">
1145
+ <provider selected="true" editor-type-id="text-editor">
1146
+ <state relative-caret-position="432">
1147
+ <caret line="24" column="63" selection-start-line="24" selection-start-column="11" selection-end-line="24" selection-end-column="63" />
1148
+ </state>
1149
+ </provider>
1150
+ </entry>
1151
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/exe_helpers.rb">
1152
+ <provider selected="true" editor-type-id="text-editor">
1153
+ <state relative-caret-position="828">
1154
+ <caret line="46" column="24" selection-start-line="46" selection-start-column="24" selection-end-line="46" selection-end-column="24" />
1155
+ </state>
1156
+ </provider>
1157
+ </entry>
1161
1158
  <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/templates/.leap_salesforce.yml.erb">
1162
1159
  <provider selected="true" editor-type-id="text-editor">
1163
1160
  <state>
@@ -1172,6 +1169,13 @@
1172
1169
  </state>
1173
1170
  </provider>
1174
1171
  </entry>
1172
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/parameters.rb">
1173
+ <provider selected="true" editor-type-id="text-editor">
1174
+ <state relative-caret-position="576">
1175
+ <caret line="32" column="7" selection-start-line="32" selection-start-column="7" selection-end-line="32" selection-end-column="7" />
1176
+ </state>
1177
+ </provider>
1178
+ </entry>
1175
1179
  <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/templates/config/general.rb.erb">
1176
1180
  <provider selected="true" editor-type-id="text-editor">
1177
1181
  <state relative-caret-position="72">
@@ -1179,52 +1183,57 @@
1179
1183
  </state>
1180
1184
  </provider>
1181
1185
  </entry>
1182
- <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.6.0/gems/soaspec-0.2.26/lib/soaspec/not_found_errors.rb">
1186
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb">
1183
1187
  <provider selected="true" editor-type-id="text-editor">
1184
- <state relative-caret-position="18">
1185
- <caret line="1" column="21" selection-start-line="1" selection-start-column="6" selection-end-line="1" selection-end-column="21" />
1188
+ <state relative-caret-position="36">
1189
+ <caret line="2" column="26" selection-start-line="2" selection-start-column="26" selection-end-line="2" selection-end-column="26" />
1186
1190
  </state>
1187
1191
  </provider>
1188
1192
  </entry>
1189
- <entry file="file://$PROJECT_DIR$/ChangeLog">
1190
- <provider selected="true" editor-type-id="text-editor">
1191
- <state relative-caret-position="90">
1192
- <caret line="5" column="55" selection-start-line="5" selection-start-column="55" selection-end-line="5" selection-end-column="55" />
1193
+ <entry file="file://$PROJECT_DIR$/README.md">
1194
+ <provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
1195
+ <state split_layout="FIRST">
1196
+ <first_editor relative-caret-position="333">
1197
+ <caret line="34" selection-start-line="34" selection-end-line="34" />
1198
+ </first_editor>
1199
+ <second_editor>
1200
+ <markdownNavigatorState />
1201
+ </second_editor>
1193
1202
  </state>
1194
1203
  </provider>
1195
1204
  </entry>
1196
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/parameters.rb">
1205
+ <entry file="file://$PROJECT_DIR$/leap_salesforce.gemspec">
1197
1206
  <provider selected="true" editor-type-id="text-editor">
1198
- <state relative-caret-position="410">
1199
- <caret line="32" column="7" selection-start-line="32" selection-start-column="7" selection-end-line="32" selection-end-column="7" />
1207
+ <state relative-caret-position="247">
1208
+ <caret line="36" column="31" selection-start-line="36" selection-start-column="31" selection-end-line="36" selection-end-column="31" />
1200
1209
  </state>
1201
1210
  </provider>
1202
1211
  </entry>
1203
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/generator.rb">
1212
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/version.rb">
1204
1213
  <provider selected="true" editor-type-id="text-editor">
1205
- <state relative-caret-position="432">
1206
- <caret line="24" column="63" selection-start-line="24" selection-start-column="11" selection-end-line="24" selection-end-column="63" />
1214
+ <state relative-caret-position="54">
1215
+ <caret line="3" column="18" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
1207
1216
  </state>
1208
1217
  </provider>
1209
1218
  </entry>
1210
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/generator/exe_helpers.rb">
1219
+ <entry file="file://$APPLICATION_HOME_DIR$/rubystubs26/string.rb">
1211
1220
  <provider selected="true" editor-type-id="text-editor">
1212
- <state relative-caret-position="133">
1213
- <caret line="46" column="24" selection-start-line="46" selection-start-column="24" selection-end-line="46" selection-end-column="24" />
1221
+ <state relative-caret-position="418">
1222
+ <caret line="1673" column="8" selection-start-line="1673" selection-start-column="8" selection-end-line="1673" selection-end-column="8" />
1214
1223
  </state>
1215
1224
  </provider>
1216
1225
  </entry>
1217
- <entry file="file://$USER_HOME$/.rvm/gems/ruby-2.6.0/gems/soaspec-0.2.26/lib/soaspec/o_auth2.rb">
1226
+ <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/ext/string.rb">
1218
1227
  <provider selected="true" editor-type-id="text-editor">
1219
- <state relative-caret-position="148">
1220
- <caret line="54" column="8" selection-start-line="54" selection-start-column="8" selection-end-line="54" selection-end-column="8" />
1228
+ <state relative-caret-position="252">
1229
+ <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
1221
1230
  </state>
1222
1231
  </provider>
1223
1232
  </entry>
1224
- <entry file="file://$PROJECT_DIR$/lib/leap_salesforce/version.rb">
1233
+ <entry file="file://$PROJECT_DIR$/ChangeLog">
1225
1234
  <provider selected="true" editor-type-id="text-editor">
1226
- <state relative-caret-position="90">
1227
- <caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" />
1235
+ <state relative-caret-position="36">
1236
+ <caret line="2" column="86" selection-start-line="2" selection-start-column="86" selection-end-line="2" selection-end-column="86" />
1228
1237
  </state>
1229
1238
  </provider>
1230
1239
  </entry>
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.1.3
2
+ * Bug Fix
3
+ * Catered for $, # and numbers at the beginning of methods that were breaking things
4
+
1
5
  Version 0.1.2
2
6
  * Enhancements
3
7
  * Added color to output messages
data/README.md CHANGED
@@ -5,6 +5,8 @@ from Salesforce and creates the foundation for API tests.
5
5
 
6
6
  In the future it will also planned to be used to create page objects based on metadata to support UI testing.
7
7
 
8
+ [![Build Status](https://gitlab.com/leap-dojo/leap_salesforce/badges/master/build.svg)](https://gitlab.com/leap-dojo/leap_salesforce/pipelines)
9
+
8
10
  ## Installation
9
11
 
10
12
  Add this line to your application's Gemfile:
@@ -31,8 +33,6 @@ E.g
31
33
  leap_salesforce init
32
34
  ```
33
35
 
34
-
35
-
36
36
  ## Docs
37
37
 
38
38
  Technical docs [here](https://www.rubydoc.info/gems/leap_salesforce)
@@ -34,6 +34,7 @@ It reads the Metadata from Salesforce and creates the foundation for API tests.'
34
34
  spec.add_dependency 'colorize'
35
35
  spec.add_dependency 'factory_bot'
36
36
  spec.add_dependency 'faker'
37
+ spec.add_dependency 'humanize'
37
38
  spec.add_dependency 'rake'
38
39
  spec.add_dependency 'require_all'
39
40
  spec.add_dependency 'rubocop'
@@ -2,13 +2,21 @@
2
2
 
3
3
  require 'nori/core_ext'
4
4
  require 'rubykeyword'
5
+ require 'humanize'
5
6
 
6
7
  # Override string object to provide convenience methods for Strings
7
8
  class String
8
9
  # @todo: Have method of replacing all
9
10
  # @return [String] Remove many complex characters to make a key for a Ruby Hash that is usable
10
11
  def to_key_name
11
- tr(' ,-', '_').tr("'/():", '').tr('&', '').gsub('<', 'gt').remove_macrons.snakecase.gsub('__', '_')
12
+ tr(' ,-', '_').tr("'/():$#", '').tr('&', '').gsub('<', 'gt').remove_macrons.snakecase.gsub('__', '_')
13
+ .humanize_numbered_string
14
+ end
15
+
16
+ # Convert string starting with number to a human string
17
+ def humanize_numbered_string
18
+ self[0] = self[0].to_i.zero? ? self[0] : self[0].to_i.humanize
19
+ self
12
20
  end
13
21
 
14
22
  # @return [String] Return string without macrons, used for filenames and ruby methods
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LeapSalesforce
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  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: 0.1.2
4
+ version: 0.1.3
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-07-23 00:00:00.000000000 Z
12
+ date: 2019-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -123,6 +123,20 @@ dependencies:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: humanize
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
126
140
  - !ruby/object:Gem::Dependency
127
141
  name: rake
128
142
  requirement: !ruby/object:Gem::Requirement