skeleton-ui 0.0.1 → 0.0.2

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: b0eafc40c32b9e41f9bc72d7ee34a4cccfa079d4f1ce26c2e0b3d71029f1071f
4
- data.tar.gz: 17ccda940c71c289d6d1a7d84e6ce0fa455967f3a55f5c4a3dca0f01d71059ca
3
+ metadata.gz: 3f45bb16840bad9bd6322c17b0f9b078e1cbdc9a746eb427bae8fd30a75a8a73
4
+ data.tar.gz: cea9618dbe3a7be8ee85357e5cdb22bc90328ca84589a362e6cdfc2976a3bb17
5
5
  SHA512:
6
- metadata.gz: 53ba9ca28c4747f6beb058271737122a30badeac37bb29166daea620457218ad3c4064db9c7f3040e82152230cd10c9ffc39346f969470cf00e34da14881a8aa
7
- data.tar.gz: 6ada05132319443502cf72a80d3ee4e6ca9cf2c724fecbc770f1e7e307a88280ed17e7d62db8e45ec6cbc1cfae69eede274a2dbf9aa1e0c7212bc97d96a332e2
6
+ metadata.gz: 7fd4f41bd54d6bbd450c313e1b5b92d9b673ebc924c3dbccefff2ac195a26e214b8dc1c1572a164ba563ad468aefde02d3a38b435daa2c756c8bb9e0a47cdbab
7
+ data.tar.gz: a3f51e67dcc3069b2c875564eea693b82357a9d8213f6e3f9404fa5aa29a7fb289916e8f3b1597ddbf107943adafbb190b52ee6d53c2f74e9a9c68ac2f446feb
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Skeleton
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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 do |f|
26
- f.match(%r{^(test|spec|features)/})
27
- end
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - a.alterpesotskiy
8
8
  autorequire:
9
- bindir: exe
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