Skip to content

Commit 151f4ad

Browse files
committed
Merge branch 'main' into c
2 parents 42f2a02 + 7bc65a4 commit 151f4ad

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ group :development do
1010
end
1111
group :documentation do
1212
gem 'yard', github: 'ParadoxV5/yard', tag: 'commonmarker-1.0_1', require: false
13-
gem 'commonmarker', '~> 1.0.4', require: false
13+
gem 'commonmarker', '~> 1.1.2', require: false
1414
end
1515
group :test do
1616
gem 'rake', '~> 13.2.1'
17-
gem 'minitest', '~> 5.22.2'
17+
gem 'minitest', '~> 5.23.0'
1818
end
1919
end

Rakefile

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,23 @@ require 'rake/extensiontask'
88
#end
99

1010
# Create the following public tasks:
11-
# * compile # Compile all the extensions
12-
# * compile:mygem # Compile mygem
13-
# * clean # Remove any temporary products
14-
# * clobber # Remove any generated files
11+
# * compile : Compile all the extensions
12+
# * compile:mygem : Compile mygem
13+
# * clean : Remove any temporary products
14+
# * clobber : Remove any generated files
1515
Rake::ExtensionTask.new 'mygem'
1616
desc 'alias for `compile`'
1717
task default: :compile
1818

1919
# Create the following tasks:
20-
# * test # run tests
21-
# * test:cmd # print the testing command
22-
# * test:isolated # run tests independently to surface order dependencies
23-
# * test:deps # (alias of test:isolated)
24-
# * test:slow # run tests and reports the slowest 25
25-
Minitest::TestTask.create
20+
# * test : run tests
21+
# * test:cmd : print the testing command
22+
# * test:isolated : run tests independently to surface order dependencies
23+
# * test:deps : (alias of test:isolated)
24+
# * test:slow : run tests and reports the slowest 25
25+
Minitest::TestTask.create do |t|
26+
t.extra_args << '-Werror' # Raise exceptions for warnings: https://github.com/minitest/minitest/commit/f0f17b9
27+
if RUBY_VERSION > '3.3'
28+
t.test_prelude = 'Warning[:performance] = true' # … including `performance` warnings which are off even with `-w`
29+
end
30+
end

0 commit comments

Comments
 (0)