diff --git a/History.md b/History.md index 6732570..774346f 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +2.3.2 / 2020-04-28 +================== + +* Enable overriding options in Transport () + 2.3.1 / 2020-04-13 ================== diff --git a/lib/segment/analytics/version.rb b/lib/segment/analytics/version.rb index 1191fc4..3c375ed 100644 --- a/lib/segment/analytics/version.rb +++ b/lib/segment/analytics/version.rb @@ -1,5 +1,5 @@ module Segment class Analytics - VERSION = '2.3.1' + VERSION = '2.3.2' end end diff --git a/lib/segment/analytics/worker.rb b/lib/segment/analytics/worker.rb index a313eed..7e73fae 100644 --- a/lib/segment/analytics/worker.rb +++ b/lib/segment/analytics/worker.rb @@ -29,7 +29,7 @@ def initialize(queue, write_key, options = {}) batch_size = options[:batch_size] || Defaults::MessageBatch::MAX_SIZE @batch = MessageBatch.new(batch_size) @lock = Mutex.new - @transport = Transport.new + @transport = Transport.new(options) end # public: Continuously runs the loop to check for new events