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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6489df0d1be5a9655b111007d55abdf990744ca
4
- data.tar.gz: ac61b4865e20e58f133d37f64bf4059319ca50fa
3
+ metadata.gz: 90f7d010415dccad49d98facb981e7697dcc1a04
4
+ data.tar.gz: 7c203688bc2aa5c265d7632d770cac39b674a1f0
5
5
  SHA512:
6
- metadata.gz: a42a5eda72b94c007081e897300d8ca0fff9629a00d9d86650cf753f2bc65af6af10f1eccc8c70c4756e2867650e90aab223fdfa64776a499de8fdec90ae4788
7
- data.tar.gz: 43fb14fd324353311cc3a2b2add396ad3882a3376ef09fd654ef2e05d3e6517cefe1b00eb181faee3dc255441bffab0c0f957e60a4dc6fe637e8ca93313e4264
6
+ metadata.gz: 7ee98e8eb18799989fcc81f0f31e712e4e367f7ca05a8699ecef955a2cdc42354370062bc7bc514530d5e9e75ae8ed91c1b74de17503a8863637e33c69df7aab
7
+ data.tar.gz: 42438b044de78fed7a43389d89f5a96c537d57bc764a404f6f1b49bdb3fadb9a5ce8e4b47b2f3c6c2c9fc4ed913119801dc20af33fb6810013d3ad93c6445a7b
@@ -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.2.2'
22
- s.add_runtime_dependency 'nokogiri', '~> 1.6.3.1'
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.0'
26
- s.add_development_dependency 'rake', '~> 10.3.2'
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'
@@ -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]
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Define the version
3
3
  module GithubStats
4
- VERSION = '0.2.16'
4
+ VERSION = '0.2.18'
5
5
  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: 0.2.16
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: 2014-09-06 00:00:00.000000000 Z
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.2.2
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.2.2
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.3.1
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.3.1
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.26.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.26.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.3.2
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.3.2
96
+ version: 10.4.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: coveralls
99
99
  requirement: !ruby/object:Gem::Requirement