diff --git a/README.md b/README.md index 3aa868ff..8928d72c 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,13 @@ We recommend running these scheduled tasks: - `bin/rails runner "Maintenance::Hourly.call"` once an hour +#### Seed Data +In order to have seed data you can run: + +1. `rake data:update_rails_releases` +2. `Gemmies::Create.call('rack')` +3. After that you can visit `http://localhost:3000/gems/rack` and you can see the info. + ## Support If you find RailsBump useful and would like to support the ongoing development, please consider diff --git a/app/views/rails_releases/show.html.haml b/app/views/rails_releases/show.html.haml index f34320eb..5efc95cd 100644 --- a/app/views/rails_releases/show.html.haml +++ b/app/views/rails_releases/show.html.haml @@ -50,14 +50,18 @@ %table.compat-table.table.table-striped %thead %tr + %th Id %th Status Determined By + %th Rails version %th Status %th Checked At %th Dependencies %tbody - compats.each do |compat| %tr + %td= compat.id %td= compat.status_determined_by + %td= compat.rails_release.version %td= compat.status %td= compat.checked_at - %td= compat.dependencies \ No newline at end of file + %td= compat.dependencies diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index 6b1847bc..55bbb1f6 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -16,6 +16,7 @@ namespace :data do 7.0 7.1 7.2 + 8.0 ) task find_or_create_rails_releases: :environment do @@ -118,6 +119,13 @@ namespace :data do minimum_bundler_version: "2.5.20", maximum_bundler_version: "2.5.20", minimum_rubygems_version: "3.2.3" + }, + "8.0" => { + minimum_ruby_version: "3.2.0", + maximum_ruby_version: "3.4.2", + minimum_bundler_version: "2.5.20", + maximum_bundler_version: "2.5.20", + minimum_rubygems_version: "3.2.3" } } @@ -133,4 +141,4 @@ namespace :data do puts "Rails Releases updated successfully." end -end \ No newline at end of file +end