flick 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 5b67e22d9d4cf0912369a645a193c35d9088dd1f
4
- data.tar.gz: abacf0063db69232a9d50397a481d4856b47be87
3
+ metadata.gz: 7b2b36560cd409936aa944173fe838e29f70f814
4
+ data.tar.gz: d5c3d1adf3c9aaa6461b1fb3b86ae35e0b888aa3
5
5
  SHA512:
6
- metadata.gz: f9b2bd03632f095f6acb5b970d094cb460fb3980dd5e941d9c69a41e418f17c1c30da41306eb0d1c0662d247afc4ddad51b51b110dbe6bb8746f54a3d7f0d142
7
- data.tar.gz: 886bf9763d313e7075aa8385a451da296466fc54cbd0fb81fe5328035426fc86060490c06ad1162a26fdf1eb377061ad70335c0a75749dbbd8fe6098b7912e10
6
+ metadata.gz: eb80c5de16bd87b7c0a97c03943606c81da9c04cac37fd5ab23936d832d09205a623a0bece48c2b234dc1faadde3b8bdae41ded94243768424ac40f2f4fadcea
7
+ data.tar.gz: 5c5fc6f6c5017134b8c90ac366c71f56d09c4212072167b2802b299823c1e1378a7e4154e6e7bcbb9f592c86c032e7574d341996d3a808884132aeef6a98c383
data/README.md CHANGED
@@ -21,7 +21,8 @@ Features
21
21
  * Save log output for Android or iOS.
22
22
  * Display device information or save it to a file.
23
23
  * Install or Uninstall applications from devices.
24
- * Capture device vitals (Android Only) for app and system performance.
24
+ * Capture device vitals (Android Only) for app and system performance.
25
+ * If anyone knows of a tool to capture performance for iOS please let me know and I'll add it to Flick.
25
26
  * Checkout the latest release notes [here](https://github.com/isonic1/flick/releases).
26
27
 
27
28
  Reason
@@ -53,6 +54,20 @@ Prerequisites
53
54
  * Install [libimobiledevice](http://www.libimobiledevice.org/).
54
55
  * ```$ brew install libimobiledevice```
55
56
 
57
+ #### Known Issues
58
+ * IOS:
59
+ * Sometimes ideviceinstaller gets out of sync with your OS due to various reasons. When this happens, screenshots and video will not work for iOS.
60
+ * Follow steps in [here](https://github.com/isonic1/flick/issues/10) to uninstall and reinstall dependencies.
61
+ * Make sure xcode and command line tools are up to date.
62
+ * Make sure iOS device is up to date with latest iOS version.
63
+ * Validate your device is paired to your machine. `$ idevicepair -u <udid> validate`
64
+ * Additionally, try to unpair and pair again.
65
+ * `$ idevicepair -u <udid> unpair`
66
+ * `$ idevicepair -u <udid> pair` Accept the Trust popup on the device.
67
+
68
+ * Android:
69
+ * Some devices/emulators are read-only. Flick requires access to internal storage of the device/emulator to write files to. If the device is read-only it cannot do this so it will Abort. There is probably a solution to this but I, unfortunately, don't have a lot of time to figure it out. Pull Requests are highly encouragaged if you find this tool useful!
70
+
56
71
  Installation
57
72
  ------------
58
73
 
@@ -69,11 +84,13 @@ Usage:
69
84
 
70
85
  COMMANDS:
71
86
 
72
- help Display global or [command] help documentation
73
- info Get device information
74
- log Get device log output
75
- screenshot Take a screenshot
76
- video Record video
87
+ help Display global or [command] help documentation
88
+ info Get device information
89
+ log Get device log output
90
+ manager Manage apps on devices
91
+ screenshot Take a screenshot
92
+ video Record video
93
+ vitals Android Only! Get apps and device vitals - App Memory Used, App CPU %. System Stats: (User, System, IQW, IRQ)
77
94
 
78
95
  GLOBAL OPTIONS:
79
96
 
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.0'
5
+ program :version, '0.4.1'
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}').split(":").last.strip
30
+ message = %x(adb -s #{udid} shell 'mkdir #{dir_name}' > /dev/null 2>&1).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/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Flick
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
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.0
4
+ version: 0.4.1
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-01 00:00:00.000000000 Z
11
+ date: 2017-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler