Skip to content

Commit

Permalink
Merge 02d6204 into 4050aae
Browse files Browse the repository at this point in the history
  • Loading branch information
jlduran committed Apr 11, 2021
2 parents 4050aae + 02d6204 commit 968c0e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -5,7 +5,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.5
TargetRubyVersion: 2.6
Exclude:
- 'numbers_and_words.gemspec'

Expand Down
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,6 +1,5 @@
language: ruby
rvm:
- 2.5
- 2.6
- 2.7
- 3.0
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -16,7 +16,7 @@ Jeweler::Tasks.new do |gem|
gem.version = NumbersAndWords::VERSION
gem.authors = ['Kirill Lazarev']
gem.files = Dir.glob('lib/**/*')
gem.required_ruby_version = '>= 2.5.0'
gem.required_ruby_version = '>= 2.6.0'
end

Jeweler::RubygemsDotOrgTasks.new
Expand Down
Expand Up @@ -39,8 +39,8 @@ def megs
private

def print_megs
complex_part[1..-1].map do |el|
[el[1..-1].to_a.reverse.join, el.first].join(' ')
complex_part[1..].map do |el|
[el[1..].to_a.reverse.join, el.first].join(' ')
end.reject(&:empty?).reverse.join(' ')
end

Expand Down

0 comments on commit 968c0e5

Please sign in to comment.