max_amount 1.3.9 → 1.4.0
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 +3 -3
- data/Gemfile.lock +17 -17
- 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: f1892abc206ae0e78c80e8e73f53a8b0eff3b150f2753f8c73f7b7cbd11be133
|
4
|
+
data.tar.gz: 26696c874e6e9da89858f30540ba7c5c5c392de1bc6c30b760c933b358a5ebd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
17
|
-
gem 'rubocop-performance', '~> 1.
|
18
|
-
gem 'rubocop-rspec', '~> 2.
|
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.
|
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.
|
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
|
@@ -74,9 +74,9 @@ DEPENDENCIES
|
|
74
74
|
max_amount!
|
75
75
|
rake (~> 13.0)
|
76
76
|
rspec (~> 3.1)
|
77
|
-
rubocop (~> 1.
|
78
|
-
rubocop-performance (~> 1.
|
79
|
-
rubocop-rspec (~> 2.
|
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
|
-
```
|
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.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:
|
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
|