anycable-rails 1.4.0.rc.3 → 1.4.0.rc.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cebd1e5cd905729a99b271e13ed38829893992a0c198f64fa850d091e0793696
|
4
|
+
data.tar.gz: c4d3484bbfc30b677e2fb1698f01a2190eb46823969fef4702abd29dc0ec115a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0875f5b6f9e53c329a3df82876c4a11c6a6ebbeb1db64698c03c2a74179ae2526503b05dc0325b93467412366be39fec7dc5e0c8fdaa1a28d41e4c9af091efc
|
7
|
+
data.tar.gz: 6ada60866e81a2923420a74e16b6223c52dcff2b399648823b1a29d1dcfeb48224275bf2b95400153587d4f1e14fb618260a0dd94deaf9bfeeb90bc55ccbaae8
|
data/CHANGELOG.md
CHANGED
@@ -61,6 +61,8 @@ module AnyCableRailsGenerators
|
|
61
61
|
def download_exe(url, to:, file_name:)
|
62
62
|
file_path = File.join(to, file_name)
|
63
63
|
|
64
|
+
FileUtils.mkdir_p(to) unless File.directory?(to)
|
65
|
+
|
64
66
|
run "#{sudo(to)}curl -L #{url} -o #{file_path}", abort_on_failure: true
|
65
67
|
run "#{sudo(to)}chmod +x #{file_path}", abort_on_failure: true
|
66
68
|
run "#{file_path} -v", abort_on_failure: true
|