Commit Graph

151 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
Ken Toler 4cc0a8f96c updated Gemfile to include openshift group 2020-04-17 15:56:48 -04:00
Ken Toler 11819bf14c Squashing changes associated with pg 2020-04-17 15:38:24 -04:00
Ken Toler 026c308c99 fixed Gemfile 2020-03-01 14:25:42 -05:00
Ken Toler e5a03e4da6 pg update and config.hosts 2020-02-29 18:52:33 -05:00
Ken Toler 4d71f0b234 added pg gem for postgres support 2020-02-28 23:48:06 -05:00
Al Snow 4297f5b57c Downgraded Ruby to 2.6.5 2019-11-05 11:58:13 -05:00
Al Snow b9b188c99b Upgraded rspece-rails to 4.0.0.beta3 2019-10-18 12:27:51 -04: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 a38e3b86a2 Moved from sass-rails to sassc-rails gem 2019-06-18 15:58:02 -04:00
Al Snow 9ea362b595 Removed sqlite3's gem number from Gemfile file 2019-05-12 17:17:38 -04:00
Al Snow 9f0cd2b02c Upgraded rspec-rails to 4.0.0.beta2 2019-04-26 20:43:50 -04:00
Al Snow ca27659f99 Upgraded Ruby to 2.6.3 2019-04-17 22:37:36 -04:00
Al Snow 8e14799d77 Removed [brakeman, guard-brakeman] gems per request 2019-04-06 14:08:30 -04:00
Al Snow 4261ce3937 Upgraded Rails to 5.1.7 2019-03-28 08:40:34 -04:00
Al Snow cf19851ee7 Upgrade rails to 5.1.7.rc1 2019-03-22 11:53:20 -04:00
Al Snow 32c87192ee Upgraded Rails to 5.1.6.2 2019-03-13 15:03:18 -04:00
Al Snow af1902ccf8 Upgraded to Ruby 2.6.2; Downgraded bundler to 1.17.2 2019-03-13 14:11:30 -04:00
Al Snow 5c00cc4a9e Locked down sqlite3 gem because 1.4 has regression 2019-02-07 08:56:52 -05:00
Al Snow 8ed109d94b Upgraded Ruby to 2.6.1 2019-01-30 11:42:11 -05:00
Al Snow e87fc38a40 Upgraded Rails to 5.1.6.1 + tilt gem; Downgraded bundler gem 2018-11-28 12:10:32 -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 2e8c3db15f Upraded capybara and poltergeist gems; Add puma gem 2018-05-01 14:23:50 -04:00
Al Snow 425828dad0 Upgraded rails to 5.1.6 + i18n gem 2018-03-30 09:15:10 -04:00
Al Snow b4fa4e4b6e Upgrade Ruby to 2.5.1 2018-03-28 15:48:26 -04:00
Al Snow e810a55a3b Added comment to Gemfile file 2018-03-03 08:42:08 -05:00
Al Snow 68f1ad7185 Upgraded Ruby to 2.5.0 2018-02-25 15:52:21 -05:00
Al Snow 60b56e764d Upgraded Rails to 5.1.5 2018-02-14 16:25:34 -05:00
Al Snow 921b5e3cef Upgraded to Rails 5.1.5.rc1 2018-02-01 17:38:47 -05:00
Al Snow dbc67baf53 Upgraded Ruby to 2.4.3 2017-12-14 19:01:55 -05:00
Joseph Mastey 82fbc8dd37 chore(rubocop): organize the gemfile 2017-12-07 08:24:56 -06:00
Joseph Mastey cd32c9a130 Merge branch 'master' of https://github.com/OWASP/railsgoat into rubocop-clean 2017-12-06 17:15:56 -06:00
Ken Johnson 56cee33a4c Merge pull request #284 from OWASP/crack
Crack
2017-12-06 11:14:16 -05:00
Joseph Mastey 9902345291 chore(rubocop): giganto rubocop commit.
muahahahah
2017-12-05 18:46:21 -06:00
Joseph Mastey 284cd8811c feat(rubocop): use rubocop-github 2017-12-05 18:38:32 -06:00
cktricky 96591c4dba We do not need this gem 2017-12-01 11:56:16 -05:00
cktricky c248d47580 Upgraded to latest version of Crack 2017-12-01 11:50:58 -05:00
cktricky 64c8b48340 Crack is bad. Especially this version: CVE-2013-1800 2017-12-01 10:17:52 -05:00
mccabe615 26b24a1ca5 removing github rubocop gem and adding the config into the project directly. 2017-11-14 10:44:05 -05:00
mccabe615 ba018e1a5a cleaning up vagrant and various other files. fixing docker compose startup 2017-11-13 15:09:17 -05:00
mccabe615 7c9fccbf3b adding github rubocop 2017-11-12 15:05:46 -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 e0ba502850 Upgraded Rails to 5.1.4 2017-09-08 08:54:43 -04:00
Al Snow 124e151092 Unlocked down ruby-prof gem 2017-08-29 08:05:04 -04:00
Al Snow 5e533d932c Unlocked down mintest gem 2017-08-29 08:03:42 -04:00
Al Snow a440caeda1 Upgraded/Added 7+ gems 2017-08-25 08:49:19 -04:00