github-nippou 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -15
- data/README.md +5 -2
- data/Rakefile +0 -6
- data/github-nippou.gemspec +1 -2
- data/lib/github/nippou.rb +2 -4
- data/lib/github/nippou/version.rb +1 -1
- metadata +4 -24
- data/.rspec +0 -2
- data/.travis.yml +0 -3
- data/spec/github/nippou_spec.rb +0 -11
- data/spec/spec_helper.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77dda075d6032396cef2286adb80257e773b418d
|
4
|
+
data.tar.gz: d6f298d8ca4e2d9f0c31a70060199c5d5098a099
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075cd8a9b717f624a43ce944c3687fbf99a8670617075ad2ea3a196d9825a355d4b04cd20466ed332067f3815b808195a1f898eee47a68ece28f723aee21559f
|
7
|
+
data.tar.gz: 34e3e4e66b5a6c1b8b119b1351d992b2b252172a95a5bf36d2190fedd1d115b91d749835ee7a46a432a852fdbc5ff02252209a5e268baf7148b49808e7302793
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
github-nippou (0.
|
4
|
+
github-nippou (1.0.0)
|
5
5
|
octokit (~> 3.7)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
addressable (2.3.6)
|
11
|
-
diff-lcs (1.2.5)
|
12
11
|
faraday (0.9.0)
|
13
12
|
multipart-post (>= 1.2, < 3)
|
14
13
|
multipart-post (2.0.0)
|
15
14
|
octokit (3.7.0)
|
16
15
|
sawyer (~> 0.6.0, >= 0.5.3)
|
17
16
|
rake (10.4.2)
|
18
|
-
rspec (3.1.0)
|
19
|
-
rspec-core (~> 3.1.0)
|
20
|
-
rspec-expectations (~> 3.1.0)
|
21
|
-
rspec-mocks (~> 3.1.0)
|
22
|
-
rspec-core (3.1.7)
|
23
|
-
rspec-support (~> 3.1.0)
|
24
|
-
rspec-expectations (3.1.2)
|
25
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
-
rspec-support (~> 3.1.0)
|
27
|
-
rspec-mocks (3.1.3)
|
28
|
-
rspec-support (~> 3.1.0)
|
29
|
-
rspec-support (3.1.2)
|
30
17
|
sawyer (0.6.0)
|
31
18
|
addressable (~> 2.3.5)
|
32
19
|
faraday (~> 0.8, < 0.10)
|
@@ -38,4 +25,3 @@ DEPENDENCIES
|
|
38
25
|
bundler (~> 1.7)
|
39
26
|
github-nippou!
|
40
27
|
rake (~> 10.0)
|
41
|
-
rspec (~> 3.1)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Github::Nippou
|
1
|
+
# Github::Nippou [![Gem Version][gem-badge]][gem-link]
|
2
2
|
|
3
|
-
|
3
|
+
Print today's your GitHub action.
|
4
4
|
|
5
5
|
This is a helpful tool when you write a daily report in reference to
|
6
6
|
GitHub. nippou is a japanese word which means a daily report.
|
@@ -37,3 +37,6 @@ Or install it yourself as:
|
|
37
37
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
38
|
4. Push to the branch (`git push origin my-new-feature`)
|
39
39
|
5. Create a new Pull Request
|
40
|
+
|
41
|
+
[gem-badge]: https://badge.fury.io/rb/github-nippou.svg
|
42
|
+
[gem-link]: http://badge.fury.io/rb/github-nippou
|
data/Rakefile
CHANGED
data/github-nippou.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Github::Nippou::VERSION
|
9
9
|
spec.authors = ['Takashi Masuda']
|
10
10
|
spec.email = ['masutaka.net@gmail.com']
|
11
|
-
spec.summary = %q{
|
11
|
+
spec.summary = %q{Print today's your GitHub action.}
|
12
12
|
spec.description = <<-EOS
|
13
13
|
This is a helpful tool when you write a daily report in reference to
|
14
14
|
GitHub. nippou is a japanese word which means a daily report.
|
@@ -25,5 +25,4 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
-
spec.add_development_dependency 'rspec', '~> 3.1'
|
29
28
|
end
|
data/lib/github/nippou.rb
CHANGED
@@ -15,14 +15,12 @@ module Github
|
|
15
15
|
case _.type
|
16
16
|
when 'IssuesEvent', 'IssueCommentEvent'
|
17
17
|
title = _.payload.issue.title.gsub('`', '\\\`')
|
18
|
-
repo_basename = _.repo.name.sub('feedforce/', '')
|
19
18
|
merged = client.pull_merged?(_.repo.name, _.payload.issue.number)
|
20
|
-
url_to_detail[_.payload.issue.html_url] ||= {title: title, repo_basename:
|
19
|
+
url_to_detail[_.payload.issue.html_url] ||= {title: title, repo_basename: _.repo.name, username: _.payload.issue.user.login, merged: merged}
|
21
20
|
when 'PullRequestEvent', 'PullRequestReviewCommentEvent'
|
22
21
|
title = _.payload.pull_request.title.gsub('`', '\\\`')
|
23
|
-
repo_basename = _.repo.name.sub('feedforce/', '')
|
24
22
|
merged = client.pull_merged?(_.repo.name, _.payload.pull_request.number)
|
25
|
-
url_to_detail[_.payload.pull_request.html_url] ||= {title: title, repo_basename:
|
23
|
+
url_to_detail[_.payload.pull_request.html_url] ||= {title: title, repo_basename: _.repo.name, username: _.payload.pull_request.user.login, merged: merged}
|
26
24
|
end
|
27
25
|
end
|
28
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-nippou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.1'
|
69
55
|
description: |2
|
70
56
|
This is a helpful tool when you write a daily report in reference to
|
71
57
|
GitHub. nippou is a japanese word which means a daily report.
|
@@ -77,8 +63,6 @@ extensions: []
|
|
77
63
|
extra_rdoc_files: []
|
78
64
|
files:
|
79
65
|
- ".gitignore"
|
80
|
-
- ".rspec"
|
81
|
-
- ".travis.yml"
|
82
66
|
- Gemfile
|
83
67
|
- Gemfile.lock
|
84
68
|
- LICENSE.txt
|
@@ -88,8 +72,6 @@ files:
|
|
88
72
|
- github-nippou.gemspec
|
89
73
|
- lib/github/nippou.rb
|
90
74
|
- lib/github/nippou/version.rb
|
91
|
-
- spec/github/nippou_spec.rb
|
92
|
-
- spec/spec_helper.rb
|
93
75
|
homepage: https://github.com/masutaka/github-nippou
|
94
76
|
licenses:
|
95
77
|
- MIT
|
@@ -113,7 +95,5 @@ rubyforge_project:
|
|
113
95
|
rubygems_version: 2.4.5
|
114
96
|
signing_key:
|
115
97
|
specification_version: 4
|
116
|
-
summary:
|
117
|
-
test_files:
|
118
|
-
- spec/github/nippou_spec.rb
|
119
|
-
- spec/spec_helper.rb
|
98
|
+
summary: Print today's your GitHub action.
|
99
|
+
test_files: []
|
data/.rspec
DELETED
data/.travis.yml
DELETED
data/spec/github/nippou_spec.rb
DELETED
data/spec/spec_helper.rb
DELETED