Skip to content

Commit 60f72e4

Browse files
committed
- Drop support for ruby 2.7
1 parent fac2c2f commit 60f72e4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
LC_ALL: en_US.UTF-8
1515

1616
strategy:
17-
matrix: { ruby: ['2.7', '3.0', '3.1', '3.2', head] }
17+
matrix: { ruby: ['3.0', '3.1', '3.2', head] }
1818

1919
steps:
2020
- name: Checkout code

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inherit_gem:
88
- rspec.yml
99

1010
AllCops:
11-
TargetRubyVersion: 2.7
11+
TargetRubyVersion: 3.0
1212
Exclude:
1313
- dev/**/*
1414

bashly.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.executables = ['bashly']
1414
s.homepage = 'https://github.com/dannyben/bashly'
1515
s.license = 'MIT'
16-
s.required_ruby_version = '>= 2.7.0'
16+
s.required_ruby_version = '>= 3.0'
1717

1818
s.add_runtime_dependency 'colsole', '>= 0.8.1', '< 2'
1919
s.add_runtime_dependency 'completely', '~> 0.5'

lib/bashly/commands/doc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def data
7575
def raw_data
7676
@raw_data ||= begin
7777
result = {}
78-
Dir["#{docs_dir}/*.yml"].sort.each do |path|
78+
Dir["#{docs_dir}/*.yml"].each do |path|
7979
result.merge! YAML.load_file(path)
8080
end
8181
result

lib/bashly/commands/generate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def upgrade_libs
8989
end
9090

9191
def generated_files
92-
Dir["#{Settings.source_dir}/**/*.*"].sort
92+
Dir["#{Settings.source_dir}/**/*.*"]
9393
end
9494

9595
def upgrade(existing_file, library_name, *args)

lib/bashly/script/command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def usage_string_args
297297
# This is meant to provide the user with the ability to add custom
298298
# functions
299299
def user_lib
300-
@user_lib ||= Dir["#{Settings.full_lib_dir}/**/*.#{Settings.partials_extension}"].sort
300+
@user_lib ||= Dir["#{Settings.full_lib_dir}/**/*.#{Settings.partials_extension}"]
301301
end
302302

303303
# Returns an array of all the args with a whitelist

spec/bashly/commands/generate_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
end
127127

128128
context 'with --upgrade' do
129-
let(:lib_files) { Dir['spec/tmp/src/lib/**/*.sh'].sort }
129+
let(:lib_files) { Dir['spec/tmp/src/lib/**/*.sh'] }
130130
let(:outdated_text) { 'OUTDATED TEXT' }
131131

132132
before do

0 commit comments

Comments
 (0)