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 +4 -4
- data/bin/flick +1 -1
- data/lib/flick/android.rb +1 -1
- data/lib/flick/ios.rb +2 -2
- data/lib/flick/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: a65d935c10fb1863b48486df7082abad698e6241
|
4
|
+
data.tar.gz: 45c1f5504bae007eda26fc50175e3ef3734ca5a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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|
|
data/lib/flick/android.rb
CHANGED
@@ -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}'
|
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
|
data/lib/flick/ios.rb
CHANGED
@@ -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}
|
28
|
-
puts "\nUDID: #{udid} - Is not paired with your machine
|
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
|
data/lib/flick/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|