skeleton-ui 0.0.5 → 0.0.7

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: f0a9cf54a7dcee9b00099825869ed76e3787cb0b210d5c522f2f4d9662f381ab
4
- data.tar.gz: 133005542f3c1021403b2c2e3da000086f4df5c4f088352c5e55153014ae6ae7
3
+ metadata.gz: '0278e2d355340b6e60859e92e2a1666e597dc11f139ba14cc97f5317f88de517'
4
+ data.tar.gz: 667e676ccde1e03950fdf9b228922cd8f49b4578cead51bbb9e7083151764247
5
5
  SHA512:
6
- metadata.gz: 32424add5863b1a75b76398ca19cda206a27d0521d5104fa5d746dba0a781b271e8ed4feacfaebb78980a784854d53ae251b326dca24abaaf55eed9983271319
7
- data.tar.gz: fdab55fd50ada4473530b87395955cdf73cf5588ba769d53283b24184d807c18e9ff057d015a9e899df7e8c74ea8336d68334de077a478aa6c62b5d4cb4d8e66
6
+ metadata.gz: 80af7713a1371a56662abb6402e94f66cafdcf981c888f436c8991a45385b29bc604f0eed2e8812584e552c2fe2ee2ea01d09a4aa8eb117517e0d7a957617a2d
7
+ data.tar.gz: 8b73cb5afb765292b01beb1451a5d927b7d807f347c7e4afd7731bd3be6b2bdff265b2346e998798952de277a8d9b13ef22cf2a0edd1c2fb5357f90c0d7799b6
data/.gitignore CHANGED
@@ -1,6 +1,4 @@
1
1
  .DS_Store
2
- *.xcodeproj
3
- *.xcworkspace
4
2
  /PageObjects/
5
3
  /attach/
6
4
  /Attachments/
data/README.md CHANGED
@@ -21,7 +21,7 @@ Installation:
21
21
 
22
22
  Usage:
23
23
  ------
24
- $ skeleton -h
24
+ $ skeleton scan -h
25
25
 
26
26
  ## License
27
27
 
data/bin/skeleton CHANGED
@@ -1,26 +1,31 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'optparse'
3
+ require 'commander/import'
4
4
  require_relative '../lib/skeleton'
5
5
 
6
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!
7
+ program :version, VERSION
8
+ program :description, 'CLI for fast generating multi language page objects from iOS and Android screens.'
9
+
10
+ command :scan do |c|
11
+ c.syntax = 'skeleton scan [options]'
12
+ c.description = 'Make screen objects'
13
+ c.example 'description', 'skeleton scan -p ios -u 749575366595763538563 -b com.my.bundle'
14
+ c.option '-p', '--platform PLATFORM', String, 'Set device platform: android or ios'
15
+ c.option '-u', '--udid UDID', String, 'Set device UDID'
16
+ c.option '-b', '--bundle BUNDLE', String, 'Set Bundle ID for your app [required for iOS]'
17
+ c.action do |args, options|
18
+ Skeleton.new(options).run
19
+ end
22
20
  end
23
21
 
24
- skeleton = Skeleton.new(options)
25
- skeleton.start
22
+ command :clear do |c|
23
+ c.syntax = 'skeleton clear'
24
+ c.description = 'Clear user cache'
25
+ c.example 'description', 'skeleton clear'
26
+ c.action do |args, options|
27
+ FileUtils.rm_rf(Base::PAGE_OBJECTS_FOLDER)
28
+ FileUtils.rm_rf(Base::ATTACHMENTS_FOLDER)
29
+ end
30
+ end
26
31
  end
data/lib/skeleton.rb CHANGED
@@ -13,9 +13,9 @@ module Skeleton
13
13
  attr_accessor :platform, :udid, :bundle_id
14
14
 
15
15
  def initialize(options)
16
- self.platform = options[:platform]
17
- self.udid = options[:udid]
18
- self.bundle_id = options[:bundle_id]
16
+ self.platform = options.platform
17
+ self.udid = options.udid
18
+ self.bundle_id = options.bundle
19
19
  @driver = ios? ? IOS.new(options) : Android.new(options)
20
20
  end
21
21
 
@@ -41,7 +41,7 @@ module Skeleton
41
41
  @bundle_id = bundle_id
42
42
  end
43
43
 
44
- def start
44
+ def run
45
45
  @driver.precondition
46
46
  @driver.skeletoner
47
47
  @driver.log.info("#{Base::PAGE_OBJECTS_FOLDER}/. 😍")
@@ -6,11 +6,11 @@ class Android < Base
6
6
  XPATH = { java: :xpath }
7
7
  CLASS = 'class'
8
8
 
9
- attr_accessor :platform, :udid, :bundle_id, :ios_sim
9
+ attr_accessor :platform, :udid
10
10
 
11
11
  def initialize(options)
12
- self.platform = options[:platform]
13
- self.udid = options[:udid]
12
+ self.platform = options.platform
13
+ self.udid = options.udid
14
14
  end
15
15
 
16
16
  def skeletoner
data/lib/skeleton/ios.rb CHANGED
@@ -15,9 +15,9 @@ class IOS < Base
15
15
  attr_accessor :platform, :udid, :bundle_id
16
16
 
17
17
  def initialize(options)
18
- self.platform = options[:platform]
19
- self.udid = options[:udid]
20
- self.bundle_id = options[:bundle_id]
18
+ self.platform = options.platform
19
+ self.udid = options.udid
20
+ self.bundle_id = options.bundle
21
21
  end
22
22
 
23
23
  def skeletoner
@@ -1,4 +1,4 @@
1
1
  module Skeleton
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.7'
3
3
  GEM_NAME = 'skeleton-ui'
4
4
  end
data/skeleton.gemspec CHANGED
@@ -26,7 +26,8 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "bundler", "~> 1.16"
28
28
  spec.add_development_dependency "rake", "~> 12.3.0"
29
- spec.add_development_dependency "colorize", "~> 0.8.1"
30
- spec.add_development_dependency "nokogiri", "~> 1.8.2"
31
- spec.add_development_dependency "fileutils", "~> 1.0.2"
29
+ spec.add_dependency "colorize", "~> 0.8.1"
30
+ spec.add_dependency "nokogiri", "~> 1.8.2"
31
+ spec.add_dependency "fileutils"
32
+ spec.add_dependency "commander"
32
33
  end
@@ -0,0 +1,449 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 48;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 6372216A205698DB00CFDFCE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63722169205698DB00CFDFCE /* AppDelegate.swift */; };
11
+ 6372216C205698DB00CFDFCE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6372216B205698DB00CFDFCE /* ViewController.swift */; };
12
+ 6372216F205698DB00CFDFCE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6372216D205698DB00CFDFCE /* Main.storyboard */; };
13
+ 63722171205698DB00CFDFCE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63722170205698DB00CFDFCE /* Assets.xcassets */; };
14
+ 63722174205698DB00CFDFCE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63722172205698DB00CFDFCE /* LaunchScreen.storyboard */; };
15
+ 6372217F205698DB00CFDFCE /* SkeletonUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6372217E205698DB00CFDFCE /* SkeletonUITests.swift */; };
16
+ /* End PBXBuildFile section */
17
+
18
+ /* Begin PBXContainerItemProxy section */
19
+ 6372217B205698DB00CFDFCE /* PBXContainerItemProxy */ = {
20
+ isa = PBXContainerItemProxy;
21
+ containerPortal = 6372215E205698DB00CFDFCE /* Project object */;
22
+ proxyType = 1;
23
+ remoteGlobalIDString = 63722165205698DB00CFDFCE;
24
+ remoteInfo = Skeleton;
25
+ };
26
+ /* End PBXContainerItemProxy section */
27
+
28
+ /* Begin PBXFileReference section */
29
+ 63722166205698DB00CFDFCE /* Skeleton.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Skeleton.app; sourceTree = BUILT_PRODUCTS_DIR; };
30
+ 63722169205698DB00CFDFCE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
31
+ 6372216B205698DB00CFDFCE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
32
+ 6372216E205698DB00CFDFCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
33
+ 63722170205698DB00CFDFCE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
34
+ 63722173205698DB00CFDFCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
35
+ 63722175205698DB00CFDFCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
36
+ 6372217A205698DB00CFDFCE /* SkeletonUI.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SkeletonUI.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
37
+ 6372217E205698DB00CFDFCE /* SkeletonUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SkeletonUITests.swift; sourceTree = "<group>"; };
38
+ 63722180205698DB00CFDFCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
39
+ /* End PBXFileReference section */
40
+
41
+ /* Begin PBXFrameworksBuildPhase section */
42
+ 63722163205698DB00CFDFCE /* Frameworks */ = {
43
+ isa = PBXFrameworksBuildPhase;
44
+ buildActionMask = 2147483647;
45
+ files = (
46
+ );
47
+ runOnlyForDeploymentPostprocessing = 0;
48
+ };
49
+ 63722177205698DB00CFDFCE /* Frameworks */ = {
50
+ isa = PBXFrameworksBuildPhase;
51
+ buildActionMask = 2147483647;
52
+ files = (
53
+ );
54
+ runOnlyForDeploymentPostprocessing = 0;
55
+ };
56
+ /* End PBXFrameworksBuildPhase section */
57
+
58
+ /* Begin PBXGroup section */
59
+ 6372215D205698DB00CFDFCE = {
60
+ isa = PBXGroup;
61
+ children = (
62
+ 63722168205698DB00CFDFCE /* Skeleton */,
63
+ 6372217D205698DB00CFDFCE /* SkeletonUITests */,
64
+ 63722167205698DB00CFDFCE /* Products */,
65
+ );
66
+ sourceTree = "<group>";
67
+ };
68
+ 63722167205698DB00CFDFCE /* Products */ = {
69
+ isa = PBXGroup;
70
+ children = (
71
+ 63722166205698DB00CFDFCE /* Skeleton.app */,
72
+ 6372217A205698DB00CFDFCE /* SkeletonUI.xctest */,
73
+ );
74
+ name = Products;
75
+ sourceTree = "<group>";
76
+ };
77
+ 63722168205698DB00CFDFCE /* Skeleton */ = {
78
+ isa = PBXGroup;
79
+ children = (
80
+ 63722169205698DB00CFDFCE /* AppDelegate.swift */,
81
+ 6372216B205698DB00CFDFCE /* ViewController.swift */,
82
+ 6372216D205698DB00CFDFCE /* Main.storyboard */,
83
+ 63722170205698DB00CFDFCE /* Assets.xcassets */,
84
+ 63722172205698DB00CFDFCE /* LaunchScreen.storyboard */,
85
+ 63722175205698DB00CFDFCE /* Info.plist */,
86
+ );
87
+ path = Skeleton;
88
+ sourceTree = "<group>";
89
+ };
90
+ 6372217D205698DB00CFDFCE /* SkeletonUITests */ = {
91
+ isa = PBXGroup;
92
+ children = (
93
+ 6372217E205698DB00CFDFCE /* SkeletonUITests.swift */,
94
+ 63722180205698DB00CFDFCE /* Info.plist */,
95
+ );
96
+ path = SkeletonUITests;
97
+ sourceTree = "<group>";
98
+ };
99
+ /* End PBXGroup section */
100
+
101
+ /* Begin PBXNativeTarget section */
102
+ 63722165205698DB00CFDFCE /* Skeleton */ = {
103
+ isa = PBXNativeTarget;
104
+ buildConfigurationList = 63722183205698DB00CFDFCE /* Build configuration list for PBXNativeTarget "Skeleton" */;
105
+ buildPhases = (
106
+ 63722162205698DB00CFDFCE /* Sources */,
107
+ 63722163205698DB00CFDFCE /* Frameworks */,
108
+ 63722164205698DB00CFDFCE /* Resources */,
109
+ );
110
+ buildRules = (
111
+ );
112
+ dependencies = (
113
+ );
114
+ name = Skeleton;
115
+ productName = Skeleton;
116
+ productReference = 63722166205698DB00CFDFCE /* Skeleton.app */;
117
+ productType = "com.apple.product-type.application";
118
+ };
119
+ 63722179205698DB00CFDFCE /* SkeletonUI */ = {
120
+ isa = PBXNativeTarget;
121
+ buildConfigurationList = 63722186205698DB00CFDFCE /* Build configuration list for PBXNativeTarget "SkeletonUI" */;
122
+ buildPhases = (
123
+ 63722176205698DB00CFDFCE /* Sources */,
124
+ 63722177205698DB00CFDFCE /* Frameworks */,
125
+ 63722178205698DB00CFDFCE /* Resources */,
126
+ );
127
+ buildRules = (
128
+ );
129
+ dependencies = (
130
+ 6372217C205698DB00CFDFCE /* PBXTargetDependency */,
131
+ );
132
+ name = SkeletonUI;
133
+ productName = SkeletonUITests;
134
+ productReference = 6372217A205698DB00CFDFCE /* SkeletonUI.xctest */;
135
+ productType = "com.apple.product-type.bundle.ui-testing";
136
+ };
137
+ /* End PBXNativeTarget section */
138
+
139
+ /* Begin PBXProject section */
140
+ 6372215E205698DB00CFDFCE /* Project object */ = {
141
+ isa = PBXProject;
142
+ attributes = {
143
+ LastSwiftUpdateCheck = 0920;
144
+ LastUpgradeCheck = 0920;
145
+ ORGANIZATIONNAME = forqa;
146
+ TargetAttributes = {
147
+ 63722165205698DB00CFDFCE = {
148
+ CreatedOnToolsVersion = 9.2;
149
+ ProvisioningStyle = Automatic;
150
+ };
151
+ 63722179205698DB00CFDFCE = {
152
+ CreatedOnToolsVersion = 9.2;
153
+ ProvisioningStyle = Automatic;
154
+ TestTargetID = 63722165205698DB00CFDFCE;
155
+ };
156
+ };
157
+ };
158
+ buildConfigurationList = 63722161205698DB00CFDFCE /* Build configuration list for PBXProject "Skeleton" */;
159
+ compatibilityVersion = "Xcode 8.0";
160
+ developmentRegion = en;
161
+ hasScannedForEncodings = 0;
162
+ knownRegions = (
163
+ en,
164
+ Base,
165
+ );
166
+ mainGroup = 6372215D205698DB00CFDFCE;
167
+ productRefGroup = 63722167205698DB00CFDFCE /* Products */;
168
+ projectDirPath = "";
169
+ projectRoot = "";
170
+ targets = (
171
+ 63722165205698DB00CFDFCE /* Skeleton */,
172
+ 63722179205698DB00CFDFCE /* SkeletonUI */,
173
+ );
174
+ };
175
+ /* End PBXProject section */
176
+
177
+ /* Begin PBXResourcesBuildPhase section */
178
+ 63722164205698DB00CFDFCE /* Resources */ = {
179
+ isa = PBXResourcesBuildPhase;
180
+ buildActionMask = 2147483647;
181
+ files = (
182
+ 63722174205698DB00CFDFCE /* LaunchScreen.storyboard in Resources */,
183
+ 63722171205698DB00CFDFCE /* Assets.xcassets in Resources */,
184
+ 6372216F205698DB00CFDFCE /* Main.storyboard in Resources */,
185
+ );
186
+ runOnlyForDeploymentPostprocessing = 0;
187
+ };
188
+ 63722178205698DB00CFDFCE /* Resources */ = {
189
+ isa = PBXResourcesBuildPhase;
190
+ buildActionMask = 2147483647;
191
+ files = (
192
+ );
193
+ runOnlyForDeploymentPostprocessing = 0;
194
+ };
195
+ /* End PBXResourcesBuildPhase section */
196
+
197
+ /* Begin PBXSourcesBuildPhase section */
198
+ 63722162205698DB00CFDFCE /* Sources */ = {
199
+ isa = PBXSourcesBuildPhase;
200
+ buildActionMask = 2147483647;
201
+ files = (
202
+ 6372216C205698DB00CFDFCE /* ViewController.swift in Sources */,
203
+ 6372216A205698DB00CFDFCE /* AppDelegate.swift in Sources */,
204
+ );
205
+ runOnlyForDeploymentPostprocessing = 0;
206
+ };
207
+ 63722176205698DB00CFDFCE /* Sources */ = {
208
+ isa = PBXSourcesBuildPhase;
209
+ buildActionMask = 2147483647;
210
+ files = (
211
+ 6372217F205698DB00CFDFCE /* SkeletonUITests.swift in Sources */,
212
+ );
213
+ runOnlyForDeploymentPostprocessing = 0;
214
+ };
215
+ /* End PBXSourcesBuildPhase section */
216
+
217
+ /* Begin PBXTargetDependency section */
218
+ 6372217C205698DB00CFDFCE /* PBXTargetDependency */ = {
219
+ isa = PBXTargetDependency;
220
+ target = 63722165205698DB00CFDFCE /* Skeleton */;
221
+ targetProxy = 6372217B205698DB00CFDFCE /* PBXContainerItemProxy */;
222
+ };
223
+ /* End PBXTargetDependency section */
224
+
225
+ /* Begin PBXVariantGroup section */
226
+ 6372216D205698DB00CFDFCE /* Main.storyboard */ = {
227
+ isa = PBXVariantGroup;
228
+ children = (
229
+ 6372216E205698DB00CFDFCE /* Base */,
230
+ );
231
+ name = Main.storyboard;
232
+ sourceTree = "<group>";
233
+ };
234
+ 63722172205698DB00CFDFCE /* LaunchScreen.storyboard */ = {
235
+ isa = PBXVariantGroup;
236
+ children = (
237
+ 63722173205698DB00CFDFCE /* Base */,
238
+ );
239
+ name = LaunchScreen.storyboard;
240
+ sourceTree = "<group>";
241
+ };
242
+ /* End PBXVariantGroup section */
243
+
244
+ /* Begin XCBuildConfiguration section */
245
+ 63722181205698DB00CFDFCE /* Debug */ = {
246
+ isa = XCBuildConfiguration;
247
+ buildSettings = {
248
+ ALWAYS_SEARCH_USER_PATHS = NO;
249
+ CLANG_ANALYZER_NONNULL = YES;
250
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
251
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
252
+ CLANG_CXX_LIBRARY = "libc++";
253
+ CLANG_ENABLE_MODULES = YES;
254
+ CLANG_ENABLE_OBJC_ARC = YES;
255
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
256
+ CLANG_WARN_BOOL_CONVERSION = YES;
257
+ CLANG_WARN_COMMA = YES;
258
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
259
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
260
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
261
+ CLANG_WARN_EMPTY_BODY = YES;
262
+ CLANG_WARN_ENUM_CONVERSION = YES;
263
+ CLANG_WARN_INFINITE_RECURSION = YES;
264
+ CLANG_WARN_INT_CONVERSION = YES;
265
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
266
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
267
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
268
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
269
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
270
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
271
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
272
+ CLANG_WARN_UNREACHABLE_CODE = YES;
273
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
274
+ CODE_SIGN_IDENTITY = "iPhone Developer";
275
+ COPY_PHASE_STRIP = NO;
276
+ DEBUG_INFORMATION_FORMAT = dwarf;
277
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
278
+ ENABLE_TESTABILITY = YES;
279
+ GCC_C_LANGUAGE_STANDARD = gnu11;
280
+ GCC_DYNAMIC_NO_PIC = NO;
281
+ GCC_NO_COMMON_BLOCKS = YES;
282
+ GCC_OPTIMIZATION_LEVEL = 0;
283
+ GCC_PREPROCESSOR_DEFINITIONS = (
284
+ "DEBUG=1",
285
+ "$(inherited)",
286
+ );
287
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
288
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
289
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
290
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
291
+ GCC_WARN_UNUSED_FUNCTION = YES;
292
+ GCC_WARN_UNUSED_VARIABLE = YES;
293
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
294
+ MTL_ENABLE_DEBUG_INFO = YES;
295
+ ONLY_ACTIVE_ARCH = YES;
296
+ SDKROOT = iphoneos;
297
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
298
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
299
+ };
300
+ name = Debug;
301
+ };
302
+ 63722182205698DB00CFDFCE /* Release */ = {
303
+ isa = XCBuildConfiguration;
304
+ buildSettings = {
305
+ ALWAYS_SEARCH_USER_PATHS = NO;
306
+ CLANG_ANALYZER_NONNULL = YES;
307
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
308
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
309
+ CLANG_CXX_LIBRARY = "libc++";
310
+ CLANG_ENABLE_MODULES = YES;
311
+ CLANG_ENABLE_OBJC_ARC = YES;
312
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
313
+ CLANG_WARN_BOOL_CONVERSION = YES;
314
+ CLANG_WARN_COMMA = YES;
315
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
316
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
317
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
318
+ CLANG_WARN_EMPTY_BODY = YES;
319
+ CLANG_WARN_ENUM_CONVERSION = YES;
320
+ CLANG_WARN_INFINITE_RECURSION = YES;
321
+ CLANG_WARN_INT_CONVERSION = YES;
322
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
323
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
324
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
325
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
326
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
327
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
328
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
329
+ CLANG_WARN_UNREACHABLE_CODE = YES;
330
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
331
+ CODE_SIGN_IDENTITY = "iPhone Developer";
332
+ COPY_PHASE_STRIP = NO;
333
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
334
+ ENABLE_NS_ASSERTIONS = NO;
335
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
336
+ GCC_C_LANGUAGE_STANDARD = gnu11;
337
+ GCC_NO_COMMON_BLOCKS = YES;
338
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
339
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
340
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
341
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
342
+ GCC_WARN_UNUSED_FUNCTION = YES;
343
+ GCC_WARN_UNUSED_VARIABLE = YES;
344
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
345
+ MTL_ENABLE_DEBUG_INFO = NO;
346
+ SDKROOT = iphoneos;
347
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
348
+ VALIDATE_PRODUCT = YES;
349
+ };
350
+ name = Release;
351
+ };
352
+ 63722184205698DB00CFDFCE /* Debug */ = {
353
+ isa = XCBuildConfiguration;
354
+ buildSettings = {
355
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
356
+ CODE_SIGN_STYLE = Automatic;
357
+ DEVELOPMENT_TEAM = "";
358
+ INFOPLIST_FILE = Skeleton/Info.plist;
359
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
360
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
361
+ PRODUCT_BUNDLE_IDENTIFIER = ru.forqa.Skeleton;
362
+ PRODUCT_NAME = "$(TARGET_NAME)";
363
+ SWIFT_VERSION = 4.0;
364
+ TARGETED_DEVICE_FAMILY = "1,2";
365
+ };
366
+ name = Debug;
367
+ };
368
+ 63722185205698DB00CFDFCE /* Release */ = {
369
+ isa = XCBuildConfiguration;
370
+ buildSettings = {
371
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
372
+ CODE_SIGN_STYLE = Automatic;
373
+ DEVELOPMENT_TEAM = "";
374
+ INFOPLIST_FILE = Skeleton/Info.plist;
375
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
376
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
377
+ PRODUCT_BUNDLE_IDENTIFIER = ru.forqa.Skeleton;
378
+ PRODUCT_NAME = "$(TARGET_NAME)";
379
+ SWIFT_VERSION = 4.0;
380
+ TARGETED_DEVICE_FAMILY = "1,2";
381
+ };
382
+ name = Release;
383
+ };
384
+ 63722187205698DB00CFDFCE /* Debug */ = {
385
+ isa = XCBuildConfiguration;
386
+ buildSettings = {
387
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
388
+ CODE_SIGN_STYLE = Automatic;
389
+ DEVELOPMENT_TEAM = "";
390
+ INFOPLIST_FILE = SkeletonUITests/Info.plist;
391
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
392
+ PRODUCT_BUNDLE_IDENTIFIER = ru.forqa.SkeletonUITests;
393
+ PRODUCT_NAME = "$(TARGET_NAME)";
394
+ SWIFT_VERSION = 4.0;
395
+ TARGETED_DEVICE_FAMILY = "1,2";
396
+ TEST_TARGET_NAME = Skeleton;
397
+ };
398
+ name = Debug;
399
+ };
400
+ 63722188205698DB00CFDFCE /* Release */ = {
401
+ isa = XCBuildConfiguration;
402
+ buildSettings = {
403
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
404
+ CODE_SIGN_STYLE = Automatic;
405
+ DEVELOPMENT_TEAM = "";
406
+ INFOPLIST_FILE = SkeletonUITests/Info.plist;
407
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
408
+ PRODUCT_BUNDLE_IDENTIFIER = ru.forqa.SkeletonUITests;
409
+ PRODUCT_NAME = "$(TARGET_NAME)";
410
+ SWIFT_VERSION = 4.0;
411
+ TARGETED_DEVICE_FAMILY = "1,2";
412
+ TEST_TARGET_NAME = Skeleton;
413
+ };
414
+ name = Release;
415
+ };
416
+ /* End XCBuildConfiguration section */
417
+
418
+ /* Begin XCConfigurationList section */
419
+ 63722161205698DB00CFDFCE /* Build configuration list for PBXProject "Skeleton" */ = {
420
+ isa = XCConfigurationList;
421
+ buildConfigurations = (
422
+ 63722181205698DB00CFDFCE /* Debug */,
423
+ 63722182205698DB00CFDFCE /* Release */,
424
+ );
425
+ defaultConfigurationIsVisible = 0;
426
+ defaultConfigurationName = Release;
427
+ };
428
+ 63722183205698DB00CFDFCE /* Build configuration list for PBXNativeTarget "Skeleton" */ = {
429
+ isa = XCConfigurationList;
430
+ buildConfigurations = (
431
+ 63722184205698DB00CFDFCE /* Debug */,
432
+ 63722185205698DB00CFDFCE /* Release */,
433
+ );
434
+ defaultConfigurationIsVisible = 0;
435
+ defaultConfigurationName = Release;
436
+ };
437
+ 63722186205698DB00CFDFCE /* Build configuration list for PBXNativeTarget "SkeletonUI" */ = {
438
+ isa = XCConfigurationList;
439
+ buildConfigurations = (
440
+ 63722187205698DB00CFDFCE /* Debug */,
441
+ 63722188205698DB00CFDFCE /* Release */,
442
+ );
443
+ defaultConfigurationIsVisible = 0;
444
+ defaultConfigurationName = Release;
445
+ };
446
+ /* End XCConfigurationList section */
447
+ };
448
+ rootObject = 6372215E205698DB00CFDFCE /* Project object */;
449
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:Skeleton.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,110 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "0920"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "63722165205698DB00CFDFCE"
18
+ BuildableName = "Skeleton.app"
19
+ BlueprintName = "Skeleton"
20
+ ReferencedContainer = "container:Skeleton.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ language = ""
30
+ shouldUseLaunchSchemeArgsEnv = "YES">
31
+ <Testables>
32
+ <TestableReference
33
+ skipped = "NO">
34
+ <BuildableReference
35
+ BuildableIdentifier = "primary"
36
+ BlueprintIdentifier = "63722179205698DB00CFDFCE"
37
+ BuildableName = "SkeletonUI.xctest"
38
+ BlueprintName = "SkeletonUI"
39
+ ReferencedContainer = "container:Skeleton.xcodeproj">
40
+ </BuildableReference>
41
+ </TestableReference>
42
+ </Testables>
43
+ <MacroExpansion>
44
+ <BuildableReference
45
+ BuildableIdentifier = "primary"
46
+ BlueprintIdentifier = "63722165205698DB00CFDFCE"
47
+ BuildableName = "Skeleton.app"
48
+ BlueprintName = "Skeleton"
49
+ ReferencedContainer = "container:Skeleton.xcodeproj">
50
+ </BuildableReference>
51
+ </MacroExpansion>
52
+ <AdditionalOptions>
53
+ </AdditionalOptions>
54
+ </TestAction>
55
+ <LaunchAction
56
+ buildConfiguration = "Debug"
57
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
58
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59
+ language = ""
60
+ launchStyle = "0"
61
+ useCustomWorkingDirectory = "NO"
62
+ ignoresPersistentStateOnLaunch = "NO"
63
+ debugDocumentVersioning = "YES"
64
+ debugServiceExtension = "internal"
65
+ allowLocationSimulation = "YES">
66
+ <BuildableProductRunnable
67
+ runnableDebuggingMode = "0">
68
+ <BuildableReference
69
+ BuildableIdentifier = "primary"
70
+ BlueprintIdentifier = "63722165205698DB00CFDFCE"
71
+ BuildableName = "Skeleton.app"
72
+ BlueprintName = "Skeleton"
73
+ ReferencedContainer = "container:Skeleton.xcodeproj">
74
+ </BuildableReference>
75
+ </BuildableProductRunnable>
76
+ <EnvironmentVariables>
77
+ <EnvironmentVariable
78
+ key = "bundle_id"
79
+ value = "$(bundle_id)"
80
+ isEnabled = "YES">
81
+ </EnvironmentVariable>
82
+ </EnvironmentVariables>
83
+ <AdditionalOptions>
84
+ </AdditionalOptions>
85
+ </LaunchAction>
86
+ <ProfileAction
87
+ buildConfiguration = "Release"
88
+ shouldUseLaunchSchemeArgsEnv = "YES"
89
+ savedToolIdentifier = ""
90
+ useCustomWorkingDirectory = "NO"
91
+ debugDocumentVersioning = "YES">
92
+ <BuildableProductRunnable
93
+ runnableDebuggingMode = "0">
94
+ <BuildableReference
95
+ BuildableIdentifier = "primary"
96
+ BlueprintIdentifier = "63722165205698DB00CFDFCE"
97
+ BuildableName = "Skeleton.app"
98
+ BlueprintName = "Skeleton"
99
+ ReferencedContainer = "container:Skeleton.xcodeproj">
100
+ </BuildableReference>
101
+ </BuildableProductRunnable>
102
+ </ProfileAction>
103
+ <AnalyzeAction
104
+ buildConfiguration = "Debug">
105
+ </AnalyzeAction>
106
+ <ArchiveAction
107
+ buildConfiguration = "Release"
108
+ revealArchiveInOrganizer = "YES">
109
+ </ArchiveAction>
110
+ </Scheme>
@@ -84,6 +84,11 @@
84
84
  "idiom" : "ipad",
85
85
  "size" : "83.5x83.5",
86
86
  "scale" : "2x"
87
+ },
88
+ {
89
+ "idiom" : "ios-marketing",
90
+ "size" : "1024x1024",
91
+ "scale" : "1x"
87
92
  }
88
93
  ],
89
94
  "info" : {
@@ -11,7 +11,6 @@ import XCTest
11
11
  let app = XCUIApplication(bundleIdentifier: ProcessInfo.processInfo.environment["bundle_id"]!)
12
12
 
13
13
  class SkeletonUITests: XCTestCase {
14
-
15
14
  func testMe() {
16
15
  app.activate()
17
16
  sleep(1)
@@ -24,5 +23,4 @@ class SkeletonUITests: XCTestCase {
24
23
  attachment.name = "skeleton"
25
24
  add(attachment)
26
25
  }
27
-
28
26
  }
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.0.5
4
+ version: 0.0.7
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-03-27 00:00:00.000000000 Z
11
+ date: 2018-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,7 +45,7 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.8.1
48
- type: :development
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -59,7 +59,7 @@ dependencies:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.8.2
62
- type: :development
62
+ type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
@@ -70,16 +70,30 @@ dependencies:
70
70
  name: fileutils
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.2
76
- type: :development
75
+ version: '0'
76
+ type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: commander
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: 1.0.2
96
+ version: '0'
83
97
  description:
84
98
  email:
85
99
  - 33gri@bk.ru
@@ -91,7 +105,6 @@ files:
91
105
  - ".gitignore"
92
106
  - CODE_OF_CONDUCT.md
93
107
  - Gemfile
94
- - Gemfile.lock
95
108
  - LICENSE.txt
96
109
  - README.md
97
110
  - Rakefile
@@ -105,6 +118,9 @@ files:
105
118
  - lib/skeleton/languages.rb
106
119
  - lib/skeleton/version.rb
107
120
  - skeleton.gemspec
121
+ - xcodeproj/Skeleton.xcodeproj/project.pbxproj
122
+ - xcodeproj/Skeleton.xcodeproj/project.xcworkspace/contents.xcworkspacedata
123
+ - xcodeproj/Skeleton.xcodeproj/xcshareddata/xcschemes/Skeleton.xcscheme
108
124
  - xcodeproj/Skeleton/AppDelegate.swift
109
125
  - xcodeproj/Skeleton/Assets.xcassets/AppIcon.appiconset/Contents.json
110
126
  - xcodeproj/Skeleton/Base.lproj/LaunchScreen.storyboard
data/Gemfile.lock DELETED
@@ -1,28 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- skeleton-ui (0.0.3)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- colorize (0.8.1)
10
- fileutils (1.0.2)
11
- mini_portile2 (2.3.0)
12
- nokogiri (1.8.2)
13
- mini_portile2 (~> 2.3.0)
14
- rake (12.3.0)
15
-
16
- PLATFORMS
17
- ruby
18
-
19
- DEPENDENCIES
20
- bundler (~> 1.16)
21
- colorize (~> 0.8.1)
22
- fileutils (~> 1.0.2)
23
- nokogiri (~> 1.8.2)
24
- rake (~> 12.3.0)
25
- skeleton-ui!
26
-
27
- BUNDLED WITH
28
- 1.16.1