dependabot-go_modules 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10eb41f98ea1a9ad7102bf60c006aa650e5c62a67e360a4c0e3319bd5a122e2b
|
4
|
+
data.tar.gz: eb7260afc262b3ff8873df1ba601f20c98a4f732065c175b584b89d55b4f7bcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172d7f7de572fe7d54984c3184ff817ba21505020d0126a437eae851d3d9fccce38e6abfdc030b4efc820ecac0031cd161ff459d169bafa190158fb8926ea18d
|
7
|
+
data.tar.gz: 7baaab1827185336b53b44b6f760ae5b59dfa9bdaddb6e99a7fab9e838846d3eab51dc705f1c3b8e487a0a941ffcdaed22333e4fa74b87651b5a7ea830e4d113
|
data/helpers/build
CHANGED
@@ -5,7 +5,6 @@ require "dependabot/shared_helpers"
|
|
5
5
|
require "dependabot/errors"
|
6
6
|
require "dependabot/logger"
|
7
7
|
require "dependabot/go_modules/file_updater"
|
8
|
-
require "dependabot/go_modules/native_helpers"
|
9
8
|
require "dependabot/go_modules/replace_stubber"
|
10
9
|
require "dependabot/go_modules/resolvability_errors"
|
11
10
|
|
@@ -84,6 +84,7 @@ module Dependabot
|
|
84
84
|
SharedHelpers.with_git_configured(credentials: []) do
|
85
85
|
`git config --global user.email "no-reply@github.com"`
|
86
86
|
`git config --global user.name "Dependabot"`
|
87
|
+
`git config --global init.defaultBranch "placeholder-default-branch"`
|
87
88
|
`git init .`
|
88
89
|
`git add .`
|
89
90
|
`git commit -m'fake repo_contents_path'`
|
@@ -7,12 +7,17 @@
|
|
7
7
|
# - https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md #
|
8
8
|
################################################################################
|
9
9
|
|
10
|
+
require "sorbet-runtime"
|
11
|
+
|
12
|
+
require "dependabot/requirement"
|
10
13
|
require "dependabot/utils"
|
11
14
|
require "dependabot/go_modules/version"
|
12
15
|
|
13
16
|
module Dependabot
|
14
17
|
module GoModules
|
15
|
-
class Requirement <
|
18
|
+
class Requirement < Dependabot::Requirement
|
19
|
+
extend T::Sig
|
20
|
+
|
16
21
|
WILDCARD_REGEX = /(?:\.|^)[xX*]/
|
17
22
|
OR_SEPARATOR = /(?<=[a-zA-Z0-9*])\s*\|{2}/
|
18
23
|
|
@@ -40,6 +45,7 @@ module Dependabot
|
|
40
45
|
|
41
46
|
# Returns an array of requirements. At least one requirement from the
|
42
47
|
# returned array must be satisfied for a version to be valid.
|
48
|
+
sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Requirement]) }
|
43
49
|
def self.requirements_array(requirement_string)
|
44
50
|
return [new(nil)] if requirement_string.nil?
|
45
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-go_modules
|
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
|
@@ -239,7 +239,7 @@ licenses:
|
|
239
239
|
- Nonstandard
|
240
240
|
metadata:
|
241
241
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
242
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
242
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
|
243
243
|
post_install_message:
|
244
244
|
rdoc_options: []
|
245
245
|
require_paths:
|