github_contribs 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -2
- data/History.rdoc +6 -0
- data/README.rdoc +1 -1
- data/lib/github_contribs.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f41a12f72aa1ff4448d1a8f11fd4f6ef48dcd995b388ce64a5495fce0ae08d33
|
4
|
+
data.tar.gz: 208e49020c9aff47bd8e4c914aca0e17547e934176633ebaa219f8ea05c8a6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97e88c845240284bc97cc2a0ed748dade907810a90c2572f38ce9af0ff0242ddbb86fa3842bfbe42a4e9647cc44917300f861797997d45cb75ac0bed7b0ccc8
|
7
|
+
data.tar.gz: 4a9dd171a59a58f4a0eb14d0a3acbd8998a33e74ba09edd709a687dae99b34bdeae6f166b0c60928dfde0691b75122e7c81468d7ec3d00cef81726a2b525bc70
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
iY8n
|
1
|
+
YVïz姽�D�}�/=�3Ne�ͽ�����az�-!$���"� ��&���$=B��Ț�RI���ـ���
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ from github and assembles them into a unified view.
|
|
12
12
|
|
13
13
|
* Helps visualize patterns across the years.
|
14
14
|
* See the effects of major life events (eg marriage, baby, depression).
|
15
|
-
* Uses ~/.config/gh/hosts.yml for authentication (generate via `gh auth login`).
|
15
|
+
* Uses GITHUB_TOKEN env var or ~/.config/gh/hosts.yml for authentication (generate via `gh auth login`).
|
16
16
|
* Caches all previous years (current year is always generated).
|
17
17
|
* Defaults to 10 years, but takes an optional year.
|
18
18
|
|
data/lib/github_contribs.rb
CHANGED
@@ -5,10 +5,10 @@ require "open-uri"
|
|
5
5
|
require "yaml"
|
6
6
|
|
7
7
|
class GithubContribs
|
8
|
-
VERSION = "1.
|
8
|
+
VERSION = "1.1.0"
|
9
9
|
|
10
10
|
def oauth_token
|
11
|
-
@token ||= begin
|
11
|
+
@token ||= ENV["GITHUB_TOKEN"] || begin
|
12
12
|
data = YAML.load_file File.expand_path "~/.config/gh/hosts.yml"
|
13
13
|
data && data.dig("github.com", "oauth_token")
|
14
14
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_contribs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
30
|
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2022-
|
32
|
+
date: 2022-10-05 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: nokogiri
|
metadata.gz.sig
CHANGED
Binary file
|