stream-ruby 2.2.1 → 2.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdfdb9ae1a35cfaa630c05f58f10f55241c4cd42
4
- data.tar.gz: ce75d197cb94c20f30d0801cc1ddbd19f8ac4138
3
+ metadata.gz: 9d2139cd0288425b460713ceae7a1e5f2273de85
4
+ data.tar.gz: 4a4177f591c8431914ecfe0c5543d8f73aca0389
5
5
  SHA512:
6
- metadata.gz: ff4825055776d9ac827851fe6ecce6feb897dc3fd514c8ec61c9bc486a450cf487edd0027f601bcefeab05d8dd68f3128491f577eaf62b496df2967189d0a6e3
7
- data.tar.gz: 9bdeb269caa47e10c4b288b9223d347c37f54399ae5943a35768943d45f40be5478c064c4f2f0094110c0e8cdca6aab07a3c0c1a36e20cfa72555817f866a49c
6
+ metadata.gz: b9b72768edf581978b0356fa6f9d49fae7a197d365f2fcea6f942e0130f88fb33875b677820fb47f7387626b458a9d904348d31f04a3b642f92d63ad9a7b2d31
7
+ data.tar.gz: 19f3633b76f65aa2920f8b8f86b4a8f81b10c6977a73047d94d25740a50118e6b4ae0e49b2090c30fa2b0ab821274f8c5e62644af9a95e932de06d6ff20de40f
data/README.md CHANGED
@@ -63,7 +63,7 @@ activities = [
63
63
  ]
64
64
  user_feed_1.addActivities(activities)
65
65
 
66
- # Batch following many feeds
66
+ # Batch following many feeds (requires ruby 2.1 or later)
67
67
  follows = {[
68
68
  :source => 'flat:1', :target => 'user:1',
69
69
  :source => 'flat:1', :target => 'user:2',
@@ -10,7 +10,12 @@ module Stream
10
10
  #
11
11
  # @example
12
12
  #
13
- # client.follow_many([['flat:4', 'user:1'], ['flat:4', 'user:2']])
13
+ #
14
+ # follows = [
15
+ # {:source => 'flat:1', :target => 'user:1'},
16
+ # {:source => 'flat:1', :target => 'user:3'}
17
+ # ]
18
+ # @client.follow_many(follows)
14
19
  #
15
20
  def follow_many(follows)
16
21
  self.make_signed_request(:post, '/follow_many/', {}, follows)
@@ -15,7 +15,7 @@ module Stream
15
15
  attr_reader :location
16
16
  attr_reader :default_timeout
17
17
 
18
- if RUBY_VERSION.to_f >= 2.0
18
+ if RUBY_VERSION.to_f >= 2.1
19
19
  require 'stream/batch'
20
20
  require 'stream/signedrequest'
21
21
 
@@ -1,3 +1,3 @@
1
1
  module Stream
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stream-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommaso Barbugli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-28 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty