Skip to content

Commit

Permalink
Merge pull request #17 from mernen/rails-3.2
Browse files Browse the repository at this point in the history
Rails 3.2 support
  • Loading branch information
mernen authored Sep 4, 2024
2 parents 98f57da + 7a24a93 commit 74494a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ rails-app:
FROM +ruby

ARG RAILS_VERSION="~>7.0"
RUN gem update --system
RUN gem install rails --version "$RAILS_VERSION"

WORKDIR /usr/src
Expand Down Expand Up @@ -53,7 +54,7 @@ test-bundle:

test-bundle-all:
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
BUILD +test-bundle --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
BUILD +test-bundle --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
BUILD +test-bundle --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"
Expand Down Expand Up @@ -109,7 +110,7 @@ test-rails:

test-rails-all:
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
BUILD +test-rails --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
BUILD +test-rails --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
BUILD +test-rails --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"
Expand All @@ -124,7 +125,7 @@ test-rake:

test-rake-all:
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
BUILD +test-rake --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
BUILD +test-rake --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
BUILD +test-rake --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"
Expand Down
3 changes: 3 additions & 0 deletions tests/test-utils
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#! bash
[[ -n $BASH_COMPLETION_SCRIPT ]] && source "$BASH_COMPLETION_SCRIPT"

# This builtin only works in real completions, so stub it for the tests
compopt() { true; }

begin-test() {
echo "TEST: $1"
}
Expand Down

0 comments on commit 74494a5

Please sign in to comment.