Skip to content

Commit 74494a5

Browse files
authored
Merge pull request #17 from mernen/rails-3.2
Rails 3.2 support
2 parents 98f57da + 7a24a93 commit 74494a5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Earthfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ rails-app:
1717
FROM +ruby
1818

1919
ARG RAILS_VERSION="~>7.0"
20+
RUN gem update --system
2021
RUN gem install rails --version "$RAILS_VERSION"
2122

2223
WORKDIR /usr/src
@@ -53,7 +54,7 @@ test-bundle:
5354

5455
test-bundle-all:
5556
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
56-
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
57+
BUILD +test-bundle --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
5758
BUILD +test-bundle --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
5859
BUILD +test-bundle --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
5960
BUILD +test-bundle --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"
@@ -109,7 +110,7 @@ test-rails:
109110

110111
test-rails-all:
111112
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
112-
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
113+
BUILD +test-rails --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
113114
BUILD +test-rails --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
114115
BUILD +test-rails --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
115116
BUILD +test-rails --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"
@@ -124,7 +125,7 @@ test-rake:
124125

125126
test-rake-all:
126127
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>6.0"
127-
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.0"
128+
BUILD +test-rake --RUBY_VERSION=3.0 --RAILS_VERSION="~>7.1.0"
128129
BUILD +test-rake --RUBY_VERSION=3.1 --RAILS_VERSION="~>7.0"
129130
BUILD +test-rake --RUBY_VERSION=3.2 --RAILS_VERSION="~>7.0"
130131
BUILD +test-rake --RUBY_VERSION=3.3 --RAILS_VERSION="~>7.0"

tests/test-utils

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#! bash
22
[[ -n $BASH_COMPLETION_SCRIPT ]] && source "$BASH_COMPLETION_SCRIPT"
33

4+
# This builtin only works in real completions, so stub it for the tests
5+
compopt() { true; }
6+
47
begin-test() {
58
echo "TEST: $1"
69
}

0 commit comments

Comments
 (0)