tw 1.3.0 → 1.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
- SHA1:
3
- metadata.gz: 0a66002fd52aaa946fd00e7d81971e174e7cb1d8
4
- data.tar.gz: 1ce32cec7ae098c80e0910c04759a58597d186a0
2
+ SHA256:
3
+ metadata.gz: f8ef139f86acc833cf8a4e18195b374ab94e57ec871b69f875b16c1ce56381c7
4
+ data.tar.gz: 9ed4acd0be4cfd5bd2b7a75b1234a446ec8554f001ef3e1c89b2350efde896b4
5
5
  SHA512:
6
- metadata.gz: ca8137f43aa89fd0f8fcd12766b9bff18683c7b509ca79c66cc5e717c45fe9c48ac13a6ab4233613f741bb857fedeb75e0817f610087ae7d4549359c3829801a
7
- data.tar.gz: 2ce65bad6c7e863850f9f98a2fb90f1e5ba2e682369f13260b75cbac24bfa73c5e32a89d95cf620c82a3b8fa92b562c5e34113902646ac2b3fc6d5668849952a
6
+ metadata.gz: 4d5bbac34ce1206be2e7e9c08052492651535281c5e75d427e15de347602cd527e35104363eb7ff18bb7b6794f654d764e27473055a20e0e5d243b18db73c308
7
+ data.tar.gz: 9898956892d3bdd16d2e49df57a0f3a908f58faddd48f185777521ae3e6146154c9c54e4442676eaed678390e9ea4e96d1435a5eb4515d246094fb3698003b5d
@@ -1,3 +1,8 @@
1
+ === 1.3.1 2018-04-15
2
+
3
+ * use https (#79)
4
+ * thank you for contributing @sachin21
5
+
1
6
  === 1.3.0 2018-02-18
2
7
 
3
8
  * 280 chars tweet (#75)
@@ -103,7 +103,7 @@ module Tw::App
103
103
  STDERR.puts " tw --fav=334749349588377601"
104
104
  STDERR.puts " tw --rt=334749349588377601"
105
105
  STDERR.puts " tw --format=json"
106
- STDERR.puts ' tw --format="@#{user} #{text} - http://twitter.com/#{user}/#{id}"'
106
+ STDERR.puts ' tw --format="@#{user} #{text} - https://twitter.com/#{user}/#{id}"'
107
107
  STDERR.puts "delete tw --del=334749349588377601"
108
108
  on_exit
109
109
  end
@@ -76,14 +76,14 @@ module Tw
76
76
  def tweet(message, opts={})
77
77
  res = @rest_client.update message, opts
78
78
  puts res.text
79
- puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}"
79
+ puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}"
80
80
  puts res.created_at
81
81
  end
82
82
 
83
83
  def tweet_with_file(message, file, opts={})
84
84
  res = @rest_client.update_with_media message, file, opts
85
85
  puts res.text
86
- puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}"
86
+ puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}"
87
87
  puts res.created_at
88
88
  end
89
89
 
@@ -99,7 +99,7 @@ module Tw
99
99
  line += " #{res.favorite_count}Fav" if res.favorite_count.to_i > 0
100
100
  line += " #{res.retweet_count}RT" if res.retweet_count.to_i > 0
101
101
  puts line.colorize(/@[a-zA-Z0-9_]+|\d+RT|\d+Fav/)
102
- puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}"
102
+ puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}"
103
103
  puts res.created_at
104
104
  end
105
105
 
@@ -1,3 +1,3 @@
1
1
  module Tw
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.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.3.0
4
+ version: 1.3.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: 2018-02-17 00:00:00.000000000 Z
11
+ date: 2019-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.6.13
210
+ rubygems_version: 2.7.6
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: CUI Twitter Client.