skeleton-ui 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/skeleton +26 -0
- data/lib/skeleton.rb +0 -21
- data/lib/skeleton/version.rb +1 -1
- data/skeleton.gemspec +4 -5
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f45bb16840bad9bd6322c17b0f9b078e1cbdc9a746eb427bae8fd30a75a8a73
|
4
|
+
data.tar.gz: cea9618dbe3a7be8ee85357e5cdb22bc90328ca84589a362e6cdfc2976a3bb17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fd4f41bd54d6bbd450c313e1b5b92d9b673ebc924c3dbccefff2ac195a26e214b8dc1c1572a164ba563ad468aefde02d3a38b435daa2c756c8bb9e0a47cdbab
|
7
|
+
data.tar.gz: a3f51e67dcc3069b2c875564eea693b82357a9d8213f6e3f9404fa5aa29a7fb289916e8f3b1597ddbf107943adafbb190b52ee6d53c2f74e9a9c68ac2f446feb
|
data/bin/skeleton
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'optparse'
|
4
|
+
require_relative '../lib/skeleton'
|
5
|
+
|
6
|
+
module Skeleton
|
7
|
+
options = {}
|
8
|
+
ARGV.options do |opts|
|
9
|
+
opts.on('-u',
|
10
|
+
'--udid=val',
|
11
|
+
'Set device udid',
|
12
|
+
String) { |val| options[:udid] = val }
|
13
|
+
opts.on('-p',
|
14
|
+
'--platform=val',
|
15
|
+
'Set device platform',
|
16
|
+
String) { |val| options[:platform] = val }
|
17
|
+
opts.on('-b',
|
18
|
+
'--bundle=val',
|
19
|
+
'Set bundleId for your app [required for iOS]',
|
20
|
+
String) { |val| options[:bundle_id] = val }
|
21
|
+
opts.parse!
|
22
|
+
end
|
23
|
+
|
24
|
+
skeleton = Skeleton.new(options)
|
25
|
+
skeleton.start
|
26
|
+
end
|
data/lib/skeleton.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'optparse'
|
2
1
|
require 'fileutils'
|
3
2
|
require 'nokogiri'
|
4
3
|
require 'logger'
|
@@ -56,24 +55,4 @@ module Skeleton
|
|
56
55
|
@platform == 'android'
|
57
56
|
end
|
58
57
|
end
|
59
|
-
|
60
|
-
options = {}
|
61
|
-
ARGV.options do |opts|
|
62
|
-
opts.on('-u',
|
63
|
-
'--udid=val',
|
64
|
-
'Set device udid',
|
65
|
-
String) { |val| options[:udid] = val }
|
66
|
-
opts.on('-p',
|
67
|
-
'--platform=val',
|
68
|
-
'Set device platform',
|
69
|
-
String) { |val| options[:platform] = val }
|
70
|
-
opts.on('-b',
|
71
|
-
'--bundle=val',
|
72
|
-
'Set bundleId for your app [required for iOS]',
|
73
|
-
String) { |val| options[:bundle_id] = val }
|
74
|
-
opts.parse!
|
75
|
-
end
|
76
|
-
|
77
|
-
skeleton = Skeleton.new(options)
|
78
|
-
skeleton.start
|
79
58
|
end
|
data/lib/skeleton/version.rb
CHANGED
data/skeleton.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{CLI for fast generating multi language page objects from iOS and Android screens.}
|
13
13
|
spec.homepage = "https://github.com/forqa/skeleton"
|
14
14
|
spec.license = "MIT"
|
15
|
+
spec.executables = ["skeleton"]
|
15
16
|
|
16
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -22,11 +23,9 @@ Gem::Specification.new do |spec|
|
|
22
23
|
"public gem pushes."
|
23
24
|
end
|
24
25
|
|
25
|
-
spec.files = `git ls-files -z`.split("\x0").reject
|
26
|
-
|
27
|
-
|
28
|
-
spec.bindir = "exe"
|
29
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
27
|
+
spec.bindir = "bin"
|
28
|
+
spec.executables = ["skeleton"]
|
30
29
|
spec.require_paths = ["lib"]
|
31
30
|
|
32
31
|
spec.add_development_dependency "bundler", "~> 1.16"
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skeleton-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a.alterpesotskiy
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2018-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -83,7 +83,8 @@ dependencies:
|
|
83
83
|
description:
|
84
84
|
email:
|
85
85
|
- 33gri@bk.ru
|
86
|
-
executables:
|
86
|
+
executables:
|
87
|
+
- skeleton
|
87
88
|
extensions: []
|
88
89
|
extra_rdoc_files: []
|
89
90
|
files:
|
@@ -108,6 +109,7 @@ files:
|
|
108
109
|
- SkeletonUITests/SkeletonUITests.swift
|
109
110
|
- bin/console
|
110
111
|
- bin/setup
|
112
|
+
- bin/skeleton
|
111
113
|
- lib/skeleton.rb
|
112
114
|
- lib/skeleton/android.rb
|
113
115
|
- lib/skeleton/base.rb
|