stream-ruby 2.6.1 → 2.7.0
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 +5 -5
- data/lib/stream/batch.rb +20 -0
- data/lib/stream/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: badc3e658484654a812323b996cdfbd788f9fa233c727b8d9bdc1d3fa3dc9229
|
4
|
+
data.tar.gz: a1a2521e4a76517dbc87186de56842f772967cf567b4763e7ae1c2cf3760e53d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56cb9a2498641543f546f6574887c35bb8f109edd452da6bb03271ef820ebdc426f05946d00a6a18b0b7df1773251b0108de32b34ea4d9134f195fd08f184ddf
|
7
|
+
data.tar.gz: 8d024894fbe8754a84c94c539279222aa831a527c4b86b11a68a46bf3b4b33bc204823636313bec8783700fc464a5c2cad84a374a33442bcdef232a036701a57
|
data/lib/stream/batch.rb
CHANGED
@@ -24,6 +24,26 @@ module Stream
|
|
24
24
|
make_signed_request(:post, '/follow_many/', query_params, follows)
|
25
25
|
end
|
26
26
|
|
27
|
+
#
|
28
|
+
# Unfollow many feeds in one single request
|
29
|
+
#
|
30
|
+
# @param [Array<Hash<:source, :target, :keep_history>>] unfollows the list of follows to remove.
|
31
|
+
#
|
32
|
+
# return [nil]
|
33
|
+
#
|
34
|
+
# @example
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# unfollows = [
|
38
|
+
# {source: 'user:1', target: 'timeline:1'},
|
39
|
+
# {source: 'user:2', target: 'timeline:2', keep_history: false}
|
40
|
+
# ]
|
41
|
+
# @client.unfollow_many(unfollows)
|
42
|
+
#
|
43
|
+
def unfollow_many(unfollows)
|
44
|
+
make_signed_request(:post, '/unfollow_many/', {}, unfollows)
|
45
|
+
end
|
46
|
+
|
27
47
|
#
|
28
48
|
# Adds an activity to many feeds in one single request
|
29
49
|
#
|
data/lib/stream/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tommaso Barbugli
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-05-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.7.3
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: A gem that provides a client interface for getstream.io
|