dependabot-bundler 0.238.0 → 0.239.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15ed934b702f4aa5f9486243fa05fb5ff8f25b228a94b28087f496adad2094df
4
- data.tar.gz: e608d86d64de0763edaa50de472dc8769b7edc796c119b1272674d789c428e77
3
+ metadata.gz: e18a65559311220f3c2c3cab81c7f991f97a3eff3dc1c965672d9db255d72617
4
+ data.tar.gz: 387f73ec3848447a35f9cbbb6743734fb09c60a1771e4f72abd9698da616b3c1
5
5
  SHA512:
6
- metadata.gz: 772fb2392a262c2c9db7bdbe3ecd6a8e817cc863796e015141497ed9ae43ac4d4cd0e98eb7c245000422eb07c11b3d92a76ca34630f3216190b79dc2d669d524
7
- data.tar.gz: 2cc4dc6fb2ff3a3c464a438ab0e4088e3660acdde352e5821d7609446d6f2ad539b1c4149bd98c683e669e5b0e8f8b6e7d2ff453bf5febfbc3ed415819cbe3e1
6
+ metadata.gz: 00ed04b9cf928f32354da2217abdd67e5219abfe5c6ed45c59ae1b1b2672a7c800d45d0e6ede46f4afa5250ec3cb546c304701c7fb260ba93a21c97021e300a9
7
+ data.tar.gz: 2397151ad4fadf386538cee94cfb8ba70ba281cf8e2d536ff78306da77045f929b2867bc28b768bab04f9eb5170df40d47b63f4ab63805d790da08db81b22731
data/helpers/v1/build CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
 
3
3
  set -e
4
4
 
data/helpers/v1/run.rb CHANGED
@@ -1,4 +1,4 @@
1
- # typed: true
1
+ # typed: strict
2
2
  # frozen_string_literal: true
3
3
 
4
4
  gem "bundler", "~> 1.17"
@@ -22,19 +22,15 @@ require "resolver_spec_group_sane_eql"
22
22
 
23
23
  require "functions"
24
24
 
25
- def output(obj)
26
- print JSON.dump(obj)
27
- end
28
-
29
25
  begin
30
26
  request = JSON.parse($stdin.read)
31
27
 
32
28
  function = request["function"]
33
29
  args = request["args"].transform_keys(&:to_sym)
34
30
 
35
- output({ result: Functions.send(function, **args) })
31
+ print JSON.dump({ result: Functions.send(function, **args) })
36
32
  rescue StandardError => e
37
- output(
33
+ print JSON.dump(
38
34
  { error: e.message, error_class: e.class, trace: e.backtrace }
39
35
  )
40
36
  exit(1)
data/helpers/v2/build CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
 
3
3
  set -e
4
4
 
@@ -1,14 +1,20 @@
1
1
  # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
5
+
6
+ require "dependabot/requirement"
4
7
  require "dependabot/utils"
5
8
 
6
9
  module Dependabot
7
10
  module Bundler
8
- class Requirement < Gem::Requirement
11
+ class Requirement < Dependabot::Requirement
12
+ extend T::Sig
13
+
9
14
  # For consistency with other languages, we define a requirements array.
10
15
  # Ruby doesn't have an `OR` separator for requirements, so it always
11
16
  # contains a single element.
17
+ sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
12
18
  def self.requirements_array(requirement_string)
13
19
  [new(requirement_string)]
14
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.238.0
4
+ version: 0.239.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.238.0
19
+ version: 0.239.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.238.0
26
+ version: 0.239.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.57.2
117
+ version: 1.58.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.57.2
124
+ version: 1.58.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -296,7 +296,7 @@ licenses:
296
296
  - Nonstandard
297
297
  metadata:
298
298
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
299
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.238.0
299
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
300
300
  post_install_message:
301
301
  rdoc_options: []
302
302
  require_paths: