twicas_stream 1.2.1 → 1.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
  SHA256:
3
- metadata.gz: f9b2c53bb6e49708142bca6d235e1a962d91e7850608beb37abc6e5f07ab9ecc
4
- data.tar.gz: 159c4b98cdd4f9b6d1e5eb293b44589e53d5c44bca330f2cceee7271ab4b9d77
3
+ metadata.gz: ec2e828a4cfe3400f1695a66f7c1242450d23a909de2533d8fde24959532ee04
4
+ data.tar.gz: c8a32e0c9345277ce27591f9ea72db9d4fddc38e02ad7da9f045c6231d724cdf
5
5
  SHA512:
6
- metadata.gz: fba3098e9bbb6aef708bc532f9cd8f9cedfee4e56561a016330db2a6786493fa08f40c1e26baaedb712eedd8f9bac21e6b5a26548c32133f1367577af50c4424
7
- data.tar.gz: 267ea29ce99f0892a671936064de97a0b82b161764de50cd1b3ee88fcda9e391fbdeb2cb9d29b30ef84b81aacbf81c65afab6a1412b551cec15619dbbb43def2
6
+ metadata.gz: 5eafb58aeee996d5b74c5ca904f70d13e1d34773ac1c0b31a385cf8ebec849c0d75295c5985238924f6f0e871deb0fcd021863686896d540d108237fb3d5be80
7
+ data.tar.gz: e9005499b49eb8a77a5d2a0eb02fa65772dc81237bc109472b35dc30a3f9d8d637d56aa5902090bade9135aacf78b2e4bb5639ae702010194b0c26f4ff2febd7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v1.2.2
2
+ [full changelog](http://github.com/ysato5654/twicas_stream/compare/v1.2.2...v1.2.1)
3
+
4
+ * improve reliability
5
+
1
6
  ## v1.2.1
2
7
  [full changelog](http://github.com/ysato5654/twicas_stream/compare/v1.2.1...v1.2.0)
3
8
 
@@ -0,0 +1,22 @@
1
+ #! /opt/local/bin/ruby
2
+ # coding: utf-8
3
+
4
+ if $0 == __FILE__
5
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/twicas_stream')
6
+
7
+ TwicasStream.configure do |request_header|
8
+ #request_header.access_token = File.read(File.expand_path(File.dirname(__FILE__) + '/../config/access_token.txt'))
9
+ # => for developer
10
+
11
+ request_header.access_token = 'xxx'# put your access token here
12
+ end
13
+
14
+ user_id = 'twitcasting_dev'
15
+ api = TwicasStream::Supporter::SupporterList.new(user_id = user_id, sort = 'new')
16
+ supporters = api.response[:supporters]
17
+
18
+ exit(0) unless api.response[:error].nil?
19
+
20
+ STDOUT.puts
21
+
22
+ end
@@ -0,0 +1,22 @@
1
+ #! /opt/local/bin/ruby
2
+ # coding: utf-8
3
+
4
+ if $0 == __FILE__
5
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/twicas_stream')
6
+
7
+ TwicasStream.configure do |request_header|
8
+ #request_header.access_token = File.read(File.expand_path(File.dirname(__FILE__) + '/../config/access_token.txt'))
9
+ # => for developer
10
+
11
+ request_header.access_token = 'xxx'# put your access token here
12
+ end
13
+
14
+ user_id = 'twitcasting_dev'
15
+ api = TwicasStream::Supporter::SupportingList.new(user_id)
16
+ supporting = api.response[:supporting]
17
+
18
+ exit(0) unless api.response[:error].nil?
19
+
20
+ STDOUT.puts
21
+
22
+ end
@@ -2,5 +2,5 @@
2
2
  # coding: utf-8
3
3
 
4
4
  module TwicasStream
5
- VERSION = '1.2.1'
5
+ VERSION = '1.2.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twicas_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Sato
@@ -119,6 +119,8 @@ files:
119
119
  - examples/get_user_info.rb
120
120
  - examples/search_live_movies.rb
121
121
  - examples/search_users.rb
122
+ - examples/supporter_list.rb
123
+ - examples/supporting_list.rb
122
124
  - examples/verify_credentials.rb
123
125
  - lib/twicas_stream.rb
124
126
  - lib/twicas_stream/category.rb