skeleton-ui 0.1.18 → 0.1.19
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 +4 -4
- data/README.md +12 -10
- data/lib/skeleton/ios.rb +2 -1
- data/lib/skeleton/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 443f258481163209fe410525db0df482e41d245d2cd448b2804e984e3d482dc9
|
4
|
+
data.tar.gz: 0dd4da705df506ecc7e2cd7aa79a23b6c04ef6a4ab46ed4e0b8b299c71ff5d04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eec08807c6123de9b7dd102c19e178c80e29e69b5535604220c649444e105985d271ce5e96a30b282b12b861a7f22fcd822ae6e15f56652608daa1aa893388c
|
7
|
+
data.tar.gz: f69d791dee2edeb4b18b4e338e6340634e1b70677e565eae2e68bbf93318ba6a8b13d9b6df8fd222e4dcf2bb756bb26e9963ceb8199cbac996cb4c90559b0c8f
|
data/README.md
CHANGED
@@ -6,17 +6,18 @@ Prerequisites:
|
|
6
6
|
--------
|
7
7
|
|
8
8
|
#### Global
|
9
|
-
|
9
|
+
$ brew install imagemagick
|
10
10
|
|
11
11
|
#### Android
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
# Install [SDK Tools](http://developer.android.com/sdk/installing/index.html?pkg=tools).
|
13
|
+
# SDK tools are added to your $PATH ([OSX](https://stackoverflow.com/posts/19764254/revisions)).
|
14
|
+
# Enable [USB Debugging](https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm) on your device(s).
|
15
15
|
|
16
16
|
#### iOS
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
# Install [Xcode](https://developer.apple.com/xcode/download/)
|
18
|
+
# Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html)
|
19
|
+
$ brew install ideviceinstaller
|
20
|
+
$ brew install chargepoint/xcparse/xcparse
|
20
21
|
|
21
22
|
Installation:
|
22
23
|
------
|
@@ -29,18 +30,19 @@ Usage:
|
|
29
30
|
2. Open device screen
|
30
31
|
3. Scan device screen via skeleton:
|
31
32
|
$ skeleton scan -p android
|
33
|
+
or
|
32
34
|
$ skeleton scan -p ios -b "your_app_bundle_id"
|
33
35
|
4. Open page with the generated screen objects on your favorite language
|
34
|
-
|
36
|
+
|
35
37
|
For more info use:
|
36
38
|
$ skeleton -h
|
37
39
|
$ skeleton scan -h
|
38
|
-
|
40
|
+
|
39
41
|
Demo:
|
40
42
|
------
|
41
43
|
|
42
44
|

|
43
|
-
|
45
|
+
|
44
46
|
Docs:
|
45
47
|
------
|
46
48
|
|
data/lib/skeleton/ios.rb
CHANGED
@@ -184,8 +184,9 @@ class IOS < Base
|
|
184
184
|
|
185
185
|
def save_screenshot
|
186
186
|
Log.info('Saving screenshot 📷')
|
187
|
-
png_path = "#{
|
187
|
+
png_path = "#{ATTACHMENTS_FOLDER}/*.png"
|
188
188
|
new_path = "#{ATTACHMENTS_FOLDER}/ios_#{TIMESTAMP}.png"
|
189
|
+
`xcparse screenshots #{XCRESULTS_FOLDER} #{ATTACHMENTS_FOLDER}`
|
189
190
|
screenshots = Dir[png_path].collect { |png| File.expand_path(png) }
|
190
191
|
FileUtils.cp(screenshots[0], new_path)
|
191
192
|
FileUtils.rm_rf(XCRESULTS_FOLDER)
|
data/lib/skeleton/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skeleton-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a.alterpesotskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -206,8 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: '0'
|
208
208
|
requirements: []
|
209
|
-
|
210
|
-
rubygems_version: 2.7.3
|
209
|
+
rubygems_version: 3.0.4
|
211
210
|
signing_key:
|
212
211
|
specification_version: 4
|
213
212
|
summary: Tool for fast generating multi language page objects from iOS (device/simulator)
|