max_amount 1.3.9 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Gemfile +4 -4
- data/Gemfile.lock +18 -18
- data/README.md +3 -3
- data/lib/max_amount/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 808c2c3d29bd18959b4b7b230f121131f2f0f8342d6f1d679cc1a88c4e3403bd
|
4
|
+
data.tar.gz: 3387699e0b1af824690b8747f163806ef31ac78aad58cc78c9ea299f93fff73c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b6b24531d847288ae8001bb3ab6a745fa49379ced801e909277588caefc4e2feac57a91e62f72c975694ce28e2c045b0752c93e2de78677028cc6d89528313f
|
7
|
+
data.tar.gz: bb1a07a0dac3492a797f6934f722434f6112aca67695daff96b8219aba5fcdbcc703e17dc3c8d8b803c7d5a409eb4b6d196c2838eadb1bf0820ff478e44e333b
|
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
@@ -12,9 +12,9 @@ gem 'fileutils'
|
|
12
12
|
group :test do
|
13
13
|
gem 'byebug'
|
14
14
|
gem 'codecov', '~> 0.4'
|
15
|
-
gem 'rspec', '~> 3
|
16
|
-
gem 'rubocop', '~> 1
|
17
|
-
gem 'rubocop-performance', '~> 1
|
18
|
-
gem 'rubocop-rspec', '~> 2
|
15
|
+
gem 'rspec', '~> 3'
|
16
|
+
gem 'rubocop', '~> 1'
|
17
|
+
gem 'rubocop-performance', '~> 1'
|
18
|
+
gem 'rubocop-rspec', '~> 2'
|
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.
|
4
|
+
max_amount (1.4.2)
|
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.
|
19
|
+
optparse (0.3.1)
|
20
20
|
parallel (1.22.1)
|
21
|
-
parser (3.
|
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.
|
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.
|
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
|
+
rubocop (1.43.0)
|
41
41
|
json (~> 2.3)
|
42
42
|
parallel (~> 1.10)
|
43
|
-
parser (>= 3.
|
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.
|
47
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
48
48
|
ruby-progressbar (~> 1.7)
|
49
|
-
unicode-display_width (>=
|
50
|
-
rubocop-ast (1.24.
|
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.
|
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.
|
55
|
+
rubocop-rspec (2.17.0)
|
56
56
|
rubocop (~> 1.33)
|
57
57
|
ruby-progressbar (1.11.0)
|
58
|
-
securerandom (0.2.
|
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.
|
65
|
+
unicode-display_width (2.4.2)
|
66
66
|
|
67
67
|
PLATFORMS
|
68
68
|
x86_64-linux
|
@@ -73,10 +73,10 @@ DEPENDENCIES
|
|
73
73
|
fileutils
|
74
74
|
max_amount!
|
75
75
|
rake (~> 13.0)
|
76
|
-
rspec (~> 3
|
77
|
-
rubocop (~> 1
|
78
|
-
rubocop-performance (~> 1
|
79
|
-
rubocop-rspec (~> 2
|
76
|
+
rspec (~> 3)
|
77
|
+
rubocop (~> 1)
|
78
|
+
rubocop-performance (~> 1)
|
79
|
+
rubocop-rspec (~> 2)
|
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
|
-
```
|
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
|
data/lib/max_amount/version.rb
CHANGED
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.
|
4
|
+
version: 1.4.2
|
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:
|
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.
|
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
|
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
|