max_amount 1.3.9 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4788de065e367879797a9b742e6fc12f014cad2b969759fa8f1f549cc5f16305
4
- data.tar.gz: d384a1956e435ce177f97d1a9744738f8427a9e009e0f3520691ac8d4ab19eb6
3
+ metadata.gz: f1892abc206ae0e78c80e8e73f53a8b0eff3b150f2753f8c73f7b7cbd11be133
4
+ data.tar.gz: 26696c874e6e9da89858f30540ba7c5c5c392de1bc6c30b760c933b358a5ebd4
5
5
  SHA512:
6
- metadata.gz: cf92a82e17d88892a35432091c4c0c957a8e4251a610c54db8882e542e54f562226cc0d378632a6f7b13119bfaacd26c03bf66e9c6e7a9d035cfe168257d853b
7
- data.tar.gz: 8838f2c82e61c3edc9e70f6884e734776e19281ae58e0847c6163d3e2455c548c0f5461a18374331cd36f6253391a2263de680585650c319850c018e893acb63
6
+ metadata.gz: ba7116d4197664fcdd9787ee6b09538585b3348d71bada18e5f17c7cd21cad6bb362ced561d675dff5ebbacc17eccae7f7babc700847d3f3b6f945b085e2497b
7
+ data.tar.gz: 4e9587680304d1c4d6657bafd0b9e1ac143c87b1d41d2248f45222d73993dd5a07aacbdbb7805313fa032ca76977052ae5e9b6bb54014a6989ab9689b3438e3a
data/.rubocop.yml CHANGED
@@ -4,6 +4,7 @@ require:
4
4
 
5
5
  AllCops:
6
6
  NewCops: enable
7
+ TargetRubyVersion: 3.0.3
7
8
 
8
9
  Style/StringLiteralsInInterpolation:
9
10
  Enabled: true
@@ -40,4 +41,4 @@ RSpec/NoExpectationExample:
40
41
  Enabled: false
41
42
 
42
43
  Metrics/CyclomaticComplexity:
43
- Enabled: false
44
+ Enabled: false
data/Gemfile CHANGED
@@ -13,8 +13,8 @@ group :test do
13
13
  gem 'byebug'
14
14
  gem 'codecov', '~> 0.4'
15
15
  gem 'rspec', '~> 3.1'
16
- gem 'rubocop', '~> 1.36'
17
- gem 'rubocop-performance', '~> 1.15'
18
- gem 'rubocop-rspec', '~> 2.13'
16
+ gem 'rubocop', '~> 1.0'
17
+ gem 'rubocop-performance', '~> 1.0'
18
+ gem 'rubocop-rspec', '~> 2.0'
19
19
  gem 'simplecov', '~> 0.21'
20
20
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- max_amount (1.3.9)
4
+ max_amount (1.4.0)
5
5
  optparse
6
6
  securerandom
7
7
 
@@ -16,9 +16,9 @@ GEM
16
16
  docile (1.4.0)
17
17
  fileutils (1.7.0)
18
18
  json (2.6.3)
19
- optparse (0.3.0)
19
+ optparse (0.3.1)
20
20
  parallel (1.22.1)
21
- parser (3.1.3.0)
21
+ parser (3.2.0.0)
22
22
  ast (~> 2.4.1)
23
23
  rainbow (3.1.1)
24
24
  rake (13.0.6)
@@ -30,39 +30,39 @@ GEM
30
30
  rspec-mocks (~> 3.12.0)
31
31
  rspec-core (3.12.0)
32
32
  rspec-support (~> 3.12.0)
33
- rspec-expectations (3.12.0)
33
+ rspec-expectations (3.12.2)
34
34
  diff-lcs (>= 1.2.0, < 2.0)
35
35
  rspec-support (~> 3.12.0)
36
- rspec-mocks (3.12.1)
36
+ rspec-mocks (3.12.2)
37
37
  diff-lcs (>= 1.2.0, < 2.0)
38
38
  rspec-support (~> 3.12.0)
39
39
  rspec-support (3.12.0)
40
- rubocop (1.40.0)
40
+ rubocop (1.43.0)
41
41
  json (~> 2.3)
42
42
  parallel (~> 1.10)
43
- parser (>= 3.1.2.1)
43
+ parser (>= 3.2.0.0)
44
44
  rainbow (>= 2.2.2, < 4.0)
45
45
  regexp_parser (>= 1.8, < 3.0)
46
46
  rexml (>= 3.2.5, < 4.0)
47
- rubocop-ast (>= 1.23.0, < 2.0)
47
+ rubocop-ast (>= 1.24.1, < 2.0)
48
48
  ruby-progressbar (~> 1.7)
49
- unicode-display_width (>= 1.4.0, < 3.0)
50
- rubocop-ast (1.24.0)
49
+ unicode-display_width (>= 2.4.0, < 3.0)
50
+ rubocop-ast (1.24.1)
51
51
  parser (>= 3.1.1.0)
52
- rubocop-performance (1.15.1)
52
+ rubocop-performance (1.15.2)
53
53
  rubocop (>= 1.7.0, < 2.0)
54
54
  rubocop-ast (>= 0.4.0)
55
- rubocop-rspec (2.15.0)
55
+ rubocop-rspec (2.17.0)
56
56
  rubocop (~> 1.33)
57
57
  ruby-progressbar (1.11.0)
58
- securerandom (0.2.1)
58
+ securerandom (0.2.2)
59
59
  simplecov (0.21.2)
60
60
  docile (~> 1.1)
61
61
  simplecov-html (~> 0.11)
62
62
  simplecov_json_formatter (~> 0.1)
63
63
  simplecov-html (0.12.3)
64
64
  simplecov_json_formatter (0.1.4)
65
- unicode-display_width (2.3.0)
65
+ unicode-display_width (2.4.2)
66
66
 
67
67
  PLATFORMS
68
68
  x86_64-linux
@@ -74,9 +74,9 @@ DEPENDENCIES
74
74
  max_amount!
75
75
  rake (~> 13.0)
76
76
  rspec (~> 3.1)
77
- rubocop (~> 1.36)
78
- rubocop-performance (~> 1.15)
79
- rubocop-rspec (~> 2.13)
77
+ rubocop (~> 1.0)
78
+ rubocop-performance (~> 1.0)
79
+ rubocop-rspec (~> 2.0)
80
80
  simplecov (~> 0.21)
81
81
 
82
82
  BUNDLED WITH
data/README.md CHANGED
@@ -53,8 +53,8 @@ puts MaxAmount.result(user_string: user_string)
53
53
 
54
54
  ## Запуск:
55
55
 
56
- ``` rb
57
- ruby name_programm.rb --h
56
+ ```
57
+ $ ruby name_programm.rb --h
58
58
 
59
59
  Результат:
60
60
 
@@ -67,7 +67,7 @@ ruby name_programm.rb --h
67
67
 
68
68
  $ ruby name_programm.rb --n 10 --l 300 --m 3
69
69
 
70
- Результат:
70
+ == Результат: ==
71
71
 
72
72
  8653
73
73
  5267
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MaxAmount
4
- VERSION = '1.3.9'
4
+ VERSION = '1.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: max_amount
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb V. Zhegulin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-11 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse
@@ -78,14 +78,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: 3.0.2
81
+ version: 3.0.3
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.3.26
88
+ rubygems_version: 3.4.3
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Reading text data and outputting the n largest integers encountered in the