cuke4php 0.9.5 → 0.9.6.a
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.
- data/Rakefile +1 -14
- data/VERSION +1 -1
- data/bin/cuke4php +1 -1
- data/{php_bin → bin}/cuke4php_server +0 -0
- data/cuke4php.gemspec +5 -6
- metadata +15 -11
data/Rakefile
CHANGED
|
@@ -10,7 +10,7 @@ begin
|
|
|
10
10
|
gem.authors = ["Kevin Olbrich", "Alessandro Dal Grande"]
|
|
11
11
|
gem.email = ["kevin.olbrich+cuke4php@gmail.com", "aledalgrande@gmail.com"]
|
|
12
12
|
gem.homepage = "http://github.com/olbrich/cuke4php"
|
|
13
|
-
gem.executables = 'cuke4php'
|
|
13
|
+
gem.executables = ['cuke4php','cuke4php_server']
|
|
14
14
|
gem.files.exclude 'phpdoc'
|
|
15
15
|
gem.has_rdoc = false
|
|
16
16
|
gem.requirements << "PHP 5.2+"
|
|
@@ -40,19 +40,6 @@ require 'cucumber/rake/task'
|
|
|
40
40
|
|
|
41
41
|
task :default => [:features, :phpunit]
|
|
42
42
|
|
|
43
|
-
namespace :server do
|
|
44
|
-
|
|
45
|
-
desc "start cuke4php server"
|
|
46
|
-
task :start do
|
|
47
|
-
sh "#{File.dirname(__FILE__)}/php_bin/cuke4php #{ARGV.first ? ARGV.first : 'features'} &"
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
desc "stop cuke4php server"
|
|
51
|
-
task :stop do
|
|
52
|
-
sh "echo 'quit' | nc #{ENV['SERVER'] || 'localhost'} #{ENV['PORT'] || 16816}"
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
|
|
56
43
|
desc "Run Cucumber features for Cuke4php"
|
|
57
44
|
task :features do
|
|
58
45
|
sh "bin/cuke4php -p #{ENV['PROFILE'] || 'default'} features"
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.6.a
|
data/bin/cuke4php
CHANGED
|
@@ -44,7 +44,7 @@ end
|
|
|
44
44
|
cuke4php_port=ENV['CUKE4PHP_PORT'] || autodetect_free_port
|
|
45
45
|
|
|
46
46
|
server = fork do
|
|
47
|
-
exec "#{File.dirname(__FILE__)}
|
|
47
|
+
exec "#{File.dirname(__FILE__)}/cuke4php_server -p #{cuke4php_port} #{ARGV.last ? ARGV.last : 'features'}"
|
|
48
48
|
end
|
|
49
49
|
sleep 1
|
|
50
50
|
cucumber = fork do
|
|
File without changes
|
data/cuke4php.gemspec
CHANGED
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{cuke4php}
|
|
8
|
-
s.version = "0.9.
|
|
8
|
+
s.version = "0.9.6.a"
|
|
9
9
|
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Kevin Olbrich", "Alessandro Dal Grande"]
|
|
12
|
-
s.date = %q{2011-03
|
|
13
|
-
s.default_executable = %q{cuke4php}
|
|
12
|
+
s.date = %q{2011-05-03}
|
|
14
13
|
s.description = %q{Using this protocol it is possible to directly interact with PHP code at any level without the need for a web server. To accomplish this, when cucumber is running against a directory containing feature files and it cannot resolve a particular step definition, it will ask a known wire server (as defined in a .wire file) to interpret and run those steps.}
|
|
15
14
|
s.email = ["kevin.olbrich+cuke4php@gmail.com", "aledalgrande@gmail.com"]
|
|
16
|
-
s.executables = ["cuke4php"]
|
|
15
|
+
s.executables = ["cuke4php", "cuke4php_server"]
|
|
17
16
|
s.extra_rdoc_files = [
|
|
18
17
|
"LICENSE",
|
|
19
18
|
"README.md"
|
|
@@ -27,6 +26,7 @@ Gem::Specification.new do |s|
|
|
|
27
26
|
"Rakefile",
|
|
28
27
|
"VERSION",
|
|
29
28
|
"bin/cuke4php",
|
|
29
|
+
"bin/cuke4php_server",
|
|
30
30
|
"cucumber.yml",
|
|
31
31
|
"cuke4php.gemspec",
|
|
32
32
|
"features/Cuke4Php.feature",
|
|
@@ -40,7 +40,6 @@ Gem::Specification.new do |s|
|
|
|
40
40
|
"lib/CucumberScenario.php",
|
|
41
41
|
"lib/CucumberSteps.php",
|
|
42
42
|
"lib/Cuke4Php.php",
|
|
43
|
-
"php_bin/cuke4php_server",
|
|
44
43
|
"tests/lib/CucumberScenarioTest.php",
|
|
45
44
|
"tests/lib/Cuke4PhpTest.php"
|
|
46
45
|
]
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cuke4php
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 122
|
|
5
|
+
prerelease: true
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
|
-
-
|
|
10
|
-
|
|
9
|
+
- 6
|
|
10
|
+
- a
|
|
11
|
+
version: 0.9.6.a
|
|
11
12
|
platform: ruby
|
|
12
13
|
authors:
|
|
13
14
|
- Kevin Olbrich
|
|
@@ -16,8 +17,8 @@ autorequire:
|
|
|
16
17
|
bindir: bin
|
|
17
18
|
cert_chain: []
|
|
18
19
|
|
|
19
|
-
date: 2011-03
|
|
20
|
-
default_executable:
|
|
20
|
+
date: 2011-05-03 00:00:00 -04:00
|
|
21
|
+
default_executable:
|
|
21
22
|
dependencies:
|
|
22
23
|
- !ruby/object:Gem::Dependency
|
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
@@ -70,6 +71,7 @@ email:
|
|
|
70
71
|
- aledalgrande@gmail.com
|
|
71
72
|
executables:
|
|
72
73
|
- cuke4php
|
|
74
|
+
- cuke4php_server
|
|
73
75
|
extensions: []
|
|
74
76
|
|
|
75
77
|
extra_rdoc_files:
|
|
@@ -84,6 +86,7 @@ files:
|
|
|
84
86
|
- Rakefile
|
|
85
87
|
- VERSION
|
|
86
88
|
- bin/cuke4php
|
|
89
|
+
- bin/cuke4php_server
|
|
87
90
|
- cucumber.yml
|
|
88
91
|
- cuke4php.gemspec
|
|
89
92
|
- features/Cuke4Php.feature
|
|
@@ -97,7 +100,6 @@ files:
|
|
|
97
100
|
- lib/CucumberScenario.php
|
|
98
101
|
- lib/CucumberSteps.php
|
|
99
102
|
- lib/Cuke4Php.php
|
|
100
|
-
- php_bin/cuke4php_server
|
|
101
103
|
- tests/lib/CucumberScenarioTest.php
|
|
102
104
|
- tests/lib/Cuke4PhpTest.php
|
|
103
105
|
has_rdoc: false
|
|
@@ -135,12 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
135
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
138
|
none: false
|
|
137
139
|
requirements:
|
|
138
|
-
- - "
|
|
140
|
+
- - ">"
|
|
139
141
|
- !ruby/object:Gem::Version
|
|
140
|
-
hash:
|
|
142
|
+
hash: 25
|
|
141
143
|
segments:
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
+
- 1
|
|
145
|
+
- 3
|
|
146
|
+
- 1
|
|
147
|
+
version: 1.3.1
|
|
144
148
|
requirements:
|
|
145
149
|
- PHP 5.2+
|
|
146
150
|
- PHPUnit 3.0+
|