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: df44b9cecad580d342da48f6de10487c7983c1992a27fb91f22f2436d8f4ba77
4
- data.tar.gz: 8451fe4a45778f18cad445b88f919325ce0c9e9da304864c39fb70cdef2b555f
3
+ metadata.gz: cebd1e5cd905729a99b271e13ed38829893992a0c198f64fa850d091e0793696
4
+ data.tar.gz: c4d3484bbfc30b677e2fb1698f01a2190eb46823969fef4702abd29dc0ec115a
5
5
  SHA512:
6
- metadata.gz: 2e888b265640322f69d018f6c660f4a7878813f51a96bc26a83c806e7637fbf2e710d30eeeb378989ab59e7702af647a0110e5e6c8977d25ac214fbd9c4430b2
7
- data.tar.gz: fbc4264a5de315e1c7206f064af7614503d19cdc084f2114e0b9c4a4433b2bc38b4a8a22dd216e705bfe2c5da0c84e705777d3a1f94b87eb38ec87f4da35b6b1
6
+ metadata.gz: e0875f5b6f9e53c329a3df82876c4a11c6a6ebbeb1db64698c03c2a74179ae2526503b05dc0325b93467412366be39fec7dc5e0c8fdaa1a28d41e4c9af091efc
7
+ data.tar.gz: 6ada60866e81a2923420a74e16b6223c52dcff2b399648823b1a29d1dcfeb48224275bf2b95400153587d4f1e14fb618260a0dd94deaf9bfeeb90bc55ccbaae8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.4.0.rc.4 (2023-07-05)
6
+
7
+ - Fix `anycable:download` command. ([@palkan][])
8
+
9
+ Detect MacOS arm64, create target bin path if it doesn't exist.
10
+
5
11
  ## 1.4.0.rc.3 (2023-07-04)
6
12
 
7
13
  - Relax `anycable` gem dependency constraints.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.4.0.rc.3"
5
+ VERSION = "1.4.0.rc.4"
6
6
  end
7
7
  end
@@ -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
@@ -23,7 +23,7 @@ module AnyCableRailsGenerators
23
23
  "amd64"
24
24
  when "x86_32", "x86", "i386", "i486", "i686"
25
25
  "i386"
26
- when "aarch64", "aarch64_be", /armv8/
26
+ when "aarch64", "aarch64_be", "arm64", /armv8/
27
27
  "arm64"
28
28
  when "arm", /armv7/, /armv6/
29
29
  "arm"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.rc.3
4
+ version: 1.4.0.rc.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan