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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6739f4800b9a3cc9495c5dabbd0d7a7dee83aee
4
- data.tar.gz: 83883b8338894312e846f2e0ead3498c4db42be6
3
+ metadata.gz: 7361bb86774d1f00f45ea04534ed4592ea6f0ddf
4
+ data.tar.gz: 9a7cc7111d0f546a971e04d7b9f10deffd506b72
5
5
  SHA512:
6
- metadata.gz: d4a3af056017df304504f1fdabbad96a5a64b35db88a4fd2a5e986c5b80e3db51e659152ca600824db652d17e1fd82346a1a9a7a16e658fb7412b7e84d395dec
7
- data.tar.gz: bf14e1e6de3402d513f5ac5f000809440ebcda4ff3fcb7b8a6aa0899c3dd9fa7e5a1da1624eca60deed8ceeea341bd60f114f0902d5abb67a41767803918bb6b
6
+ metadata.gz: a79196d4eb667cd523f63eff4a4c3039fba965beb5e275d3dfa9c7c88b3460adceada935eab7551fe95c6fa191c01bfb2b1005a190cffb0966465ba08ca96b5d
7
+ data.tar.gz: ffc9637814b1b34d9875ff57098073dd7e5575491d81171a892a8a8051316292a969925412ba39909b1d8dbe59b3f2eb6439f4d703dd932185336091bc89b67b
@@ -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",
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.2.21'
2
+ VERSION = '0.2.22'
3
3
  end
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.21
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-14 00:00:00.000000000 Z
11
+ date: 2018-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails