dependabot-bundler 0.108.8 → 0.108.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/monkey_patches/bundler/git_source_patch.rb +34 -0
- 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: e930f6f44748e37352a9385c0c1d8ad2f19f4509d6d6cff4a1b972f468314bbf
|
4
|
+
data.tar.gz: 3caea1803e1e4874c084ba5d64bd82415a048e129cf48d130342bb9d6799a1d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b31df1124268a87f5d43e5346b212214631e9527bcca292c832d27f82b7f7b09bd9692878ab72a4bad8ed4a40cf7dd38b855f329cfe9b7a9ed32e53c16c5f51
|
7
|
+
data.tar.gz: d8f415839d91fe6ad7d870312c7a5d63accd4cc18193f42b1af2b9a38aae9b130c6da77d2182c7d54bc644e1089441f769fc25ce2229c490a3410e195ad92505
|
@@ -25,3 +25,37 @@ module Bundler
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
29
|
+
module Bundler
|
30
|
+
class Source
|
31
|
+
class Git < Path
|
32
|
+
private
|
33
|
+
|
34
|
+
def serialize_gemspecs_in(destination)
|
35
|
+
original_load_paths = $LOAD_PATH.dup
|
36
|
+
reduced_load_paths = original_load_paths.
|
37
|
+
reject { |p| p.include?("/gems/") }
|
38
|
+
|
39
|
+
$LOAD_PATH.shift until $LOAD_PATH.empty?
|
40
|
+
reduced_load_paths.each { |p| $LOAD_PATH << p }
|
41
|
+
|
42
|
+
if destination.relative?
|
43
|
+
destination = destination.expand_path(Bundler.root)
|
44
|
+
end
|
45
|
+
Dir["#{destination}/#{@glob}"].each do |spec_path|
|
46
|
+
# Evaluate gemspecs and cache the result. Gemspecs
|
47
|
+
# in git might require git or other dependencies.
|
48
|
+
# The gemspecs we cache should already be evaluated.
|
49
|
+
spec = Bundler.load_gemspec(spec_path)
|
50
|
+
next unless spec
|
51
|
+
|
52
|
+
Bundler.rubygems.set_installed_by_version(spec)
|
53
|
+
Bundler.rubygems.validate(spec)
|
54
|
+
File.open(spec_path, "wb") { |file| file.write(spec.to_ruby) }
|
55
|
+
end
|
56
|
+
$LOAD_PATH.shift until $LOAD_PATH.empty?
|
57
|
+
original_load_paths.each { |p| $LOAD_PATH << p }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
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.108.
|
4
|
+
version: 0.108.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-09 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.108.
|
19
|
+
version: 0.108.9
|
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.108.
|
26
|
+
version: 0.108.9
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|