Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
* Updates Node version to 18.17.0.
* Updates oj, pg_query, rack-attack, rack-mini-profiler, rubocop,
  rubocop-rspec, selenium-webdriver, strong_migrations, and tailwindcss-rails
  in Ruby.
* Updates @babel/core, @babel/eslint-parser, @babel/preset-env, esbuild,
  eslint, and stylelint in JavaScript.
  • Loading branch information
tristandunn committed Aug 6, 2023
1 parent ef3aafb commit 6431ea9
Show file tree
Hide file tree
Showing 7 changed files with 413 additions and 413 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ RSpec/ImplicitSubject:
RSpec/NestedGroups:
Max: 4

Style/ArgumentsForwarding:
UseAnonymousForwarding: false

Style/Documentation:
Enabled: false

Expand Down
20 changes: 10 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,41 @@ gem "bootsnap", "1.16.0", require: false
gem "hotwire-rails", "0.1.3"
gem "indefinite_article", "0.2.5"
gem "jsbundling-rails", "1.1.2"
gem "oj", "3.15.0"
gem "oj", "3.15.1"
gem "pg", "1.5.3"
gem "puma", "6.3.0"
gem "rack-attack", "6.6.1"
gem "rack-attack", "6.7.0"
gem "rack-timeout", "0.6.3"
gem "rails", "7.0.6"
gem "rails-healthcheck", "1.4.0"
gem "redis", "5.0.6"
gem "redis-objects", "1.7.0"
gem "rufus-scheduler", "3.9.1"
gem "sprockets-rails", "3.4.2"
gem "strong_migrations", "1.5.0"
gem "tailwindcss-rails", "2.0.29"
gem "strong_migrations", "1.6.0"
gem "tailwindcss-rails", "2.0.30"
gem "turbo-rails", "1.4.0"

group :development, :test do
gem "cacheflow", "0.3.1"
gem "dotenv-rails", "2.8.1"
gem "pg_query", "4.2.1"
gem "pg_query", "4.2.3"
gem "prosopite", "1.3.2"
gem "rspec-rails", "6.0.3"
end

group :development do
gem "brakeman", "6.0.0", require: false
gem "brakeman", "6.0.1", require: false
gem "erb_lint", "0.4.0", require: false
gem "listen", "3.8.0"
gem "rack-mini-profiler", "3.1.0"
gem "rubocop", "1.54.1", require: false
gem "rack-mini-profiler", "3.1.1"
gem "rubocop", "1.55.1", require: false
gem "rubocop-capybara", "2.18.0", require: false
gem "rubocop-factory_bot", "2.23.1", require: false
gem "rubocop-performance", "1.18.0", require: false
gem "rubocop-rails", "2.20.2", require: false
gem "rubocop-rake", "0.6.0", require: false
gem "rubocop-rspec", "2.22.0", require: false
gem "rubocop-rspec", "2.23.0", require: false
gem "web-console", "4.2.0"
end

Expand All @@ -54,7 +54,7 @@ group :test do
gem "faker", "3.2.0"
gem "mock_redis", "0.36.0"
gem "rails-controller-testing", "1.0.5"
gem "selenium-webdriver", "4.10.0"
gem "selenium-webdriver", "4.11.0"
gem "shoulda-matchers", "5.3.0"
gem "simplecov-console", "0.9.1", require: false
end
70 changes: 35 additions & 35 deletions Gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/services/commands/move.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module Commands
class Move < Base
OFFSETS = {
down: { z: -1 },
east: { x: 1 },
north: { y: 1 },
east: { x: 1 },
north: { y: 1 },
south: { y: -1 },
up: { z: 1 },
up: { z: 1 },
west: { x: -1 }
}.freeze

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
"dependencies": {
"@hotwired/stimulus": "3.2.1",
"@hotwired/turbo-rails": "7.3.0",
"esbuild": "0.18.11"
"esbuild": "0.18.18"
},
"devDependencies": {
"@babel/core": "7.22.8",
"@babel/eslint-parser": "7.22.7",
"@babel/preset-env": "7.22.7",
"@babel/core": "7.22.9",
"@babel/eslint-parser": "7.22.9",
"@babel/preset-env": "7.22.9",
"@babel/register": "7.22.5",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-istanbul": "6.1.1",
"chai": "4.3.7",
"eslint": "8.44.0",
"eslint": "8.46.0",
"jsdom": "22.1.0",
"mocha": "10.2.0",
"nyc": "15.1.0",
"sinon": "15.2.0",
"sinon-chai": "3.7.0",
"stylelint": "15.10.1",
"stylelint": "15.10.2",
"stylelint-config-standard": "34.0.0"
},
"engines": {
"node": "18.16.1"
"node": "18.17.0"
},
"packageManager": "[email protected]"
}
17 changes: 10 additions & 7 deletions spec/controllers/concerns/authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,10 @@ class AuthenticationTestController < ApplicationController

before do
allow(instance).to receive(:redirect_to)
allow(instance).to receive(:current_character).and_return(character)
allow(instance).to receive(:characters_url).and_return(characters_url)
allow(instance).to receive_messages(
characters_url: characters_url,
current_character: character
)
end

it "redirects to characters_url" do
Expand All @@ -454,9 +456,11 @@ class AuthenticationTestController < ApplicationController

before do
allow(instance).to receive(:redirect_to)
allow(instance).to receive(:current_account).and_return(account)
allow(instance).to receive(:current_character).and_return(nil)
allow(instance).to receive(:new_character_url).and_return(new_character_url)
allow(instance).to receive_messages(
current_account: account,
current_character: nil,
new_character_url: new_character_url
)
end

it "redirects to new_character_url" do
Expand All @@ -472,8 +476,7 @@ class AuthenticationTestController < ApplicationController

before do
allow(instance).to receive(:access_denied)
allow(instance).to receive(:current_account).and_return(nil)
allow(instance).to receive(:current_character).and_return(nil)
allow(instance).to receive_messages(current_account: nil, current_character: nil)
end

it "redirects to new_character_url" do
Expand Down
Loading

0 comments on commit 6431ea9

Please sign in to comment.