lite-statistics 1.1.0 → 1.1.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: d8f8f07632fa69ea54418688b58a258e6300fecd15589d9fd81bb6792ab5174a
4
- data.tar.gz: 30ef26cef558ef6a9060c302ef27b6b621f71844a4302901df7cc2d9b6308be4
3
+ metadata.gz: ae8256539084cceb1bc452eb98e855081ea4d58fa3f24c0e3c57cda46977ac21
4
+ data.tar.gz: c120fe0ba7a3e2a6f0ca82f828d091f0d5b3f0e88e048c840f1ebd21d304d20d
5
5
  SHA512:
6
- metadata.gz: e1b5b3f5cb9ae4c5b285fe0b3b6762379a0b6d813c51002e88ddece1bd4fbea03f74958271525d9615a93bbefe138b6aa0021ab1a6a776c7952f4cd7acb72b93
7
- data.tar.gz: 19df215b60614feaa471255c1b48ae6df2471ec02dcdfd5d6417f43cd6f0efe919f20936d999ec5c1201830bfadb314c62bbffa58cc11905a8a716908c26125a
6
+ metadata.gz: 2161327f4f4a6890de8fefcd46877dc13a53635d192801b7d166d84816ae5dd62110c17fc4a0b1d7fcce4634a2d086c059f8bc9fc8e2c92d6b936ed9bc7f4b5f
7
+ data.tar.gz: b3fa5ca4e4b70dae02ec856895475c464b7c6b9655ae22edbb5eee31c0ddd8998d750b948771305ad8df9d1dfce42a0d380c139d160d621a2e3ec4e6c25f73d7
data/.rubocop.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-performance
3
+ - rubocop-rake
3
4
  - rubocop-rspec
4
5
  AllCops:
5
6
  TargetRubyVersion: 2.7
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.1] - 2019-07-05
10
+ ### Changed
11
+ - Linter fixes
12
+
9
13
  ## [1.1.0] - 2019-06-06
10
14
  ### Changed
11
15
  - Removed underscore of quartile numbers
data/Gemfile.lock CHANGED
@@ -1,58 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-statistics (1.1.0)
4
+ lite-statistics (1.1.1)
5
5
  lite-memoize
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.0.3.4)
11
- actionview (= 6.0.3.4)
12
- activesupport (= 6.0.3.4)
13
- rack (~> 2.0, >= 2.0.8)
10
+ actionpack (6.1.3.2)
11
+ actionview (= 6.1.3.2)
12
+ activesupport (= 6.1.3.2)
13
+ rack (~> 2.0, >= 2.0.9)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (6.0.3.4)
18
- activesupport (= 6.0.3.4)
17
+ actionview (6.1.3.2)
18
+ activesupport (= 6.1.3.2)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (6.0.3.4)
23
+ activesupport (6.1.3.2)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
- i18n (>= 0.7, < 2)
26
- minitest (~> 5.1)
27
- tzinfo (~> 1.1)
28
- zeitwerk (~> 2.2, >= 2.2.2)
29
- ast (2.4.1)
25
+ i18n (>= 1.6, < 2)
26
+ minitest (>= 5.1)
27
+ tzinfo (~> 2.0)
28
+ zeitwerk (~> 2.3)
29
+ ast (2.4.2)
30
30
  builder (3.2.4)
31
31
  colorize (0.8.1)
32
- concurrent-ruby (1.1.7)
32
+ concurrent-ruby (1.1.8)
33
33
  crass (1.0.6)
34
34
  diff-lcs (1.4.4)
35
- erubi (1.9.0)
36
- fasterer (0.8.3)
35
+ erubi (1.10.0)
36
+ fasterer (0.9.0)
37
37
  colorize (~> 0.7)
38
38
  ruby_parser (>= 3.14.1)
39
39
  generator_spec (0.9.4)
40
40
  activesupport (>= 3.0.0)
41
41
  railties (>= 3.0.0)
42
- i18n (1.8.5)
42
+ i18n (1.8.10)
43
43
  concurrent-ruby (~> 1.0)
44
- lite-memoize (1.0.3)
45
- loofah (2.7.0)
44
+ lite-memoize (1.0.4)
45
+ loofah (2.9.1)
46
46
  crass (~> 1.0.2)
47
47
  nokogiri (>= 1.5.9)
48
48
  method_source (1.0.0)
49
- mini_portile2 (2.4.0)
50
- minitest (5.14.2)
51
- nokogiri (1.10.10)
52
- mini_portile2 (~> 2.4.0)
53
- parallel (1.19.2)
54
- parser (2.7.2.0)
49
+ mini_portile2 (2.5.1)
50
+ minitest (5.14.4)
51
+ nokogiri (1.11.3)
52
+ mini_portile2 (~> 2.5.0)
53
+ racc (~> 1.4)
54
+ parallel (1.20.1)
55
+ parser (3.0.1.1)
55
56
  ast (~> 2.4.1)
57
+ racc (1.5.2)
56
58
  rack (2.2.3)
57
59
  rack-test (1.1.0)
58
60
  rack (>= 1.0, < 3)
@@ -61,56 +63,57 @@ GEM
61
63
  nokogiri (>= 1.6)
62
64
  rails-html-sanitizer (1.3.0)
63
65
  loofah (~> 2.3)
64
- railties (6.0.3.4)
65
- actionpack (= 6.0.3.4)
66
- activesupport (= 6.0.3.4)
66
+ railties (6.1.3.2)
67
+ actionpack (= 6.1.3.2)
68
+ activesupport (= 6.1.3.2)
67
69
  method_source
68
70
  rake (>= 0.8.7)
69
- thor (>= 0.20.3, < 2.0)
71
+ thor (~> 1.0)
70
72
  rainbow (3.0.0)
71
- rake (13.0.1)
72
- regexp_parser (1.8.2)
73
- rexml (3.2.4)
73
+ rake (13.0.3)
74
+ regexp_parser (2.1.1)
75
+ rexml (3.2.5)
74
76
  rspec (3.10.0)
75
77
  rspec-core (~> 3.10.0)
76
78
  rspec-expectations (~> 3.10.0)
77
79
  rspec-mocks (~> 3.10.0)
78
- rspec-core (3.10.0)
80
+ rspec-core (3.10.1)
79
81
  rspec-support (~> 3.10.0)
80
- rspec-expectations (3.10.0)
82
+ rspec-expectations (3.10.1)
81
83
  diff-lcs (>= 1.2.0, < 2.0)
82
84
  rspec-support (~> 3.10.0)
83
- rspec-mocks (3.10.0)
85
+ rspec-mocks (3.10.2)
84
86
  diff-lcs (>= 1.2.0, < 2.0)
85
87
  rspec-support (~> 3.10.0)
86
- rspec-support (3.10.0)
87
- rubocop (1.2.0)
88
+ rspec-support (3.10.2)
89
+ rubocop (1.14.0)
88
90
  parallel (~> 1.10)
89
- parser (>= 2.7.1.5)
91
+ parser (>= 3.0.0.0)
90
92
  rainbow (>= 2.2.2, < 4.0)
91
- regexp_parser (>= 1.8)
93
+ regexp_parser (>= 1.8, < 3.0)
92
94
  rexml
93
- rubocop-ast (>= 1.0.1)
95
+ rubocop-ast (>= 1.5.0, < 2.0)
94
96
  ruby-progressbar (~> 1.7)
95
- unicode-display_width (>= 1.4.0, < 2.0)
96
- rubocop-ast (1.1.1)
97
- parser (>= 2.7.1.5)
98
- rubocop-performance (1.8.1)
99
- rubocop (>= 0.87.0)
97
+ unicode-display_width (>= 1.4.0, < 3.0)
98
+ rubocop-ast (1.5.0)
99
+ parser (>= 3.0.1.1)
100
+ rubocop-performance (1.11.3)
101
+ rubocop (>= 1.7.0, < 2.0)
100
102
  rubocop-ast (>= 0.4.0)
101
- rubocop-rspec (2.0.0)
103
+ rubocop-rake (0.5.1)
104
+ rubocop
105
+ rubocop-rspec (2.3.0)
102
106
  rubocop (~> 1.0)
103
107
  rubocop-ast (>= 1.1.0)
104
- ruby-progressbar (1.10.1)
105
- ruby_parser (3.15.0)
108
+ ruby-progressbar (1.11.0)
109
+ ruby_parser (3.15.1)
106
110
  sexp_processor (~> 4.9)
107
- sexp_processor (4.15.1)
108
- thor (1.0.1)
109
- thread_safe (0.3.6)
110
- tzinfo (1.2.7)
111
- thread_safe (~> 0.1)
112
- unicode-display_width (1.7.0)
113
- zeitwerk (2.4.1)
111
+ sexp_processor (4.15.2)
112
+ thor (1.1.0)
113
+ tzinfo (2.0.4)
114
+ concurrent-ruby (~> 1.0)
115
+ unicode-display_width (2.0.0)
116
+ zeitwerk (2.4.2)
114
117
 
115
118
  PLATFORMS
116
119
  ruby
@@ -124,7 +127,8 @@ DEPENDENCIES
124
127
  rspec
125
128
  rubocop
126
129
  rubocop-performance
130
+ rubocop-rake
127
131
  rubocop-rspec
128
132
 
129
133
  BUNDLED WITH
130
- 2.1.4
134
+ 2.2.17
@@ -6,7 +6,7 @@ module Lite
6
6
 
7
7
  extend Lite::Memoize::Alias
8
8
 
9
- CALCULATIONS ||= %i[
9
+ CALCULATIONS = %i[
10
10
  frequencies max mean median midrange min mode proportions percentile_from_value
11
11
  population_coefficient_of_variation population_kurtosis population_size population_skewness
12
12
  population_standard_deviation population_standard_error population_summary
@@ -3,7 +3,7 @@
3
3
  if Lite::Statistics.configuration.monkey_patches
4
4
  module Enumerable
5
5
 
6
- EXCLUDED_DESCRIPTIVE_CALCULATIONS ||= %i[max min sum].freeze
6
+ EXCLUDED_DESCRIPTIVE_CALCULATIONS = %i[max min sum].freeze
7
7
 
8
8
  Lite::Statistics::Descriptive::CALCULATIONS.each do |name|
9
9
  next if EXCLUDED_DESCRIPTIVE_CALCULATIONS.include?(name)
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Statistics
5
5
 
6
- VERSION ||= '1.1.0'
6
+ VERSION = '1.1.1'
7
7
 
8
8
  end
9
9
  end
@@ -46,5 +46,6 @@ Gem::Specification.new do |spec|
46
46
  spec.add_development_dependency 'rspec'
47
47
  spec.add_development_dependency 'rubocop'
48
48
  spec.add_development_dependency 'rubocop-performance'
49
+ spec.add_development_dependency 'rubocop-rake'
49
50
  spec.add_development_dependency 'rubocop-rspec'
50
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-07 00:00:00.000000000 Z
11
+ date: 2021-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lite-memoize
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rubocop-rspec
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -211,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
225
  - !ruby/object:Gem::Version
212
226
  version: '0'
213
227
  requirements: []
214
- rubygems_version: 3.1.4
228
+ rubygems_version: 3.2.17
215
229
  signing_key:
216
230
  specification_version: 4
217
231
  summary: Generate statistics from collections of data points