dependabot-composer 0.94.3 → 0.94.4

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: 894563e4a5fe24768f2711ad84773dff67f4b0cd0562e032b467800375d8b471
4
- data.tar.gz: 964a19a20fe9c8c8f7cca913d8c810c7102c86e0636e0098b59104f5d8e903e6
3
+ metadata.gz: 14b141d58daa64ca39b1df5709f1b4de4f0a81fedcf3db188fccfd249114e27b
4
+ data.tar.gz: ea27e860ac72f5f0423b27cb149872fb162a712bad0d7b87009ec1e057f68a76
5
5
  SHA512:
6
- metadata.gz: 18cee98f277535fc3c7737bbd0b2f86e11cf459adb077468e7dccf1b633a950566e78581281d76cdd2ec9df21291405ffdd34522b8010be514bca88109d75c5b
7
- data.tar.gz: 06cd24c86dd0d43721b0190eeae1344402e8a258f1f305570e31c06fabd02e1e934ca650413df1fbbe8d733fbaab4f8f25f78bde433caa04c964148e1aa0e269
6
+ metadata.gz: 8203092cb778dab682f20db7b5331ce38be7110946fb3b8988c12b88112240de02edcd6ebe4cd9ae190576084bd45a6e5ef4af1dc1ee87a74985ee548b4dd8d3
7
+ data.tar.gz: '09c3cbb6eb7ebbf0ea70c9c2047f242d3fe4e76f812d1498ff17f99a52583545062e20552dfcec305bc7f106682c6ba57d3fe084cba9e76c29b8054111ea3b40'
@@ -104,11 +104,11 @@ module Dependabot
104
104
  map { |f| path.gsub(/\*$/, f.name) }
105
105
  end
106
106
 
107
- def fetch_file_with_root_fallback(filename, type: "file")
107
+ def fetch_file_with_root_fallback(filename)
108
108
  path = Pathname.new(File.join(directory, filename)).cleanpath.to_path
109
109
 
110
110
  begin
111
- fetch_file_from_host(filename, type: type)
111
+ fetch_file_from_host(filename, fetch_submodules: true)
112
112
  rescue Dependabot::DependencyFileNotFound
113
113
  # If the file isn't found at the full path, try looking for it
114
114
  # without considering the directory (i.e., check if the path should
@@ -117,9 +117,9 @@ module Dependabot
117
117
 
118
118
  DependencyFile.new(
119
119
  name: cleaned_filename,
120
- content: fetch_file_content(cleaned_filename),
120
+ content: _fetch_file_content(cleaned_filename),
121
121
  directory: directory,
122
- type: type
122
+ type: "file"
123
123
  )
124
124
  end
125
125
  rescue Octokit::NotFound, Gitlab::Error::NotFound
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.3
4
+ version: 0.94.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-02 00:00:00.000000000 Z
11
+ date: 2019-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.94.3
19
+ version: 0.94.4
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.94.3
26
+ version: 0.94.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement