dependabot-apm 0.403.0 → 0.405.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dependabot/apm/file_fetcher.rb +0 -19
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24e1c19dd6fae282c58d16747575639f29bf995a1241309ee04fbac1a16c4573
|
|
4
|
+
data.tar.gz: b5eb77ae0395da3700f1f10c528c22308a160add90660d72602e5ede6eb4d83f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb9d2c08b0d30670c9dd3503c62850aa502f690e6e50e910f636e9224b6fb99f6c3859316e89a37ff3d0e4c9cb48528c3153ff4fe973e7b062c37a5bf82ed70e
|
|
7
|
+
data.tar.gz: d0c9e9fce65f2ac5ce5bf9f9296dcdfa6df809f334d16457d79210150f3f8aeb88486d03afa0e4c39670df5ea632b11cb0b369974a9d7fb6f994fa17b7a02a1e
|
|
@@ -17,14 +17,6 @@ module Dependabot
|
|
|
17
17
|
MANIFEST_FILENAME = "apm.yml"
|
|
18
18
|
LOCKFILE_FILENAME = "apm.lock.yaml"
|
|
19
19
|
|
|
20
|
-
# Shown when file fetching runs with beta ecosystems disabled. apm is a
|
|
21
|
-
# beta ecosystem, so it only operates when a repo opts in; surfacing the
|
|
22
|
-
# remediation here avoids the misleading "apm.yml not found" message when
|
|
23
|
-
# the manifest actually exists and the real blocker is the disabled flag.
|
|
24
|
-
BETA_DISABLED_MESSAGE =
|
|
25
|
-
"apm is a beta ecosystem. Set `enable-beta-ecosystems: true` in your " \
|
|
26
|
-
"dependabot.yml so Dependabot fetches and updates apm.yml."
|
|
27
|
-
|
|
28
20
|
sig { override.params(filenames: T::Array[String]).returns(T::Boolean) }
|
|
29
21
|
def self.required_files_in?(filenames)
|
|
30
22
|
filenames.include?(MANIFEST_FILENAME)
|
|
@@ -37,17 +29,6 @@ module Dependabot
|
|
|
37
29
|
|
|
38
30
|
sig { override.returns(T::Array[DependencyFile]) }
|
|
39
31
|
def fetch_files
|
|
40
|
-
# apm is a beta ecosystem, so file fetching is hidden behind the
|
|
41
|
-
# beta-ecosystems feature flag (see NEW_ECOSYSTEMS.md). When the flag is
|
|
42
|
-
# off, tell the user to enable it rather than claim the manifest is
|
|
43
|
-
# missing, which would hide the real remediation when apm.yml exists.
|
|
44
|
-
unless allow_beta_ecosystems?
|
|
45
|
-
raise Dependabot::DependencyFileNotFound.new(
|
|
46
|
-
File.join(directory, MANIFEST_FILENAME),
|
|
47
|
-
BETA_DISABLED_MESSAGE
|
|
48
|
-
)
|
|
49
|
-
end
|
|
50
|
-
|
|
51
32
|
fetched_files = T.let([manifest_file], T::Array[DependencyFile])
|
|
52
33
|
fetched_files << T.must(lockfile) if lockfile
|
|
53
34
|
fetched_files
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-apm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.405.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.405.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.405.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -260,7 +260,7 @@ licenses:
|
|
|
260
260
|
- MIT
|
|
261
261
|
metadata:
|
|
262
262
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
263
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
263
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.405.0
|
|
264
264
|
rdoc_options: []
|
|
265
265
|
require_paths:
|
|
266
266
|
- lib
|