Skip to content

Release v5.4.0 #800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 23, 2025
Merged
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
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push, pull_request]
on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]

jobs:
test:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Docker Build

on: [push, pull_request]
on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]

jobs:
test:
Expand Down
241 changes: 11 additions & 230 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,244 +1,25 @@
require: rubocop-rails
# Omakase Ruby styling for Rails
inherit_gem:
rubocop-rails-omakase: rubocop.yml

# Your own specialized rules go here
AllCops:
Exclude:
- db/schema.rb
- "db/**/*"
- "config/**/*"

Naming/AccessorMethodName:
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: false

Rails/HttpPositionalArguments:
Enabled: true

Style/Alias:
Enabled: false

Style/ArrayJoin:
Enabled: false

Style/AsciiComments:
Enabled: false

Naming/AsciiIdentifiers:
Enabled: false

Style/Attr:
Enabled: false

Metrics/BlockNesting:
Enabled: false

Style/CaseEquality:
Enabled: false

Style/CharacterLiteral:
Enabled: false

Style/ClassAndModuleChildren:
Layout/SpaceInsidePercentLiteralDelimiters:
Enabled: false

Metrics/ClassLength:
Enabled: false

Style/ClassVars:
Enabled: false

Style/CollectionMethods:
PreferredMethods:
find: detect
reduce: inject
collect: map
find_all: select

Style/ColonMethodCall:
Enabled: false

Style/CommentAnnotation:
Enabled: false

Metrics/CyclomaticComplexity:
Layout/CaseIndentation:
Enabled: false

Style/Documentation:
Layout/EndAlignment:
Enabled: false

Layout/DotPosition:
EnforcedStyle: trailing

Layout/ConditionPosition:
Enabled: false

Style/DoubleNegation:
Enabled: false

Style/EachWithObject:
Enabled: false

Style/EmptyLiteral:
Enabled: false

Style/Encoding:
Enabled: false

Style/EvenOdd:
Enabled: false

Naming/FileName:
Enabled: false

Style/FormatString:
Enabled: false

Style/GlobalVars:
Enabled: false

Style/GuardClause:
Enabled: false

Style/IfUnlessModifier:
Enabled: false

Style/IfWithSemicolon:
Enabled: false

Style/InlineComment:
Enabled: false

Style/Lambda:
Enabled: false

Style/LambdaCall:
Enabled: false

Style/LineEndConcatenation:
Enabled: false

Layout/LineLength:
Max: 100

Metrics/MethodLength:
Enabled: false

Style/ModuleFunction:
Enabled: false

Style/NegatedIf:
Enabled: false

Style/NegatedWhile:
Enabled: false

Style/Next:
Enabled: false

Style/NilComparison:
Enabled: false

Style/Not:
Enabled: false

Style/NumericLiterals:
Enabled: false

Style/OneLineConditional:
Enabled: false

Metrics/ParameterLists:
Layout/ElseAlignment:
Enabled: false

Style/PercentLiteralDelimiters:
Enabled: false

Style/PerlBackrefs:
Enabled: false

Naming/PredicateName:
ForbiddenPrefixes:
- is_

Style/Proc:
Enabled: false

Style/RaiseArgs:
Enabled: false

Style/RegexpLiteral:
Enabled: false

Style/SelfAssignment:
Enabled: false

Style/SingleLineBlockParams:
Enabled: false

Style/SingleLineMethods:
Enabled: false

Style/SignalException:
Enabled: false

Style/SpecialGlobalVars:
Enabled: false

Style/StringLiterals:
EnforcedStyle: double_quotes

Style/VariableInterpolation:
Enabled: false

Style/TrailingCommaInArrayLiteral:
Enabled: false

Style/TrailingCommaInHashLiteral:
Enabled: false

Style/TrailingCommaInArguments:
Enabled: false

Style/TrivialAccessors:
Enabled: false

Style/WhenThen:
Enabled: false

Style/WhileUntilModifier:
Enabled: false

Lint/AmbiguousOperator:
Enabled: false

Lint/AmbiguousRegexpLiteral:
Enabled: false

Lint/AssignmentInCondition:
Enabled: false

Lint/DeprecatedClassMethods:
Enabled: false

Lint/ElseLayout:
Enabled: false

Lint/SuppressedException:
Enabled: false

Lint/LiteralInInterpolation:
Enabled: false

Lint/Loop:
Enabled: false

Lint/ParenthesesAsGroupedExpression:
Enabled: false

Lint/RequireParentheses:
Enabled: false

Lint/UnderscorePrefixedVariableName:
Enabled: false

Lint/Void:
Enabled: false

Lint/FlipFlop:
Enabled: false
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ RUN RAILS_ENV=production \
SECRET_KEY_BASE=dummy \
RAILS_MASTER_KEY=dummy \
DB_ADAPTER=nulldb \
ASSETS_PRECOMPILE=true \
STORAGE_PROVIDER=local \
bundle exec rails assets:precompile

RUN mv config/credentials.yml.enc.bak config/credentials.yml.enc 2>/dev/null || true
Expand Down Expand Up @@ -97,4 +99,4 @@ HEALTHCHECK --interval=1m --timeout=5s --start-period=10s \


ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["/usr/bin/supervisord"]
CMD ["/usr/bin/supervisord"]
19 changes: 9 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
source 'https://rubygems.org'

gem 'rails', '~> 7.0.8'
gem 'rails', '~> 7.2'
gem 'rails-i18n', '~> 7.0'
gem 'puma', '~> 6.4'
gem 'puma', '~> 6.6'
gem 'rdiscount', '~> 2.2.7'
gem 'rubyzip', '~> 2.3.0'
gem 'activeadmin', '~> 2.14'
gem 'activeadmin', '~> 3.2'
gem 'bootsnap', '~> 1.12', require: false
gem 'has_scope', '~> 0.7.2'
gem 'pundit', '~> 2.1.0'
Expand All @@ -28,26 +28,25 @@ gem 'active_storage_validations', '~> 1.1.3'

# Assets
gem 'jquery-rails', '~> 4.4.0'
gem 'bootstrap-sass', '~> 3.4'
gem 'bootstrap', '~> 5.3.3'
gem 'sassc-rails', '~> 2.1.2'
gem 'select2-rails', '~> 4.0.13'

group :production do
# we are using an ExecJS runtime only on the precompilation phase
gem "uglifier", "~> 4.2.0", require: false
gem "terser", "~> 1.2", require: false
end

group :development do
gem 'localeapp', '~> 3.3', require: false
gem 'letter_opener', '~> 1.7.0'
gem 'web-console', '~> 4.1.0'
gem 'web-console', '~> 4.2'
end

group :development, :test do
gem 'byebug', '~> 11.0'
gem 'rubocop', '~> 1.6', require: false
gem 'rubocop-rails', '~> 2.9', require: false
gem 'dotenv-rails', '~> 2.7.1'
gem 'rubocop-rails-omakase', require: false
gem 'dotenv-rails', '~> 3.1.7'
end

group :test do
Expand All @@ -56,7 +55,7 @@ group :test do
gem 'database_cleaner', '~> 2.0'
gem 'shoulda-matchers', '~> 4.4'
gem 'fabrication', '~> 2.20'
gem 'faker', '~> 2.15'
gem 'faker', '~> 3.5'
gem 'capybara', '~> 3.29'
gem 'selenium-webdriver', '~> 4.16'
gem 'simplecov', '~> 0.22', require: false
Expand Down
Loading