lightstreamer 0.9 → 0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/lightstreamer/session.rb +4 -2
- data/lib/lightstreamer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c3233354e9c3f4b4200e693ad85cca5c0608a5a
|
4
|
+
data.tar.gz: 84d6e92653bf54b3bd74de5ca789714c7f47e011
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
|
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.
|
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-
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|