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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 518e864c38ddb47a006a2ec8421b145d6c26782425d95e3eb7aec097f9898075
4
- data.tar.gz: ea3571199f61d75842e3e641afe1b307ad578f133317f3ef6ab5131c0be190ae
3
+ metadata.gz: e930f6f44748e37352a9385c0c1d8ad2f19f4509d6d6cff4a1b972f468314bbf
4
+ data.tar.gz: 3caea1803e1e4874c084ba5d64bd82415a048e129cf48d130342bb9d6799a1d0
5
5
  SHA512:
6
- metadata.gz: afbc854ff5fa6df73b4894105e853cce932dc4b53a0bc16361f8a22c735b52425c1808e82c05b72aa7e305b8ddc0548cffac3ce00a4b6f2a04e0f77b83515e18
7
- data.tar.gz: e8a3616e41426359eafdfdbb212cc9332f39846049d4820466cea16d06f43a4e4d662691927a978db51ae796e421c3925fbac9613ef755c5e1a6d65050b4d42d
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.8
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-08 00:00:00.000000000 Z
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.8
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.8
26
+ version: 0.108.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement