Skip to content

Commit

Permalink
update githubstats dep
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jul 18, 2023
1 parent 3a4ed2b commit 457c722
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 4.0.0 / 2023-07-18

* [BUGFIX] Update GithubStats dep to use new Github.com format for table

# 3.4.0 / 2023-01-08

* [ENHANCEMENT] Update GithubStats dep
Expand Down
2 changes: 1 addition & 1 deletion githubchart.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split
s.executables = ['githubchart']

s.add_runtime_dependency 'githubstats', '~> 3.3.0'
s.add_runtime_dependency 'githubstats', '~> 4.0.1'
s.add_runtime_dependency 'matrix', '~> 0.4.2'
s.add_runtime_dependency 'svgplot', '~> 1.0.0'

Expand Down
2 changes: 1 addition & 1 deletion lib/githubchart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def load_stats(data, user)

##
# Convert the data into a matrix of weeks
# The fill value is used to pad the front and backdd
# The fill value is used to pad the front and back

def matrix(fill_value = -1)
Matrix[*@stats.pad(fill_value).each_slice(7).to_a.transpose]
Expand Down
2 changes: 1 addition & 1 deletion lib/githubchart/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
# Define the version
module GithubChart
VERSION = '3.4.0'.freeze
VERSION = '4.0.0'.freeze
end

0 comments on commit 457c722

Please sign in to comment.