cuke4php 0.9.6.a → 0.9.6.b

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -10,7 +10,6 @@ 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','cuke4php_server']
14
13
  gem.files.exclude 'phpdoc'
15
14
  gem.has_rdoc = false
16
15
  gem.requirements << "PHP 5.2+"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.6.a
1
+ 0.9.6.b
data/bin/cuke4php_server CHANGED
@@ -1,20 +1,2 @@
1
- #!/usr/bin/env php
2
- <?php
3
- /**
4
- * main entry point for starting a Cuke4Php wire server
5
- * @package Cuke4Php
6
- */
7
-
8
- /**
9
- * load the Cuke4Php server
10
- */
11
- require_once dirname(__FILE__) . "/../lib/Cuke4Php.php";
12
- $aOptions = getopt("p:");
13
- if (array_key_exists('p',$aOptions)) {
14
- $iPort = $aOptions['p'];
15
- } else {
16
- $iPort = null;
17
- }
18
- $oServer = new Cuke4Php(realpath($argv[$argc-1]), $iPort);
19
- $oServer->run();
20
- ?>
1
+ #!/usr/bin/env ruby
2
+ exec File.dirname(__FILE__) + "/../php_bin/cuke4php_server.php #{ARGV.join(' ')}"
data/cuke4php.gemspec CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cuke4php}
8
- s.version = "0.9.6.a"
8
+ s.version = "0.9.6.b"
9
9
 
10
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-05-03}
12
+ s.date = %q{2011-05-06}
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 = ["kevin.olbrich+cuke4php@gmail.com", "aledalgrande@gmail.com"]
15
- s.executables = ["cuke4php", "cuke4php_server"]
15
+ s.executables = ["cuke4php_server", "cuke4php"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
18
18
  "README.md"
@@ -40,10 +40,10 @@ 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.php",
43
44
  "tests/lib/CucumberScenarioTest.php",
44
45
  "tests/lib/Cuke4PhpTest.php"
45
46
  ]
46
- s.has_rdoc = false
47
47
  s.homepage = %q{http://github.com/olbrich/cuke4php}
48
48
  s.post_install_message = %q{********************************************************************************
49
49
 
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env php
2
+ <?php
3
+ /**
4
+ * main entry point for starting a Cuke4Php wire server
5
+ * @package Cuke4Php
6
+ */
7
+
8
+ /**
9
+ * load the Cuke4Php server
10
+ */
11
+ require_once dirname(__FILE__) . "/../lib/Cuke4Php.php";
12
+ $aOptions = getopt("p:");
13
+ if (array_key_exists('p',$aOptions)) {
14
+ $iPort = $aOptions['p'];
15
+ } else {
16
+ $iPort = null;
17
+ }
18
+ $oServer = new Cuke4Php(realpath($argv[$argc-1]), $iPort);
19
+ $oServer->run();
20
+ ?>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke4php
3
3
  version: !ruby/object:Gem::Version
4
- hash: 122
4
+ hash: 123
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 6
10
- - a
11
- version: 0.9.6.a
10
+ - b
11
+ version: 0.9.6.b
12
12
  platform: ruby
13
13
  authors:
14
14
  - Kevin Olbrich
@@ -17,11 +17,14 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-05-03 00:00:00 -04:00
20
+ date: 2011-05-06 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ type: :runtime
25
+ prerelease: false
26
+ name: cucumber
27
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
28
  none: false
26
29
  requirements:
27
30
  - - ">="
@@ -32,12 +35,12 @@ dependencies:
32
35
  - 10
33
36
  - 2
34
37
  version: 0.10.2
35
- type: :runtime
36
- name: cucumber
37
- prerelease: false
38
- version_requirements: *id001
38
+ requirement: *id001
39
39
  - !ruby/object:Gem::Dependency
40
- requirement: &id002 !ruby/object:Gem::Requirement
40
+ type: :development
41
+ prerelease: false
42
+ name: bundler
43
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
44
  none: false
42
45
  requirements:
43
46
  - - ~>
@@ -47,12 +50,12 @@ dependencies:
47
50
  - 1
48
51
  - 0
49
52
  version: "1.0"
53
+ requirement: *id002
54
+ - !ruby/object:Gem::Dependency
50
55
  type: :development
51
- name: bundler
52
56
  prerelease: false
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- requirement: &id003 !ruby/object:Gem::Requirement
57
+ name: jeweler
58
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
59
  none: false
57
60
  requirements:
58
61
  - - ">="
@@ -61,17 +64,14 @@ dependencies:
61
64
  segments:
62
65
  - 0
63
66
  version: "0"
64
- type: :development
65
- name: jeweler
66
- prerelease: false
67
- version_requirements: *id003
67
+ requirement: *id003
68
68
  description: 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.
69
69
  email:
70
70
  - kevin.olbrich+cuke4php@gmail.com
71
71
  - aledalgrande@gmail.com
72
72
  executables:
73
- - cuke4php
74
73
  - cuke4php_server
74
+ - cuke4php
75
75
  extensions: []
76
76
 
77
77
  extra_rdoc_files:
@@ -100,9 +100,10 @@ files:
100
100
  - lib/CucumberScenario.php
101
101
  - lib/CucumberSteps.php
102
102
  - lib/Cuke4Php.php
103
+ - php_bin/cuke4php_server.php
103
104
  - tests/lib/CucumberScenarioTest.php
104
105
  - tests/lib/Cuke4PhpTest.php
105
- has_rdoc: false
106
+ has_rdoc: true
106
107
  homepage: http://github.com/olbrich/cuke4php
107
108
  licenses: []
108
109