cline 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/cline.gemspec +8 -10
- data/lib/cline/collectors/feed.rb +63 -0
- data/lib/cline/collectors/github.rb +139 -0
- data/lib/cline/collectors.rb +9 -65
- data/lib/cline/command.rb +15 -6
- data/lib/cline/notification.rb +4 -0
- data/lib/cline/out_streams.rb +13 -6
- data/lib/cline/version.rb +1 -1
- data/spec/fixtures/github/commit_comment_event.json +43 -0
- data/spec/fixtures/github/create_event.json +25 -0
- data/spec/fixtures/github/delete_event.json +26 -0
- data/spec/fixtures/github/follow_event.json +41 -0
- data/spec/fixtures/github/fork_event.json +55 -0
- data/spec/fixtures/github/gist_event.json +43 -0
- data/spec/fixtures/github/gollum_event.json +34 -0
- data/spec/fixtures/github/issue_comment_event.json +69 -0
- data/spec/fixtures/github/issues_event.json +59 -0
- data/spec/fixtures/github/member_event.json +29 -0
- data/spec/fixtures/github/pull_request_event.json +162 -0
- data/spec/fixtures/github/push_event.json +39 -0
- data/spec/fixtures/github/watch_event.json +22 -0
- data/spec/lib/collectors_spec.rb +115 -0
- metadata +74 -32
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-11-
|
12
|
+
date: 2011-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70318720463100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.14.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70318720463100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activerecord
|
27
|
-
requirement: &
|
27
|
+
requirement: &70318720462580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.1.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70318720462580
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &70318720462100 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.3.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70318720462100
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: feedzirra
|
49
|
-
requirement: &
|
49
|
+
requirement: &70318720461620 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,21 @@ dependencies:
|
|
54
54
|
version: 0.0.31
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70318720461620
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: notify
|
60
|
+
requirement: &70318720461140 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 0.3.0
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70318720461140
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: rake
|
60
|
-
requirement: &
|
71
|
+
requirement: &70318720460660 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ! '>='
|
@@ -65,10 +76,10 @@ dependencies:
|
|
65
76
|
version: 0.9.2
|
66
77
|
type: :development
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70318720460660
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: ir_b
|
71
|
-
requirement: &
|
82
|
+
requirement: &70318720460180 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
85
|
- - ! '>='
|
@@ -76,10 +87,10 @@ dependencies:
|
|
76
87
|
version: 1.4.0
|
77
88
|
type: :development
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *70318720460180
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: tapp
|
82
|
-
requirement: &
|
93
|
+
requirement: &70318720459700 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: 1.1.0
|
88
99
|
type: :development
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *70318720459700
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: rspec
|
93
|
-
requirement: &
|
104
|
+
requirement: &70318720459220 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ! '>='
|
@@ -98,10 +109,10 @@ dependencies:
|
|
98
109
|
version: 2.6.0
|
99
110
|
type: :development
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *70318720459220
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: rr
|
104
|
-
requirement: &
|
115
|
+
requirement: &70318720458740 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ! '>='
|
@@ -109,10 +120,10 @@ dependencies:
|
|
109
120
|
version: 1.0.4
|
110
121
|
type: :development
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *70318720458740
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: fabrication
|
115
|
-
requirement: &
|
126
|
+
requirement: &70318720458260 !ruby/object:Gem::Requirement
|
116
127
|
none: false
|
117
128
|
requirements:
|
118
129
|
- - ! '>='
|
@@ -120,10 +131,10 @@ dependencies:
|
|
120
131
|
version: 1.2.0
|
121
132
|
type: :development
|
122
133
|
prerelease: false
|
123
|
-
version_requirements: *
|
134
|
+
version_requirements: *70318720458260
|
124
135
|
- !ruby/object:Gem::Dependency
|
125
136
|
name: fuubar
|
126
|
-
requirement: &
|
137
|
+
requirement: &70318720457780 !ruby/object:Gem::Requirement
|
127
138
|
none: false
|
128
139
|
requirements:
|
129
140
|
- - ! '>='
|
@@ -131,10 +142,10 @@ dependencies:
|
|
131
142
|
version: 0.0.6
|
132
143
|
type: :development
|
133
144
|
prerelease: false
|
134
|
-
version_requirements: *
|
145
|
+
version_requirements: *70318720457780
|
135
146
|
- !ruby/object:Gem::Dependency
|
136
147
|
name: simplecov
|
137
|
-
requirement: &
|
148
|
+
requirement: &70318720457300 !ruby/object:Gem::Requirement
|
138
149
|
none: false
|
139
150
|
requirements:
|
140
151
|
- - ! '>='
|
@@ -142,10 +153,10 @@ dependencies:
|
|
142
153
|
version: 0.5.3
|
143
154
|
type: :development
|
144
155
|
prerelease: false
|
145
|
-
version_requirements: *
|
156
|
+
version_requirements: *70318720457300
|
146
157
|
- !ruby/object:Gem::Dependency
|
147
158
|
name: activesupport
|
148
|
-
requirement: &
|
159
|
+
requirement: &70318720456820 !ruby/object:Gem::Requirement
|
149
160
|
none: false
|
150
161
|
requirements:
|
151
162
|
- - ! '>='
|
@@ -153,7 +164,7 @@ dependencies:
|
|
153
164
|
version: 3.1.1
|
154
165
|
type: :development
|
155
166
|
prerelease: false
|
156
|
-
version_requirements: *
|
167
|
+
version_requirements: *70318720456820
|
157
168
|
description: Cline - CLI Line Notifier
|
158
169
|
email:
|
159
170
|
- celluloid.key@gmail.com
|
@@ -172,22 +183,39 @@ files:
|
|
172
183
|
- cline.gemspec
|
173
184
|
- lib/cline.rb
|
174
185
|
- lib/cline/collectors.rb
|
186
|
+
- lib/cline/collectors/feed.rb
|
187
|
+
- lib/cline/collectors/github.rb
|
175
188
|
- lib/cline/command.rb
|
176
189
|
- lib/cline/notification.rb
|
177
190
|
- lib/cline/out_streams.rb
|
178
191
|
- lib/cline/version.rb
|
179
192
|
- spec/fabricators.rb
|
193
|
+
- spec/fixtures/github/commit_comment_event.json
|
194
|
+
- spec/fixtures/github/create_event.json
|
195
|
+
- spec/fixtures/github/delete_event.json
|
196
|
+
- spec/fixtures/github/follow_event.json
|
197
|
+
- spec/fixtures/github/fork_event.json
|
198
|
+
- spec/fixtures/github/gist_event.json
|
199
|
+
- spec/fixtures/github/gollum_event.json
|
200
|
+
- spec/fixtures/github/issue_comment_event.json
|
201
|
+
- spec/fixtures/github/issues_event.json
|
202
|
+
- spec/fixtures/github/member_event.json
|
203
|
+
- spec/fixtures/github/pull_request_event.json
|
204
|
+
- spec/fixtures/github/push_event.json
|
205
|
+
- spec/fixtures/github/watch_event.json
|
180
206
|
- spec/lib/cline_spec.rb
|
207
|
+
- spec/lib/collectors_spec.rb
|
181
208
|
- spec/lib/notification_spec.rb
|
182
209
|
- spec/spec_helper.rb
|
183
210
|
- spec/support/.gitkeep
|
184
211
|
- spec/tmp/.gitkeep
|
185
212
|
homepage: https://github.com/hibariya/cline
|
186
213
|
licenses: []
|
187
|
-
post_install_message: ! " **Important** Some
|
188
|
-
|
189
|
-
|
190
|
-
|
214
|
+
post_install_message: ! " **Important** Some features were added.\n\n * New
|
215
|
+
collector (GitHub News Feed) is available.\n $ echo \"Cline.collectors << Cline::Collectors::Github\"
|
216
|
+
>> ~/.cline/config\n $ echo \"Cline::Collectors::Github.login_name = 'your_github_login'\"
|
217
|
+
>> ~/.cline/config\n\n * `search` command is available.\n usage:\n $
|
218
|
+
cline search [keyword]\n"
|
191
219
|
rdoc_options: []
|
192
220
|
require_paths:
|
193
221
|
- lib
|
@@ -211,7 +239,21 @@ specification_version: 3
|
|
211
239
|
summary: CLI Line Notifier
|
212
240
|
test_files:
|
213
241
|
- spec/fabricators.rb
|
242
|
+
- spec/fixtures/github/commit_comment_event.json
|
243
|
+
- spec/fixtures/github/create_event.json
|
244
|
+
- spec/fixtures/github/delete_event.json
|
245
|
+
- spec/fixtures/github/follow_event.json
|
246
|
+
- spec/fixtures/github/fork_event.json
|
247
|
+
- spec/fixtures/github/gist_event.json
|
248
|
+
- spec/fixtures/github/gollum_event.json
|
249
|
+
- spec/fixtures/github/issue_comment_event.json
|
250
|
+
- spec/fixtures/github/issues_event.json
|
251
|
+
- spec/fixtures/github/member_event.json
|
252
|
+
- spec/fixtures/github/pull_request_event.json
|
253
|
+
- spec/fixtures/github/push_event.json
|
254
|
+
- spec/fixtures/github/watch_event.json
|
214
255
|
- spec/lib/cline_spec.rb
|
256
|
+
- spec/lib/collectors_spec.rb
|
215
257
|
- spec/lib/notification_spec.rb
|
216
258
|
- spec/spec_helper.rb
|
217
259
|
- spec/support/.gitkeep
|