CHANGELOG.md in salesforce_streamer-2.0.0.rc1 vs CHANGELOG.md in salesforce_streamer-2.0.0.rc2
- old
+ new
@@ -59,9 +59,9 @@
To retrieve the replayId before subscribing to a PushTopic,
configure an adapter that returns an integer.
SalesforceStreamer.config.replay_adapter = proc { |topic|
- MyStore.fetch_replay_id(topic.name) || -1
+ (MyStore.fetch_replay_id(topic.name) || -1).to_i
}
This will be used to set the replayId value when subscribing to the PushTopic.