githubstats 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/githubstats.gemspec +1 -1
- data/lib/githubstats.rb +2 -2
- data/lib/githubstats/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ddc0f03d81a36bc6f159480109e7392f7dcdf4594625e22eb1e261a64ba8bd6
|
4
|
+
data.tar.gz: 85178d5a77b0fbae8d3f288ee9f3b900bba06220d9ba84e7ebe2796255c3e3b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67bc33def2f39498652161c3c435ec1aee8998bbd80c14ebd18c82163ce668bb75e4967766c2575dafbedda2545fcc40dbdf47c32f895d73835207b63fcb60ab
|
7
|
+
data.tar.gz: 8dd90f0da46226fcb8acd032b379034254b08108bc2b09f5f6ec588783504896239af8d7e49efd9add0fc0b2da686a47899e9422e6dc69216de53d8a86e112a4
|
data/CHANGELOG.md
CHANGED
data/githubstats.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_development_dependency 'fuubar', '~> 2.3.0'
|
27
27
|
s.add_development_dependency 'goodcop', '~> 0.5.0'
|
28
28
|
s.add_development_dependency 'rake', '~> 12.3.0'
|
29
|
-
s.add_development_dependency 'rspec', '~> 3.
|
29
|
+
s.add_development_dependency 'rspec', '~> 3.8.0'
|
30
30
|
s.add_development_dependency 'rubocop', '~> 0.58.0'
|
31
31
|
s.add_development_dependency 'timecop', '~> 0.9.0'
|
32
32
|
end
|
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.nil? || naive.last.size <
|
76
|
+
return naive if naive.last.nil? || naive.last.size < 364
|
77
77
|
[real_streak]
|
78
78
|
end
|
79
79
|
|
@@ -81,7 +81,7 @@ module GithubStats
|
|
81
81
|
# Set a custom longest_streak to account for the overriden streak
|
82
82
|
|
83
83
|
def longest_streak
|
84
|
-
return data.longest_streak if data.longest_streak.size <
|
84
|
+
return data.longest_streak if data.longest_streak.size < 364
|
85
85
|
streak
|
86
86
|
end
|
87
87
|
|
data/lib/githubstats/version.rb
CHANGED
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: 3.0.
|
4
|
+
version: 3.0.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: 2018-
|
11
|
+
date: 2018-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: basiccache
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.
|
117
|
+
version: 3.8.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.
|
124
|
+
version: 3.8.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|