Skip to content

Commit

Permalink
Drop ruby <3 support and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
veger committed Mar 25, 2024
1 parent c14e131 commit 732ec41
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.7, head]
ruby: [3.0, head]
runs-on: ubuntu-latest

steps:
Expand Down
118 changes: 85 additions & 33 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,62 +7,114 @@ PATH
GEM
remote: http://rubygems.org/
specs:
activesupport (6.1.7.6)
activesupport (6.1.7.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
ast (2.4.2)
concurrent-ruby (1.2.2)
backport (1.2.0)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.7)
concurrent-ruby (1.2.3)
diff-lcs (1.5.1)
docile (1.4.0)
i18n (1.14.1)
e2mmap (0.1.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
irb (1.0.0)
minitest (5.18.0)
mustermann (2.0.2)
ruby2_keywords (~> 0.0.1)
parser (2.7.2.0)
io-console (0.7.2)
irb (1.12.0)
rdoc
reline (>= 0.4.2)
jaro_winkler (1.5.6)
json (2.7.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
mini_portile2 (2.8.5)
minitest (5.22.3)
nokogiri (1.16.3)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
rack (2.2.9)
rack-protection (2.2.4)
rack
rake (13.0.6)
rdoc (6.3.4.1)
ruby2_keywords (0.0.5)
simplecov (0.21.2)
racc
psych (5.1.2)
stringio
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
rbs (2.8.4)
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.0)
reline (0.5.0)
io-console (~> 0.5)
reverse_markdown (2.1.1)
nokogiri
rexml (3.2.6)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-lcov (0.8.0)
simplecov_json_formatter (0.1.3)
sinatra (2.2.4)
mustermann (~> 2.0)
rack (~> 2.2)
rack-protection (= 2.2.4)
simplecov_json_formatter (0.1.4)
solargraph (0.50.0)
backport (~> 1.2)
benchmark
bundler (~> 2.0)
diff-lcs (~> 1.4)
e2mmap
jaro_winkler (~> 1.5)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.1)
parser (~> 3.0)
rbs (~> 2.0)
reverse_markdown (~> 2.0)
rubocop (~> 1.38)
thor (~> 1.0)
tilt (~> 2.0)
solargraph (0.13.0)
parser (~> 2.4)
sinatra (~> 2)
thor (~> 0.19, >= 0.19.4)
yard (~> 0.9)
yard (~> 0.9, >= 0.9.24)
stringio (3.1.0)
sync (0.5.0)
term-ansicolor (1.7.1)
term-ansicolor (1.7.2)
tins (~> 1.0)
thor (0.20.3)
tilt (2.2.0)
tins (1.29.1)
thor (1.3.1)
tilt (2.3.0)
tins (1.32.1)
sync
tzinfo (2.0.5)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
yard (0.9.34)
zeitwerk (2.6.11)
unicode-display_width (2.5.0)
yard (0.9.36)
zeitwerk (2.6.13)

PLATFORMS
ruby

DEPENDENCIES
base64
bigdecimal
irb
minitest
rake
Expand All @@ -75,4 +127,4 @@ DEPENDENCIES
tzinfo

BUNDLED WITH
2.4.13
2.5.7
2 changes: 2 additions & 0 deletions ruby-bbcode.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = ['README.md', 'CHANGELOG.md', 'MIT-LICENSE']

s.add_dependency 'activesupport', '>= 4.2.2'
s.add_development_dependency 'base64' # ruby 3.4 requires explicit dependencies
s.add_development_dependency 'bigdecimal' # ruby 3.4 requires explicit dependencies
s.add_development_dependency 'simplecov'
s.add_development_dependency 'simplecov-lcov'
s.add_development_dependency 'irb'
Expand Down
2 changes: 1 addition & 1 deletion test/unit/configuration_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'test_helper'

class ConfigurationTest < MiniTest::Test
class ConfigurationTest < Minitest::Test
def before_setup
RubyBBCode.reset
end
Expand Down
2 changes: 1 addition & 1 deletion test/unit/tag_sifter_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'test_helper'

class TagSifterTest < MiniTest::Test
class TagSifterTest < Minitest::Test
include RubyBBCode::Tags
def test_youtube_parser
url1 = 'http://www.youtube.com/watch?v=E4Fbk52Mk1w'
Expand Down
2 changes: 1 addition & 1 deletion test/unit/tags_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'test_helper'

class TagSifterTest < MiniTest::Test
class TagSifterTest < Minitest::Test
def test_taglist_modification
tags = RubyBBCode::Tags.tag_list
assert_nil RubyBBCode::Tags.tag_list[:test]
Expand Down

0 comments on commit 732ec41

Please sign in to comment.