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 +4 -4
- data/helpers/build +7 -5
- data/lib/dependabot/hex/native_helpers.rb +3 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e584c433c57fcad702b0ab67eec44b29707efc4c41c69a8db6fad112451cd373
|
4
|
+
data.tar.gz: 93296878aa55a2662327c76fa21ed6164a57095ef559d960a5b53141989919ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fad289e345d9d5f1f9ac9e305fc55c7df1b0e5d137482e5905c05bb5929f2f5451360d87c431ab889757b4fd694e458a3430c9b6dc7d84cf14e42c9b3ba0492
|
7
|
+
data.tar.gz: 32a592a34a2ab7b3178a7b3dd3d6dda6ab2035f407fcd31929c67658457b42ce2581b1fbef764ef86bdb29f8082634b04c16ea8bd0e991a27f00d8e1511ae532
|
data/helpers/build
CHANGED
@@ -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
|
-
|
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
|
-
|
8
|
-
|
7
|
+
helpers_root = ENV["DEPENDABOT_NATIVE_HELPERS_PATH"]
|
8
|
+
return File.join(helpers_root, "hex") unless helpers_root.nil?
|
9
9
|
|
10
|
-
|
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.
|
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.
|
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.
|
26
|
+
version: 0.93.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|