githubstats 0.2.16 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/githubstats.gemspec +4 -4
- data/lib/githubstats/data.rb +2 -1
- data/lib/githubstats/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f7d010415dccad49d98facb981e7697dcc1a04
|
4
|
+
data.tar.gz: 7c203688bc2aa5c265d7632d770cac39b674a1f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ee98e8eb18799989fcc81f0f31e712e4e367f7ca05a8699ecef955a2cdc42354370062bc7bc514530d5e9e75ae8ed91c1b74de17503a8863637e33c69df7aab
|
7
|
+
data.tar.gz: 42438b044de78fed7a43389d89f5a96c537d57bc764a404f6f1b49bdb3fadb9a5ce8e4b47b2f3c6c2c9fc4ed913119801dc20af33fb6810013d3ad93c6445a7b
|
data/githubstats.gemspec
CHANGED
@@ -18,12 +18,12 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = ['githubstats']
|
19
19
|
|
20
20
|
s.add_runtime_dependency 'curb', '~> 0.8.6'
|
21
|
-
s.add_runtime_dependency 'basiccache', '~> 0.
|
22
|
-
s.add_runtime_dependency 'nokogiri', '~> 1.6.
|
21
|
+
s.add_runtime_dependency 'basiccache', '~> 1.0.0'
|
22
|
+
s.add_runtime_dependency 'nokogiri', '~> 1.6.5'
|
23
23
|
|
24
24
|
s.add_development_dependency 'timecop', '~> 0.7.1'
|
25
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
26
|
-
s.add_development_dependency 'rake', '~> 10.
|
25
|
+
s.add_development_dependency 'rubocop', '~> 0.28.0'
|
26
|
+
s.add_development_dependency 'rake', '~> 10.4.0'
|
27
27
|
s.add_development_dependency 'coveralls', '~> 0.7.1'
|
28
28
|
s.add_development_dependency 'rspec', '~> 3.1.0'
|
29
29
|
s.add_development_dependency 'fuubar', '~> 2.0.0'
|
data/lib/githubstats/data.rb
CHANGED
@@ -132,9 +132,10 @@ module GithubStats
|
|
132
132
|
# The index represents the quartile number
|
133
133
|
# The value is the upper bound of the quartile (inclusive)
|
134
134
|
|
135
|
-
def quartile_boundaries
|
135
|
+
def quartile_boundaries # rubocop:disable Metrics/AbcSize
|
136
136
|
top = scores.reject { |x| gh_outliers.include? x }.max
|
137
137
|
range = (1..top).to_a
|
138
|
+
range = [0] * 3 if range.empty?
|
138
139
|
mids = (1..3).map do |q|
|
139
140
|
index = q * range.size / 4 - 1
|
140
141
|
range[index]
|
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: 0.2.
|
4
|
+
version: 0.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curb
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.6.
|
47
|
+
version: 1.6.5
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.6.
|
54
|
+
version: 1.6.5
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: timecop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.28.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.28.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 10.
|
89
|
+
version: 10.4.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 10.
|
96
|
+
version: 10.4.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: coveralls
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|