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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe0e2f42ad44e27121b0b88151cddd2ffadeee66a1beb711662d8f3f732861f5
4
- data.tar.gz: 022f1b9fb7d6a52f7e3684a1b8bae569607b7c6c2582bd7004a511fc3f824d54
3
+ metadata.gz: 443f258481163209fe410525db0df482e41d245d2cd448b2804e984e3d482dc9
4
+ data.tar.gz: 0dd4da705df506ecc7e2cd7aa79a23b6c04ef6a4ab46ed4e0b8b299c71ff5d04
5
5
  SHA512:
6
- metadata.gz: ea9858213d8a53fa79bfed6416fa1d7207f42a465bb5a8d6d37430128b30639feade4b8caf5bb588a1cbff0ed3aa952fe3e51bab8e47d774ec103f52a883b95a
7
- data.tar.gz: 9e917a4544d9b5b0e31abb41e91ad3951e23760dfd35aee55c52f0317e890a0f48942afcd8109ad9c1c07cdb8582e860f906b0f03b44c5a0ee0238d71338e71c
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
- - Install [imagemagick](http://brewformulas.org/Imagemagick).
9
+ $ brew install imagemagick
10
10
 
11
11
  #### Android
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).
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
- - Install [Xcode](https://developer.apple.com/xcode/download/).
18
- - Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html).
19
- - Install [ideviceinstaller](http://brewformulas.org/Ideviceinstaller).
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
  ![Skeleton example](docs/skeleton_example.png)
43
-
45
+
44
46
  Docs:
45
47
  ------
46
48
 
@@ -184,8 +184,9 @@ class IOS < Base
184
184
 
185
185
  def save_screenshot
186
186
  Log.info('Saving screenshot 📷')
187
- png_path = "#{XCRESULTS_FOLDER}/Attachments/*.png"
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)
@@ -1,4 +1,4 @@
1
1
  module Skeleton
2
- VERSION ||= '0.1.18'.freeze
2
+ VERSION ||= '0.1.19'.freeze
3
3
  GEM_NAME ||= 'skeleton-ui'.freeze
4
4
  end
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.18
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: 2018-08-22 00:00:00.000000000 Z
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
- rubyforge_project:
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)