bump commonmarker; rubocop
This commit is contained in:
parent
9faf46b0cf
commit
dff910dda6
|
@ -215,6 +215,8 @@ Style/MethodDefParentheses:
|
|||
Enabled: false
|
||||
Style/MultilineBlockChain:
|
||||
Enabled: false
|
||||
Style/MultilineMemoization:
|
||||
Enabled: false
|
||||
Style/MultilineTernaryOperator:
|
||||
Enabled: false
|
||||
Style/NegatedIf:
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -32,7 +32,7 @@ gem "rqrcode"
|
|||
gem "pdf-reader"
|
||||
gem "nokogiri", ">= 1.13.2"
|
||||
gem "htmlentities"
|
||||
gem "commonmarker", "~> 0.14"
|
||||
gem "commonmarker", ">= 0.23.4"
|
||||
|
||||
# perf
|
||||
gem 'flamegraph'
|
||||
|
|
|
@ -82,7 +82,7 @@ GEM
|
|||
regexp_parser (>= 1.5, < 3.0)
|
||||
xpath (~> 3.2)
|
||||
chunky_png (1.4.0)
|
||||
commonmarker (0.23.2)
|
||||
commonmarker (0.23.4)
|
||||
concurrent-ruby (1.1.9)
|
||||
crack (0.4.5)
|
||||
rexml
|
||||
|
@ -293,7 +293,7 @@ DEPENDENCIES
|
|||
bcrypt (~> 3.1.2)
|
||||
byebug
|
||||
capybara
|
||||
commonmarker (~> 0.14)
|
||||
commonmarker (>= 0.23.4)
|
||||
database_cleaner
|
||||
exception_notification
|
||||
factory_bot_rails
|
||||
|
|
|
@ -23,13 +23,13 @@ class Message < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
scope :inbox, -> (user) {
|
||||
scope :inbox, ->(user) {
|
||||
where(
|
||||
recipient: user,
|
||||
deleted_by_recipient: false,
|
||||
).preload(:author, :hat, :recipient).order('id asc')
|
||||
}
|
||||
scope :outbox, -> (user) {
|
||||
scope :outbox, ->(user) {
|
||||
where(
|
||||
author: user,
|
||||
deleted_by_author: false,
|
||||
|
|
Loading…
Reference in New Issue