twsh 0.3.0 → 0.3.1

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: 7f33973323a6331bab9c01ba900fac35e3122ce7
4
- data.tar.gz: 4a0e30ec5c5a1b175cf80ddf67f1586bc1ef1691
3
+ metadata.gz: e9b2b434756b7503ef8da6caf0abcc0aae13d312
4
+ data.tar.gz: e3a95c22f72fc78ceb8b135f081ef6a201724ca3
5
5
  SHA512:
6
- metadata.gz: 970219ce79cf96fd847859fb4b289c5f6dcfabb903b6835e47b23c349e177d60cc163cd8f8b386d3ced86b1de4a8da31cc4cb7e9e09ceb240416041fba1c8e8c
7
- data.tar.gz: 97cf1c016bd3dce4c9acc03588a73063ec7079048dd342683709ebbb019046b3357c79ad1c37ce8fc18cc87247f4cafe480ba4d4f66a610ce9e6d4adeaacd632
6
+ metadata.gz: 128b3a8d3b720051337eb504faf721cdb04ffb0e84a6108f4745e68322f9c237da7416063bbf37e04d290300ea7a1d3f0c249867b3dd4a0ea2331895acead457
7
+ data.tar.gz: 26ed039f785e8b6aae0268b828cf220c3f508601985e1122b8fdd7ac6d78f8183ad922e22e9dfb7594534223dedc5f45492b4f4f725899c7efbd7f438449329e
@@ -18,8 +18,8 @@ module Myun2
18
18
 
19
19
  def request_authorize_url
20
20
  @auth = Myun2::Twitter::Authenticate.new(
21
- consumer_key: TWITTER_CONSUMER_KEY,
22
- consumer_secret: TWITTER_CONSUMER_SECRET)
21
+ consumer_key: ConsumerKey::KEY,
22
+ consumer_secret: ConsumerKey::SECRET)
23
23
  @auth.request_authorize_url
24
24
  end
25
25
 
@@ -7,6 +7,7 @@ module Myun2
7
7
  def initialize(profile, *params)
8
8
  Tail.home_timeline_streaming(profile) do |o|
9
9
  if o.is_a?(::Twitter::Tweet)
10
+ puts "#{o.created_at} -> @#{o.user.screen_name}"
10
11
  puts "<#{o.user.name}>: #{o.text}"
11
12
  end
12
13
  end
@@ -1,5 +1,5 @@
1
1
  module Myun2
2
2
  class TwitterShell
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - myun2
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.2.2
129
+ rubygems_version: 2.1.11
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Twitter command line shell.