apiotics 0.2.21 → 0.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apiotics/hardware.rb +2 -0
- data/lib/apiotics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7361bb86774d1f00f45ea04534ed4592ea6f0ddf
|
4
|
+
data.tar.gz: 9a7cc7111d0f546a971e04d7b9f10deffd506b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a79196d4eb667cd523f63eff4a4c3039fba965beb5e275d3dfa9c7c88b3460adceada935eab7551fe95c6fa191c01bfb2b1005a190cffb0966465ba08ca96b5d
|
7
|
+
data.tar.gz: ffc9637814b1b34d9875ff57098073dd7e5575491d81171a892a8a8051316292a969925412ba39909b1d8dbe59b3f2eb6439f4d703dd932185336091bc89b67b
|
data/lib/apiotics/hardware.rb
CHANGED
@@ -414,6 +414,7 @@ module Apiotics
|
|
414
414
|
if script_path != nil
|
415
415
|
#puts "Please wait..."
|
416
416
|
puts "Running sudo -S #{script_path} brand_and_burn #{image_path} no_disk #{wifi_settings["ssid"]} #{wifi_settings["password"]} #{wifi_settings["security_mode"]} #{config_file_path} 0 #{cellular.to_s} dhcp"
|
417
|
+
puts "Please enter your password so that the image may be written to your SD card."
|
417
418
|
IO.popen("sudo -S #{script_path} brand_and_burn #{image_path} no_disk #{wifi_settings["ssid"]} #{wifi_settings["password"]} #{wifi_settings["security_mode"]} #{config_file_path} 0 #{cellular.to_s} dhcp") do |io|
|
418
419
|
while (line = io.gets) do
|
419
420
|
puts line
|
@@ -459,6 +460,7 @@ module Apiotics
|
|
459
460
|
if File.size(image_path) == image_size.to_i
|
460
461
|
wifi_settings = Apiotics::Hardware.fetch_wifi
|
461
462
|
if wifi_settings == nil
|
463
|
+
puts "No wifi settings detected. To configure wifi run rake firmware:wifi."
|
462
464
|
wifi_settings = {
|
463
465
|
"ssid" => "NONE",
|
464
466
|
"password" => "NONE",
|
data/lib/apiotics/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apiotics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MicroArx Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|