dependabot-hex 0.93.0 → 0.93.1

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: 514e606963561dde954dfffab84144bd7920f89f81de97d746c1be7fd1b718d1
4
- data.tar.gz: 3186ee0e87a8c0aa4e8db661cd46728b9362aa35c4e696a9168797410a068989
3
+ metadata.gz: e584c433c57fcad702b0ab67eec44b29707efc4c41c69a8db6fad112451cd373
4
+ data.tar.gz: 93296878aa55a2662327c76fa21ed6164a57095ef559d960a5b53141989919ac
5
5
  SHA512:
6
- metadata.gz: e7db332a51cb81cf050c0fedfe99ebec143c74b9e286a9895d8522059a8fcf461627fd62b0d7c6b7552da95b0ceb4e1965156f827d8caa92926eaeee218ebede
7
- data.tar.gz: 4b1c542585b95eac926414607b8312dd61722f129e0cbd5b81ebce49e0906ebdda2191e8cf4265bea10a752ce2e80b29e12004e0eb114f14de2a22cf5d41cc84
6
+ metadata.gz: 1fad289e345d9d5f1f9ac9e305fc55c7df1b0e5d137482e5905c05bb5929f2f5451360d87c431ab889757b4fd694e458a3430c9b6dc7d84cf14e42c9b3ba0492
7
+ data.tar.gz: 32a592a34a2ab7b3178a7b3dd3d6dda6ab2035f407fcd31929c67658457b42ce2581b1fbef764ef86bdb29f8082634b04c16ea8bd0e991a27f00d8e1511ae532
@@ -8,12 +8,14 @@ if [ -z "$install_dir" ]; then
8
8
  exit 1
9
9
  fi
10
10
 
11
- if [ ! -d "$install_dir/bin" ]; then
12
- mkdir -p "$install_dir/bin"
13
- fi
14
-
15
11
  mix local.hex --force
16
12
 
17
13
  helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
18
- cd "$helpers_dir"
14
+ cp -r \
15
+ "$helpers_dir/lib" \
16
+ "$helpers_dir/mix.exs" \
17
+ "$helpers_dir/mix.lock" \
18
+ "$install_dir"
19
+
20
+ cd "$install_dir"
19
21
  mix deps.get
@@ -4,12 +4,10 @@ module Dependabot
4
4
  module Hex
5
5
  module NativeHelpers
6
6
  def self.hex_helpers_dir
7
- File.join(native_helpers_root, "hex/helpers")
8
- end
7
+ helpers_root = ENV["DEPENDABOT_NATIVE_HELPERS_PATH"]
8
+ return File.join(helpers_root, "hex") unless helpers_root.nil?
9
9
 
10
- def self.native_helpers_root
11
- default_path = File.join(__dir__, "../../../..")
12
- ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", default_path)
10
+ File.join(__dir__, "../../../../hex/helpers")
13
11
  end
14
12
 
15
13
  def self.clean_path(path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-hex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.93.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.93.0
19
+ version: 0.93.1
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.93.0
26
+ version: 0.93.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement