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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7e43001571c1bb4b2d76b82925a2a3a7421822e66cc0f59cc8d1ad9925621ca
4
- data.tar.gz: 1402a5f8d73b405a3bc7dcbb331a6cf8cfb00e8722ba9ccac16ec5e023a4040e
3
+ metadata.gz: 7ddc0f03d81a36bc6f159480109e7392f7dcdf4594625e22eb1e261a64ba8bd6
4
+ data.tar.gz: 85178d5a77b0fbae8d3f288ee9f3b900bba06220d9ba84e7ebe2796255c3e3b1
5
5
  SHA512:
6
- metadata.gz: 418dff84a32e2aefa9282ff636f3bb18540058cff3e3c542fbb485382021734351e593c26fb56c29a0a4e995b4e29a74153c1f253cc9a1f833d1af4ba50b6047
7
- data.tar.gz: 9b3077bd88e29ae5074220960c2748a53261117d478125e2a4d6e9419b53f1f02231f76caeeff5132b216d19e5e66821ea83ae32d5adf202ab6f78e3d3013a5f
6
+ metadata.gz: 67bc33def2f39498652161c3c435ec1aee8998bbd80c14ebd18c82163ce668bb75e4967766c2575dafbedda2545fcc40dbdf47c32f895d73835207b63fcb60ab
7
+ data.tar.gz: 8dd90f0da46226fcb8acd032b379034254b08108bc2b09f5f6ec588783504896239af8d7e49efd9add0fc0b2da686a47899e9422e6dc69216de53d8a86e112a4
@@ -1,3 +1,7 @@
1
+ # 3.0.1 / 2018-08-19
2
+
3
+ * [BUGFIX] Fix cap used to decide when to use real_streak GitHub polling
4
+
1
5
  # 3.0.0 / 2018-07-18
2
6
 
3
7
  * [BUGFIX] Update to work with recent GitHub changes for historic streak lookup API
@@ -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.7.0'
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
@@ -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 < 365
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 < 365
84
+ return data.longest_streak if data.longest_streak.size < 364
85
85
  streak
86
86
  end
87
87
 
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Define the version
5
5
  module GithubStats
6
- VERSION = '3.0.0'.freeze
6
+ VERSION = '3.0.1'.freeze
7
7
  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: 3.0.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-07-18 00:00:00.000000000 Z
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.7.0
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.7.0
124
+ version: 3.8.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement