cuke4php 0.9.8 → 0.9.9

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/cuke4php.gemspec +2 -2
  3. data/lib/Cucumber.php +6 -4
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.8
1
+ 0.9.9
data/cuke4php.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cuke4php}
8
- s.version = "0.9.8"
8
+ s.version = "0.9.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Kevin Olbrich}, %q{Alessandro Dal Grande}]
12
- s.date = %q{2011-08-31}
12
+ s.date = %q{2011-09-05}
13
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.}
14
14
  s.email = [%q{kevin.olbrich+cuke4php@gmail.com}, %q{aledalgrande@gmail.com}]
15
15
  s.executables = [%q{cuke4php_forking_server}, %q{cuke4php_server}, %q{cuke4php}]
data/lib/Cucumber.php CHANGED
@@ -5,10 +5,12 @@
5
5
  */
6
6
 
7
7
  /**
8
- * load all php files in this directory
8
+ * load all php files except the forking server in this directory
9
+ * Note: If you require the forking server, it will fail unless pear/Net_Server is installed
9
10
  */
10
- foreach (glob(dirname(__FILE__) . "/*.php") as $sFilename) {
11
- require_once $sFilename;
12
- }
11
+
12
+ require_once dirname(__FILE__) . "/CucumberScenario.php";
13
+ require_once dirname(__FILE__) . "/CucumberSteps.php";
14
+ require_once dirname(__FILE__) . "/Cuke4php.php";
13
15
 
14
16
  ?>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke4php
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- version: 0.9.8
9
+ - 9
10
+ version: 0.9.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kevin Olbrich
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-08-31 00:00:00 Z
19
+ date: 2011-09-05 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  version_requirements: &id001 !ruby/object:Gem::Requirement