Skip to content

Commit a74cf6f

Browse files
authored
Merge pull request #264 from gjtorikian/release-1.0.0
💎 1.0.0
2 parents 404a9d2 + befaf29 commit a74cf6f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/commonmarker/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Commonmarker
4-
VERSION = "1.0.0.pre12"
4+
VERSION = "1.0.0"
55
end

test/pathological_inputs_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PathologicalInputsPerformanceTest < Minitest::Benchmark
5757
}
5858

5959
pathological.each_pair do |name, description|
60-
define_method("test_#{name}") do
60+
define_method(:"test_#{name}") do
6161
input, = description
6262

6363
assert markdown(input)

test/smartpunct_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SmartPunctTest < Minitest::Test
1515
},
1616
}
1717

18-
define_method("test_smart_punct_example_#{testcase[:example]}") do
18+
define_method(:"test_smart_punct_example_#{testcase[:example]}") do
1919
html = Commonmarker.to_html(testcase[:markdown], options: opts).strip
2020

2121
assert_equal testcase[:html], html, testcase[:markdown]

test/spec_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TestSpec < Minitest::Test
77
spec = load_spec_file("spec.txt")
88

99
spec.each do |testcase|
10-
define_method("test_to_html_example_#{testcase[:example]}") do
10+
define_method(:"test_to_html_example_#{testcase[:example]}") do
1111
opts = {
1212
render: {
1313
unsafe: true,

0 commit comments

Comments
 (0)