whatsup_github 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 5608a3a48a7e700095336faec5d44de661229ec8d85d005f873ce0ed7fbfdf94
4
- data.tar.gz: 9fe13981b406350104dd819918da01b8fbde05437da2893477c6c5d368154090
3
+ metadata.gz: 5dba0742fd0e58bdfcab58a767f79e6b0f8adae44aa0dc8f6fa7b5b2145e9e1c
4
+ data.tar.gz: '08d06cdb9510e937fd349a29c904b59daaa3740e31e2d6cb3fc798675b5c3277'
5
5
  SHA512:
6
- metadata.gz: 9b6832a0b57912c1daf4f80c6473b7851bcc97d4c2f3c30827291d59067b23dac9e27c1b94b013524f8ccad61539708a2ce3f3a5dbdea5cfd867015531763db3
7
- data.tar.gz: ff8ab4e0434674332c19d1bbf8ff99ffe2259b480a0f566f62006a833359a4190818eca781a7b9494d02b62eb3ef472a4876da3600bcde936bf8b38d0812e148
6
+ metadata.gz: 41cadfe558a0d1847636dc97bc99f85dbaae9df4a0e585be22e08ed9b701039f78a62e4c7f874fa59052f855e77d313f80af182a7eab4be1ddae4285f6dd680a
7
+ data.tar.gz: 38f9ed161d70791b283acb5041f1598a34888d28fd0f40ac733bcd9ad4b642f7b5145895298ef52b9850efcf1a3f30c8607840231864872512291376e0c9cc61
@@ -1,3 +1,9 @@
1
+ ## 0.3.0
2
+
3
+ - Added "magic word" to configuration file
4
+ - Added the requested GitHub query to terminal output (#13)
5
+ - Fixed the issue with empty description (#21)
6
+
1
7
  ## 0.2.0
2
8
 
3
9
  - Implemented two types of labels in configuration: 'optional' and 'required'.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- whatsup_github (0.3.0)
4
+ whatsup_github (0.3.1)
5
5
  netrc (~> 0.10)
6
6
  octokit (~> 4.14)
7
7
  thor (~> 0.20)
@@ -1,7 +1,7 @@
1
1
  module WhatsupGithub
2
2
  # Row to be converted to entry in future table
3
3
  class Row
4
- attr_reader :body, :title, :labels, :pr_number, :assignee, :link
4
+ attr_reader :body, :title, :labels, :pr_number, :assignee, :link, :author, :author_url
5
5
  def initialize(args)
6
6
  @repo = args[:repo]
7
7
  @title = args[:pr_title]
@@ -9,6 +9,8 @@ module WhatsupGithub
9
9
  @date = args[:date]
10
10
  @labels = args[:pr_labels]
11
11
  @assignee = args[:assignee]
12
+ @author = args[:author]
13
+ @author_url = args[:author_url]
12
14
  @pr_number = args[:pr_number]
13
15
  @link = args[:pr_url]
14
16
  @config = Config.instance
@@ -30,6 +30,8 @@ module WhatsupGithub
30
30
  date: pull.closed_at,
31
31
  pr_labels: label_names(pull.labels),
32
32
  assignee: assignee(pull.assignee),
33
+ author: pull.user.login,
34
+ author_url: pull.user.html_url,
33
35
  pr_url: pull.html_url
34
36
  )
35
37
  end
@@ -1,3 +1,3 @@
1
1
  module WhatsupGithub
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -14,7 +14,9 @@ module WhatsupGithub
14
14
  'versions' => object.versions,
15
15
  'type' => object.type,
16
16
  'date' => object.date,
17
- 'link' => object.link
17
+ 'link' => object.link,
18
+ 'contributor' => object.author,
19
+ 'profile' => object.author_url
18
20
  }
19
21
  end
20
22
  output =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatsup_github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Shevtsov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-26 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit