xcfit 4.0.1 → 4.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 +4 -4
- data/Gemfile.lock +1 -1
- data/XCFit.podspec +1 -1
- data/XCFit_Templates/XCFit/{iOS UI Cucumberish Testing Bundle.xctemplate → Cucumberish Bundle.xctemplate}/TemplateInfo.plist +1 -1
- data/XCFit_Templates/XCFit/{iOS XCUI POM Test Bundle.xctemplate → Page Object Bundle.xctemplate}/TemplateInfo.plist +2 -2
- data/homebrew/xcfit +7 -3
- data/lib/XCFit/main.rb +4 -3
- data/lib/XCFit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e860e094717e0e013314bc082c2b755e56ca4c0f
|
4
|
+
data.tar.gz: 69a34ba31995da5bf98f97ce9541a91b8e42f3d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 643db4effc2dabdd3dd45669b183077ad830b18b0e58826def2a48c15adb678ba9e5d549b046e8619dbe2ab7f25a079f2ea2acd3d710462f8cb3f08f7efe9444
|
7
|
+
data.tar.gz: 55d20607a08d43837f592d2cfc55b0b2fba257a013e0beb44e97385bc78aa356aaa1ff7c7f8df3ace230bb47ea50277c8ef1e0b78ae73c0db439acc8dbab9326
|
data/Gemfile.lock
CHANGED
data/XCFit.podspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<key>Kind</key>
|
6
6
|
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
7
|
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.
|
8
|
+
<string>com.apple.dt.unit.cucumberishBundle</string>
|
9
9
|
<key>Ancestors</key>
|
10
10
|
<array>
|
11
11
|
<string>com.apple.dt.unit.cucumberishUITestBundleBase</string>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<key>Kind</key>
|
6
6
|
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
|
7
7
|
<key>Identifier</key>
|
8
|
-
<string>com.apple.dt.unit.
|
8
|
+
<string>com.apple.dt.unit.pageObjectBundle</string>
|
9
9
|
<key>Ancestors</key>
|
10
10
|
<array>
|
11
11
|
<string>com.apple.dt.unit.xcuiPomTestBundleBase</string>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<key>ConstraintType</key>
|
33
33
|
<string>DefaultIfAssociatedTarget</string>
|
34
34
|
<key>Value</key>
|
35
|
-
<string>
|
35
|
+
<string>___ASSOCIATEDTARGET_bundleName___PageObjectTests</string>
|
36
36
|
</dict>
|
37
37
|
</array>
|
38
38
|
</dict>
|
data/homebrew/xcfit
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
require 'fileutils'
|
4
4
|
require 'tempfile'
|
5
5
|
|
6
|
-
VERSION = "4.0.
|
6
|
+
VERSION = "4.0.2"
|
7
7
|
|
8
8
|
@root_dir = File.expand_path('~')
|
9
9
|
@root_lib_dir = File.join(@root_dir, 'Library')
|
10
10
|
@root_developer_dir = File.join(@root_lib_dir, 'Developer')
|
11
11
|
@root_xcode_dir = File.join(@root_developer_dir, 'Xcode')
|
12
12
|
@root_template_dir = File.join(@root_xcode_dir, 'Templates')
|
13
|
-
@root_xcfit_dir = File.join(@root_template_dir, '
|
13
|
+
@root_xcfit_dir = File.join(@root_template_dir, 'XCFit')
|
14
14
|
@root_gherkin_dir = File.join(@root_template_dir, 'Gherkin')
|
15
15
|
# @source_dir = File.join(File.dirname(__FILE__), '..', 'XCFit_Templates')
|
16
16
|
# @source_xcfit_dir = File.join(@source_dir, 'XCFit')
|
@@ -24,6 +24,7 @@ def clone_xcfit
|
|
24
24
|
# system("cd /tmp")
|
25
25
|
system("cd /tmp && curl -sL https://github.com/Shashikant86/XCFit/archive/#{VERSION}.tar.gz | tar xz")
|
26
26
|
puts "*******======= Downloading XCFit Templates for the Xcode =============***"
|
27
|
+
@src_template_dir = "/tmp/XCFit-#{VERSION}/XCFit_Templates"
|
27
28
|
@xcfit_template_dir = "/tmp/XCFit-#{VERSION}/XCFit_Templates/XCFit"
|
28
29
|
@gherkin_template_dir = "/tmp/XCFit-#{VERSION}/XCFit_Templates/Gherkin"
|
29
30
|
end
|
@@ -33,6 +34,9 @@ def clean_xcfit
|
|
33
34
|
end
|
34
35
|
|
35
36
|
def setup_xcode_templates
|
37
|
+
|
38
|
+
FileUtils.mkdir_p '~/Library/Developer/Xcode/Templates/'
|
39
|
+
|
36
40
|
if File.exist?(@root_xcfit_dir)
|
37
41
|
puts "==================XXXXXXXX==========================="
|
38
42
|
puts 'There is already XCFit directory in Xcode Templates. Looks like you are trying Fitnesse Templates '
|
@@ -44,7 +48,7 @@ def setup_xcode_templates
|
|
44
48
|
puts 'Creating XCode Template for XCFit'
|
45
49
|
puts 'This Template will allow you create Cucumberish and Fitnesse targets'
|
46
50
|
puts "==================XXXXXXXX==========================="
|
47
|
-
FileUtils.cp_r(@
|
51
|
+
FileUtils.cp_r(@src_template_dir, @root_template_dir)
|
48
52
|
clean_xcfit
|
49
53
|
puts 'Now Your Xcode will have XCFIT iOS and macOS tagets for Cucumberish and Fitnesse'
|
50
54
|
puts "==================XXXXXXXX==========================="
|
data/lib/XCFit/main.rb
CHANGED
@@ -17,7 +17,7 @@ module XCFit
|
|
17
17
|
$root_developer_dir = File.join($root_lib_dir, 'Developer')
|
18
18
|
$root_xcode_dir = File.join($root_developer_dir, 'Xcode')
|
19
19
|
$root_template_dir = File.join($root_xcode_dir, 'Templates')
|
20
|
-
$root_xcfit_dir = File.join($root_template_dir, '
|
20
|
+
$root_xcfit_dir = File.join($root_template_dir, 'XCFit')
|
21
21
|
$root_gherkin_dir = File.join($root_template_dir, 'Gherkin')
|
22
22
|
|
23
23
|
|
@@ -31,7 +31,8 @@ module XCFit
|
|
31
31
|
|
32
32
|
desc 'setup_xcode_templates', 'Generate All Xcode Templates for the Gherkin Feature Files & targets for Cucumberish and Fitnesse'
|
33
33
|
def setup_xcode_templates
|
34
|
-
|
34
|
+
FileUtils.mkdir_p '~/Library/Developer/Xcode/Templates/'
|
35
|
+
if File.exist?($root_xcfit_dir)
|
35
36
|
puts "==================XXXXXXXX==========================="
|
36
37
|
puts 'There is already XCFit directory in Xcode Templates. Looks like you are trying Fitnesse Templates '
|
37
38
|
puts 'Templates are being installed at ~/Library/Developer/Xcode/Templates/XCFit directory'
|
@@ -41,7 +42,7 @@ module XCFit
|
|
41
42
|
puts 'Creating XCode Template for XCFit'
|
42
43
|
puts 'This Template will allow you create Cucumberish and Fitnesse targets'
|
43
44
|
puts "==================XXXXXXXX==========================="
|
44
|
-
FileUtils.cp_r($
|
45
|
+
FileUtils.cp_r($source_template_dir, $root_template_dir)
|
45
46
|
puts 'Now Your Xcode will have XCFIT iOS and macOS tagets for Cucumberish and Fitnesse'
|
46
47
|
puts "==================XXXXXXXX==========================="
|
47
48
|
puts 'File -> New -->Target-->XCFit'
|
data/lib/XCFit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcfit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shashikant86
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- XCFit_Templates/XCFit/Cucumber Feature.xctemplate/TemplateIcon@2x.png
|
94
94
|
- XCFit_Templates/XCFit/Cucumber Feature.xctemplate/TemplateInfo.plist
|
95
95
|
- XCFit_Templates/XCFit/Cucumber Feature.xctemplate/___FILEBASENAME___.feature
|
96
|
+
- XCFit_Templates/XCFit/Cucumberish Bundle.xctemplate/TemplateInfo.plist
|
96
97
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/CommonStepDefinitions.swift
|
97
98
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/HomeScreen.swift
|
98
99
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/HomeScreenSteps.swift
|
@@ -103,6 +104,7 @@ files:
|
|
103
104
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.h
|
104
105
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.m
|
105
106
|
- XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/___PACKAGENAMEASIDENTIFIER___.swift
|
107
|
+
- XCFit_Templates/XCFit/Page Object Bundle.xctemplate/TemplateInfo.plist
|
106
108
|
- XCFit_Templates/XCFit/XCUI POM Test Bundle Base.xctemplate/Extensions.swift
|
107
109
|
- XCFit_Templates/XCFit/XCUI POM Test Bundle Base.xctemplate/HomeScreen.swift
|
108
110
|
- XCFit_Templates/XCFit/XCUI POM Test Bundle Base.xctemplate/HomeScreenTest.swift
|
@@ -118,8 +120,6 @@ files:
|
|
118
120
|
- XCFit_Templates/XCFit/iOS Acceptance Tests.xctemplate/TemplateIcon.png
|
119
121
|
- XCFit_Templates/XCFit/iOS Acceptance Tests.xctemplate/TemplateIcon@2x.png
|
120
122
|
- XCFit_Templates/XCFit/iOS Acceptance Tests.xctemplate/TemplateInfo.plist
|
121
|
-
- XCFit_Templates/XCFit/iOS UI Cucumberish Testing Bundle.xctemplate/TemplateInfo.plist
|
122
|
-
- XCFit_Templates/XCFit/iOS XCUI POM Test Bundle.xctemplate/TemplateInfo.plist
|
123
123
|
- bin/xcfit
|
124
124
|
- homebrew/xcfit
|
125
125
|
- lib/XCFit.rb
|