Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. We do not necessarily need to add this, but also maybe the correct title is local setup.
  2. I would keep the step 1 because when you set up locally, we need those Rails releases. step 2 and 3 are not necessary, given that they can be done by UI.

## Support

If you find RailsBump useful and would like to support the ongoing development, please consider
Expand Down
6 changes: 5 additions & 1 deletion app/views/rails_releases/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
%td= compat.dependencies
10 changes: 9 additions & 1 deletion lib/tasks/data.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace :data do
7.0
7.1
7.2
8.0
)

task find_or_create_rails_releases: :environment do
Expand Down Expand Up @@ -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"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@etagwerker can you share with me the current Production values for Rails 8? I'll copy paste here.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to our own blog post and rails' own gemspec it should be:

minimum_ruby_version: "3.2.0",
maximum_ruby_version: "3.4.2",
minimum_bundler_version: "1.15.0",
maximum_bundler_version: "2.5.20",
minimum_rubygems_version: "1.8.11"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mateusdeap, I have doubts because on this file, for Rails 7.2, we have, for example:

minimum_bundler_version: "2.5.20"

}
}

Expand All @@ -133,4 +141,4 @@ namespace :data do

puts "Rails Releases updated successfully."
end
end
end