-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Rubocop, brakeman, bundler-audit (#236)
* chore: add rubocop gem to gemfile * ci: add lint part to the ci workflow * ci: fix ruby version * feat: prepare binstubs * lint: update carrierwave base64 to last version * Update rubocop * Remove old Rails default files and upgrade Rails default version Three old Rails default framework files (5.2, 6.0, 7.0) have been deleted. The Rails default version has been upgraded from 5.0 to 7.0 in the application configuration. Various modifications have also been made across the test files to consistently use FactoryBot for object creation. * Update nokogiri dependency for x86_64-linux platform Added the nokogiri dependency for the x86_64-linux platform in the Gemfile.lock. This update ensures that the application will run smoothly on both the arm64-darwin-23 and the newly added x86_64-linux platforms. * Remove unused test fixture files * Update GitHub Actions workflow for tests and linting * Gemfile update ruby version * Set environment variables for GitHub Actions workflow Environment variables `RAILS_ENV` and `DATABASE_URL` are now set earlier in the GitHub Actions workflow. This change provides better organization and makes sure that necessary variables are set before running the subsequent tasks. * Update Ruby and Bundler versions (#243) The versions of Ruby and Bundler used in the project have been updated. Our Ruby version has been updated from 3.1.4p223 to 3.3.0p0 and Bundler is now set to 2.5.3. This will ensure compatibility with the latest updates and features. --------- Co-authored-by: Sylvain Pastor <sylvain@mbpdeatnosadmin.home> Co-authored-by: Bruno Perles <bruno@atnos.com>
- Loading branch information
1 parent
4131992
commit 0b51cdd
Showing
28 changed files
with
246 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
require: rubocop-rails | ||
Style/FrozenStringLiteralComment: | ||
# Omakase Ruby styling for Rails | ||
inherit_gem: | ||
rubocop-rails-omakase: rubocop.yml | ||
|
||
# Your own specialized rules go here | ||
Style/StringLiterals: | ||
Enabled: false | ||
Style/Documentation: | ||
Layout/SpaceInsideArrayLiteralBrackets: | ||
Enabled: false | ||
Layout/LineLength: | ||
Max: 140 | ||
EnforcedShorthandSyntax: never | ||
Layout/EndAlignment: | ||
EnforcedStyleAlignWith: keyword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.4 | ||
3.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.