githubchart 2.0.1 → 3.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 +5 -5
- data/.circle-ruby +4 -3
- data/.prospectus +8 -8
- data/.rubocop.yml +2 -2
- data/.travis.yml +8 -15
- data/CHANGELOG.md +24 -0
- data/README.md +1 -3
- data/bin/githubchart +7 -13
- data/githubchart.gemspec +7 -6
- data/lib/githubchart.rb +15 -5
- data/lib/githubchart/svg.rb +29 -29
- data/lib/githubchart/version.rb +1 -1
- data/spec/githubchart_spec.rb +5 -4
- metadata +17 -19
- data/circle.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 63edd9fee282fe64a5689b5e3263aa294b39b19973f4f9f1a1d011790ef1ee73
|
4
|
+
data.tar.gz: 47110a5342b5c65954a3be04c987fc3352e7029cb3c0a42c06ef47d259a2dcbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 063a82476257ebc1be1d0de6670ce3777ceae3cba5a30d6dae9b4a9b5059dd7b53460c9bdec2b55e67637fec095f871e5a89af1504516632de85181b7f8088ec
|
7
|
+
data.tar.gz: 72ca7d7afda8c761220353b6ab85c6efce6d4321c749065a65e2441adf0da407dac9a5f0061b3d94c612eb5c7902796cc1650991e47b7a0ae2c9016c6348e06d
|
data/.circle-ruby
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
2.
|
2
|
-
2.
|
3
|
-
2.
|
1
|
+
2.6.1
|
2
|
+
2.5.3
|
3
|
+
2.4.5
|
4
|
+
2.3.8
|
data/.prospectus
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
+
my_slug = 'akerl/githubchart'
|
2
|
+
|
3
|
+
Prospectus.extra_dep('file', 'prospectus_travis')
|
4
|
+
Prospectus.extra_dep('file', 'prospectus_gems')
|
5
|
+
|
1
6
|
item do
|
2
|
-
|
3
|
-
static
|
4
|
-
set 'green'
|
5
|
-
end
|
7
|
+
noop
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
slug 'akerl/githubchart'
|
10
|
-
end
|
9
|
+
extend ProspectusGems::Gemspec.new
|
10
|
+
extend ProspectusTravis::Build.new(my_slug)
|
11
11
|
end
|
data/.rubocop.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
inherit_gem:
|
2
|
+
goodcop: .rubocop.yml
|
data/.travis.yml
CHANGED
@@ -1,17 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
rvm
|
5
|
-
|
6
|
-
-
|
7
|
-
- 2.2.0
|
8
|
-
- 2.1.6
|
9
|
-
- 2.0.0-p598
|
10
|
-
- 1.9.3-p551
|
1
|
+
dist: xenial
|
2
|
+
install:
|
3
|
+
- for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
|
4
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
|
5
|
+
script:
|
6
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
|
11
7
|
notifications:
|
12
8
|
email: false
|
13
|
-
|
14
|
-
|
15
|
-
- "%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}"
|
16
|
-
channels:
|
17
|
-
- irc.oftc.net#akerl
|
9
|
+
slack:
|
10
|
+
secure: XOIlpE54Yq450PGd3VI7atmVplX+WRmz+karIxlC+PEWgEbE3G9lCuIKez8OvJ+bS357KEsyF9k2ZhmaxJvQXKtMgQn6I7zBmjBRPm9xAb/ynFujquGsjW+OMAiP/3elq8DS6yvVYUDWBDgRv6SxHF/rLKliuSh4S8NrnuTyfokoWx4i/dIBQyujU6kmRW+2DIfkSY1wTyyb7Qo9HFH3ekOeJrYg+bK2Sm5HSLK+ATKpJ8nWvLirK8KIsQbCSj+Hkt61yBC+3pst51EUI5CwlHF1qxLy9T/eezY+bnUD/0WwcJX10co6K62+qykvN/4pKqYubfSsnYVmU3sZgk0FfRfBNOaYwai6mbZxxcFn4kIUOYoGTML/NTe7bu9dbtbHAM751x/V/tFM1V4m6xap451WQoommuMIcOuGS/OgzeOkc12VQ0X5nXM0DA20MOZKlMUJR+XlYu6derwIvOEOPlazZq8Ta4LQNrMaqax5IzJVyNsSqXMsEkpXDVSpvkwdXeBMy6X02ozNQOrcefoGGLhAtrnewyJnchDxhIy/aG2TUYx6qMGi/zxGr+yKyev2Op3Qwg8FAhJ2Nk3Noa+Tm9ZErcfKhVykowGFYdBurD0M+9eouz4LRQP+JOfvUjmdduEZ9H+uzTou3OCr3pCj+6PLltQRT7C7hNz1YCzocUc=
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
# 3.3.0 / 2021-02-06
|
2
|
+
|
3
|
+
* [ENHANCEMENT] Update GithubStats dep
|
4
|
+
|
5
|
+
# 3.2.0 / 2020-10-06
|
6
|
+
|
7
|
+
* [ENHANCEMENT] Update GithubStats dep
|
8
|
+
|
9
|
+
# 3.1.1 / 2020-08-13
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Update GithubStats dep
|
12
|
+
|
13
|
+
# 3.1.0 / 2017-10-03
|
14
|
+
|
15
|
+
* [ENHANCEMENT] GitHub updated their styling; this updated matches that change
|
16
|
+
|
17
|
+
# 3.0.0 / 2017-09-29
|
18
|
+
|
19
|
+
* [ENHANCEMENT] Upgrade to latest githubstats with better error messages
|
20
|
+
|
21
|
+
# 2.1.0 / 2017-08-25
|
22
|
+
|
23
|
+
* [ENHANCEMENT] Upgrade to latest githubstats
|
24
|
+
|
1
25
|
# 2.0.1 / 2016-11-08
|
2
26
|
|
3
27
|
* [BUGFIX] Actually update changelog in release
|
data/README.md
CHANGED
@@ -2,10 +2,8 @@ GithubChart
|
|
2
2
|
============
|
3
3
|
|
4
4
|
[](https://rubygems.org/gems/githubchart)
|
5
|
-
[](https://circleci.com/gh/akerl/githubchart)
|
5
|
+
[](https://travis-ci.com/akerl/githubchart)
|
7
6
|
[](https://codecov.io/github/akerl/githubchart)
|
8
|
-
[](https://www.codacy.com/app/akerl/githubchart)
|
9
7
|
[](https://tldrlegal.com/license/mit-license)
|
10
8
|
|
11
9
|
Generates an SVG of your Github contributions:
|
data/bin/githubchart
CHANGED
@@ -10,32 +10,25 @@ render_type = 'svg'.freeze
|
|
10
10
|
OptionParser.new do |opts|
|
11
11
|
opts.banner =
|
12
12
|
"Usage: githubchart (-u username) (-t type) path/for/new/image\n"
|
13
|
-
opts.banner <<
|
13
|
+
opts.banner << "Supported types: #{GithubChart.supported.join(' ')}"
|
14
14
|
opts.on('-uUSER', '--user=USER', 'Specify GitHub user to graph') do |user|
|
15
|
-
if options.include? :input
|
16
|
-
raise 'The --user and --input flags are incompatible with each other.'
|
17
|
-
end
|
15
|
+
raise('The --user and --input flags are incompatible with each other.') if options.include? :input
|
18
16
|
options[:user] = user
|
19
17
|
end
|
20
18
|
opts.on('-iFILE', '--input=FILE', 'Specify JSON file, - for stdin') do |input|
|
21
|
-
if options.include? :user
|
22
|
-
raise 'The --user and --input flags are incompatible with each other.'
|
23
|
-
end
|
24
|
-
|
19
|
+
raise('The --user and --input flags are incompatible with each other.') if options.include? :user
|
25
20
|
if input.eql? '-'
|
26
|
-
raise 'No data provided on stdin' if
|
27
|
-
contents =
|
21
|
+
raise 'No data provided on stdin' if $stdin.tty?
|
22
|
+
contents = $stdin.read
|
28
23
|
else
|
29
24
|
raise 'File does not exist' unless File.exist? input
|
30
25
|
contents = File.read input
|
31
26
|
end
|
32
|
-
|
33
27
|
begin
|
34
28
|
parsed = JSON.parse(contents)
|
35
|
-
rescue => e
|
29
|
+
rescue StandardError => e
|
36
30
|
raise "Unable to parse JSON data provided: #{e}"
|
37
31
|
end
|
38
|
-
|
39
32
|
options[:data] = GithubStats::Data.new(parsed)
|
40
33
|
end
|
41
34
|
opts.on('-cSCHEME', '--colors SCHEME', 'Pick a color scheme') do |scheme|
|
@@ -61,6 +54,7 @@ OptionParser.new do |opts|
|
|
61
54
|
exit
|
62
55
|
end
|
63
56
|
end.parse!
|
57
|
+
# rubocop:enable Metrics/BlockLength
|
64
58
|
|
65
59
|
SVG_Path = ARGV.shift
|
66
60
|
|
data/githubchart.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
require 'English'
|
2
|
+
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
|
2
3
|
require 'githubchart/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
@@ -16,13 +17,13 @@ Gem::Specification.new do |s|
|
|
16
17
|
s.test_files = `git ls-files spec/*`.split
|
17
18
|
s.executables = ['githubchart']
|
18
19
|
|
19
|
-
s.add_runtime_dependency 'githubstats', '~> 1.
|
20
|
+
s.add_runtime_dependency 'githubstats', '~> 3.1.0'
|
20
21
|
s.add_runtime_dependency 'svgplot', '~> 1.0.0'
|
21
22
|
|
22
|
-
s.add_development_dependency '
|
23
|
-
s.add_development_dependency 'rake', '~>
|
23
|
+
s.add_development_dependency 'goodcop', '~> 0.9.3'
|
24
|
+
s.add_development_dependency 'rake', '~> 13.0.0'
|
24
25
|
s.add_development_dependency 'codecov', '~> 0.1.1'
|
25
|
-
s.add_development_dependency 'rspec', '~> 3.
|
26
|
-
s.add_development_dependency 'fuubar', '~> 2.
|
26
|
+
s.add_development_dependency 'rspec', '~> 3.9.0'
|
27
|
+
s.add_development_dependency 'fuubar', '~> 2.5.0'
|
27
28
|
end
|
28
29
|
|
data/lib/githubchart.rb
CHANGED
@@ -40,7 +40,8 @@ module GithubChart
|
|
40
40
|
##
|
41
41
|
# Color schemes for gradient
|
42
42
|
COLOR_SCHEMES = {
|
43
|
-
default: ['#eeeeee', '#
|
43
|
+
default: ['#eeeeee', '#c6e48b', '#7bc96f', '#239a3b', '#196127'],
|
44
|
+
old: ['#eeeeee', '#d6e685', '#8cc665', '#44a340', '#1e6823'],
|
44
45
|
halloween: ['#EEEEEE', '#FFEE4A', '#FFC501', '#FE9600', '#03001C']
|
45
46
|
}.freeze
|
46
47
|
|
@@ -57,20 +58,29 @@ module GithubChart
|
|
57
58
|
|
58
59
|
def initialize(params = {})
|
59
60
|
params = { user: params } unless params.is_a? Hash
|
60
|
-
@stats = params
|
61
|
+
@stats = load_stats(params[:data], params[:user])
|
61
62
|
@colors = params[:colors] || :default
|
62
63
|
@colors = COLOR_SCHEMES[@colors] unless @colors.is_a? Array
|
63
64
|
end
|
64
65
|
|
65
66
|
def render(type)
|
66
|
-
unless GithubChart.supports? type
|
67
|
-
raise NameError, "Format #{type} is unsupported."
|
68
|
-
end
|
67
|
+
raise(NameError, "Format #{type} is unsupported.") unless GithubChart.supports? type
|
69
68
|
send("render_#{type}".to_sym)
|
70
69
|
end
|
71
70
|
|
72
71
|
private
|
73
72
|
|
73
|
+
##
|
74
|
+
# Load stats from provided arg or github
|
75
|
+
|
76
|
+
def load_stats(data, user)
|
77
|
+
return data if data
|
78
|
+
raise('No data or user provided') unless user
|
79
|
+
stats = GithubStats.new(user).data
|
80
|
+
raise("Failed to find data for #{user} on GitHub") unless stats
|
81
|
+
stats
|
82
|
+
end
|
83
|
+
|
74
84
|
##
|
75
85
|
# Convert the data into a matrix of weeks
|
76
86
|
# The fill value is used to pad the front and backdd
|
data/lib/githubchart/svg.rb
CHANGED
@@ -14,10 +14,14 @@ module GithubChart
|
|
14
14
|
class Chart
|
15
15
|
private
|
16
16
|
|
17
|
+
CUBE_SIZE = 12
|
18
|
+
X_PAD = 27
|
19
|
+
Y_PAD = 20
|
20
|
+
|
17
21
|
def render_svg
|
18
22
|
grid = matrix
|
19
|
-
chart = SVGPlot.new(width:
|
20
|
-
height:
|
23
|
+
chart = SVGPlot.new(width: CUBE_SIZE * grid.column_size + X_PAD,
|
24
|
+
height: CUBE_SIZE * grid.row_size + Y_PAD)
|
21
25
|
svg_add_points grid, chart
|
22
26
|
svg_add_weekdays chart
|
23
27
|
svg_add_months chart
|
@@ -26,51 +30,45 @@ module GithubChart
|
|
26
30
|
|
27
31
|
def render_svg_square
|
28
32
|
grid = matrix.minor(0, 7, -7, 7)
|
29
|
-
chart = SVGPlot.new(width:
|
30
|
-
height:
|
31
|
-
svg_add_points grid, chart, 0
|
33
|
+
chart = SVGPlot.new(width: CUBE_SIZE * grid.column_size - 2,
|
34
|
+
height: CUBE_SIZE * grid.row_size - 2)
|
35
|
+
svg_add_points grid, chart, 0, 0
|
32
36
|
chart.to_s
|
33
37
|
end
|
34
38
|
|
35
|
-
|
39
|
+
##
|
40
|
+
# Define shared label style
|
41
|
+
|
42
|
+
SVG_SHARED_STYLE = {
|
43
|
+
fill: '#767676',
|
44
|
+
'text-anchor': 'start',
|
45
|
+
'text-align': 'center',
|
46
|
+
'font-family': '-apple-system, BlinkMacSystemFont, \'Segoe UI\', Helvetica, Arial, sans-serif, \'Apple Color Emoji\', \'Segoe UI Emoji\', \'Segoe UI Symbol\'', # rubocop:disable Layout/LineLength
|
47
|
+
'white-space': 'nowrap'
|
48
|
+
}.freeze
|
36
49
|
|
37
50
|
##
|
38
51
|
# Define style for weekday labels
|
39
52
|
|
40
|
-
SVG_WEEKDAY_STYLE =
|
41
|
-
:fill => '#ccc',
|
42
|
-
:'text-anchor' => 'middle',
|
43
|
-
:'text-align' => 'center',
|
44
|
-
:font => '9px Helvetica, arial, freesans, clean, sans-serif',
|
45
|
-
:'white-space' => 'nowrap',
|
46
|
-
:display => 'display'
|
47
|
-
}.freeze
|
53
|
+
SVG_WEEKDAY_STYLE = SVG_SHARED_STYLE.dup.merge('font-size': '9px').freeze
|
48
54
|
|
49
55
|
##
|
50
56
|
# Define Style for month labels
|
51
57
|
|
52
|
-
SVG_MONTH_STYLE =
|
53
|
-
:fill => '#aaa',
|
54
|
-
:'text-align' => 'center',
|
55
|
-
:font => '10px Helvetica, arial, freesans, clean, sans-serif',
|
56
|
-
:'white-space' => 'nowrap',
|
57
|
-
:display => 'block'
|
58
|
-
}.freeze
|
58
|
+
SVG_MONTH_STYLE = SVG_SHARED_STYLE.dup.merge('font-size': '10px').freeze
|
59
59
|
|
60
60
|
def svg_point_style(point)
|
61
61
|
{
|
62
62
|
fill: @colors[@stats.quartile(point.score)],
|
63
|
-
|
63
|
+
'shape-rendering': 'crispedges'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
67
|
-
|
68
|
-
|
69
|
-
def svg_add_points(grid, chart, padding = 14)
|
67
|
+
def svg_add_points(grid, chart, xpadding = X_PAD, ypadding = Y_PAD)
|
70
68
|
grid.each_with_index do |point, y, x|
|
71
69
|
next if point.score == -1
|
72
70
|
chart.rectangle(
|
73
|
-
(x *
|
71
|
+
(x * CUBE_SIZE) + xpadding, (y * CUBE_SIZE) + ypadding, 10, 10,
|
74
72
|
data: { score: point.score, date: point.date },
|
75
73
|
style: svg_point_style(point)
|
76
74
|
)
|
@@ -79,10 +77,11 @@ module GithubChart
|
|
79
77
|
|
80
78
|
def svg_add_weekday(chart, point)
|
81
79
|
index = point.date.wday
|
82
|
-
letter = point.date.strftime('%a')
|
80
|
+
letter = point.date.strftime('%a')
|
83
81
|
style = SVG_WEEKDAY_STYLE.dup
|
84
82
|
style[:display] = 'none' unless [1, 3, 5].include? index
|
85
|
-
|
83
|
+
shift = index > 3 ? 29 : 28
|
84
|
+
chart.text(0, CUBE_SIZE * index + shift, style: style) { raw letter }
|
86
85
|
end
|
87
86
|
|
88
87
|
def svg_add_weekdays(chart)
|
@@ -105,7 +104,8 @@ module GithubChart
|
|
105
104
|
offsets.shift if [1, 2].include? offsets[1].last
|
106
105
|
offsets.each do |month, offset|
|
107
106
|
next if offset > 50
|
108
|
-
|
107
|
+
x = CUBE_SIZE * offset + X_PAD
|
108
|
+
chart.text(x, 10, style: SVG_MONTH_STYLE) { raw month }
|
109
109
|
end
|
110
110
|
end
|
111
111
|
end
|
data/lib/githubchart/version.rb
CHANGED
data/spec/githubchart_spec.rb
CHANGED
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
describe GithubChart do
|
4
4
|
describe '#new' do
|
5
5
|
it 'creates a new Chart object' do
|
6
|
-
expect(GithubChart.new).to be_an_instance_of GithubChart::Chart
|
6
|
+
expect(GithubChart.new(data: [])).to be_an_instance_of GithubChart::Chart
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
@@ -22,10 +22,11 @@ describe GithubChart do
|
|
22
22
|
|
23
23
|
describe GithubChart::Chart do
|
24
24
|
it 'has default colors' do
|
25
|
-
expect(GithubChart.new.colors.last).to eql '#
|
25
|
+
expect(GithubChart.new(data: []).colors.last).to eql '#196127'
|
26
26
|
end
|
27
27
|
it 'lets you override the colors' do
|
28
|
-
|
28
|
+
colors = [1, 2, 3, 4, 5]
|
29
|
+
expect(GithubChart.new(data: [], colors: colors).colors.last).to eql 5
|
29
30
|
end
|
30
31
|
it 'lets you pass external data' do
|
31
32
|
data = JSON.parse(File.read('spec/examples/input.json'))
|
@@ -33,7 +34,7 @@ describe GithubChart do
|
|
33
34
|
end
|
34
35
|
it 'creates a data object when not provided' do
|
35
36
|
expect(
|
36
|
-
GithubChart.new(
|
37
|
+
GithubChart.new(user: 'akerl').stats
|
37
38
|
).to be_an_instance_of GithubStats::Data
|
38
39
|
end
|
39
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githubchart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: githubstats
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 3.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 3.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: svgplot
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,33 +39,33 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: goodcop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.9.3
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.9.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 13.0.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 13.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: codecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.9.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.9.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: fuubar
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
103
|
+
version: 2.5.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
110
|
+
version: 2.5.0
|
111
111
|
description: Uses GithubStats to grab Github contributions scores and converts that
|
112
112
|
into an SVG
|
113
113
|
email: me@lesaker.org
|
@@ -128,7 +128,6 @@ files:
|
|
128
128
|
- README.md
|
129
129
|
- Rakefile
|
130
130
|
- bin/githubchart
|
131
|
-
- circle.yml
|
132
131
|
- examples/chart.svg
|
133
132
|
- examples/other_user.svg
|
134
133
|
- githubchart.gemspec
|
@@ -143,7 +142,7 @@ homepage: https://github.com/akerl/githubchart
|
|
143
142
|
licenses:
|
144
143
|
- MIT
|
145
144
|
metadata: {}
|
146
|
-
post_install_message:
|
145
|
+
post_install_message:
|
147
146
|
rdoc_options: []
|
148
147
|
require_paths:
|
149
148
|
- lib
|
@@ -158,9 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
157
|
- !ruby/object:Gem::Version
|
159
158
|
version: '0'
|
160
159
|
requirements: []
|
161
|
-
|
162
|
-
|
163
|
-
signing_key:
|
160
|
+
rubygems_version: 3.1.2
|
161
|
+
signing_key:
|
164
162
|
specification_version: 4
|
165
163
|
summary: Generate an SVG of Github contributions data
|
166
164
|
test_files:
|