Skip to content

Update rack_dav for Ruby 3.2+, add GitHub Actions CI and RuboCop#52

Merged
georgi merged 4 commits intomasterfrom
copilot/update-rack-dav-ruby-3-2
Jan 2, 2026
Merged

Update rack_dav for Ruby 3.2+, add GitHub Actions CI and RuboCop#52
georgi merged 4 commits intomasterfrom
copilot/update-rack-dav-ruby-3-2

Conversation

Copy link
Contributor

Copilot AI commented Dec 31, 2025

Modernizes rack_dav for Ruby 3.2+ compatibility and adds standard Ruby CI infrastructure.

Ruby 3.2+ / Rack 3.2 Compatibility

  • Handle nil request bodies (Rack 3.2 returns nil instead of empty StringIO)
# Before: crashes on nil body
body = @request.body.read(8)

# After: safe navigation
body = @request.body&.read(8)

CI/CD

  • Add GitHub Actions workflow testing Ruby 3.0, 3.1, 3.2, 3.3
  • Add RuboCop with relaxed config for legacy codebase
  • Remove obsolete Travis CI config (.travis.yml)

Housekeeping

  • Gemfile: httphttps
  • gemspec: set required_ruby_version >= 3.0, relax dependency constraints
  • Dockerfile: pin to Ruby 3.2
  • Rakefile: remove obsolete RVM tasks

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • http://index.rubygems.org:80/api/v1/dependencies
    • Triggering command: /usr/local/bin/bundle bundle install (http block)
  • http://index.rubygems.org:80/versions
    • Triggering command: /usr/local/bin/bundle bundle install (http block)
  • http://rubygems.org:80/specs.4.8.gz
    • Triggering command: /usr/local/bin/bundle bundle install (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update rack_dav for Ruby 3.2, add ruby typical CI, run tests and linters.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits December 31, 2025 15:02
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
…linter

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Copilot AI changed the title [WIP] Update rack_dav for Ruby 3.2 and add CI Update rack_dav for Ruby 3.2+, add GitHub Actions CI and RuboCop Dec 31, 2025
Copilot AI requested a review from georgi December 31, 2025 15:17
@georgi georgi marked this pull request as ready for review January 2, 2026 07:23
@georgi georgi merged commit a5a8010 into master Jan 2, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants