lightstreamer 0.9 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75687f5d599512c6623967cd0e005f67c616e3f2
4
- data.tar.gz: b8eadafa92da0812fa59803e44b371d4537aeedb
3
+ metadata.gz: 3c3233354e9c3f4b4200e693ad85cca5c0608a5a
4
+ data.tar.gz: 84d6e92653bf54b3bd74de5ca789714c7f47e011
5
5
  SHA512:
6
- metadata.gz: e8a46f18e3bd81a5635c660caea2911e1f04f5503476293e37bebd49bf0a45a3f28a980bc546b8d316a419aad5c0b550d5134e1dab62ff7a513cf81fe20299e7
7
- data.tar.gz: 273ec4437edcde9a079a0f7c51e83701751caae948a776c623d89443ed7f9f25eb556c9255fda11d44e1c4b76785fae93b19d19b56d731938dd0e3eb34ad129e
6
+ metadata.gz: 012b09b619a2c3c21913096639fcbd3962f6ad34618e5629a85434062f289308711aa546928e3b12d98d847f3d4e175988db70c02086cbaf2f3f6f9d741d634d
7
+ data.tar.gz: 3dce2858bcbc74bf1b35304f23fb600e68e846c4cfbc0916358a3f8308d5367e3cd69f5c7f7a1e92ed01d88869973bfba294f3eaae7e212742996ceaab78028f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Lightstreamer Changelog
2
2
 
3
+ ### 0.10 — August 5, 2016
4
+
5
+ - Added support for shared subscription start options to `Lightstreamer::Session#bulk_subscription_start`
6
+
3
7
  ### 0.9 — August 4, 2016
4
8
 
5
9
  - Replaced the `Lightstreamer::Session#error` attribute with a new `Lightstreamer::Session#on_error` callback to enable
@@ -160,11 +160,13 @@ module Lightstreamer
160
160
  # if no error occurred.
161
161
  #
162
162
  # @param [Array<Subscription>] subscriptions The subscriptions to start.
163
+ # @param [Hash] options The options to start all subscriptions with. See {Subscription#start} for details on the
164
+ # supported options.
163
165
  #
164
166
  # @return [Array<LightstreamerError, nil>]
165
- def bulk_subscription_start(*subscriptions)
167
+ def bulk_subscription_start(subscriptions, options = {})
166
168
  request_bodies = subscriptions.map do |subscription|
167
- args = subscription.start_control_request_args
169
+ args = subscription.start_control_request_args options
168
170
  PostRequest.request_body({ LS_session: session_id, LS_op: args.first }.merge(args[1]))
169
171
  end
170
172
 
@@ -1,4 +1,4 @@
1
1
  module Lightstreamer
2
2
  # The version of this gem.
3
- VERSION = '0.9'.freeze
3
+ VERSION = '0.10'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightstreamer
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: '0.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Viney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-04 00:00:00.000000000 Z
11
+ date: 2016-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon