dependabot-bundler 0.237.0 → 0.239.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/v1/build +1 -1
- data/helpers/v1/run.rb +3 -7
- data/helpers/v2/build +1 -1
- data/lib/dependabot/bundler/requirement.rb +7 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e18a65559311220f3c2c3cab81c7f991f97a3eff3dc1c965672d9db255d72617
|
4
|
+
data.tar.gz: 387f73ec3848447a35f9cbbb6743734fb09c60a1771e4f72abd9698da616b3c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00ed04b9cf928f32354da2217abdd67e5219abfe5c6ed45c59ae1b1b2672a7c800d45d0e6ede46f4afa5250ec3cb546c304701c7fb260ba93a21c97021e300a9
|
7
|
+
data.tar.gz: 2397151ad4fadf386538cee94cfb8ba70ba281cf8e2d536ff78306da77045f929b2867bc28b768bab04f9eb5170df40d47b63f4ab63805d790da08db81b22731
|
data/helpers/v1/build
CHANGED
data/helpers/v1/run.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# typed:
|
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
|
-
|
31
|
+
print JSON.dump({ result: Functions.send(function, **args) })
|
36
32
|
rescue StandardError => e
|
37
|
-
|
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,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 <
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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:
|