micro_install 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bbb183bdf219b85c9a68ab8b66b720084dc6557f21d20f0a1360717ad43c675
4
- data.tar.gz: fe8e578f3ee3fcc96575d7f4634e6276ca28e9e1b53c9f3b9b007b9afd16b3dd
3
+ metadata.gz: 699159d6205ef44705c6fb74a9df412fbf9c6f753213acf12945c767a7b7ff79
4
+ data.tar.gz: ab616b77824fd1a26570c8f22123f1c68e07e0204ecb42f3ae3dfee5193c4e3e
5
5
  SHA512:
6
- metadata.gz: 0ae046197a95395e274421c4b599525e700e821b85ad6a41e75d625b76b7b79a6a282e9a7511d0850cbe13abfcf4cbfe6c4e76c5130e45124b8dd67f85d7a063
7
- data.tar.gz: d9e7704003b257e3fafbab5b101d076017345bde2dbd5cad65454836773e70ee235ce7a789e57a8624d213fb60e4c8298c56f5d13b49816e0c76e60fc84501e1
6
+ metadata.gz: 20c49a2d2b17c294087e60400e714ceb6473b05890b7dc491df17107fc6803519609b8ee9db854ff4a8d8f4ae8339e292a8b6b5bf9222f2686e6bc5c5185a8d9
7
+ data.tar.gz: 332f45f938a84d0d3c836f363cedb7d66400ad82388715f8eb191d97aa4ee3016ded6a41e4d31b160074b0c62048504f7aa0f14337f997ce290a71aa8c2bf694
@@ -38,8 +38,6 @@ module MicroInstall
38
38
  elsif bits == "32"
39
39
  @arch = 'linux32'
40
40
  end
41
- when "linux-arm"
42
- raise MicroInstall::LookupError.new 'ARM (mobile devices) are not supported'
43
41
  when "darwin"
44
42
  @arch = 'osx'
45
43
  when "freebsd"
@@ -60,8 +58,10 @@ module MicroInstall
60
58
  elsif bits == "32"
61
59
  @arch = 'netbsd32'
62
60
  end
63
- else
64
- raise MicroInstall::LookupError.new 'unable to determine your system'
61
+
62
+ end
63
+ if OS.config['host_cpu'] == 'arm' or OS.config['host_os'] =~ /linux-arm/ or OS.config['host_os'] =~ /arm-linux/
64
+ @arch = 'linux-arm'
65
65
  end
66
66
  rescue MicroInstall::LookupError => e
67
67
  hl.say "#{Paint['Error', 'red']}: #{e}"
@@ -1,3 +1,3 @@
1
1
  module MicroInstall
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: micro_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer