tw 1.0.0 → 1.0.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: 132f0246dedce958ec284e55e854c7519058975d
4
- data.tar.gz: 827e812dbf302b85807b250a9e40a637a4e139ad
3
+ metadata.gz: e58c9a9785be895484e56b0bfb1157544a135050
4
+ data.tar.gz: 8bb1833fb87d8fb7669aa9526e2d72a9dbe06033
5
5
  SHA512:
6
- metadata.gz: a807627313770df3891b8a93f345faa945fb8ca6bc3cf99710088d26cb6762015249445e3879aaf8015b758edf52fa00a6b3d73f61760c097ccb52d8f174f9da
7
- data.tar.gz: b968ac4487d0f2c4dc718267b4c835577b85ca4ae11415fba0df08c4176cf4cf96245748fa469228643d122776f51e1e12931bdc988cf07074d8f73d79432c5d
6
+ metadata.gz: 997bf08c395e1f0dd51ca16dd0b2c6088115f4de61254545eb8bbcacd46409eab222d43977dd82f2b410e13131832164aa31b9ba9887ef0ec6d69e6e6553babf
7
+ data.tar.gz: be746c42db188db8995c63c32e8bb836f9179cd1f8285d7a17c6a2ca367694969343a9828dcd77889ff8f9228a9b5e0066001fe48e713167ef1b60ec36482a0f
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.1 2013-11-23
2
+
3
+ * bugfix -user:add #51
4
+
1
5
  === 1.0.0 2013-11-21
2
6
 
3
7
  * fix for twitter gem v5.0.0 #50
@@ -47,9 +47,9 @@ module Tw
47
47
  print 'input PIN Number: '
48
48
  verifier = STDIN.gets.strip
49
49
  access_token = request_token.get_access_token(:oauth_verifier => verifier)
50
- self.auth('access_token' => access_token.token,
51
- 'access_secret' => access_token.secret)
52
- u = Twitter.user
50
+ client = Tw::Client.new.auth('access_token' => access_token.token,
51
+ 'access_secret' => access_token.secret)
52
+ u = client.user
53
53
  Conf['users'][u.screen_name] = {
54
54
  'access_token' => access_token.token,
55
55
  'access_secret' => access_token.secret,
data/lib/tw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tw
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-21 00:00:00.000000000 Z
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter