Skip to content

Commit cb43e65

Browse files
authored
Merge pull request #38 from increments/drop-support-ruby-2.6
Drop ruby 2.6 support
2 parents 49261fc + 8d52bf9 commit cb43e65

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- ubuntu-latest
1717
- macos-latest
1818
- windows-latest
19-
ruby-version: [3.1, 3.0.0, 2.7.2, 2.6.6]
19+
ruby-version: [3.1, 3.0.0, 2.7.2]
2020

2121
runs-on: ${{ matrix.os }}
2222

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inherit_gem:
66
- config/minitest.yml
77

88
AllCops:
9-
TargetRubyVersion: 2.6
9+
TargetRubyVersion: 2.7
1010
Exclude:
1111
- "ext/**/*"
1212
- "vendor/**/*"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
### Changed
88

9+
- [#38](https://github.com/increments/qiita_marker/pull/38): Drop Ruby 2.6 support
10+
911
## 0.23.6.1 - 2022-11-10
1012

1113
- Finish testing phase and release official version.

lib/qiita_marker/node/inspect.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def pretty_print(printer)
1616
printer.group(PP_INDENT_SIZE, "#<#{self.class}(#{type}):", ">") do
1717
printer.breakable
1818

19-
attrs = [:sourcepos, :string_content, :url, :title, :header_level, :list_type, :list_start, :list_tight, :fence_info].map do |name|
19+
attrs = [:sourcepos, :string_content, :url, :title, :header_level, :list_type, :list_start, :list_tight, :fence_info].filter_map do |name|
2020
[name, __send__(name)]
2121
rescue NodeError
2222
nil
23-
end.compact
23+
end
2424

2525
printer.seplist(attrs) do |name, value|
2626
printer.text("#{name}=")

qiita_marker.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020

2121
s.executables = ["qiita_marker"]
2222
s.require_paths = ["lib", "ext"]
23-
s.required_ruby_version = [">= 2.6", "< 4.0"]
23+
s.required_ruby_version = [">= 2.7", "< 4.0"]
2424

2525
s.metadata["rubygems_mfa_required"] = "true"
2626

0 commit comments

Comments
 (0)