Skip to content

Commit

Permalink
Merge pull request #264 from gjtorikian/release-1.0.0
Browse files Browse the repository at this point in the history
💎 1.0.0
  • Loading branch information
gjtorikian committed Dec 24, 2023
2 parents 404a9d2 + befaf29 commit a74cf6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/commonmarker/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Commonmarker
VERSION = "1.0.0.pre12"
VERSION = "1.0.0"
end
2 changes: 1 addition & 1 deletion test/pathological_inputs_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PathologicalInputsPerformanceTest < Minitest::Benchmark
}

pathological.each_pair do |name, description|
define_method("test_#{name}") do
define_method(:"test_#{name}") do
input, = description

assert markdown(input)
Expand Down
2 changes: 1 addition & 1 deletion test/smartpunct_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SmartPunctTest < Minitest::Test
},
}

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

assert_equal testcase[:html], html, testcase[:markdown]
Expand Down
2 changes: 1 addition & 1 deletion test/spec_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class TestSpec < Minitest::Test
spec = load_spec_file("spec.txt")

spec.each do |testcase|
define_method("test_to_html_example_#{testcase[:example]}") do
define_method(:"test_to_html_example_#{testcase[:example]}") do
opts = {
render: {
unsafe: true,
Expand Down

0 comments on commit a74cf6f

Please sign in to comment.