diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4703a37..ed21278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7"] + ruby-version: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"] steps: - uses: actions/checkout@v4 - name: Set up Ruby diff --git a/Gemfile b/Gemfile index a7f1fda..eba590f 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,7 @@ gem 'cucumber' gem 'capybara' # Optional dependencies, included for tests -gem 'haml', RUBY_VERSION > '3.0' ? '< 7' : '< 6' +gem 'haml' gem 'slim' gem 'kramdown' gem 'redcarpet' diff --git a/middleman-syntax.gemspec b/middleman-syntax.gemspec index 42f58fe..d9c4cee 100644 --- a/middleman-syntax.gemspec +++ b/middleman-syntax.gemspec @@ -13,5 +13,5 @@ Gem::Specification.new do |s| s.files = `git ls-files -z`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.add_runtime_dependency("middleman-core", [">= 3.2"]) - s.add_runtime_dependency("rouge", ["~> 3.2"]) + s.add_runtime_dependency("rouge", [">= 3.2", "< 5"]) end