githop 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/githop.rb +2 -1
- data/lib/githop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb05c988cce295f8011cac5b0feb01110f089146
|
4
|
+
data.tar.gz: 39289ffbc942a9fc2fb8d5ed3575843388835797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac7ade812a0e098b5856a5e162ad866f2f93f55ccb937ed0bce4f40c4271f9f15ab49598d5593660f077cb494f77e01524fa549a5374aba6ae774c4394426278
|
7
|
+
data.tar.gz: 1ed7eb2b31a99ca7a54055fbf773979696125a7b85ae1a5b724a40051f26e200a669bcf067673ffdce59e66952f3978fc3a36dd552170b3e72a5d1fe17cac934
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ At 2014-05-24 10:18:35, jpsim watched the repo heardrwt/RHObjectiveBeagle
|
|
24
24
|
```
|
25
25
|
|
26
26
|
For the real lazy, it is also available on the web: <https://githop-yolo.herokuapp.com/orta>, specify
|
27
|
-
the desired GitHub user as path.
|
27
|
+
the desired GitHub user as path. Code for the web version can be found [here][7].
|
28
28
|
|
29
29
|
## Installation
|
30
30
|
|
@@ -62,3 +62,4 @@ Felix Krause for the [idea][1].
|
|
62
62
|
[4]: http://timehop.com
|
63
63
|
[5]: https://github.com/abronte/BigQuery#keys
|
64
64
|
[6]: https://www.githubarchive.org/#bigquery
|
65
|
+
[7]: https://gist.github.com/neonichu/465391e44617bd5975ce
|
data/lib/githop.rb
CHANGED
@@ -69,6 +69,7 @@ END
|
|
69
69
|
'ForkEvent' => 'forked the repo',
|
70
70
|
'IssueCommentEvent' => 'commented an issue on',
|
71
71
|
'IssuesEvent' => 'created an issue on',
|
72
|
+
'MemberEvent' => 'was added to the repo',
|
72
73
|
'PullRequestEvent' => 'created a PR on',
|
73
74
|
'PullRequestReviewCommentEvent' => 'commented on a PR on the repo',
|
74
75
|
'PushEvent' => 'pushed commits to',
|
@@ -84,7 +85,7 @@ END
|
|
84
85
|
_, _, ref, ref_type = event[4]['v'], event[5]['v'], event[6]['v'], event[7]['v']
|
85
86
|
|
86
87
|
# Filter some not so interesting events
|
87
|
-
next if %w(CommitCommentEvent IssueCommentEvent IssuesEvent PullRequestReviewCommentEvent WatchEvent).include?(type)
|
88
|
+
next if %w(CommitCommentEvent IssueCommentEvent IssuesEvent MemberEvent PullRequestReviewCommentEvent WatchEvent).include?(type)
|
88
89
|
|
89
90
|
action = labels[type]
|
90
91
|
fail "Unsupported event type #{type}" if action.nil?
|
data/lib/githop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|