max_amount 1.2.4 → 1.3.4

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: 350f0cfbb9d43c276d77656c980744b9efaffc94d81f6148853c1ca2db8847c0
4
- data.tar.gz: d3794227bd0722cad8a04a1be6429d3e13c9b19b7ab701c0bc144b3da7ff96cd
3
+ metadata.gz: cf9b840576ec01dfd5f676102f6f6b2583b40b1f65bf658c3abd67d592548627
4
+ data.tar.gz: 7fa90c30fbd38db2571b74ec3241205a7f7e5b7f5b55a4b00cdfd4f42f790522
5
5
  SHA512:
6
- metadata.gz: 25748ccb9b6900974780d6ee5a00a66f866286392e60d94c3d4c530f476a9cca66c2bca7e1e716ca5783c5d5126eba1a33531e0abedefe5345bc704a61083405
7
- data.tar.gz: 5b284bada3aff0867af14f2ccd836f0c865321cd786f48fae30ba479641b149db28b797fc869ee2c9b5f67a096852c534729d0455ffc19618e85a38340d7d42b
6
+ metadata.gz: 8ff40fc634062cb6d89ec7b955ba801c9fea5620e933d56a04ea00d92cbedc31ba075d901024492acf7cb1205f69d668a530ba0fe249ab183fede5a948666801
7
+ data.tar.gz: 065a188d876a81e9a0a26970895386c4fe7b0c0b1ada637c5e70b38d610d40e3f5c089aec2994db5741af68980a1d7c739dd53e5689eead2f9370d8984f4290b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- max_amount (1.2.4)
4
+ max_amount (1.3.4)
5
5
  optparse
6
6
  securerandom
7
7
 
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # max_amount
2
2
 
3
+ ![Gem](https://img.shields.io/gem/v/max_amount)
4
+ ![CI](https://github.com/ProfessorNemo/max_amount/actions/workflows/ci.yml/badge.svg)
5
+ [![Test Coverage](https://codecov.io/gh/ProfessorNemo/max_amount/graph/badge.svg)](https://codecov.io/gh/ProfessorNemo/max_amount)
6
+ ![Downloads total](https://img.shields.io/gem/dt/max_amount)
7
+
3
8
  ## Скрипт выполняется следующее:
4
9
  * читает из входящего потока текстовые данные;
5
10
  * по завершении ввода выводит n самых больших целых чисел, встретившихся в
@@ -77,4 +82,4 @@ $ ruby name_programm.rb --n 10 --l 300 --m 3
77
82
 
78
83
  ## Лицензия
79
84
 
80
- [MIT License](https://opensource.org/licenses/MIT)
85
+ [MIT License](https://opensource.org/licenses/MIT)
data/Rakefile CHANGED
@@ -1,15 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'rake'
4
+
5
+ begin
6
+ require 'bundler/setup'
7
+ Bundler::GemHelper.install_tasks
8
+ rescue LoadError
9
+ puts 'although not required, bundler is recommened for running the tests'
10
+ end
11
+
12
+ task default: :spec
13
+
3
14
  require 'bundler/gem_tasks'
4
15
  require 'rspec/core/rake_task'
5
-
6
16
  RSpec::Core::RakeTask.new(:spec)
7
17
 
8
18
  require 'rubocop/rake_task'
9
-
10
19
  RuboCop::RakeTask.new do |task|
11
20
  task.requires << 'rubocop-performance'
12
21
  task.requires << 'rubocop-rspec'
13
22
  end
14
-
15
- task default: %i[spec rubocop]
data/lib/main.rb CHANGED
@@ -3,7 +3,6 @@
3
3
  require_relative 'max_amount/version'
4
4
  require 'optparse'
5
5
  require 'securerandom'
6
- require 'dotenv/load'
7
6
  require_relative 'max_amount/options'
8
7
  require_relative 'max_amount/cli'
9
8
  require_relative 'max_amount/errors'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MaxAmount
4
- VERSION = '1.2.4'
4
+ VERSION = '1.3.4'
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.2.4
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb V. Zhegilin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-01 00:00:00.000000000 Z
11
+ date: 2022-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse