tw 0.4.1 → 0.4.2

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: 838b74ae9d7363720466de5cc8a233be4f9675f2
4
- data.tar.gz: 4eb89f73c98f2707921c4974adc7a5f77aec5040
3
+ metadata.gz: 6f52b3b93ee8c239e4d11be796ed2cbbb5f167c8
4
+ data.tar.gz: fbe7171f6942cbc59f3612ac91c2db06e3c1b36c
5
5
  SHA512:
6
- metadata.gz: 2b61201af173a8c05308f745d7c3cd07cf4f455d407e71aee7fb185a27d68bdc4d479d38afb6ddf40f7f53b1c444ad3498438a1b515801ae9d4c70514c208aa0
7
- data.tar.gz: d2a115ee1c1027a2170c110f174605822ba54896570338bf4e2a2171d10b09c4dde9813a2be3ebf5d4a805163ca95200dc3465a9e86b409fc63e58fb2a0eef77
6
+ metadata.gz: ea7adc0e250067f8d22fe295d0ea17a99accf52a3fdfe65f22d51f659e4bbc70a2c11e0aa89e097badc7e15b3af0f33a1abe88ade7b849555f893be1d276e60b
7
+ data.tar.gz: 760c9d829fe6545220c7df85e9fff1ea970b3bb06ea7a6d4d90c41ec25e21b820c35967c96519dd71e4e2156f7351bae52d32f1adcdf9b8f4e0f2e13db10c7fa
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.4.2 2013-05-18
2
+
3
+ * enable -id=(id) option in pipe-tweet
4
+
1
5
  === 0.4.1 2013-05-18
2
6
 
3
7
  * replty to status % tw "@shokai hello!" --id=1123454321
data/lib/tw/app/cmds.rb CHANGED
@@ -106,7 +106,9 @@ module Tw::App
106
106
  puts to = opts['dm:to']
107
107
  client.direct_message_create to, message
108
108
  else
109
- client.tweet message
109
+ tweet_opts = {}
110
+ tweet_opts[:in_reply_to_status_id] = @parser[:status_id] if @parser.has_param? :status_id
111
+ client.tweet message, tweet_opts
110
112
  end
111
113
  rescue => e
112
114
  STDERR.puts e.message
data/lib/tw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tw
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto