github_activities 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87c436975dbfddcb738fafada743f6d698eecf73
4
- data.tar.gz: 73ccfc952a67b6ece41bff612bc3a83b1672e7ce
3
+ metadata.gz: b692ba991f85ecbd235530e6251bff608bde494d
4
+ data.tar.gz: 966ffeaa5e2945a94d00208ec3ccce42054a8f79
5
5
  SHA512:
6
- metadata.gz: 85a6865e3fb496eb961326b56b7ddd28c4f76aec59bf14c96222901de5c6b432d4d97de5d17b1e607137a516b61c33f3f2925e6b77381e9fba6a1dd6f9cc9864
7
- data.tar.gz: 3748fce828352ed5b2cd85566b61dbe217d1cd433a42c8c6bec7a1e7e73506cf6149562f5188134033d13ea54a3047e3e24acd6faaac181571c5b6fe719cf953
6
+ metadata.gz: f67dc71bac55820521753beee06287d66dcab0d874a424c6be3b22927ee69c2b0772c1bbf7a973b9a3e3d9371ba0c1102de88c09213e10acd9114c519ceec737
7
+ data.tar.gz: 45fc0db980a25a9ab433a991d9be3d73fd02c3c8523384dc92e8244a1b4f4ccfee6b555e3d48517b79ffda1e640f8ed02e7a989d728e747683d1ed8a9a841be5
@@ -15,11 +15,36 @@ module GithubActivities
15
15
  client = Octokit::Client.new
16
16
  list_issues = client.list_issues(repository, state: :all, milestone: milestone, accept: 'application/vnd.github.symmetra-preview+json')
17
17
  CSV.open("#{milestone}.csv", 'w') do |csv|
18
- csv << ["スプリントRv前確認", "Author", "案件概要", "プルリクエスト(修正コード)", "確認担当", "リリース判定", "備考"]
18
+ csv << ["スプリントRv前確認", "Author", "案件概要", "プルリクエスト(修正コード)", "確認担当", "リリース判定", "備考", "issue内容"]
19
19
  list_issues.each do |issue|
20
- csv << ['', issue.user.login, issue.title, issue.html_url, '','','',]
20
+ csv << ['', issue.user.login, issue.title, issue.html_url, '','','', issue.body,]
21
21
  end
22
22
  end
23
23
  end
24
24
  end
25
- end
25
+ end
26
+ # require 'github_activities'
27
+ # require 'octokit'
28
+ # require 'csv'
29
+ #
30
+ # module GithubActivities
31
+ # class Milestones
32
+ # def get(options)
33
+ # Octokit.configure do |c|
34
+ # c.login = 'smartyoyaku'
35
+ # c.password = 'yoyaku489'
36
+ # end
37
+ #
38
+ # repository = options[:repository]
39
+ # milestone = options[:milestone]
40
+ # client = Octokit::Client.new
41
+ # list_issues = client.list_issues('smartyoyaku/ec', state: :all, milestone: 101, accept: 'application/vnd.github.symmetra-preview+json')
42
+ # CSV.open("#{milestone}.csv", 'w') do |csv|
43
+ # csv << ["スプリントRv前確認", "Author", "案件概要", "プルリクエスト(修正コード)", "確認担当", "リリース判定", "備考", "issue内容"]
44
+ # list_issues.each do |issue|
45
+ # csv << ['', issue.user.login, issue.title, issue.html_url, '','','', issue.body,]
46
+ # end
47
+ # end
48
+ # end
49
+ # end
50
+ # end
@@ -1,3 +1,3 @@
1
1
  module GithubActivities
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_activities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nyaahara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-25 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler