Version 1.3.1 * Require facets so that `snakecase` method ensured to work Version 1.3.0 * Updated sfdx commands to use new terms, not deprecated ones Version 1.2.2 * Fix issue with sfdx logging in with new access token format Version 1.2.1 * Debug SOAP login request so it can be debugged Version 1.2.0 * Ability to set security token on leap_salesforce user by setting an environment variable with the format `ENV["#{key}_token"]`` * Remove deprecated method of create_enum within soql_settings class Version 1.1.2 * Fix user_id from session Version 1.1.1 * Allow session information from SOAP login to be available with LeapSalesforce::Session class Version 1.1.0 * Proper fix to work with activerecord 7 - requires ruby > 2.7 Version 1.0.5 * Fix * Stabilize using of active record by fixing version Version 1.0.4 * Enhancement * Strip out ':' from user key for when it is accidentally added Version 1.0.3 * Enhancement * Allow templates to be sourced from external gems for generator Version 1.0.2 * Enhancement * Only load sub folders of leap_salesforce.lib_folder that are needed by this gem, allowing room for UI and other gems to use other folders independently * New method 'accessors' on object to make it easy to pass list of fields for an object Version 1.0.1 * Bug fix * Fix #28 allowing !nil for query by non null values Version 1.0.0 * Enhancement * Disable rubocop output for pending ops when creating/fixing files * Specify that working with Ruby 3 is a work in progress Version 0.2.28 * Enhancement * Make exclude method able to use class name in exclusion filter (hence easier to use) Version 0.2.27 * Bug fix * Patch to update deprecated `create_enum` method so it allows 1 parameter Version 0.2.26 * Enhancement * Create method to exclude picklists being created based on regexp in .leap_salesforce.yml Version 0.2.25 * Enhancement * `execute_as` user method that raises error if user not present Version 0.2.24 * Bug fix * Handle metadata label name that is the same name as a method on SoqlData (which one would not want overwriting) such as 'status_code' Version 0.2.23 * Enhancement * Raise better error when could not find record using query Version 0.2.22 * Enhancement * New Salesforce module to make it more intuitive to inquire about Salesforce with `Salesforce.limits` Version 0.2.21 * Enhancement * Remove enums that are no longer present on entities due to metadata changing to create_enums task Version 0.2.20 * Enhancement * Make it easier to get any record from a table Version 0.2.19 * Enhancement * Where suburl is passed into SoqlData, take part from 'sobjects' onwards to make using a path obtained from a request in a subsequent request easier * Bug fix * Handle 'sequence' keyword in FactoryBot Version 0.2.18 * Bug fix * Fixes #29 to raise error if value retrieved on object after an update failure Version 0.2.17 * Bug fix * Do not fail SFDX if SFDX_ACCESS_TOKEN and SFDX_INSTANCE_URL are manually set and no jwt file is present Version 0.2.16 * Bug fix * Fixed unset and added a test for it. Only works currently with explicit backend name Version 0.2.15 * Enhancement * Ability to set SFDX Access token and instance url manually through ENV vars * Start to document how to run against Scratch org for Sfdx Version 0.2.14 * Enhancement * Ability to set password or reset it for a LeapSalesforce::User Version 0.2.13 * Enhancement * 'Leaps::User' * Method to extract actual information regarding user, having accessor for first name * 'each' method to iterate over all/subset of users Version 0.2.12 * Enhancement * Made optional alias 'Leaps' as shorter form of LeapSalesforce * Made more ways of easily setting/finding a user Version 0.2.11 * Bug fix * Remove 'rubykeyword' gem's adding 'seek' to Sting which broke 'rubyzip' gem * Enhancement * Don't retry when a valid exception is returned (this makes things inefficient) Version 0.2.10 * Enhancement * LeapSalesforce::Users * any? method to check whether user is defined Version 0.2.9 * Enhancement * LeapSalesforce::Users * execute_as_if_present to temporarily switch to another user if they exist Version 0.2.8 * Bug fix * Could not handle double and boolean values in SOQL query Version 0.2.7 * Bug Fix * New way of handling [] method broke error message's ability to diagnose error when it was not thrown. * Enhancement * 'open_on_ui' method to view object in Salesforce UI Version 0.2.6 * Enhancement * Update on data of an object made automatically if an update is done so that 'find' does not need to be made explicitly Version 0.2.5 * Bug Fix * Fixed query where value starts with I which was not performing properly Version 0.2.4 * Bug Fix * Fixed 'delete_as_admin' method which was referring to methods that don't exist Version 0.2.3 * Enhancement * Get sfdx init working with `leap_salesforce init sfdx=true` Version 0.2.2 * Bug fix * Ids were being interpreted as DateTimes by `type_of_time?`. Made check more strict based on 'Y-M-D' format * Enhancement * Make aliases using 'where' instead of 'each with' and 'any?' instead of 'any_where?' Version 0.2.1 * Bug fix * Handle where value in filter is an exact date which was failing Version 0.2.0 * Enhancements * Ability to use `sfdx` to authenticate allowing authentication against sandboxes Version 0.1.18 * Enhancements * `LeapSalesforce.logger` can be used to configure logger * Cater for deprecated `get` method with deprecation warning Version 0.1.17 * Enhancements * Retry if a Server breaks connection intermittently raises an error Version 0.1.16 * Bug Fix * Fixed where ERB was not being used to interpret user on init script * Map keys representing elements passed to `find` and `update` to use snakecase version as defined by soql_element Version 0.1.15 * Enhancements * Handle greater than/less than equal comparator in query * Fail before request is sent if querying based on a field that is not on object * Don't wait by default for an object to appear Version 0.1.14 * Bug Fix * Fixed order of picklist comparison so error message shows error correctly Version 0.1.13 * Bug Fix * Updated 'Delete' where must_pass of true was calling 'successful?' method on wrong object * Account for new faker syntax of 2.0 Version 0.1.12 * Enhancements * Add contact factory to source control so it can be used to demonstrate traits and associations * Provide 2 more ways of creating objects. * Through specifying hash on 'new' * Through 'create' which calls FactoryBot for itself Version 0.1.11 * Enhancements * Set retry limit to 0 for OAuth as retrying too many times causes user to be locked * Have OAuth verify task as preliminary check before running tests Version 0.1.10 * Enhancements * Remove underscores from start of method name if more than 1 char long * Bug Fix * Fixed where only special character resulted in value resulted in exception thrown Version 0.1.9 * Enhancements * Updated logs handling so that the user used for API is not unnecessarily repeated * Bug Fix * Fixed issue with handling a string with '$Number' by updating order Version 0.1.8 * Bug Fix * Numbers at start of picklist names were not working and having different label and backend names broke things too Version 0.1.7 * Bug Fix * Enumeration handle where duplicates are created when converting to ruby style method by adding a '_1', '_2' Version 0.1.6 * Bug Fix * Fix 'create_all' rake task * Update string matcher so it excludes ALL non ruby characters * Add example of setting an associated field through a lookup Version 0.1.5 * Bug Fix * Handle name starting with 0, currency. This time adding string unit tests * Correct class/module names so always CamelCase Version 0.1.4 * Bug Fix * Catered for double quotes and characters appearing in table names. Version 0.1.3 * Bug Fix * Catered for $, # and numbers at the beginning of methods that were breaking things Version 0.1.2 * Enhancements * Added color to output messages * Add ticks when successful * Check for Salesforce connectivity and OAuth connection on initialisation * Add picklist spec into initially created spec files Version 0.1.1 * Enhancements * Suggestions for generated factory * Begin unit tests * Handle Macrons by ensuring they're not copied into Ruby names / Modules * Created executable