githubchart 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b47690925166fce2d487092fac9c9e74d4031cde
4
- data.tar.gz: 17ef0e49926fd81b1a93757792d3edcf019f6cd2
3
+ metadata.gz: 2508152bbf1729a5470fa92be644742658c49311
4
+ data.tar.gz: 295999d47b7f4e0236bd1677742305475003b028
5
5
  SHA512:
6
- metadata.gz: a102d9ea7dbf0bb567970cd0feed23c383953c0e45c00ef4a1f1ed99872bbe56b84d9ff615756d863511f3e0bb70370bc50bed423d28d04ef777b9926a3f14bb
7
- data.tar.gz: 0f0cd5d961b3e0b092e6427522fcffd2ade08f5ba6f96d3b788faa2c9a3813c56bdea7e1d582135e458c40a60883fc44a94f9cae4b0e7f5eab065f0226d1eaf9
6
+ metadata.gz: d4a29711557847b8891df0017954ce77310d62caff893bec26516b50ec8a106cc36c9090cff4c87fc4276a6f3de2970401a25942682b2fcb377d42a27a91837e
7
+ data.tar.gz: 373e8a1d09cf426ed5442d09891cadc16939df098a3eb191fc1826f0c3a7bf36d167044d072006227b4778cc2502b5d331f153012a9de4bbe5b04ef5fbb23605
data/README.md CHANGED
@@ -11,6 +11,8 @@ Generates an SVG of your Github contributions:
11
11
 
12
12
  ![Example image](http://akerl.github.io/githubchart/chart.svg)
13
13
 
14
+ ![Other user example](http://akerl.github.io/githubchart/other_user.svg)
15
+
14
16
  ## Usage
15
17
 
16
18
  Run `githubchart path/to/svg` to generate an SVG. To override the default username (pulled from your local shell or .gitconfig), use `github_chart -u username path/to/svg`
data/githubchart.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'githubchart'
3
- s.version = '0.0.3'
3
+ s.version = '0.0.4'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = 'Generate an SVG of Github contributions data'
6
6
  s.description = "Uses GithubStats to grab Github contributions scores and converts that into an SVG"
@@ -85,6 +85,7 @@ module GithubChart
85
85
 
86
86
  def svg_add_months(chart)
87
87
  svg_get_month_offsets.each do |month, offset|
88
+ next if offset > 52
88
89
  chart.text(13 * offset + 14, 9, month, SVG_MONTH_STYLE)
89
90
  end
90
91
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubchart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker