tw 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -0
- data/lib/tw/conf.rb +2 -2
- data/lib/tw/version.rb +1 -1
- data/test/test_tw.rb +1 -1
- data/tw.gemspec +4 -5
- metadata +11 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5196cf7e6b53a50e28a360b7e290b5e17fa01b19
|
4
|
+
data.tar.gz: b4c3a26b6a1c6646c591bfd912abf7aec5b1850b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f28a01c369e7f4058f51bc6ccd38cc5f03ba5c1ef6397bc440e592483cb6b080ffc8b90d9618f8448fec9ea54641e2bbce5d479c43966483859b5048aabe8134
|
7
|
+
data.tar.gz: d122a1cac4b0ece26969967114481e3be21014496339249907dd16481536a2e2f37abb4c53390130882606890341e852e20775b7dfc4ec65f7987528877bcfcb
|
data/History.txt
CHANGED
data/lib/tw/conf.rb
CHANGED
@@ -31,7 +31,7 @@ module Tw
|
|
31
31
|
def self.conf
|
32
32
|
@@conf ||= (
|
33
33
|
res = default
|
34
|
-
if File.
|
34
|
+
if File.exist? self.conf_file
|
35
35
|
begin
|
36
36
|
data = nil
|
37
37
|
self.open_conf_file do |f|
|
@@ -84,7 +84,7 @@ module Tw
|
|
84
84
|
else
|
85
85
|
return open(self.conf_file, opt)
|
86
86
|
end
|
87
|
-
File.chmod 0600, self.conf_file if File.
|
87
|
+
File.chmod 0600, self.conf_file if File.exist? self.conf_file
|
88
88
|
end
|
89
89
|
end
|
90
90
|
end
|
data/lib/tw/version.rb
CHANGED
data/test/test_tw.rb
CHANGED
@@ -15,7 +15,7 @@ class TestTw < MiniTest::Test
|
|
15
15
|
def response?(arr)
|
16
16
|
return false unless arr.kind_of? Array
|
17
17
|
arr.each do |i|
|
18
|
-
return false if !(i.id.class ==
|
18
|
+
return false if !(i.id.class == Integer and
|
19
19
|
(user? i.user or (user? i.user[:to] and user? i.user[:from])) and
|
20
20
|
i.text.kind_of? String and
|
21
21
|
i.time.kind_of? Time)
|
data/tw.gemspec
CHANGED
@@ -17,13 +17,12 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_dependency 'twitter', '>=
|
21
|
-
gem.add_dependency 'oauth', '>= 0.5.
|
20
|
+
gem.add_dependency 'twitter', '>= 6.2.0'
|
21
|
+
gem.add_dependency 'oauth', '>= 0.5.4'
|
22
22
|
gem.add_dependency 'json', '>= 2.1.0'
|
23
|
-
gem.add_dependency '
|
24
|
-
gem.add_dependency 'rainbow', '>= 2.2.2'
|
23
|
+
gem.add_dependency 'rainbow', '>= 3.0.0'
|
25
24
|
gem.add_dependency 'args_parser', '>= 0.2.0'
|
26
|
-
gem.add_dependency 'parallel', '>= 1.
|
25
|
+
gem.add_dependency 'parallel', '>= 1.12.0'
|
27
26
|
gem.add_dependency 'launchy', '>= 2.4.3'
|
28
27
|
|
29
28
|
gem.add_development_dependency 'rake'
|
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.2.
|
4
|
+
version: 1.2.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: 2017-
|
11
|
+
date: 2017-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 6.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: oauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.5.
|
33
|
+
version: 0.5.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.5.
|
40
|
+
version: 0.5.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,34 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.1.0
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: yajl-ruby
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.3.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.3.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rainbow
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 3.0.0
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 3.0.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: args_parser
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +86,14 @@ dependencies:
|
|
100
86
|
requirements:
|
101
87
|
- - ">="
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
89
|
+
version: 1.12.0
|
104
90
|
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - ">="
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
96
|
+
version: 1.12.0
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: launchy
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
207
|
version: '0'
|
222
208
|
requirements: []
|
223
209
|
rubyforge_project:
|
224
|
-
rubygems_version: 2.6.
|
210
|
+
rubygems_version: 2.6.13
|
225
211
|
signing_key:
|
226
212
|
specification_version: 4
|
227
213
|
summary: CUI Twitter Client.
|