flick 0.4.1 → 0.4.2

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: 7b2b36560cd409936aa944173fe838e29f70f814
4
- data.tar.gz: d5c3d1adf3c9aaa6461b1fb3b86ae35e0b888aa3
3
+ metadata.gz: a65d935c10fb1863b48486df7082abad698e6241
4
+ data.tar.gz: 45c1f5504bae007eda26fc50175e3ef3734ca5a5
5
5
  SHA512:
6
- metadata.gz: eb80c5de16bd87b7c0a97c03943606c81da9c04cac37fd5ab23936d832d09205a623a0bece48c2b234dc1faadde3b8bdae41ded94243768424ac40f2f4fadcea
7
- data.tar.gz: 5c5fc6f6c5017134b8c90ac366c71f56d09c4212072167b2802b299823c1e1378a7e4154e6e7bcbb9f592c86c032e7574d341996d3a808884132aeef6a98c383
6
+ metadata.gz: 77f906c2b28c136e6507ed4db80e81aa22ba024c32b47dfd244622fe4b1fd7d00a5d6bbbbad496415fd24c6f654d0bf7a4db0a9a999a01367eb96d10f8c89003
7
+ data.tar.gz: 6b7a8bdf8f0cd8495fca0a56349128a68ce98a83d848ae136620324ec526e0398de4bb3e956b4d74ee66ef009d4dba98057e8b1ffeda56395543d6fb6f457afb
data/bin/flick CHANGED
@@ -2,7 +2,7 @@
2
2
  require_relative '../lib/flick'
3
3
  require 'commander/import'
4
4
 
5
- program :version, '0.4.1'
5
+ program :version, '0.4.2'
6
6
  program :description, 'A CLI to capture screenshots, video, logs, and device info for Android (Devices & Emulators) and iOS (Devices).'
7
7
 
8
8
  command :video do |c|
@@ -27,7 +27,7 @@ module Flick
27
27
  def create_flick_dirs
28
28
  Flick::System.setup_system_dir "#{Dir.home}/.flick"
29
29
  Flick::System.setup_system_dir flick_dir
30
- message = %x(adb -s #{udid} shell 'mkdir #{dir_name}' > /dev/null 2>&1).split(":").last.strip rescue nil
30
+ message = %x(adb -s #{udid} shell 'mkdir #{dir_name}').split(":").last.strip rescue nil
31
31
  if message == "Read-only file system"
32
32
  puts "\nDevice: '#{udid}' is a 'Read-only file system'! Flick cannot write to the sdcard folder. Aborting...\n".red
33
33
  abort
@@ -24,8 +24,8 @@ module Flick
24
24
 
25
25
  def is_paired?
26
26
  Flick::Checker.system_dependency "idevicepair"
27
- unless %x(idevicepair -u #{udid} validate).split[0] == "SUCCESS:"
28
- puts "\nUDID: #{udid} - Is not paired with your machine!".red
27
+ unless %x(idevicepair -u #{udid} pair).split[0] == "SUCCESS:"
28
+ puts "\nUDID: #{udid} - Is not paired with your machine!\nOr make sure the device is not locked!\n".red
29
29
  puts "Run: idevicepair -u <udid> pair\nIf not working still, see: https://github.com/isonic1/flick/issues/10".red
30
30
  abort
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Flick
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-07 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler