Skip to content

Commit e6ce7e1

Browse files
authored
Add Ruby 4.0 and Rails 8.1 to CI (#24)
1 parent c18d5fd commit e6ce7e1

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,24 @@ jobs:
2424
- ruby: "3.2"
2525
- ruby: "3.3"
2626
- ruby: "3.4"
27+
- ruby: "4.0"
28+
2729
### TEST RAILS VERSIONS
2830
- ruby: "2.6"
2931
rails_version: "~> 6.0.0"
3032
- ruby: "2.6"
3133
rails_version: "~> 6.1.0"
32-
- ruby: "3.3"
34+
- ruby: "4.0"
3335
rails_version: "~> 7.0.0"
3436
db_gem_version: "~> 1.4" # fixes sqlite3 gem dependency issue
35-
- ruby: "3.4"
37+
- ruby: "4.0"
3638
rails_version: "~> 7.1.0"
37-
- ruby: "3.4"
39+
- ruby: "4.0"
3840
rails_version: "~> 7.2.0"
39-
- ruby: "3.4"
41+
- ruby: "4.0"
4042
rails_version: "~> 8.0.0"
43+
- ruby: "4.0"
44+
rails_version: "~> 8.1.0"
4145

4246
steps:
4347
- uses: actions/checkout@v3

spec/request/dashboard_controller_spec.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,22 @@
122122

123123
klass.create!(
124124
day: Date.today,
125-
col => "some-value",
125+
url_hostname: "1",
126126
platform: "foo",
127+
col => "some-value",
127128
)
128129

129130
klass.create!(
130131
day: Date.today,
132+
url_hostname: "2",
131133
col => "foo",
132134
)
133135

134136
klass.create!(
135137
day: Date.today,
136-
col => "some-value",
138+
url_hostname: "3",
137139
platform: "bar",
140+
col => "some-value",
138141
)
139142

140143
get rails_local_analytics.tracked_requests_path(type: :site, filter: "#{col}==some-value")

0 commit comments

Comments
 (0)