Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryTsepelev committed Jan 21, 2025
1 parent 3c68d80 commit 9f6b323
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 33 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,17 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.2"
rails: "HEAD"
- ruby: "3.1"
rails: "HEAD"
- ruby: "3.2"
rails: "7.0"
- ruby: "3.1"
rails: "7.0"
- ruby: "3.0"
rails: "7.0"
- ruby: "2.7"
rails: "6.1"
ruby: ["jruby-9.4.8.0", 3.1, 3.2, 3.3, 3.4]

gemfile: [
"gemfiles/rails_7_0.gemfile",
"gemfiles/rails_7_1.gemfile",
"gemfiles/rails_7_2.gemfile",
"gemfiles/rails_8_0.gemfile",
"gemfiles/railsmaster.gemfile"
]

allow_failures: false
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## main

- [PR#23](https://github.com/DmitryTsepelev/io_monitor/pull/23) Fix net/http adapter and an issue with nil responses ([@SSDany])

## 1.0.0 (2023-05-06)

- [PR#22](https://github.com/DmitryTsepelev/io_monitor/pull/22) Handle zero payload ([@DmitryTsepelev])
Expand All @@ -26,3 +28,4 @@
[@maxshend]: https://github.com/maxshend
[@DmitryTsepelev]: https://github.com/DmitryTsepelev
[@Envek]: https://github.com/Envek
[@SSDany]: https://github.com/SSDany
24 changes: 4 additions & 20 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec

# standard: disable Bundler/DuplicatedGem
if (rails_version = ENV["RAILS_VERSION"])
case rails_version
when "HEAD"
git "https://github.com/rails/rails.git" do
gem "rails"
end
else
rails_version = "~> #{rails_version}.0" if rails_version.match?(/^\d+\.\d+$/) # "7.0" => "~> 7.0.0"
gem "rails", rails_version
end
end
# standard: enable Bundler/DuplicatedGem

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
Expand All @@ -27,6 +9,8 @@ gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 1.4.0"
gem "rails", "~> 7.1.0"

# Dummy app dependencies
gem "sqlite3", "~> 1.4"
gemspec path: "../"
16 changes: 16 additions & 0 deletions gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
source "https://rubygems.org"

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
gem "with_model", "~> 2.0"
gem "database_cleaner-active_record", "~> 2.0"
gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 1.4.0"
gem "rails", "~> 7.0.0"

gemspec path: "../"
16 changes: 16 additions & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
source "https://rubygems.org"

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
gem "with_model", "~> 2.0"
gem "database_cleaner-active_record", "~> 2.0"
gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 1.4.0"
gem "rails", "~> 7.1.0"

gemspec path: "../"
16 changes: 16 additions & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
source "https://rubygems.org"

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
gem "with_model", "~> 2.0"
gem "database_cleaner-active_record", "~> 2.0"
gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 1.4.0"
gem "rails", "~> 7.2.0"

gemspec path: "../"
16 changes: 16 additions & 0 deletions gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
source "https://rubygems.org"

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
gem "with_model", "~> 2.0"
gem "database_cleaner-active_record", "~> 2.0"
gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 2.1.0"
gem "rails", "~> 8.0.0"

gemspec path: "../"
16 changes: 16 additions & 0 deletions gemfiles/railsmaster.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
source "https://rubygems.org"

gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-rails", "~> 5.0"
gem "with_model", "~> 2.0"
gem "database_cleaner-active_record", "~> 2.0"
gem "standard", "~> 1.18.0"
gem "simplecov", "~> 0.21.0"
gem "pry"
gem "webmock", "~> 3.14"
gem "concurrent-ruby", "1.3.4"
gem "sqlite3", "~> 2.1.0"
gem "rails", branch: "main", git: "https://github.com/rails/rails.git"

gemspec path: "../"

0 comments on commit 9f6b323

Please # to comment.