Skip to content

Commit

Permalink
Update gems and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Apr 11, 2024
1 parent 28404ae commit 0d207c1
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 94 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ GEM
listen (~> 3.0)
rexml (3.2.6)
rouge (4.2.1)
rubocop (1.63.0)
rubocop (1.63.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down
8 changes: 4 additions & 4 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
},
"devDependencies": {
"@cypress/snapshot": "^2.1.7",
"@types/node": "20.12.4",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@typescript-eslint/parser": "7.5.0",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"cypress": "13.7.2",
"cypress-html-validate": "6.1.0",
"eslint": "8.57.0",
Expand All @@ -21,7 +21,7 @@
"eslint-plugin-promise": "6.1.1",
"html-validate": "8.18.1",
"start-server-and-test": "2.0.3",
"typescript": "5.4.4"
"typescript": "5.4.5"
},
"scripts": {
"lint-fix": "eslint --fix cypress --ext .ts",
Expand Down
2 changes: 1 addition & 1 deletion gem/lib/pagy/calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def page_at(time, **opts)
def setup_unit_vars
raise VariableError.new(self, :format, 'to be a strftime format', @vars[:format]) unless @vars[:format].is_a?(String)
raise VariableError.new(self, :order, 'to be in [:asc, :desc]', @order) \
unless %i[asc desc].include?((@order = @vars[:order]))
unless %i[asc desc].include?(@order = @vars[:order])

@starting, @ending = @vars[:period]
raise VariableError.new(self, :period, 'to be a an Array of min and max TimeWithZone instances', @vars[:period]) \
Expand Down
Loading

0 comments on commit 0d207c1

Please sign in to comment.