restforce-db 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/restforce/db/associator.rb +1 -1
- data/lib/restforce/db/initializer.rb +2 -2
- data/lib/restforce/db/instances/active_record.rb +18 -8
- data/lib/restforce/db/instances/salesforce.rb +9 -0
- data/lib/restforce/db/synchronization_error.rb +40 -0
- data/lib/restforce/db/synchronizer.rb +15 -9
- data/lib/restforce/db/version.rb +1 -1
- data/lib/restforce/db.rb +9 -0
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +55 -55
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +40 -40
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +50 -50
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/with_an_unrelated_association_mapping/proceeds_without_raising_an_error.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/returns_a_hash_of_the_associated_records_lookup_IDs.yml +41 -41
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/and_the_underlying_association_is_one-to-many/still_returns_a_nil_lookup_value_in_the_hash.yml +20 -20
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/returns_a_nil_lookup_value_in_the_hash.yml +23 -23
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +58 -58
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +58 -58
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/builds_a_number_of_associated_records_from_the_data_in_Salesforce.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +40 -40
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_alrady_been_persisted/constructs_the_association_from_the_existing_records.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_been_cached/uses_the_cached_records.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +32 -32
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +40 -40
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/and_a_nested_association_on_the_associated_mapping/recursively_builds_all_associations.yml +86 -86
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +40 -40
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +50 -50
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +59 -59
- data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_Salesforce_association_is_out_of_date/updates_the_association_ID_in_Salesforce.yml +103 -103
- data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_database_association_is_out_of_date/updates_the_associated_record_in_the_database.yml +112 -112
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_mapping_has_no_conditions/does_not_drop_the_synchronized_database_record.yml +23 -23
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/but_meets_conditions_for_a_parallel_mapping/does_not_drop_the_synchronized_database_record.yml +43 -45
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/drops_the_synchronized_database_record.yml +41 -41
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_has_been_deleted_in_Salesforce/drops_the_synchronized_database_record.yml +20 -20
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_meets_the_mapping_conditions/does_not_drop_the_synchronized_database_record.yml +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_a_Salesforce_record_with_an_associated_database_record/returns_the_attributes_from_both_records.yml +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_Salesforce_record/returns_the_attributes_from_the_Salesforce_record.yml +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_database_record/returns_the_attributes_from_the_database_record.yml +15 -15
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_a_Passive_strategy/does_not_create_a_database_record.yml +23 -23
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_an_Always_strategy/creates_a_matching_database_record.yml +32 -33
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_database_record/for_an_Always_strategy/populates_Salesforce_with_the_new_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_a_matching_database_record_exists/returns_true.yml +32 -32
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_no_matching_database_record_exists/returns_false.yml +32 -32
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_local_record_with_the_passed_attributes.yml +49 -49
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_record_in_Salesforce_with_the_passed_attributes.yml +58 -58
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_another_user_made_the_last_change/returns_false.yml +119 -0
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_our_client_made_the_last_change/returns_true.yml +158 -0
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_all/returns_a_list_of_the_existing_records_in_Salesforce.yml +32 -32
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/creates_a_record_in_Salesforce_from_the_passed_database_record_s_attributes.yml +41 -41
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/updates_the_database_record_with_the_Salesforce_record_s_ID.yml +41 -41
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/finds_existing_records_in_Salesforce.yml +32 -32
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_does_not_meet_the_conditions/does_not_find_the_record.yml +31 -31
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_meets_the_conditions/finds_the_record.yml +32 -32
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/returns_nil_when_no_matching_record_exists.yml +14 -14
- data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/wants_to_build_a_new_matching_record.yml +32 -32
- data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/with_a_corresponding_database_record/does_not_want_to_build_a_new_record.yml +32 -32
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_a_synchronized_association_record/wants_to_build_a_new_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_an_existing_database_record/does_not_want_to_build_a_new_record.yml +50 -50
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_no_synchronized_association_record/does_not_want_to_build_a_new_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_database_record.yml +125 -49
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_salesforce_record.yml +58 -58
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_change_timestamp_is_stale/does_not_update_the_database_record.yml +125 -36
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_change_timestamp_is_stale/does_not_update_the_salesforce_record.yml +44 -44
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_changes_are_current/updates_the_database_record.yml +323 -0
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_changes_are_current/updates_the_salesforce_record.yml +286 -0
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_no_associated_database_record/does_nothing_for_this_specific_mapping.yml +41 -41
- data/test/lib/restforce/db/instances/active_record_test.rb +44 -0
- data/test/lib/restforce/db/instances/salesforce_test.rb +20 -0
- data/test/lib/restforce/db/synchronizer_test.rb +25 -13
- metadata +7 -2
| @@ -21,10 +21,10 @@ http_interactions: | |
| 21 21 | 
             
                  message: OK
         | 
| 22 22 | 
             
                headers:
         | 
| 23 23 | 
             
                  Date:
         | 
| 24 | 
            -
                  -  | 
| 24 | 
            +
                  - Mon, 08 Jun 2015 22:12:34 GMT
         | 
| 25 25 | 
             
                  Set-Cookie:
         | 
| 26 | 
            -
                  - BrowserId= | 
| 27 | 
            -
                     | 
| 26 | 
            +
                  - BrowserId=iu3q7G_hRfGVXbUXSJvgmg;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 27 | 
            +
                    07-Aug-2015 22:12:34 GMT
         | 
| 28 28 | 
             
                  Expires:
         | 
| 29 29 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 30 30 | 
             
                  Pragma:
         | 
| @@ -37,9 +37,9 @@ http_interactions: | |
| 37 37 | 
             
                  - chunked
         | 
| 38 38 | 
             
                body:
         | 
| 39 39 | 
             
                  encoding: ASCII-8BIT
         | 
| 40 | 
            -
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":" | 
| 41 | 
            -
                http_version:
         | 
| 42 | 
            -
              recorded_at:  | 
| 40 | 
            +
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1433801554173","token_type":"Bearer","instance_url":"https://<host>","signature":"XPgo8B+xisNxNpNt8j1/nadrjh3j9fX7CHqyNRWIQps=","access_token":"00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz"}'
         | 
| 41 | 
            +
                http_version: 
         | 
| 42 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:35 GMT
         | 
| 43 43 | 
             
            - request:
         | 
| 44 44 | 
             
                method: post
         | 
| 45 45 | 
             
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
         | 
| @@ -53,7 +53,7 @@ http_interactions: | |
| 53 53 | 
             
                  Content-Type:
         | 
| 54 54 | 
             
                  - application/json
         | 
| 55 55 | 
             
                  Authorization:
         | 
| 56 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 56 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 57 57 | 
             
                  Accept-Encoding:
         | 
| 58 58 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 59 59 | 
             
                  Accept:
         | 
| @@ -64,28 +64,28 @@ http_interactions: | |
| 64 64 | 
             
                  message: Created
         | 
| 65 65 | 
             
                headers:
         | 
| 66 66 | 
             
                  Date:
         | 
| 67 | 
            -
                  -  | 
| 67 | 
            +
                  - Mon, 08 Jun 2015 22:12:34 GMT
         | 
| 68 68 | 
             
                  Set-Cookie:
         | 
| 69 | 
            -
                  - BrowserId= | 
| 70 | 
            -
                     | 
| 69 | 
            +
                  - BrowserId=Das_Y3JUSa2OBNJ0k5_-8w;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 70 | 
            +
                    07-Aug-2015 22:12:34 GMT
         | 
| 71 71 | 
             
                  Expires:
         | 
| 72 72 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 73 73 | 
             
                  Sforce-Limit-Info:
         | 
| 74 | 
            -
                  - api-usage= | 
| 74 | 
            +
                  - api-usage=13/15000
         | 
| 75 75 | 
             
                  Location:
         | 
| 76 | 
            -
                  - "/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 76 | 
            +
                  - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5FAAU"
         | 
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json;charset=UTF-8
         | 
| 79 79 | 
             
                  Transfer-Encoding:
         | 
| 80 80 | 
             
                  - chunked
         | 
| 81 81 | 
             
                body:
         | 
| 82 82 | 
             
                  encoding: ASCII-8BIT
         | 
| 83 | 
            -
                  string: '{"id":" | 
| 84 | 
            -
                http_version:
         | 
| 85 | 
            -
              recorded_at:  | 
| 83 | 
            +
                  string: '{"id":"a001a000001cF5FAAU","success":true,"errors":[]}'
         | 
| 84 | 
            +
                http_version: 
         | 
| 85 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:35 GMT
         | 
| 86 86 | 
             
            - request:
         | 
| 87 87 | 
             
                method: delete
         | 
| 88 | 
            -
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 88 | 
            +
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5FAAU
         | 
| 89 89 | 
             
                body:
         | 
| 90 90 | 
             
                  encoding: US-ASCII
         | 
| 91 91 | 
             
                  string: ''
         | 
| @@ -93,7 +93,7 @@ http_interactions: | |
| 93 93 | 
             
                  User-Agent:
         | 
| 94 94 | 
             
                  - Faraday v0.9.1
         | 
| 95 95 | 
             
                  Authorization:
         | 
| 96 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 96 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 97 97 | 
             
                  Accept-Encoding:
         | 
| 98 98 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 99 99 | 
             
                  Accept:
         | 
| @@ -104,17 +104,17 @@ http_interactions: | |
| 104 104 | 
             
                  message: No Content
         | 
| 105 105 | 
             
                headers:
         | 
| 106 106 | 
             
                  Date:
         | 
| 107 | 
            -
                  -  | 
| 107 | 
            +
                  - Mon, 08 Jun 2015 22:12:34 GMT
         | 
| 108 108 | 
             
                  Set-Cookie:
         | 
| 109 | 
            -
                  - BrowserId= | 
| 110 | 
            -
                     | 
| 109 | 
            +
                  - BrowserId=WAx2TkLxTXKE8l5J-Ofaeg;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 110 | 
            +
                    07-Aug-2015 22:12:34 GMT
         | 
| 111 111 | 
             
                  Expires:
         | 
| 112 112 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 113 113 | 
             
                  Sforce-Limit-Info:
         | 
| 114 | 
            -
                  - api-usage= | 
| 114 | 
            +
                  - api-usage=11/15000
         | 
| 115 115 | 
             
                body:
         | 
| 116 116 | 
             
                  encoding: UTF-8
         | 
| 117 117 | 
             
                  string: ''
         | 
| 118 | 
            -
                http_version:
         | 
| 119 | 
            -
              recorded_at:  | 
| 118 | 
            +
                http_version: 
         | 
| 119 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:36 GMT
         | 
| 120 120 | 
             
            recorded_with: VCR 2.9.3
         | 
| @@ -21,10 +21,10 @@ http_interactions: | |
| 21 21 | 
             
                  message: OK
         | 
| 22 22 | 
             
                headers:
         | 
| 23 23 | 
             
                  Date:
         | 
| 24 | 
            -
                  -  | 
| 24 | 
            +
                  - Mon, 08 Jun 2015 22:12:37 GMT
         | 
| 25 25 | 
             
                  Set-Cookie:
         | 
| 26 | 
            -
                  - BrowserId= | 
| 27 | 
            -
                     | 
| 26 | 
            +
                  - BrowserId=H-Ao6JHQQN6MkLDwjcTfmA;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 27 | 
            +
                    07-Aug-2015 22:12:37 GMT
         | 
| 28 28 | 
             
                  Expires:
         | 
| 29 29 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 30 30 | 
             
                  Pragma:
         | 
| @@ -37,9 +37,9 @@ http_interactions: | |
| 37 37 | 
             
                  - chunked
         | 
| 38 38 | 
             
                body:
         | 
| 39 39 | 
             
                  encoding: ASCII-8BIT
         | 
| 40 | 
            -
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":" | 
| 40 | 
            +
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1433801557688","token_type":"Bearer","instance_url":"https://<host>","signature":"jR7J+a16rGTcPtjAswSguhNaDWTb4xe3hvgSUNbEPtw=","access_token":"00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz"}'
         | 
| 41 41 | 
             
                http_version: 
         | 
| 42 | 
            -
              recorded_at:  | 
| 42 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:39 GMT
         | 
| 43 43 | 
             
            - request:
         | 
| 44 44 | 
             
                method: post
         | 
| 45 45 | 
             
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
         | 
| @@ -53,7 +53,7 @@ http_interactions: | |
| 53 53 | 
             
                  Content-Type:
         | 
| 54 54 | 
             
                  - application/json
         | 
| 55 55 | 
             
                  Authorization:
         | 
| 56 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 56 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 57 57 | 
             
                  Accept-Encoding:
         | 
| 58 58 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 59 59 | 
             
                  Accept:
         | 
| @@ -64,28 +64,28 @@ http_interactions: | |
| 64 64 | 
             
                  message: Created
         | 
| 65 65 | 
             
                headers:
         | 
| 66 66 | 
             
                  Date:
         | 
| 67 | 
            -
                  -  | 
| 67 | 
            +
                  - Mon, 08 Jun 2015 22:12:37 GMT
         | 
| 68 68 | 
             
                  Set-Cookie:
         | 
| 69 | 
            -
                  - BrowserId= | 
| 70 | 
            -
                     | 
| 69 | 
            +
                  - BrowserId=zUn0iRCJTIK0lwN9Uv2fmQ;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 70 | 
            +
                    07-Aug-2015 22:12:37 GMT
         | 
| 71 71 | 
             
                  Expires:
         | 
| 72 72 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 73 73 | 
             
                  Sforce-Limit-Info:
         | 
| 74 | 
            -
                  - api-usage= | 
| 74 | 
            +
                  - api-usage=12/15000
         | 
| 75 75 | 
             
                  Location:
         | 
| 76 | 
            -
                  - "/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 76 | 
            +
                  - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5UAAU"
         | 
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json;charset=UTF-8
         | 
| 79 79 | 
             
                  Transfer-Encoding:
         | 
| 80 80 | 
             
                  - chunked
         | 
| 81 81 | 
             
                body:
         | 
| 82 82 | 
             
                  encoding: ASCII-8BIT
         | 
| 83 | 
            -
                  string: '{"id":" | 
| 83 | 
            +
                  string: '{"id":"a001a000001cF5UAAU","success":true,"errors":[]}'
         | 
| 84 84 | 
             
                http_version: 
         | 
| 85 | 
            -
              recorded_at:  | 
| 85 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:39 GMT
         | 
| 86 86 | 
             
            - request:
         | 
| 87 87 | 
             
                method: get
         | 
| 88 | 
            -
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c
         | 
| 88 | 
            +
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
         | 
| 89 89 | 
             
                body:
         | 
| 90 90 | 
             
                  encoding: US-ASCII
         | 
| 91 91 | 
             
                  string: ''
         | 
| @@ -93,7 +93,7 @@ http_interactions: | |
| 93 93 | 
             
                  User-Agent:
         | 
| 94 94 | 
             
                  - Faraday v0.9.1
         | 
| 95 95 | 
             
                  Authorization:
         | 
| 96 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 96 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 97 97 | 
             
                  Accept-Encoding:
         | 
| 98 98 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 99 99 | 
             
                  Accept:
         | 
| @@ -104,28 +104,28 @@ http_interactions: | |
| 104 104 | 
             
                  message: OK
         | 
| 105 105 | 
             
                headers:
         | 
| 106 106 | 
             
                  Date:
         | 
| 107 | 
            -
                  -  | 
| 107 | 
            +
                  - Mon, 08 Jun 2015 22:12:38 GMT
         | 
| 108 108 | 
             
                  Set-Cookie:
         | 
| 109 | 
            -
                  - BrowserId= | 
| 110 | 
            -
                     | 
| 109 | 
            +
                  - BrowserId=nmVPyn5tRL24WuQPP8_Czw;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 110 | 
            +
                    07-Aug-2015 22:12:38 GMT
         | 
| 111 111 | 
             
                  Expires:
         | 
| 112 112 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 113 113 | 
             
                  Sforce-Limit-Info:
         | 
| 114 | 
            -
                  - api-usage= | 
| 114 | 
            +
                  - api-usage=13/15000
         | 
| 115 115 | 
             
                  Content-Type:
         | 
| 116 116 | 
             
                  - application/json;charset=UTF-8
         | 
| 117 117 | 
             
                  Transfer-Encoding:
         | 
| 118 118 | 
             
                  - chunked
         | 
| 119 119 | 
             
                body:
         | 
| 120 120 | 
             
                  encoding: ASCII-8BIT
         | 
| 121 | 
            -
                  string: '{"totalSize":2,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","Name":"SAMPLE","Example_Field__c":null},{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 121 | 
            +
                  string: '{"totalSize":2,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"SAMPLE","Example_Field__c":null},{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5UAAU"},"Id":"a001a000001cF5UAAU","SystemModstamp":"2015-06-08T22:12:37.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
         | 
| 122 122 | 
             
                    you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
         | 
| 123 123 | 
             
                    and Thyme."}]}'
         | 
| 124 124 | 
             
                http_version: 
         | 
| 125 | 
            -
              recorded_at:  | 
| 125 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:39 GMT
         | 
| 126 126 | 
             
            - request:
         | 
| 127 127 | 
             
                method: get
         | 
| 128 | 
            -
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
         | 
| 128 | 
            +
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
         | 
| 129 129 | 
             
                body:
         | 
| 130 130 | 
             
                  encoding: US-ASCII
         | 
| 131 131 | 
             
                  string: ''
         | 
| @@ -133,7 +133,7 @@ http_interactions: | |
| 133 133 | 
             
                  User-Agent:
         | 
| 134 134 | 
             
                  - Faraday v0.9.1
         | 
| 135 135 | 
             
                  Authorization:
         | 
| 136 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 136 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 137 137 | 
             
                  Accept-Encoding:
         | 
| 138 138 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 139 139 | 
             
                  Accept:
         | 
| @@ -144,26 +144,26 @@ http_interactions: | |
| 144 144 | 
             
                  message: OK
         | 
| 145 145 | 
             
                headers:
         | 
| 146 146 | 
             
                  Date:
         | 
| 147 | 
            -
                  -  | 
| 147 | 
            +
                  - Mon, 08 Jun 2015 22:12:38 GMT
         | 
| 148 148 | 
             
                  Set-Cookie:
         | 
| 149 | 
            -
                  - BrowserId= | 
| 150 | 
            -
                     | 
| 149 | 
            +
                  - BrowserId=WVVxZXLnQhusLHAO-uUtUg;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 150 | 
            +
                    07-Aug-2015 22:12:38 GMT
         | 
| 151 151 | 
             
                  Expires:
         | 
| 152 152 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 153 153 | 
             
                  Sforce-Limit-Info:
         | 
| 154 | 
            -
                  - api-usage= | 
| 154 | 
            +
                  - api-usage=18/15000
         | 
| 155 155 | 
             
                  Content-Type:
         | 
| 156 156 | 
             
                  - application/json;charset=UTF-8
         | 
| 157 157 | 
             
                  Transfer-Encoding:
         | 
| 158 158 | 
             
                  - chunked
         | 
| 159 159 | 
             
                body:
         | 
| 160 160 | 
             
                  encoding: ASCII-8BIT
         | 
| 161 | 
            -
                  string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","Name":"SAMPLE","Example_Field__c":null}]}'
         | 
| 161 | 
            +
                  string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"SAMPLE","Example_Field__c":null}]}'
         | 
| 162 162 | 
             
                http_version: 
         | 
| 163 | 
            -
              recorded_at:  | 
| 163 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:39 GMT
         | 
| 164 164 | 
             
            - request:
         | 
| 165 165 | 
             
                method: get
         | 
| 166 | 
            -
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,% | 
| 166 | 
            +
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById%20from%20CustomObject__c%20where%20Name%20=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
         | 
| 167 167 | 
             
                body:
         | 
| 168 168 | 
             
                  encoding: US-ASCII
         | 
| 169 169 | 
             
                  string: ''
         | 
| @@ -171,7 +171,7 @@ http_interactions: | |
| 171 171 | 
             
                  User-Agent:
         | 
| 172 172 | 
             
                  - Faraday v0.9.1
         | 
| 173 173 | 
             
                  Authorization:
         | 
| 174 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 174 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 175 175 | 
             
                  Accept-Encoding:
         | 
| 176 176 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 177 177 | 
             
                  Accept:
         | 
| @@ -182,28 +182,26 @@ http_interactions: | |
| 182 182 | 
             
                  message: OK
         | 
| 183 183 | 
             
                headers:
         | 
| 184 184 | 
             
                  Date:
         | 
| 185 | 
            -
                  -  | 
| 185 | 
            +
                  - Mon, 08 Jun 2015 22:12:38 GMT
         | 
| 186 186 | 
             
                  Set-Cookie:
         | 
| 187 | 
            -
                  - BrowserId= | 
| 188 | 
            -
                     | 
| 187 | 
            +
                  - BrowserId=uhQTItfVTVy3xhNf31CV5g;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 188 | 
            +
                    07-Aug-2015 22:12:38 GMT
         | 
| 189 189 | 
             
                  Expires:
         | 
| 190 190 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 191 191 | 
             
                  Sforce-Limit-Info:
         | 
| 192 | 
            -
                  - api-usage= | 
| 192 | 
            +
                  - api-usage=18/15000
         | 
| 193 193 | 
             
                  Content-Type:
         | 
| 194 194 | 
             
                  - application/json;charset=UTF-8
         | 
| 195 195 | 
             
                  Transfer-Encoding:
         | 
| 196 196 | 
             
                  - chunked
         | 
| 197 197 | 
             
                body:
         | 
| 198 198 | 
             
                  encoding: ASCII-8BIT
         | 
| 199 | 
            -
                  string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 200 | 
            -
                    you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
         | 
| 201 | 
            -
                    and Thyme."}]}'
         | 
| 199 | 
            +
                  string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5UAAU"},"Id":"a001a000001cF5UAAU","SystemModstamp":"2015-06-08T22:12:37.000+0000","LastModifiedById":"0051a000000UGT8AAO"}]}'
         | 
| 202 200 | 
             
                http_version: 
         | 
| 203 | 
            -
              recorded_at:  | 
| 201 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:40 GMT
         | 
| 204 202 | 
             
            - request:
         | 
| 205 203 | 
             
                method: delete
         | 
| 206 | 
            -
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 204 | 
            +
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF5UAAU
         | 
| 207 205 | 
             
                body:
         | 
| 208 206 | 
             
                  encoding: US-ASCII
         | 
| 209 207 | 
             
                  string: ''
         | 
| @@ -211,7 +209,7 @@ http_interactions: | |
| 211 209 | 
             
                  User-Agent:
         | 
| 212 210 | 
             
                  - Faraday v0.9.1
         | 
| 213 211 | 
             
                  Authorization:
         | 
| 214 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 212 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 215 213 | 
             
                  Accept-Encoding:
         | 
| 216 214 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 217 215 | 
             
                  Accept:
         | 
| @@ -222,10 +220,10 @@ http_interactions: | |
| 222 220 | 
             
                  message: No Content
         | 
| 223 221 | 
             
                headers:
         | 
| 224 222 | 
             
                  Date:
         | 
| 225 | 
            -
                  -  | 
| 223 | 
            +
                  - Mon, 08 Jun 2015 22:12:38 GMT
         | 
| 226 224 | 
             
                  Set-Cookie:
         | 
| 227 | 
            -
                  - BrowserId= | 
| 228 | 
            -
                     | 
| 225 | 
            +
                  - BrowserId=dZWfNi2_Qd-Ri3vyifVAsQ;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 226 | 
            +
                    07-Aug-2015 22:12:38 GMT
         | 
| 229 227 | 
             
                  Expires:
         | 
| 230 228 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 231 229 | 
             
                  Sforce-Limit-Info:
         | 
| @@ -234,5 +232,5 @@ http_interactions: | |
| 234 232 | 
             
                  encoding: UTF-8
         | 
| 235 233 | 
             
                  string: ''
         | 
| 236 234 | 
             
                http_version: 
         | 
| 237 | 
            -
              recorded_at:  | 
| 235 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:40 GMT
         | 
| 238 236 | 
             
            recorded_with: VCR 2.9.3
         | 
| @@ -21,10 +21,10 @@ http_interactions: | |
| 21 21 | 
             
                  message: OK
         | 
| 22 22 | 
             
                headers:
         | 
| 23 23 | 
             
                  Date:
         | 
| 24 | 
            -
                  -  | 
| 24 | 
            +
                  - Mon, 08 Jun 2015 22:12:52 GMT
         | 
| 25 25 | 
             
                  Set-Cookie:
         | 
| 26 | 
            -
                  - BrowserId= | 
| 27 | 
            -
                     | 
| 26 | 
            +
                  - BrowserId=GrokNMX-RCWCZ2FMxcpz3w;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 27 | 
            +
                    07-Aug-2015 22:12:52 GMT
         | 
| 28 28 | 
             
                  Expires:
         | 
| 29 29 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 30 30 | 
             
                  Pragma:
         | 
| @@ -37,9 +37,9 @@ http_interactions: | |
| 37 37 | 
             
                  - chunked
         | 
| 38 38 | 
             
                body:
         | 
| 39 39 | 
             
                  encoding: ASCII-8BIT
         | 
| 40 | 
            -
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":" | 
| 41 | 
            -
                http_version:
         | 
| 42 | 
            -
              recorded_at:  | 
| 40 | 
            +
                  string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1433801572363","token_type":"Bearer","instance_url":"https://<host>","signature":"d4h0SNUB5fyCgZlXR+Tk4+iym/m0huurkZxaP3ldZW4=","access_token":"00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz"}'
         | 
| 41 | 
            +
                http_version: 
         | 
| 42 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:53 GMT
         | 
| 43 43 | 
             
            - request:
         | 
| 44 44 | 
             
                method: post
         | 
| 45 45 | 
             
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
         | 
| @@ -53,7 +53,7 @@ http_interactions: | |
| 53 53 | 
             
                  Content-Type:
         | 
| 54 54 | 
             
                  - application/json
         | 
| 55 55 | 
             
                  Authorization:
         | 
| 56 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 56 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 57 57 | 
             
                  Accept-Encoding:
         | 
| 58 58 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 59 59 | 
             
                  Accept:
         | 
| @@ -64,28 +64,28 @@ http_interactions: | |
| 64 64 | 
             
                  message: Created
         | 
| 65 65 | 
             
                headers:
         | 
| 66 66 | 
             
                  Date:
         | 
| 67 | 
            -
                  -  | 
| 67 | 
            +
                  - Mon, 08 Jun 2015 22:12:52 GMT
         | 
| 68 68 | 
             
                  Set-Cookie:
         | 
| 69 | 
            -
                  - BrowserId= | 
| 70 | 
            -
                     | 
| 69 | 
            +
                  - BrowserId=7Kz9-m8vSkKUHuQsR-Yxaw;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 70 | 
            +
                    07-Aug-2015 22:12:52 GMT
         | 
| 71 71 | 
             
                  Expires:
         | 
| 72 72 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 73 73 | 
             
                  Sforce-Limit-Info:
         | 
| 74 | 
            -
                  - api-usage= | 
| 74 | 
            +
                  - api-usage=30/15000
         | 
| 75 75 | 
             
                  Location:
         | 
| 76 | 
            -
                  - "/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 76 | 
            +
                  - "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF68AAE"
         | 
| 77 77 | 
             
                  Content-Type:
         | 
| 78 78 | 
             
                  - application/json;charset=UTF-8
         | 
| 79 79 | 
             
                  Transfer-Encoding:
         | 
| 80 80 | 
             
                  - chunked
         | 
| 81 81 | 
             
                body:
         | 
| 82 82 | 
             
                  encoding: ASCII-8BIT
         | 
| 83 | 
            -
                  string: '{"id":" | 
| 84 | 
            -
                http_version:
         | 
| 85 | 
            -
              recorded_at:  | 
| 83 | 
            +
                  string: '{"id":"a001a000001cF68AAE","success":true,"errors":[]}'
         | 
| 84 | 
            +
                http_version: 
         | 
| 85 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:54 GMT
         | 
| 86 86 | 
             
            - request:
         | 
| 87 87 | 
             
                method: get
         | 
| 88 | 
            -
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c
         | 
| 88 | 
            +
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
         | 
| 89 89 | 
             
                body:
         | 
| 90 90 | 
             
                  encoding: US-ASCII
         | 
| 91 91 | 
             
                  string: ''
         | 
| @@ -93,7 +93,7 @@ http_interactions: | |
| 93 93 | 
             
                  User-Agent:
         | 
| 94 94 | 
             
                  - Faraday v0.9.1
         | 
| 95 95 | 
             
                  Authorization:
         | 
| 96 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 96 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 97 97 | 
             
                  Accept-Encoding:
         | 
| 98 98 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 99 99 | 
             
                  Accept:
         | 
| @@ -104,28 +104,28 @@ http_interactions: | |
| 104 104 | 
             
                  message: OK
         | 
| 105 105 | 
             
                headers:
         | 
| 106 106 | 
             
                  Date:
         | 
| 107 | 
            -
                  -  | 
| 107 | 
            +
                  - Mon, 08 Jun 2015 22:12:52 GMT
         | 
| 108 108 | 
             
                  Set-Cookie:
         | 
| 109 | 
            -
                  - BrowserId= | 
| 110 | 
            -
                     | 
| 109 | 
            +
                  - BrowserId=nL_mqaOeR9SMe_BG-HjbWA;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 110 | 
            +
                    07-Aug-2015 22:12:52 GMT
         | 
| 111 111 | 
             
                  Expires:
         | 
| 112 112 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 113 113 | 
             
                  Sforce-Limit-Info:
         | 
| 114 | 
            -
                  - api-usage= | 
| 114 | 
            +
                  - api-usage=34/15000
         | 
| 115 115 | 
             
                  Content-Type:
         | 
| 116 116 | 
             
                  - application/json;charset=UTF-8
         | 
| 117 117 | 
             
                  Transfer-Encoding:
         | 
| 118 118 | 
             
                  - chunked
         | 
| 119 119 | 
             
                body:
         | 
| 120 120 | 
             
                  encoding: ASCII-8BIT
         | 
| 121 | 
            -
                  string: '{"totalSize": | 
| 121 | 
            +
                  string: '{"totalSize":2,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"SAMPLE","Example_Field__c":null},{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF68AAE"},"Id":"a001a000001cF68AAE","SystemModstamp":"2015-06-08T22:12:52.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
         | 
| 122 122 | 
             
                    you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
         | 
| 123 123 | 
             
                    and Thyme."}]}'
         | 
| 124 | 
            -
                http_version:
         | 
| 125 | 
            -
              recorded_at:  | 
| 124 | 
            +
                http_version: 
         | 
| 125 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:54 GMT
         | 
| 126 126 | 
             
            - request:
         | 
| 127 127 | 
             
                method: get
         | 
| 128 | 
            -
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
         | 
| 128 | 
            +
                uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
         | 
| 129 129 | 
             
                body:
         | 
| 130 130 | 
             
                  encoding: US-ASCII
         | 
| 131 131 | 
             
                  string: ''
         | 
| @@ -133,7 +133,7 @@ http_interactions: | |
| 133 133 | 
             
                  User-Agent:
         | 
| 134 134 | 
             
                  - Faraday v0.9.1
         | 
| 135 135 | 
             
                  Authorization:
         | 
| 136 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 136 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 137 137 | 
             
                  Accept-Encoding:
         | 
| 138 138 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 139 139 | 
             
                  Accept:
         | 
| @@ -144,26 +144,26 @@ http_interactions: | |
| 144 144 | 
             
                  message: OK
         | 
| 145 145 | 
             
                headers:
         | 
| 146 146 | 
             
                  Date:
         | 
| 147 | 
            -
                  -  | 
| 147 | 
            +
                  - Mon, 08 Jun 2015 22:12:52 GMT
         | 
| 148 148 | 
             
                  Set-Cookie:
         | 
| 149 | 
            -
                  - BrowserId= | 
| 150 | 
            -
                     | 
| 149 | 
            +
                  - BrowserId=RVFXRrWCRwmOTjiGbpYadA;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 150 | 
            +
                    07-Aug-2015 22:12:52 GMT
         | 
| 151 151 | 
             
                  Expires:
         | 
| 152 152 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 153 153 | 
             
                  Sforce-Limit-Info:
         | 
| 154 | 
            -
                  - api-usage= | 
| 154 | 
            +
                  - api-usage=32/15000
         | 
| 155 155 | 
             
                  Content-Type:
         | 
| 156 156 | 
             
                  - application/json;charset=UTF-8
         | 
| 157 157 | 
             
                  Transfer-Encoding:
         | 
| 158 158 | 
             
                  - chunked
         | 
| 159 159 | 
             
                body:
         | 
| 160 160 | 
             
                  encoding: ASCII-8BIT
         | 
| 161 | 
            -
                  string: '{"totalSize": | 
| 162 | 
            -
                http_version:
         | 
| 163 | 
            -
              recorded_at:  | 
| 161 | 
            +
                  string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001a60JAAQ"},"Id":"a001a000001a60JAAQ","SystemModstamp":"2015-05-18T22:46:05.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"SAMPLE","Example_Field__c":null}]}'
         | 
| 162 | 
            +
                http_version: 
         | 
| 163 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:54 GMT
         | 
| 164 164 | 
             
            - request:
         | 
| 165 165 | 
             
                method: delete
         | 
| 166 | 
            -
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/ | 
| 166 | 
            +
                uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF68AAE
         | 
| 167 167 | 
             
                body:
         | 
| 168 168 | 
             
                  encoding: US-ASCII
         | 
| 169 169 | 
             
                  string: ''
         | 
| @@ -171,7 +171,7 @@ http_interactions: | |
| 171 171 | 
             
                  User-Agent:
         | 
| 172 172 | 
             
                  - Faraday v0.9.1
         | 
| 173 173 | 
             
                  Authorization:
         | 
| 174 | 
            -
                  - OAuth 00D1a000000H3O9! | 
| 174 | 
            +
                  - OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
         | 
| 175 175 | 
             
                  Accept-Encoding:
         | 
| 176 176 | 
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 177 177 | 
             
                  Accept:
         | 
| @@ -182,17 +182,17 @@ http_interactions: | |
| 182 182 | 
             
                  message: No Content
         | 
| 183 183 | 
             
                headers:
         | 
| 184 184 | 
             
                  Date:
         | 
| 185 | 
            -
                  -  | 
| 185 | 
            +
                  - Mon, 08 Jun 2015 22:12:53 GMT
         | 
| 186 186 | 
             
                  Set-Cookie:
         | 
| 187 | 
            -
                  - BrowserId= | 
| 188 | 
            -
                     | 
| 187 | 
            +
                  - BrowserId=bJaKjXfbTw6CaVbWzOvvtA;Path=/;Domain=.salesforce.com;Expires=Fri,
         | 
| 188 | 
            +
                    07-Aug-2015 22:12:53 GMT
         | 
| 189 189 | 
             
                  Expires:
         | 
| 190 190 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 191 191 | 
             
                  Sforce-Limit-Info:
         | 
| 192 | 
            -
                  - api-usage= | 
| 192 | 
            +
                  - api-usage=35/15000
         | 
| 193 193 | 
             
                body:
         | 
| 194 194 | 
             
                  encoding: UTF-8
         | 
| 195 195 | 
             
                  string: ''
         | 
| 196 | 
            -
                http_version:
         | 
| 197 | 
            -
              recorded_at:  | 
| 196 | 
            +
                http_version: 
         | 
| 197 | 
            +
              recorded_at: Mon, 08 Jun 2015 22:12:54 GMT
         | 
| 198 198 | 
             
            recorded_with: VCR 2.9.3
         |