xcfit 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d4d07481662168eea20e68f82474623092a4efe
4
- data.tar.gz: 6f97bffa272f18912f77c43f819a8c67170d9579
3
+ metadata.gz: e860e094717e0e013314bc082c2b755e56ca4c0f
4
+ data.tar.gz: 69a34ba31995da5bf98f97ce9541a91b8e42f3d5
5
5
  SHA512:
6
- metadata.gz: df65408330510894af036d33ae3fbcd0958c16d9c4f214241956fba0730c05de0d1cc054b96dfe363e9b6b09c63aa8e205500dbaad63b19789ff6dd17040a46c
7
- data.tar.gz: 3642931a4f2f939d1d1f7c191791feee03c7e39b2032f853f001cb4d456e9cf1995bc5a9afd2922bcdbe25515992979ad8aa3df8f9b22d784219548175330e49
6
+ metadata.gz: 643db4effc2dabdd3dd45669b183077ad830b18b0e58826def2a48c15adb678ba9e5d549b046e8619dbe2ab7f25a079f2ea2acd3d710462f8cb3f08f7efe9444
7
+ data.tar.gz: 55d20607a08d43837f592d2cfc55b0b2fba257a013e0beb44e97385bc78aa356aaa1ff7c7f8df3ace230bb47ea50277c8ef1e0b78ae73c0db439acc8dbab9326
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xcfit (3.1.1)
4
+ xcfit (4.0.1)
5
5
  thor (~> 0.17.0)
6
6
 
7
7
  GEM
data/XCFit.podspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'XCFit'
3
- s.version = '4.0.1'
3
+ s.version = '4.0.2'
4
4
  s.summary = 'Full Stack BDD for iOS and macOS Apps with Swift, Xcode using XCUITest, Cucumberish, FitNesse and friends.'
5
5
 
6
6
  s.description = <<-DESC
@@ -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.iosUICucumberishTestingBundle</string>
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.iosXcuiPomTestingBundle</string>
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>___ASSOCIATEDTARGET_bundleName___XCUIPoMTests</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.1"
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, 'XCfit')
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(@xcfit_template_dir, @root_template_dir)
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, 'XCfit')
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
- if File.exist?($root_xcfit_dir)
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($source_xcfit_dir, $root_template_dir)
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
@@ -1,3 +1,3 @@
1
1
  module XCFit
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
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.1
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