fn-salesforce 0.2.1.pre → 0.2.2.pre

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f21d0bbc146e48a52cfb0007238f01e2c7f24ff5
4
- data.tar.gz: f8734fc4c3b6cb63b710ea43ec122177a6e67261
3
+ metadata.gz: 162e2d8a366778c3b5591cd5c64c9bf3185f8f0c
4
+ data.tar.gz: 6c35d73fabb1af3118e57a1d43a2ed8fdcd0a4e4
5
5
  SHA512:
6
- metadata.gz: 662f5edb8f6c429d4755946571c413e97bf9dbb68d80436c77c7b2bce00ec17c80052b55b1ebbf9b4b886b1918590ed866ecf0a84591c709a84a81cd315543c8
7
- data.tar.gz: fa3b272722bed0027ea525074718ba52a68359ed6263b3b2191d8acf824dd9a07be6d202c21167c4e1d6ca20ad8b94490036654529e3a148ad72f04e89ff864b
6
+ metadata.gz: b91eb1dcd5aad8574bbaeb60dc31684599a6049ca0cf5eb286343ecfe810ed5fa1cfa639f4bf560c35cc989193a4a73ea49faa42c42792e7abb1bbff764d975a
7
+ data.tar.gz: 622d4b37b798d7094e49c37f865e5407dfbf51cd8fa681316f816151ea0ebb7c41c978b359fe7552770c0625c17d4994cc0aaeafa2033e37a0b6467dc813ae3c
@@ -76,8 +76,8 @@ module Fn
76
76
  when :upsert
77
77
  external_id_value = operation.properties[ operation.externalID ]
78
78
  logger.info "Upserting #{operation.s_object}(#{operation.externalID} => #{ external_id_value })"
79
- operation.properties[ operation.externalID ] = URI.escape( external_id_value )
80
- client.upsert!(operation.sObject, URI.escape( operation.externalID ), operation.properties)
79
+ operation.properties[ operation.externalID ] = URI.escape( external_id_value, /[+ ]/)
80
+ client.upsert!(operation.sObject, URI.escape( operation.externalID, /[+ ]/), operation.properties)
81
81
  else
82
82
  logger.warn "Warning: No action found for #{operation.inspect}. Skipping."
83
83
  end
@@ -1,5 +1,5 @@
1
1
  module Fn
2
2
  module Salesforce
3
- VERSION = "0.2.1.pre"
3
+ VERSION = "0.2.2.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fn-salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.pre
4
+ version: 0.2.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Corbishley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler