Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 31 additions & 42 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,47 @@
---
name: Tests
'on':
on:
workflow_dispatch:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- ruby: 2.5.9
gemfile: Gemfile.rails-3.2
- ruby: 2.5.9
gemfile: Gemfile.rails-4.2.haml-4
- ruby: 2.5.9
gemfile: Gemfile.rails-4.2.haml-5
- ruby: 2.5.9
gemfile: Gemfile.rails-5.1.haml-4
- ruby: 2.5.9
gemfile: Gemfile.rails-5.1.haml-5
- ruby_version: "2.7.2"
rails_version: "6.1"
- ruby_version: "2.7.2"
rails_version: "7.0"
- ruby_version: "2.7.2"
rails_version: "7.1"

- ruby: 2.7.2
gemfile: Gemfile.rails-5.1.haml-4
- ruby: 2.7.2
gemfile: Gemfile.rails-5.1.haml-5
- ruby: 2.7.2
gemfile: Gemfile.rails-6.1.haml-5
- ruby: 2.7.2
gemfile: Gemfile.rails-7.0.haml-5

- ruby: 3.0.1
gemfile: Gemfile.rails-5.1.haml-4
- ruby: 3.0.1
gemfile: Gemfile.rails-5.1.haml-5
- ruby: 3.0.1
gemfile: Gemfile.rails-6.1.haml-5
- ruby: 3.0.1
gemfile: Gemfile.rails-7.0.haml-5
- ruby_version: "3.1.4"
rails_version: "6.1"
- ruby_version: "3.1.4"
rails_version: "7.0"
- ruby_version: "3.1.4"
rails_version: "7.1"
- ruby_version: "3.1.4"
rails_version: "8.0"
name: "Tests on Ruby ${{ matrix.ruby_version }} and Rails ${{ matrix.rails_version }}"
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
BUNDLE_GEMFILE: "Gemfile.rails-${{ matrix.rails_version }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:2.1.4
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
- uses: actions/checkout@v4
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby_version }}"
- name: Bundle
run: |
gem install bundler:2.1.4
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
3.1.4
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,27 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
## 0.8.0 2025-10-14

### Compatible changes

- Add compatibility with Rails 8.0

## 0.7.1 2025-04-08

### Compatible changes

- Add compatibility with Rails 7.1

### Breaking changes

- Remove compatibility with Rails < 6.1

## 0.5.0 2023-10-12

### Breaking changes

- Remove HAML support

## 0.4.1 2022-03-16

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
2 changes: 1 addition & 1 deletion Gemfile.lock
9 changes: 0 additions & 9 deletions Gemfile.rails-3.2

This file was deleted.

91 changes: 0 additions & 91 deletions Gemfile.rails-3.2.lock

This file was deleted.

8 changes: 0 additions & 8 deletions Gemfile.rails-4.2.haml-4

This file was deleted.

88 changes: 0 additions & 88 deletions Gemfile.rails-4.2.haml-4.lock

This file was deleted.

Loading