iCuke 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +1 -1
- data/Gemfile +12 -0
- data/Gemfile.lock +41 -0
- data/README.markdown +126 -0
- data/Rakefile +34 -12
- data/VERSION +1 -1
- data/bin/icuke +12 -10
- data/ext/Rakefile +6 -0
- data/ext/iCuke/{sdk3.1/DefaultsResponse.h → DefaultsResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/DefaultsResponse.m → DefaultsResponse.m} +0 -0
- data/ext/iCuke/{sdk3.1/EventResponse.h → EventResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/EventResponse.m → EventResponse.m} +0 -0
- data/ext/iCuke/{sdk3.1/ModuleResponse.h → ModuleResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/ModuleResponse.m → ModuleResponse.m} +0 -0
- data/ext/iCuke/{sdk3.1/QuitResponse.h → QuitResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/QuitResponse.m → QuitResponse.m} +0 -0
- data/ext/iCuke/Rakefile +14 -13
- data/ext/iCuke/{sdk3.1/Recorder.h → Recorder.h} +0 -0
- data/ext/iCuke/{sdk3.1/Recorder.m → Recorder.m} +0 -0
- data/ext/iCuke/{sdk3.1/RecorderResponse.h → RecorderResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/RecorderResponse.m → RecorderResponse.m} +0 -0
- data/ext/iCuke/{sdk3.1/SynthesizeSingleton.h → SynthesizeSingleton.h} +0 -0
- data/ext/iCuke/{sdk3.1/ViewResponse.h → ViewResponse.h} +0 -0
- data/ext/iCuke/{sdk3.1/ViewResponse.m → ViewResponse.m} +0 -0
- data/ext/iCuke/{sdk3.1/Viewer.h → Viewer.h} +0 -0
- data/ext/iCuke/{sdk4.0/Viewer.m → Viewer.m} +0 -0
- data/ext/iCuke/{sdk3.1/iCukeHTTPResponseHandler.h → iCukeHTTPResponseHandler.h} +0 -0
- data/ext/iCuke/{sdk3.1/iCukeHTTPResponseHandler.m → iCukeHTTPResponseHandler.m} +0 -0
- data/ext/iCuke/{sdk3.1/iCukeHTTPServer.h → iCukeHTTPServer.h} +0 -0
- data/ext/iCuke/{sdk4.0/iCukeHTTPServer.m → iCukeHTTPServer.m} +4 -2
- data/ext/iCuke/{sdk3.1/iCukeServer.h → iCukeServer.h} +0 -0
- data/ext/iCuke/{sdk3.1/iCukeServer.m → iCukeServer.m} +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/JSON.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/NSObject+SBJSON.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/NSObject+SBJSON.m +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/NSString+SBJSON.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/NSString+SBJSON.m +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJSON.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJSON.m +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonBase.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonBase.m +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonParser.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonParser.m +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonWriter.h +0 -0
- data/ext/iCuke/{sdk3.1/json → json}/SBJsonWriter.m +0 -0
- data/features/starting_project.feature +18 -0
- data/features/step_definitions/shell.rb +41 -0
- data/features/support/env.rb +2 -0
- data/features/support/environment.rb +40 -0
- data/features/supported_sdks.feature +12 -0
- data/iCuke.gemspec +149 -161
- data/lib/icuke/configuration.rb +19 -0
- data/lib/icuke/core_ext.rb +27 -0
- data/lib/icuke/cucumber.rb +29 -265
- data/lib/icuke/cucumber_compat.rb +4 -0
- data/lib/icuke/icuke_world.rb +149 -0
- data/lib/icuke/sdk.rb +5 -13
- data/lib/icuke/simulator_driver.rb +201 -0
- data/lib/icuke/waxsim.rb +47 -9
- data/spec/cucumber_spec.rb +130 -0
- data/spec/fixtures/controls_page.xml +252 -0
- data/spec/process_spec.rb +76 -0
- data/spec/screen_spec.rb +173 -0
- data/spec/simulate_spec.rb +75 -0
- data/spec/simulator_spec.rb +28 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +67 -0
- metadata +222 -121
- data/.gitignore +0 -15
- data/README.rdoc +0 -68
- data/ext/WaxSim/Simulator.h +0 -31
- data/ext/WaxSim/Simulator.m +0 -131
- data/ext/WaxSim/WaxSim.m +0 -110
- data/ext/WaxSim/WaxSim.xcodeproj/project.pbxproj +0 -238
- data/ext/WaxSim/WaxSim_Prefix.pch +0 -7
- data/ext/WaxSim/build/Release/waxsim +0 -0
- data/ext/WaxSim/build/Release/waxsim.dSYM/Contents/Info.plist +0 -20
- data/ext/WaxSim/build/Release/waxsim.dSYM/Contents/Resources/DWARF/waxsim +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/Simulator.o +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/WaxSim.o +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList +0 -2
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim.dep +0 -6
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim~.dep +0 -6
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state.dat +0 -227
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state~.dat +0 -227
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-all-target-headers.hmap +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-generated-files.hmap +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-own-target-headers.hmap +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-project-headers.hmap +0 -0
- data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim.hmap +0 -0
- data/ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h +0 -126
- data/ext/iCuke/sdk3.1/Rakefile +0 -20
- data/ext/iCuke/sdk3.1/Viewer.m +0 -203
- data/ext/iCuke/sdk3.1/iCukeHTTPServer.m +0 -365
- data/ext/iCuke/sdk4.0/DefaultsResponse.h +0 -5
- data/ext/iCuke/sdk4.0/DefaultsResponse.m +0 -66
- data/ext/iCuke/sdk4.0/EventResponse.h +0 -5
- data/ext/iCuke/sdk4.0/EventResponse.m +0 -130
- data/ext/iCuke/sdk4.0/ModuleResponse.h +0 -5
- data/ext/iCuke/sdk4.0/ModuleResponse.m +0 -76
- data/ext/iCuke/sdk4.0/QuitResponse.h +0 -5
- data/ext/iCuke/sdk4.0/QuitResponse.m +0 -23
- data/ext/iCuke/sdk4.0/Rakefile +0 -20
- data/ext/iCuke/sdk4.0/Recorder.h +0 -17
- data/ext/iCuke/sdk4.0/Recorder.m +0 -90
- data/ext/iCuke/sdk4.0/RecorderResponse.h +0 -6
- data/ext/iCuke/sdk4.0/RecorderResponse.m +0 -68
- data/ext/iCuke/sdk4.0/SynthesizeSingleton.h +0 -68
- data/ext/iCuke/sdk4.0/ViewResponse.h +0 -5
- data/ext/iCuke/sdk4.0/ViewResponse.m +0 -84
- data/ext/iCuke/sdk4.0/Viewer.h +0 -8
- data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h +0 -50
- data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m +0 -381
- data/ext/iCuke/sdk4.0/iCukeHTTPServer.h +0 -53
- data/ext/iCuke/sdk4.0/iCukeServer.h +0 -14
- data/ext/iCuke/sdk4.0/iCukeServer.m +0 -65
- data/ext/iCuke/sdk4.0/json/JSON.h +0 -50
- data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.h +0 -68
- data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.m +0 -53
- data/ext/iCuke/sdk4.0/json/NSString+SBJSON.h +0 -58
- data/ext/iCuke/sdk4.0/json/NSString+SBJSON.m +0 -55
- data/ext/iCuke/sdk4.0/json/SBJSON.h +0 -75
- data/ext/iCuke/sdk4.0/json/SBJSON.m +0 -212
- data/ext/iCuke/sdk4.0/json/SBJsonBase.h +0 -86
- data/ext/iCuke/sdk4.0/json/SBJsonBase.m +0 -78
- data/ext/iCuke/sdk4.0/json/SBJsonParser.h +0 -87
- data/ext/iCuke/sdk4.0/json/SBJsonParser.m +0 -475
- data/ext/iCuke/sdk4.0/json/SBJsonWriter.h +0 -129
- data/ext/iCuke/sdk4.0/json/SBJsonWriter.m +0 -228
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Feature: Starting a new project
|
2
|
+
As a developer,
|
3
|
+
I want to install iCuke
|
4
|
+
so I can use it.
|
5
|
+
|
6
|
+
Scenario: Starting a new project using bundler
|
7
|
+
Given I am in a sandbox directory
|
8
|
+
And I copy "$CURRENT_REPO/app" to "." recursively
|
9
|
+
And I have a file named "Gemfile" containing
|
10
|
+
"""
|
11
|
+
source "http://rubygems.org"
|
12
|
+
gem "iCuke", :git => "$CURRENT_REPO", :ref => "$CURRENT_REF"
|
13
|
+
gem "rake"
|
14
|
+
"""
|
15
|
+
And I run "bundle install --path=./path"
|
16
|
+
And I run "bundle exec icuke ."
|
17
|
+
When I run "bundle exec cucumber"
|
18
|
+
Then everything should be hoopy
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
require 'rake'
|
3
|
+
require 'sandbox'
|
4
|
+
require 'shellwords'
|
5
|
+
|
6
|
+
Given /^I am in a sandbox directory$/ do
|
7
|
+
@environment = Environment.new
|
8
|
+
@environment.unbundlerize!
|
9
|
+
@environment.env.merge! 'CURRENT_REPO' => Dir.getwd,
|
10
|
+
'CURRENT_REF' => `git log -1 --pretty=format:%h`
|
11
|
+
end
|
12
|
+
|
13
|
+
After do
|
14
|
+
if @environment
|
15
|
+
@environment.cleanup
|
16
|
+
@environment = nil
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
Given /^I run "([^"]*)"$/ do |command|
|
21
|
+
@environment.enter do
|
22
|
+
sh command
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
Given /^I have a file named "([^"]*)" containing$/ do |filename, contents|
|
27
|
+
@environment.enter do
|
28
|
+
contents.gsub!(/\$[A-Za-z0-9_]+/) {|name| @environment.env[name[1..-1]] || ""}
|
29
|
+
File.open(filename, 'w') {|f| f.write(contents)}
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
Given /^I copy "([^"]*)" to "([^"]*)" recursively$/ do |src, dst|
|
34
|
+
@environment.enter do
|
35
|
+
sh "cp -r \"#{src}/\" \"#{dst}/\""
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
Then /^everything should be hoopy$/ do
|
40
|
+
end
|
41
|
+
|
data/features/support/env.rb
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
|
2
|
+
class Environment
|
3
|
+
attr_reader :sandbox
|
4
|
+
attr_accessor :env
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
ENV['TMPDIR'] = '/tmp' # Work-around for bundler bug with '++' in path name.
|
8
|
+
@sandbox = Sandbox.new
|
9
|
+
@env = ENV.to_hash
|
10
|
+
end
|
11
|
+
|
12
|
+
def cleanup
|
13
|
+
@sandbox.close
|
14
|
+
end
|
15
|
+
|
16
|
+
BUNDLER_ENVIRONMENT_VARIABLES = [ 'BUNDLE_BIN_PATH', 'BUNDLE_GEMFILE', 'RUBYOPT', 'GEM_HOME', 'GEM_PATH' ]
|
17
|
+
def unbundlerize!
|
18
|
+
BUNDLER_ENVIRONMENT_VARIABLES.each {|v| env.delete(v)}
|
19
|
+
end
|
20
|
+
|
21
|
+
def with_env
|
22
|
+
old_env = ENV.to_hash
|
23
|
+
ENV.replace(@env)
|
24
|
+
begin
|
25
|
+
yield
|
26
|
+
ensure
|
27
|
+
ENV.replace(old_env)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
private :with_env
|
31
|
+
|
32
|
+
def enter
|
33
|
+
Dir.chdir(@sandbox.path) do
|
34
|
+
with_env do
|
35
|
+
yield
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature: Supported SDKs
|
2
|
+
As a developer,
|
3
|
+
in order to test applications that need to run on older devices,
|
4
|
+
iCuke should be able to boot applications under different simulator SDKs.
|
5
|
+
|
6
|
+
Scenario: SDK 3.2
|
7
|
+
Given "app/Universal.xcodeproj" is loaded in the iphone simulator with SDK 3.2
|
8
|
+
Then I should see "Show Test Modal"
|
9
|
+
|
10
|
+
Scenario: SDK 4.2
|
11
|
+
Given "app/Universal.xcodeproj" is loaded in the iphone simulator with SDK 4.2
|
12
|
+
Then I should see "Show Test Modal"
|
data/iCuke.gemspec
CHANGED
@@ -1,201 +1,189 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{iCuke}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rob Holland"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-08-17}
|
13
13
|
s.description = %q{Cucumber support for iPhone applications}
|
14
|
-
s.email = %q{
|
15
|
-
s.executables = ["icuke", "icuke
|
14
|
+
s.email = %q{jason.felice@bluefroggaming.com}
|
15
|
+
s.executables = ["icuke-module", "icuke", ".gitignore"]
|
16
16
|
s.extensions = ["ext/Rakefile"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
|
19
|
+
"README.markdown"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
".
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
"ext/iCuke/sdk4.0/EventResponse.h",
|
128
|
-
"ext/iCuke/sdk4.0/EventResponse.m",
|
129
|
-
"ext/iCuke/sdk4.0/ModuleResponse.h",
|
130
|
-
"ext/iCuke/sdk4.0/ModuleResponse.m",
|
131
|
-
"ext/iCuke/sdk4.0/QuitResponse.h",
|
132
|
-
"ext/iCuke/sdk4.0/QuitResponse.m",
|
133
|
-
"ext/iCuke/sdk4.0/Rakefile",
|
134
|
-
"ext/iCuke/sdk4.0/Recorder.h",
|
135
|
-
"ext/iCuke/sdk4.0/Recorder.m",
|
136
|
-
"ext/iCuke/sdk4.0/RecorderResponse.h",
|
137
|
-
"ext/iCuke/sdk4.0/RecorderResponse.m",
|
138
|
-
"ext/iCuke/sdk4.0/SynthesizeSingleton.h",
|
139
|
-
"ext/iCuke/sdk4.0/ViewResponse.h",
|
140
|
-
"ext/iCuke/sdk4.0/ViewResponse.m",
|
141
|
-
"ext/iCuke/sdk4.0/Viewer.h",
|
142
|
-
"ext/iCuke/sdk4.0/Viewer.m",
|
143
|
-
"ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h",
|
144
|
-
"ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m",
|
145
|
-
"ext/iCuke/sdk4.0/iCukeHTTPServer.h",
|
146
|
-
"ext/iCuke/sdk4.0/iCukeHTTPServer.m",
|
147
|
-
"ext/iCuke/sdk4.0/iCukeServer.h",
|
148
|
-
"ext/iCuke/sdk4.0/iCukeServer.m",
|
149
|
-
"ext/iCuke/sdk4.0/json/JSON.h",
|
150
|
-
"ext/iCuke/sdk4.0/json/NSObject+SBJSON.h",
|
151
|
-
"ext/iCuke/sdk4.0/json/NSObject+SBJSON.m",
|
152
|
-
"ext/iCuke/sdk4.0/json/NSString+SBJSON.h",
|
153
|
-
"ext/iCuke/sdk4.0/json/NSString+SBJSON.m",
|
154
|
-
"ext/iCuke/sdk4.0/json/SBJSON.h",
|
155
|
-
"ext/iCuke/sdk4.0/json/SBJSON.m",
|
156
|
-
"ext/iCuke/sdk4.0/json/SBJsonBase.h",
|
157
|
-
"ext/iCuke/sdk4.0/json/SBJsonBase.m",
|
158
|
-
"ext/iCuke/sdk4.0/json/SBJsonParser.h",
|
159
|
-
"ext/iCuke/sdk4.0/json/SBJsonParser.m",
|
160
|
-
"ext/iCuke/sdk4.0/json/SBJsonWriter.h",
|
161
|
-
"ext/iCuke/sdk4.0/json/SBJsonWriter.m",
|
162
|
-
"features/iphone.feature",
|
163
|
-
"features/support/env.rb",
|
164
|
-
"iCuke.gemspec",
|
165
|
-
"lib/icuke.rb",
|
166
|
-
"lib/icuke/core_ext.rb",
|
167
|
-
"lib/icuke/cucumber.rb",
|
168
|
-
"lib/icuke/screen.rb",
|
169
|
-
"lib/icuke/sdk.rb",
|
170
|
-
"lib/icuke/simulate.rb",
|
171
|
-
"lib/icuke/simulator.rb",
|
172
|
-
"lib/icuke/waxsim.rb"
|
22
|
+
".gitmodules",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"History.txt",
|
26
|
+
"LICENSE",
|
27
|
+
"README.markdown",
|
28
|
+
"Rakefile",
|
29
|
+
"VERSION",
|
30
|
+
"app/.gitignore",
|
31
|
+
"app/LICENSE",
|
32
|
+
"app/Readme.markdown",
|
33
|
+
"app/Shared/AppDelegate_Shared.h",
|
34
|
+
"app/Shared/AppDelegate_Shared.m",
|
35
|
+
"app/Shared/Icon.png",
|
36
|
+
"app/Shared/ModalViewController.h",
|
37
|
+
"app/Shared/ModalViewController.m",
|
38
|
+
"app/Shared/TestViewController_Shared.h",
|
39
|
+
"app/Shared/TestViewController_Shared.m",
|
40
|
+
"app/Shared/Universal-Info.plist",
|
41
|
+
"app/Shared/Universal_Prefix.pch",
|
42
|
+
"app/Shared/main.m",
|
43
|
+
"app/Universal.xcodeproj/project.pbxproj",
|
44
|
+
"app/iPad/AppDelegate_Pad.h",
|
45
|
+
"app/iPad/AppDelegate_Pad.m",
|
46
|
+
"app/iPad/Default-Landscape.png",
|
47
|
+
"app/iPad/Default-Portrait.png",
|
48
|
+
"app/iPad/MainWindow_Pad.xib",
|
49
|
+
"app/iPad/TestViewController_Pad.h",
|
50
|
+
"app/iPad/TestViewController_Pad.m",
|
51
|
+
"app/iPhone/AppDelegate_Phone.h",
|
52
|
+
"app/iPhone/AppDelegate_Phone.m",
|
53
|
+
"app/iPhone/Default.png",
|
54
|
+
"app/iPhone/MainWindow_Phone.xib",
|
55
|
+
"app/iPhone/TestViewController_Phone.h",
|
56
|
+
"app/iPhone/TestViewController_Phone.m",
|
57
|
+
"bin/.gitignore",
|
58
|
+
"bin/icuke",
|
59
|
+
"bin/icuke-module",
|
60
|
+
"ext/.gitignore",
|
61
|
+
"ext/Rakefile",
|
62
|
+
"ext/iCuke/.gitignore",
|
63
|
+
"ext/iCuke/DefaultsResponse.h",
|
64
|
+
"ext/iCuke/DefaultsResponse.m",
|
65
|
+
"ext/iCuke/EventResponse.h",
|
66
|
+
"ext/iCuke/EventResponse.m",
|
67
|
+
"ext/iCuke/ModuleResponse.h",
|
68
|
+
"ext/iCuke/ModuleResponse.m",
|
69
|
+
"ext/iCuke/QuitResponse.h",
|
70
|
+
"ext/iCuke/QuitResponse.m",
|
71
|
+
"ext/iCuke/Rakefile",
|
72
|
+
"ext/iCuke/Recorder.h",
|
73
|
+
"ext/iCuke/Recorder.m",
|
74
|
+
"ext/iCuke/RecorderResponse.h",
|
75
|
+
"ext/iCuke/RecorderResponse.m",
|
76
|
+
"ext/iCuke/SynthesizeSingleton.h",
|
77
|
+
"ext/iCuke/ViewResponse.h",
|
78
|
+
"ext/iCuke/ViewResponse.m",
|
79
|
+
"ext/iCuke/Viewer.h",
|
80
|
+
"ext/iCuke/Viewer.m",
|
81
|
+
"ext/iCuke/iCukeHTTPResponseHandler.h",
|
82
|
+
"ext/iCuke/iCukeHTTPResponseHandler.m",
|
83
|
+
"ext/iCuke/iCukeHTTPServer.h",
|
84
|
+
"ext/iCuke/iCukeHTTPServer.m",
|
85
|
+
"ext/iCuke/iCukeServer.h",
|
86
|
+
"ext/iCuke/iCukeServer.m",
|
87
|
+
"ext/iCuke/json/JSON.h",
|
88
|
+
"ext/iCuke/json/NSObject+SBJSON.h",
|
89
|
+
"ext/iCuke/json/NSObject+SBJSON.m",
|
90
|
+
"ext/iCuke/json/NSString+SBJSON.h",
|
91
|
+
"ext/iCuke/json/NSString+SBJSON.m",
|
92
|
+
"ext/iCuke/json/SBJSON.h",
|
93
|
+
"ext/iCuke/json/SBJSON.m",
|
94
|
+
"ext/iCuke/json/SBJsonBase.h",
|
95
|
+
"ext/iCuke/json/SBJsonBase.m",
|
96
|
+
"ext/iCuke/json/SBJsonParser.h",
|
97
|
+
"ext/iCuke/json/SBJsonParser.m",
|
98
|
+
"ext/iCuke/json/SBJsonWriter.h",
|
99
|
+
"ext/iCuke/json/SBJsonWriter.m",
|
100
|
+
"features/iphone.feature",
|
101
|
+
"features/starting_project.feature",
|
102
|
+
"features/step_definitions/shell.rb",
|
103
|
+
"features/support/env.rb",
|
104
|
+
"features/support/environment.rb",
|
105
|
+
"features/supported_sdks.feature",
|
106
|
+
"iCuke.gemspec",
|
107
|
+
"lib/icuke.rb",
|
108
|
+
"lib/icuke/configuration.rb",
|
109
|
+
"lib/icuke/core_ext.rb",
|
110
|
+
"lib/icuke/cucumber.rb",
|
111
|
+
"lib/icuke/cucumber_compat.rb",
|
112
|
+
"lib/icuke/icuke_world.rb",
|
113
|
+
"lib/icuke/screen.rb",
|
114
|
+
"lib/icuke/sdk.rb",
|
115
|
+
"lib/icuke/simulate.rb",
|
116
|
+
"lib/icuke/simulator.rb",
|
117
|
+
"lib/icuke/simulator_driver.rb",
|
118
|
+
"lib/icuke/waxsim.rb",
|
119
|
+
"spec/cucumber_spec.rb",
|
120
|
+
"spec/fixtures/controls_page.xml",
|
121
|
+
"spec/process_spec.rb",
|
122
|
+
"spec/screen_spec.rb",
|
123
|
+
"spec/simulate_spec.rb",
|
124
|
+
"spec/simulator_spec.rb",
|
125
|
+
"spec/spec.opts",
|
126
|
+
"spec/spec_helper.rb"
|
173
127
|
]
|
174
|
-
s.homepage = %q{http://github.com/
|
175
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
128
|
+
s.homepage = %q{http://github.com/BlueFrogGaming/iCuke}
|
176
129
|
s.require_paths = ["lib"]
|
177
|
-
s.rubygems_version = %q{1.3.
|
130
|
+
s.rubygems_version = %q{1.3.7}
|
178
131
|
s.summary = %q{Cucumber support for iPhone applications}
|
132
|
+
s.test_files = [
|
133
|
+
"spec/cucumber_spec.rb",
|
134
|
+
"spec/process_spec.rb",
|
135
|
+
"spec/screen_spec.rb",
|
136
|
+
"spec/simulate_spec.rb",
|
137
|
+
"spec/simulator_spec.rb",
|
138
|
+
"spec/spec_helper.rb"
|
139
|
+
]
|
179
140
|
|
180
141
|
if s.respond_to? :specification_version then
|
181
142
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
182
143
|
s.specification_version = 3
|
183
144
|
|
184
|
-
if Gem::Version.new(Gem::
|
145
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
185
146
|
s.add_runtime_dependency(%q<cucumber>, [">= 0"])
|
147
|
+
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
186
148
|
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
187
149
|
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
188
150
|
s.add_runtime_dependency(%q<background_process>, [">= 0"])
|
151
|
+
s.add_development_dependency(%q<rspec>, ["< 2.0.0"])
|
152
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
153
|
+
s.add_development_dependency(%q<sandbox>, [">= 0"])
|
154
|
+
s.add_runtime_dependency(%q<cucumber>, [">= 0"])
|
155
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
156
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
157
|
+
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
158
|
+
s.add_runtime_dependency(%q<background_process>, [">= 0"])
|
189
159
|
else
|
160
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
161
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
162
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
163
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
164
|
+
s.add_dependency(%q<background_process>, [">= 0"])
|
165
|
+
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
166
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
167
|
+
s.add_dependency(%q<sandbox>, [">= 0"])
|
190
168
|
s.add_dependency(%q<cucumber>, [">= 0"])
|
191
169
|
s.add_dependency(%q<httparty>, [">= 0"])
|
192
170
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
171
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
193
172
|
s.add_dependency(%q<background_process>, [">= 0"])
|
194
173
|
end
|
195
174
|
else
|
175
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
176
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
177
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
178
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
179
|
+
s.add_dependency(%q<background_process>, [">= 0"])
|
180
|
+
s.add_dependency(%q<rspec>, ["< 2.0.0"])
|
181
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
182
|
+
s.add_dependency(%q<sandbox>, [">= 0"])
|
196
183
|
s.add_dependency(%q<cucumber>, [">= 0"])
|
197
184
|
s.add_dependency(%q<httparty>, [">= 0"])
|
198
185
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
186
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
199
187
|
s.add_dependency(%q<background_process>, [">= 0"])
|
200
188
|
end
|
201
189
|
end
|