rabbiter 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/rabbiter.rb +10 -1
- data/lib/rabbiter/version.rb +1 -1
- data/locale/ja/LC_MESSAGES/rabbiter.mo +0 -0
- data/po/ja/rabbiter.po +17 -17
- data/rabbiter.gemspec +1 -1
- metadata +3 -3
data/README
CHANGED
@@ -1 +1 @@
|
|
1
|
-
See doc/en/ or http://rabbit-
|
1
|
+
See doc/en/ or http://rabbit-shocker.org/en/rabbiter/.
|
data/lib/rabbiter.rb
CHANGED
@@ -119,7 +119,7 @@ module Rabbiter
|
|
119
119
|
request_token = client.request_token
|
120
120
|
authorize_url = request_token.authorize_url
|
121
121
|
puts( _("1) Access this URL: %{url}") % {:url => authorize_url})
|
122
|
-
|
122
|
+
show_uri(authorize_url)
|
123
123
|
print(_("2) Enter the PIN: "))
|
124
124
|
pin = $stdin.gets.strip
|
125
125
|
access_token = request_token.get_access_token(:oauth_verifier => pin)
|
@@ -133,6 +133,15 @@ module Rabbiter
|
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
136
|
+
def show_uri(uri)
|
137
|
+
return unless Gtk.respond_to?(:show_uri)
|
138
|
+
begin
|
139
|
+
Gtk.show_uri(uri)
|
140
|
+
rescue GLib::Error
|
141
|
+
@logger.warning("[twitter][show-uri] #{$!}")
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
136
145
|
class GLibConnection
|
137
146
|
def initialize(logger, handler)
|
138
147
|
@logger = logger
|
data/lib/rabbiter/version.rb
CHANGED
Binary file
|
data/po/ja/rabbiter.po
CHANGED
@@ -7,7 +7,7 @@ msgid ""
|
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: rabbiter 2.0.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date:
|
10
|
+
"POT-Creation-Date: 2013-08-29 12:04+0900\n"
|
11
11
|
"PO-Revision-Date: 2012-08-23 17:25+0900\n"
|
12
12
|
"Last-Translator: Kouhei Sutou <kou@cozmixng.org>\n"
|
13
13
|
"Language-Team: Japanese\n"
|
@@ -17,22 +17,6 @@ msgstr ""
|
|
17
17
|
"Content-Transfer-Encoding: 8bit\n"
|
18
18
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
19
19
|
|
20
|
-
#: ../lib/rabbiter.rb:96
|
21
|
-
msgid "%{timeout} seconds (%{n_retries})"
|
22
|
-
msgstr "%{timeout}秒 (%{n_retries})"
|
23
|
-
|
24
|
-
#: ../lib/rabbiter.rb:102
|
25
|
-
msgid "Failed after %{n_retries} failed reconnects"
|
26
|
-
msgstr "%{n_retries}回再接続が失敗したので中断しました。"
|
27
|
-
|
28
|
-
#: ../lib/rabbiter.rb:120
|
29
|
-
msgid "1) Access this URL: %{url}"
|
30
|
-
msgstr "1) このURLにアクセスしてください: %{url}"
|
31
|
-
|
32
|
-
#: ../lib/rabbiter.rb:121
|
33
|
-
msgid "2) Enter the PIN: "
|
34
|
-
msgstr "2) PINを入力してください: "
|
35
|
-
|
36
20
|
#: ../bin/rabbiter:39
|
37
21
|
msgid "Rabbit's dRuby URI"
|
38
22
|
msgstr "RabbitのdRuby URI"
|
@@ -68,3 +52,19 @@ msgstr "対象となるステータスをログに出力します。"
|
|
68
52
|
#: ../bin/rabbiter:97
|
69
53
|
msgid "must specify one or more filters by --filter"
|
70
54
|
msgstr "--filterで1つ以上のフィルターを指定してください。"
|
55
|
+
|
56
|
+
#: ../lib/rabbiter.rb:96
|
57
|
+
msgid "%{timeout} seconds (%{n_retries})"
|
58
|
+
msgstr "%{timeout}秒 (%{n_retries})"
|
59
|
+
|
60
|
+
#: ../lib/rabbiter.rb:102
|
61
|
+
msgid "Failed after %{n_retries} failed reconnects"
|
62
|
+
msgstr "%{n_retries}回再接続が失敗したので中断しました。"
|
63
|
+
|
64
|
+
#: ../lib/rabbiter.rb:121
|
65
|
+
msgid "1) Access this URL: %{url}"
|
66
|
+
msgstr "1) このURLにアクセスしてください: %{url}"
|
67
|
+
|
68
|
+
#: ../lib/rabbiter.rb:123
|
69
|
+
msgid "2) Enter the PIN: "
|
70
|
+
msgstr "2) PINを入力してください: "
|
data/rabbiter.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.name = "rabbiter"
|
26
26
|
spec.version = Rabbiter::VERSION.dup
|
27
27
|
spec.rubyforge_project = "rabbit"
|
28
|
-
spec.homepage = "http://rabbit-
|
28
|
+
spec.homepage = "http://rabbit-shocker.org/en/rabbiter/"
|
29
29
|
spec.authors = ["Kouhei Sutou"]
|
30
30
|
spec.email = ["kou@cozmixng.org"]
|
31
31
|
spec.summary = "Rabbiter is a twitter client for Rabbit"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbiter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rabbit
|
@@ -128,7 +128,7 @@ files:
|
|
128
128
|
- po/ja/rabbiter.po
|
129
129
|
- locale/ja/LC_MESSAGES/rabbiter.mo
|
130
130
|
- bin/rabbiter
|
131
|
-
homepage: http://rabbit-
|
131
|
+
homepage: http://rabbit-shocker.org/en/rabbiter/
|
132
132
|
licenses:
|
133
133
|
- GPLv2+
|
134
134
|
post_install_message:
|