From 510d08acc3bd2484d5cdf2377b1344f22a5787cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 00:35:06 +0000 Subject: [PATCH] Update standard requirement from ~> 0.1 to ~> 1.40 Updates the requirements on [standard](https://github.com/standardrb/standard) to permit the latest version. - [Release notes](https://github.com/standardrb/standard/releases) - [Changelog](https://github.com/standardrb/standard/blob/main/CHANGELOG.md) - [Commits](https://github.com/standardrb/standard/compare/v0.13.0...v1.40.1) --- updated-dependencies: - dependency-name: standard dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 42 ++++++++++++++++++++++++++------------- lib/opsgenie/schedule.rb | 2 +- opsgenie-schedule.gemspec | 2 +- 3 files changed, 30 insertions(+), 16 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e73e87a..f1d07d1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - opsgenie-schedule (0.1.4) + opsgenie-schedule (0.1.6) httparty (~> 0.17) GEM @@ -21,6 +21,9 @@ GEM httparty (0.21.0) mini_mime (>= 1.0.0) multi_xml (>= 0.5.2) + json (2.7.2) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) method_source (1.1.0) mini_mime (1.1.2) multi_xml (0.6.0) @@ -50,24 +53,35 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.10.0) + rubocop (1.65.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.2.0, < 2.0) + regexp_parser (>= 2.4, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) + unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.32.3) parser (>= 3.3.1.0) - rubocop-performance (1.9.2) - rubocop (>= 0.90.0, < 2.0) - rubocop-ast (>= 0.4.0) + rubocop-performance (1.21.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) - standard (0.13.0) - rubocop (= 1.10.0) - rubocop-performance (= 1.9.2) + standard (1.40.1) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.65.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.4) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.4.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.21.0) unicode-display_width (2.6.0) webmock (3.24.0) addressable (>= 2.8.0) @@ -84,7 +98,7 @@ DEPENDENCIES pry (~> 0.14.0) rake (~> 12.3.3) rspec (~> 3.0) - standard (~> 0.1) + standard (~> 1.40) webmock (~> 3.5) BUNDLED WITH diff --git a/lib/opsgenie/schedule.rb b/lib/opsgenie/schedule.rb index cc7f6c1..0aa5cc1 100644 --- a/lib/opsgenie/schedule.rb +++ b/lib/opsgenie/schedule.rb @@ -49,7 +49,7 @@ def timeline(date: Date.today, interval: nil, interval_unit: nil) TimelineRotation.new( id: rotation["id"], name: rotation["name"], - periods: (rotation["periods"] || []) + periods: rotation["periods"] || [] ) end end diff --git a/opsgenie-schedule.gemspec b/opsgenie-schedule.gemspec index b674f51..3b1721a 100644 --- a/opsgenie-schedule.gemspec +++ b/opsgenie-schedule.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "pry", "~> 0.14.0" spec.add_development_dependency "rake", "~> 12.3.3" spec.add_development_dependency "rspec", "~> 3.0" - spec.add_development_dependency "standard", "~> 0.1" + spec.add_development_dependency "standard", "~> 1.40" spec.add_development_dependency "webmock", "~> 3.5" spec.add_development_dependency "dotenv", "~> 2.7"