githubstats 1.3.0 → 1.3.1

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: 18eb056e846349fdd755a7724f69c8040a037070
4
- data.tar.gz: ece0a53aa1a7941694120ffd26fc9ddbe0b4a0ce
3
+ metadata.gz: 334ee21ca7fb6938f1db4dee0c756a4271bb95e8
4
+ data.tar.gz: 34c665d0aae762ea44fd9226aef25f66880aaeda
5
5
  SHA512:
6
- metadata.gz: 86677eae394cae76f19d9064d3451b14b8a914ae2d4a3447b8f6dbd8f71f42cb2cc0baef6e30f90e37f8bfff3d34bc118afa274266c8f118ce27b4c8980dd07e
7
- data.tar.gz: 92a2b5adab28a47d958213824a38340d0540b684f1ca81e1be12282cb7e66344a7506b4e7eb8a690295512d41dff2020878e39c19621c44c1edae5b7dbd3f75a
6
+ metadata.gz: 19935983f0ab101ff208d2e0f1be1979368ccf83020c38292f03ecd4aff695901d719073a775638564a2b218c2f858b722d0913a67e73cb4510d7a282cb7e14d
7
+ data.tar.gz: 10f8db4278cf6c2836c8544727ff780f9788a760dad1b01f7f9b1b7921611269c163f90bd9e5c2b8e59384f5c8d66eb935c6b5959b359c6e945499569e28db90
data/lib/githubstats.rb CHANGED
@@ -73,7 +73,7 @@ module GithubStats
73
73
 
74
74
  def streaks
75
75
  naive = data.streaks
76
- return naive if naive.last.size < 365
76
+ return naive if naive.last.nil? || naive.last.size < 365
77
77
  [real_streak]
78
78
  end
79
79
 
@@ -2,5 +2,5 @@
2
2
  ##
3
3
  # Define the version
4
4
  module GithubStats
5
- VERSION = '1.3.0'.freeze
5
+ VERSION = '1.3.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-14 00:00:00.000000000 Z
11
+ date: 2016-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curb