Skip to content

Commit

Permalink
DEV: Update rubocop-discourse to version 3.8.0 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flink authored May 28, 2024
1 parent cee0d63 commit c7f8955
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 22 deletions.
39 changes: 24 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.2)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -13,28 +13,28 @@ GEM
tzinfo (~> 2.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.8)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
drb (2.2.1)
i18n (1.14.3)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
racc (~> 1.7)
json (2.7.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
minitest (5.22.2)
minitest (5.23.1)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.0.5)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
racc (1.7.3)
racc (1.8.0)
rack (3.0.11)
rainbow (3.1.1)
regexp_parser (2.9.0)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rubocop (1.62.0)
rubocop (1.64.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -45,22 +45,31 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.1)
parser (>= 3.3.0.4)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-discourse (3.7.1)
rubocop-discourse (3.8.0)
activesupport (>= 6.1)
rubocop (>= 1.59.0)
rubocop-capybara (>= 2.0.0)
rubocop-factory_bot (>= 2.0.0)
rubocop-rails (>= 2.25.0)
rubocop-rspec (>= 2.25.0)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-rspec (2.27.1)
rubocop-rails (2.25.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.29.2)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-progressbar (1.13.0)
strscan (3.1.0)
syntax_tree (6.2.0)
Expand All @@ -77,4 +86,4 @@ DEPENDENCIES
syntax_tree

BUNDLED WITH
2.5.4
2.5.10
4 changes: 2 additions & 2 deletions extensions/topic_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def answer_count
end

def last_answered_at
return unless answers.present?
return if answers.blank?

answers.last[:created_at]
end
Expand All @@ -45,7 +45,7 @@ def comments
end

def last_commented_on
return unless comments.present?
return if comments.blank?

comments.last.created_at
end
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "discourse-post-voting",
"private": true,
"devDependencies": {
"@discourse/lint-configs": "^1.3.5",
"ember-template-lint": "^5.13.0",
"eslint": "^8.56.0",
"prettier": "^2.8.8"
"@discourse/lint-configs": "1.3.9",
"ember-template-lint": "6.0.0",
"eslint": "8.57.0",
"prettier": "2.8.8"
}
}

0 comments on commit c7f8955

Please sign in to comment.