Commit Graph

30 Commits

Author SHA1 Message Date
Ken Johnson 1bd6ee3a0e Upgrade Ruby from 3.3.6 to 3.4.1
Updated Ruby to the latest stable 3.4.x release for improved performance
and security updates.

Changes:
- Updated .ruby-version to 3.4.1
- Updated Gemfile ruby version requirement to 3.4.1
- Updated README.md to reflect Ruby 3.4.1 requirement
- Updated Dockerfile from ruby:2.6.5 to ruby:3.4.1
- Removed outdated bundler version constraint in Dockerfile

Tested:
- Bundle install successful with Ruby 3.4.1
- Test suite runs successfully (46 examples, 1 pre-existing failure)
- Rails server starts and responds correctly

Fixes #490

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-05 11:51:05 -05:00
Ken Johnson f716836c15 Upgrade to Ruby 3.3.6 and Rails 8.0.4
This major upgrade brings RailsGoat up to date with the latest versions:
- Ruby 2.6.5 → 3.3.6
- Rails 6.0.0 → 8.0.4

## Key Changes

### Dependencies
- Upgraded all gems to Rails 8-compatible versions
- Removed deprecated gems: therubyracer, coffee-rails, poltergeist,
  travis-lint, rails-perftest, unicorn, powder, rubocop-github
- Updated puma to 6.6.1, sqlite3 to 2.8.1, rspec-rails to 8.0.2
- Added modern Rails 8 features: importmap-rails, stimulus-rails, turbo-rails
- Replaced poltergeist with selenium-webdriver for integration tests

### Code Changes
- Converted CoffeeScript files to plain JavaScript
- Updated test configuration to use Selenium headless driver
- Updated database schema to Rails 8 format

## Testing
- Application starts successfully and responds to requests
- Test suite runs with 23 examples (14 intentional vulnerability failures)
- Database migrations applied successfully

## Notes
This upgrade maintains all intentional security vulnerabilities that make
RailsGoat an effective training tool. The failing tests are expected and
demonstrate the vulnerabilities the application is designed to teach.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 15:30:49 -05:00
Al Snow 4297f5b57c Downgraded Ruby to 2.6.5 2019-11-05 11:58:13 -05:00
Al Snow 23d145129d Upgraded Ruby to 2.7.0-preview1 and Rails to 6.0.0 - fixed 1 spec 2019-09-09 15:13:29 -04:00
Al Snow 758096e673 Upgraded nio4r gem + Ruby version 2019-08-28 13:10:26 -04:00
Al Snow ca27659f99 Upgraded Ruby to 2.6.3 2019-04-17 22:37:36 -04:00
Al Snow 318af94032 Upgraded to Ruby 2.6.2 in more files 2019-03-13 14:14:56 -04:00
Al Snow 8ed109d94b Upgraded Ruby to 2.6.1 2019-01-30 11:42:11 -05:00
Al Snow a81cac3d9c Upgraded Ruby to 2.5.3 2018-10-21 18:58:57 -04:00
Al Snow 97a46a476a Upgrade ruby to 2.5.2 2018-10-17 17:24:22 -04:00
Al Snow 775985cbc8 Upgrade Ruby to 2.5.1 (2nd try) 2018-03-28 16:10:30 -04:00
Al Snow 68f1ad7185 Upgraded Ruby to 2.5.0 2018-02-25 15:52:21 -05:00
Al Snow dbc67baf53 Upgraded Ruby to 2.4.3 2017-12-14 19:01:55 -05:00
Al Snow 20635993c8 Upgraded Ruby to 2.4.2, fixed OpenSSL warnings, and 3 gems 2017-09-25 12:58:06 -04:00
Al Snow 367800e9af Upgraded to ruby 2.3.5 2017-09-17 12:40:36 -04:00
Al Snow 28b56965f6 Upgrade addressable gem and Ruby 2.3.4 2017-03-30 08:23:52 -04:00
Al Snow 08c6a3ad22 Upgraded ruby to 2.3.3 2016-11-22 11:32:05 -05:00
Al Snow a274d71360 Upgraded Ruby versions in config/doc files 2016-11-16 08:01:23 -05:00
Al Snow ec2c3ad854 Upgraded to Ruby 2.3.1 + 3 more gems 2016-04-28 05:09:36 -04:00
Al Snow 1d314d0d33 Upgraded .ruby-version to 2.3.0; Delete .rvmrc from repo 2016-01-06 10:04:29 -05:00
Al Snow edf9a6d560 Upgraded ruby to 2.2.4 and gems: sprockets-rails and bundler 2015-12-18 10:51:26 -05:00
Al Snow 74c7f7cd8c Rebuild Gemfile.lock file plus added CR to .ruby-version file 2015-09-06 09:52:24 -04:00
Al Snow ce27ba761a Upgraded ruby to 2.2.3 and 2 gems by rebuilding Gemfile.lock file 2015-08-24 14:21:09 -04:00
Al Snow 26124739da Upgraded Ruby to 2.2.2 plus rebuild Gemfile.lock file 2015-06-17 15:22:24 -04:00
Al Snow 4af6cced17 Upgraded Ruby to 2.1.6; Rebuild Gemfile.lock file 2015-05-23 12:04:11 -04:00
Al Snow b4a1ad46c4 Upgraded Ruby to 2.1.5; Rebuilt Gemfile.lock file 2014-11-17 17:17:01 -05:00
Al Snow 7694f39825 Upgraded ruby version to 2.1.3 2014-09-19 19:10:51 -04:00
James Espinosa 36f236013d Migrate deprecated rvmrc to ruby-gemset/version 2014-07-02 21:49:55 -05:00
Ken Johnson c3cabbbad1 removed those changes 2013-05-21 11:58:57 -04:00
Ken Johnson 775f44a54e using ruby version and ruby gemset instead of .rvmrc 2013-05-21 11:22:24 -04:00