fwtoolkit 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,12 +50,18 @@ module FWToolkit
50
50
  end
51
51
 
52
52
  desc 'Run Frank acceptance tests'
53
- task :test, :target, :tag do |t, args|
54
- args.with_defaults(:target => 'Frank/features', :tag => '~@wip')
53
+ task :test, :target do |t, args|
54
+ args.with_defaults(:cucumber_options => 'Frank/features --tag ~@wip')
55
55
 
56
56
  ENV['APP_BUNDLE_PATH'] = File.join( Dir.pwd, 'Frank/frankified_build/Frankified.app' )
57
57
  ENV['USE_SIM_LAUNCHER_SERVER'] = nil
58
- sh "cucumber #{args.target} --tags #{args.tag}"
58
+ sh "cucumber #{args.cucumber_options}"
59
+ end
60
+ end
61
+
62
+ namespace :bundle do
63
+ task :install do
64
+ sh 'bundle'
59
65
  end
60
66
  end
61
67
 
@@ -67,19 +73,17 @@ module FWToolkit
67
73
  task :install do
68
74
  sh 'pod install'
69
75
  end
76
+
77
+ desc 'Clean and install Pods'
78
+ task :clean_install => [:clean, :install]
70
79
  end
71
80
 
72
81
  namespace :ci do
73
-
74
- task :bundle_install do
75
- sh 'bundle'
76
- end
77
-
78
82
  desc 'Clean, build and test'
79
- task :build => ["ci:bundle_install", "xcode:debug_simulator:cleanbuild", "frank:build", "frank:ci_test"]
83
+ task :build => ["bundle:install", "xcode:debug_simulator:cleanbuild", "frank:build", "frank:ci_test"]
80
84
 
81
85
  desc 'Clean, build and test for Cocoapods projects'
82
- task :pod_build => ["ci:bundle_install", "pod:clean", "pod:install", "ci:build"]
86
+ task :pod_build => ["bundle:install", "pod:clean_install", "ci:build"]
83
87
  end
84
88
  end
85
89
 
@@ -59,7 +59,7 @@ module FWToolkit
59
59
  end
60
60
  end
61
61
 
62
- template_file = File.join(Dir.pwd, 'features', 'support', 'templates', "#{template_file_name}.erb")
62
+ template_file = File.join(Dir.pwd, 'Frank', 'features', 'support', 'templates', "#{template_file_name}.erb")
63
63
  erb = ERB.new(File.open(template_file).read, 0,"")
64
64
  result = erb.result(binding)
65
65
 
@@ -1,3 +1,3 @@
1
1
  module FWToolkit
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fwtoolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-17 00:00:00.000000000 Z
12
+ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
@@ -162,7 +162,7 @@ dependencies:
162
162
  requirements:
163
163
  - - '='
164
164
  - !ruby/object:Gem::Version
165
- version: 0.9.5.pre8
165
+ version: 0.9.5.pre6
166
166
  type: :runtime
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,7 +170,7 @@ dependencies:
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.9.5.pre8
173
+ version: 0.9.5.pre6
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: CFPropertyList
176
176
  requirement: !ruby/object:Gem::Requirement