earthquake 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -8
- data/VERSION +1 -1
- data/earthquake.gemspec +4 -3
- data/lib/earthquake/core.rb +3 -1
- metadata +44 -4
data/README.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
Earthquake
|
2
2
|
====
|
3
3
|
|
4
|
-
Twitter Client
|
4
|
+
Terminal-based Twitter Client with Streaming API.
|
5
5
|
|
6
|
-
It supports
|
6
|
+
It supports only Ruby 1.9.
|
7
7
|
|
8
|
-
**We need patches that fix the
|
8
|
+
**We need patches that fix the english of the documentation!**
|
9
9
|
|
10
10
|
![http://images.instagram.com/media/2011/03/21/862f3b8d119b4eeb9c52e690a0087f5e_7.jpg](http://images.instagram.com/media/2011/03/21/862f3b8d119b4eeb9c52e690a0087f5e_7.jpg)
|
11
11
|
|
12
12
|
Features
|
13
13
|
----
|
14
14
|
|
15
|
-
* You can
|
15
|
+
* You can use Twitter entirely in your Terminal.
|
16
16
|
* You can receive data in real time with Streaming API.
|
17
|
-
* You can easily extend
|
17
|
+
* You can easily extend by using Ruby.
|
18
18
|
|
19
19
|
Install
|
20
20
|
----
|
@@ -40,7 +40,7 @@ Commands
|
|
40
40
|
⚡ :recent
|
41
41
|
⚡ :recent twitter
|
42
42
|
|
43
|
-
###
|
43
|
+
### Search
|
44
44
|
|
45
45
|
⚡ :search #ruby
|
46
46
|
|
@@ -77,7 +77,7 @@ Plugin
|
|
77
77
|
----
|
78
78
|
|
79
79
|
"~/.earthquake/plugin" is the directory for plugins.
|
80
|
-
At launch, Earthquake
|
80
|
+
At launch, Earthquake tries to load files under this directory.
|
81
81
|
The block that is specified for Earthquake.init will be reloaded at any command line input.
|
82
82
|
|
83
83
|
### Defining your commands
|
@@ -158,7 +158,7 @@ The 'm' is a MatchData.
|
|
158
158
|
TODO
|
159
159
|
----
|
160
160
|
|
161
|
-
* dealing direct messages
|
161
|
+
* dealing with direct messages
|
162
162
|
* more intelligent completion
|
163
163
|
* typable id
|
164
164
|
* spec
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.9
|
data/earthquake.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{earthquake}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["jugyo"]
|
12
|
-
s.date = %q{2011-03-
|
12
|
+
s.date = %q{2011-03-27}
|
13
13
|
s.default_executable = %q{earthquake}
|
14
14
|
s.description = %q{Twitter Client on Terminal with Twitter Streaming API.}
|
15
15
|
s.email = %q{jugyo.org@gmail.com}
|
@@ -59,7 +59,7 @@ Accordingly that, You should renew the access token if it is old.
|
|
59
59
|
}
|
60
60
|
s.require_paths = ["lib"]
|
61
61
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
|
62
|
-
s.rubygems_version = %q{1.
|
62
|
+
s.rubygems_version = %q{1.3.7}
|
63
63
|
s.summary = %q{Twitter Client on Terminal.}
|
64
64
|
s.test_files = [
|
65
65
|
"spec/earthquake_spec.rb",
|
@@ -67,6 +67,7 @@ Accordingly that, You should renew the access token if it is old.
|
|
67
67
|
]
|
68
68
|
|
69
69
|
if s.respond_to? :specification_version then
|
70
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
70
71
|
s.specification_version = 3
|
71
72
|
|
72
73
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/earthquake/core.rb
CHANGED
@@ -90,7 +90,9 @@ module Earthquake
|
|
90
90
|
EventMachine::run do
|
91
91
|
Thread.start do
|
92
92
|
while buf = Readline.readline("⚡ ", true)
|
93
|
-
Readline::HISTORY.
|
93
|
+
unless Readline::HISTORY.count == 1
|
94
|
+
Readline::HISTORY.pop if buf.empty? || Readline::HISTORY[-1] == Readline::HISTORY[-2]
|
95
|
+
end
|
94
96
|
sync { input(buf.strip) }
|
95
97
|
end
|
96
98
|
end
|
metadata
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earthquake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 9
|
9
|
+
version: 0.4.9
|
6
10
|
platform: ruby
|
7
11
|
authors:
|
8
12
|
- jugyo
|
@@ -10,7 +14,7 @@ autorequire:
|
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
16
|
|
13
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-27 00:00:00 +09:00
|
14
18
|
default_executable: earthquake
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
@@ -20,6 +24,8 @@ dependencies:
|
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
23
29
|
version: "0"
|
24
30
|
type: :runtime
|
25
31
|
prerelease: false
|
@@ -31,6 +37,8 @@ dependencies:
|
|
31
37
|
requirements:
|
32
38
|
- - ">="
|
33
39
|
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
34
42
|
version: "0"
|
35
43
|
type: :runtime
|
36
44
|
prerelease: false
|
@@ -42,6 +50,8 @@ dependencies:
|
|
42
50
|
requirements:
|
43
51
|
- - ">="
|
44
52
|
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
45
55
|
version: "0"
|
46
56
|
type: :runtime
|
47
57
|
prerelease: false
|
@@ -53,6 +63,8 @@ dependencies:
|
|
53
63
|
requirements:
|
54
64
|
- - ">="
|
55
65
|
- !ruby/object:Gem::Version
|
66
|
+
segments:
|
67
|
+
- 0
|
56
68
|
version: "0"
|
57
69
|
type: :runtime
|
58
70
|
prerelease: false
|
@@ -64,6 +76,8 @@ dependencies:
|
|
64
76
|
requirements:
|
65
77
|
- - ">="
|
66
78
|
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 0
|
67
81
|
version: "0"
|
68
82
|
type: :runtime
|
69
83
|
prerelease: false
|
@@ -75,6 +89,8 @@ dependencies:
|
|
75
89
|
requirements:
|
76
90
|
- - ">="
|
77
91
|
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 0
|
78
94
|
version: "0"
|
79
95
|
type: :runtime
|
80
96
|
prerelease: false
|
@@ -86,6 +102,8 @@ dependencies:
|
|
86
102
|
requirements:
|
87
103
|
- - ">="
|
88
104
|
- !ruby/object:Gem::Version
|
105
|
+
segments:
|
106
|
+
- 0
|
89
107
|
version: "0"
|
90
108
|
type: :runtime
|
91
109
|
prerelease: false
|
@@ -97,6 +115,8 @@ dependencies:
|
|
97
115
|
requirements:
|
98
116
|
- - ">="
|
99
117
|
- !ruby/object:Gem::Version
|
118
|
+
segments:
|
119
|
+
- 0
|
100
120
|
version: "0"
|
101
121
|
type: :runtime
|
102
122
|
prerelease: false
|
@@ -108,6 +128,8 @@ dependencies:
|
|
108
128
|
requirements:
|
109
129
|
- - ">="
|
110
130
|
- !ruby/object:Gem::Version
|
131
|
+
segments:
|
132
|
+
- 0
|
111
133
|
version: "0"
|
112
134
|
type: :runtime
|
113
135
|
prerelease: false
|
@@ -119,6 +141,10 @@ dependencies:
|
|
119
141
|
requirements:
|
120
142
|
- - ~>
|
121
143
|
- !ruby/object:Gem::Version
|
144
|
+
segments:
|
145
|
+
- 2
|
146
|
+
- 3
|
147
|
+
- 0
|
122
148
|
version: 2.3.0
|
123
149
|
type: :development
|
124
150
|
prerelease: false
|
@@ -130,6 +156,10 @@ dependencies:
|
|
130
156
|
requirements:
|
131
157
|
- - ~>
|
132
158
|
- !ruby/object:Gem::Version
|
159
|
+
segments:
|
160
|
+
- 1
|
161
|
+
- 0
|
162
|
+
- 0
|
133
163
|
version: 1.0.0
|
134
164
|
type: :development
|
135
165
|
prerelease: false
|
@@ -141,6 +171,10 @@ dependencies:
|
|
141
171
|
requirements:
|
142
172
|
- - ~>
|
143
173
|
- !ruby/object:Gem::Version
|
174
|
+
segments:
|
175
|
+
- 1
|
176
|
+
- 5
|
177
|
+
- 2
|
144
178
|
version: 1.5.2
|
145
179
|
type: :development
|
146
180
|
prerelease: false
|
@@ -194,17 +228,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
228
|
requirements:
|
195
229
|
- - ">="
|
196
230
|
- !ruby/object:Gem::Version
|
231
|
+
segments:
|
232
|
+
- 1
|
233
|
+
- 9
|
234
|
+
- 1
|
197
235
|
version: 1.9.1
|
198
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
237
|
none: false
|
200
238
|
requirements:
|
201
239
|
- - ">="
|
202
240
|
- !ruby/object:Gem::Version
|
241
|
+
segments:
|
242
|
+
- 0
|
203
243
|
version: "0"
|
204
244
|
requirements: []
|
205
245
|
|
206
246
|
rubyforge_project:
|
207
|
-
rubygems_version: 1.
|
247
|
+
rubygems_version: 1.3.7
|
208
248
|
signing_key:
|
209
249
|
specification_version: 3
|
210
250
|
summary: Twitter Client on Terminal.
|