flowhook 0.2.1 → 0.2.2

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: 10c29393b2152fb2a9c6257ba3f4c1d697a1f5a4
4
- data.tar.gz: 6f4eb3897c8c356c2cc18c332a326f5d828947d2
3
+ metadata.gz: 451f817e1bfaf2e94b4e387fa47465451c2e3c53
4
+ data.tar.gz: e3a996013256a084343ceef73126bd8ea66f58c0
5
5
  SHA512:
6
- metadata.gz: 11481b27af63098e8c73bc277947000a8df06d30b0a0ad5927c16e6fb43072f2a4f639ca0c8fc185bcf79a69f76396a023536b318b3f62cd84b2890b96ddeed0
7
- data.tar.gz: 2ef67c0870a9f0fba530dc59ee78d62ef223484cec4b84186b4a0d7496a50efa29bc200b1eebe140b65403eb95230cfa9065eb08924640b6674efb26774905e0
6
+ metadata.gz: 94eb9f50e20b3359c0f82e09f5df5b45ad835f93dc218dd8baa0e7ed7404d5787ed7e52e8092e0514c776904fbba2dd36d8c35b16641a33644d8f47d2d9c0590
7
+ data.tar.gz: 329ca4f314c36192275e603fc810f63bb61bd2745785debcf9801a911e5be9e392e6feefa3fd5befaa377e4f3e84e7c999d8017a547a8570949d105839207c62
@@ -44,7 +44,6 @@ module Flowhook
44
44
  end
45
45
 
46
46
  def streaming
47
- STDOUT.puts uri
48
47
  Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
49
48
  http.request request do |response|
50
49
  response.read_body do |chunk|
@@ -62,7 +61,7 @@ module Flowhook
62
61
 
63
62
  def uri
64
63
  @uri ||= URI("#{STREAMING_URL}?filter=#{@flows.join(',')}").tap do |uri|
65
- uri.query += 'active-true' # TODO: Add options can change state
64
+ uri.query += 'active-true' # TODO: Add options can change state
66
65
  uri.query += '&user=1' if @private
67
66
  end
68
67
  end
@@ -1,3 +1,3 @@
1
1
  module Flowhook
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flowhook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也