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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cbca5d6d9424b6bc4b14c75b1b0516c133a6c1b
4
- data.tar.gz: a30d27fc896def18a7d7bfb419c8849836d65f8b
3
+ metadata.gz: 5196cf7e6b53a50e28a360b7e290b5e17fa01b19
4
+ data.tar.gz: b4c3a26b6a1c6646c591bfd912abf7aec5b1850b
5
5
  SHA512:
6
- metadata.gz: b60705bad682626dafa97d50241b68c4bd19826776e9df556b8443d1e08480ffe7514056280422134cfd3c22ea1bfe7c9d96f31644fe456dcc95fabbe1d66212
7
- data.tar.gz: 3fc301af0cde6adaaa0142bae1138114ccd968741b3316d0970805bfac3377d85dc4a1897b61fe9f551f78923fa60b29c10014b312a8b344f2cb24e067d18326
6
+ metadata.gz: f28a01c369e7f4058f51bc6ccd38cc5f03ba5c1ef6397bc440e592483cb6b080ffc8b90d9618f8448fec9ea54641e2bbce5d479c43966483859b5048aabe8134
7
+ data.tar.gz: d122a1cac4b0ece26969967114481e3be21014496339249907dd16481536a2e2f37abb4c53390130882606890341e852e20775b7dfc4ec65f7987528877bcfcb
@@ -1,3 +1,8 @@
1
+ === 1.2.1 2017-12-10
2
+
3
+ * Fix deprecated warnings (#77)
4
+ * update gems, use twitter v6.2.0, remove yajl-ruby from dependencies (#76)
5
+
1
6
  === 1.2.0 2017-08-20
2
7
 
3
8
  * fix --stream option (#73)
@@ -31,7 +31,7 @@ module Tw
31
31
  def self.conf
32
32
  @@conf ||= (
33
33
  res = default
34
- if File.exists? self.conf_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.exists? self.conf_file
87
+ File.chmod 0600, self.conf_file if File.exist? self.conf_file
88
88
  end
89
89
  end
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module Tw
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
@@ -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 == Fixnum and
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', '>= 5.15.0'
21
- gem.add_dependency 'oauth', '>= 0.5.3'
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 'yajl-ruby', '>= 1.3.0'
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.11.2'
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.0
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-08-20 00:00:00.000000000 Z
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: 5.15.0
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: 5.15.0
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.3
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.3
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: 2.2.2
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: 2.2.2
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.11.2
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.11.2
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.11
210
+ rubygems_version: 2.6.13
225
211
  signing_key:
226
212
  specification_version: 4
227
213
  summary: CUI Twitter Client.