githubchart 2.1.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circle-ruby +4 -3
- data/.prospectus +5 -19
- 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 -6
- metadata +17 -19
- data/circle.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f916b6d266bd3d1b619294f386a48854bc949481199c16368bf528e6b4e84887
|
4
|
+
data.tar.gz: 5b5db4f3cede61d0f236ed7919e5811f6cb3748c0ef128e3aa0d95a9503224c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f570ebc5fb4044ded6e41650cf86c25b0151e1ca99baed85d6b36e9eea268be457226b73980822f898c8629e425089b0ce65ff076c0b22a3ebbebf431251b44
|
7
|
+
data.tar.gz: d6c65f73a2416454da45619311da7459a36965a8d2d00f237867dd61dd839526bec97828b32fc320123c4790d9d09b4c7e1b73b8e460fe03e534e25999d85af7
|
data/.circle-ruby
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
2.
|
2
|
-
2.3
|
3
|
-
2.
|
1
|
+
2.6.1
|
2
|
+
2.5.3
|
3
|
+
2.4.5
|
4
|
+
2.3.8
|
data/.prospectus
CHANGED
@@ -1,25 +1,11 @@
|
|
1
|
-
Prospectus.extra_dep('file', 'prospectus_circleci')
|
2
|
-
|
3
1
|
my_slug = 'akerl/githubchart'
|
4
2
|
|
3
|
+
Prospectus.extra_dep('file', 'prospectus_travis')
|
4
|
+
Prospectus.extra_dep('file', 'prospectus_gems')
|
5
|
+
|
5
6
|
item do
|
6
7
|
noop
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
name 'gems'
|
11
|
-
|
12
|
-
expected do
|
13
|
-
static
|
14
|
-
set 'green'
|
15
|
-
end
|
16
|
-
|
17
|
-
actual do
|
18
|
-
gemnasium
|
19
|
-
slug my_slug
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
extend ProspectusCircleci::Build.new(my_slug)
|
9
|
+
extend ProspectusGems::Gemspec.new
|
10
|
+
extend ProspectusTravis::Build.new(my_slug)
|
25
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.1 / 2021-02-06
|
2
|
+
|
3
|
+
* [BUGFIX] Actually bump githubstats dep
|
4
|
+
|
5
|
+
# 3.3.0 / 2021-02-06
|
6
|
+
|
7
|
+
* [ENHANCEMENT] Update GithubStats dep
|
8
|
+
|
9
|
+
# 3.2.0 / 2020-10-06
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Update GithubStats dep
|
12
|
+
|
13
|
+
# 3.1.1 / 2020-08-13
|
14
|
+
|
15
|
+
* [ENHANCEMENT] Update GithubStats dep
|
16
|
+
|
17
|
+
# 3.1.0 / 2017-10-03
|
18
|
+
|
19
|
+
* [ENHANCEMENT] GitHub updated their styling; this updated matches that change
|
20
|
+
|
21
|
+
# 3.0.0 / 2017-09-29
|
22
|
+
|
23
|
+
* [ENHANCEMENT] Upgrade to latest githubstats with better error messages
|
24
|
+
|
1
25
|
# 2.1.0 / 2017-08-25
|
2
26
|
|
3
27
|
* [ENHANCEMENT] Upgrade to latest githubstats
|
data/README.md
CHANGED
@@ -2,10 +2,8 @@ GithubChart
|
|
2
2
|
============
|
3
3
|
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/githubchart.svg)](https://rubygems.org/gems/githubchart)
|
5
|
-
[![
|
6
|
-
[![Build Status](https://img.shields.io/circleci/project/akerl/githubchart/master.svg)](https://circleci.com/gh/akerl/githubchart)
|
5
|
+
[![Build Status](https://img.shields.io/travis/com/akerl/githubchart.svg)](https://travis-ci.com/akerl/githubchart)
|
7
6
|
[![Coverage Status](https://img.shields.io/codecov/c/github/akerl/githubchart.svg)](https://codecov.io/github/akerl/githubchart)
|
8
|
-
[![Code Quality](https://img.shields.io/codacy/e8ee7e2aba4c4a01b93d5c0493bef68b.svg)](https://www.codacy.com/app/akerl/githubchart)
|
9
7
|
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](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', '~>
|
20
|
+
s.add_runtime_dependency 'githubstats', '~> 3.2.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
@@ -1,11 +1,9 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
# rubocop:disable Metrics/BlockLength
|
4
|
-
|
5
3
|
describe GithubChart do
|
6
4
|
describe '#new' do
|
7
5
|
it 'creates a new Chart object' do
|
8
|
-
expect(GithubChart.new).to be_an_instance_of GithubChart::Chart
|
6
|
+
expect(GithubChart.new(data: [])).to be_an_instance_of GithubChart::Chart
|
9
7
|
end
|
10
8
|
end
|
11
9
|
|
@@ -24,10 +22,11 @@ describe GithubChart do
|
|
24
22
|
|
25
23
|
describe GithubChart::Chart do
|
26
24
|
it 'has default colors' do
|
27
|
-
expect(GithubChart.new.colors.last).to eql '#
|
25
|
+
expect(GithubChart.new(data: []).colors.last).to eql '#196127'
|
28
26
|
end
|
29
27
|
it 'lets you override the colors' do
|
30
|
-
|
28
|
+
colors = [1, 2, 3, 4, 5]
|
29
|
+
expect(GithubChart.new(data: [], colors: colors).colors.last).to eql 5
|
31
30
|
end
|
32
31
|
it 'lets you pass external data' do
|
33
32
|
data = JSON.parse(File.read('spec/examples/input.json'))
|
@@ -35,7 +34,7 @@ describe GithubChart do
|
|
35
34
|
end
|
36
35
|
it 'creates a data object when not provided' do
|
37
36
|
expect(
|
38
|
-
GithubChart.new(
|
37
|
+
GithubChart.new(user: 'akerl').stats
|
39
38
|
).to be_an_instance_of GithubStats::Data
|
40
39
|
end
|
41
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.1
|
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:
|
19
|
+
version: 3.2.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:
|
26
|
+
version: 3.2.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:
|
data/circle.yml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
dependencies:
|
2
|
-
override:
|
3
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i gem update --system --no-doc || exit 1 ; done'
|
4
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
|
5
|
-
test:
|
6
|
-
override:
|
7
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done'
|