max_amount 1.3.7 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -11
- data/README.md +2 -3
- data/lib/max_amount/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4788de065e367879797a9b742e6fc12f014cad2b969759fa8f1f549cc5f16305
|
4
|
+
data.tar.gz: d384a1956e435ce177f97d1a9744738f8427a9e009e0f3520691ac8d4ab19eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf92a82e17d88892a35432091c4c0c957a8e4251a610c54db8882e542e54f562226cc0d378632a6f7b13119bfaacd26c03bf66e9c6e7a9d035cfe168257d853b
|
7
|
+
data.tar.gz: 8838f2c82e61c3edc9e70f6884e734776e19281ae58e0847c6163d3e2455c548c0f5461a18374331cd36f6253391a2263de680585650c319850c018e893acb63
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
max_amount (1.3.
|
4
|
+
max_amount (1.3.9)
|
5
5
|
optparse
|
6
6
|
securerandom
|
7
7
|
|
@@ -14,15 +14,15 @@ GEM
|
|
14
14
|
simplecov (>= 0.15, < 0.22)
|
15
15
|
diff-lcs (1.5.0)
|
16
16
|
docile (1.4.0)
|
17
|
-
fileutils (1.
|
18
|
-
json (2.6.
|
19
|
-
optparse (0.
|
17
|
+
fileutils (1.7.0)
|
18
|
+
json (2.6.3)
|
19
|
+
optparse (0.3.0)
|
20
20
|
parallel (1.22.1)
|
21
|
-
parser (3.1.
|
21
|
+
parser (3.1.3.0)
|
22
22
|
ast (~> 2.4.1)
|
23
23
|
rainbow (3.1.1)
|
24
24
|
rake (13.0.6)
|
25
|
-
regexp_parser (2.6.
|
25
|
+
regexp_parser (2.6.1)
|
26
26
|
rexml (3.2.5)
|
27
27
|
rspec (3.12.0)
|
28
28
|
rspec-core (~> 3.12.0)
|
@@ -33,11 +33,11 @@ GEM
|
|
33
33
|
rspec-expectations (3.12.0)
|
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.1)
|
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.40.0)
|
41
41
|
json (~> 2.3)
|
42
42
|
parallel (~> 1.10)
|
43
43
|
parser (>= 3.1.2.1)
|
@@ -47,15 +47,15 @@ GEM
|
|
47
47
|
rubocop-ast (>= 1.23.0, < 2.0)
|
48
48
|
ruby-progressbar (~> 1.7)
|
49
49
|
unicode-display_width (>= 1.4.0, < 3.0)
|
50
|
-
rubocop-ast (1.
|
50
|
+
rubocop-ast (1.24.0)
|
51
51
|
parser (>= 3.1.1.0)
|
52
|
-
rubocop-performance (1.15.
|
52
|
+
rubocop-performance (1.15.1)
|
53
53
|
rubocop (>= 1.7.0, < 2.0)
|
54
54
|
rubocop-ast (>= 0.4.0)
|
55
55
|
rubocop-rspec (2.15.0)
|
56
56
|
rubocop (~> 1.33)
|
57
57
|
ruby-progressbar (1.11.0)
|
58
|
-
securerandom (0.2.
|
58
|
+
securerandom (0.2.1)
|
59
59
|
simplecov (0.21.2)
|
60
60
|
docile (~> 1.1)
|
61
61
|
simplecov-html (~> 0.11)
|
data/README.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
[![Gem](https://img.shields.io/gem/v/max_amount)][gem]
|
5
5
|
[![Build Status](https://github.com/ProfessorNemo/max_amount/actions/workflows/ci.yml/badge.svg)][actions]
|
6
6
|
[![Test Coverage](https://codecov.io/gh/ProfessorNemo/max_amount/graph/badge.svg)](https://codecov.io/gh/ProfessorNemo/max_amount)
|
7
|
+
[![Depfu](https://img.shields.io/depfu/ProfessorNemo/max_amount?style=flat-square)](https://depfu.com/repos/github/ProfessorNemo/max_amount)
|
7
8
|
|
8
9
|
[gem]: https://rubygems.org/gems/max_amount
|
9
10
|
[gem]: https://rubygems.org/gems/max_amount
|
@@ -11,7 +12,7 @@
|
|
11
12
|
[coveralls]: https://coveralls.io/r/ProfessorNemo/max_amount
|
12
13
|
###### Язык написания - Ruby
|
13
14
|
|
14
|
-
## Скрипт
|
15
|
+
## Скрипт выполняет следующее:
|
15
16
|
* читает из входящего потока текстовые данные;
|
16
17
|
* по завершении ввода выводит n самых больших целых чисел, встретившихся в
|
17
18
|
полученных текстовых данных.
|
@@ -19,8 +20,6 @@
|
|
19
20
|
* числом считается любая непрерывная последовательность цифр в тексте;
|
20
21
|
* чисел длиннее 1000 цифр во входных данных нет;
|
21
22
|
* числа n,l и m - консольные параметры;
|
22
|
-
* код покрыт тестами;
|
23
|
-
* код оформлен в виде гема.
|
24
23
|
|
25
24
|
## Установка:
|
26
25
|
|
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.3.
|
4
|
+
version: 1.3.9
|
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-11
|
11
|
+
date: 2022-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optparse
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.3.
|
88
|
+
rubygems_version: 3.3.26
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Reading text data and outputting the n largest integers encountered in the
|