cuke4php 0.9.1 → 0.9.2

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 +1 -1
  3. data/lib/Cuke4Php.php +3 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
data/cuke4php.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cuke4php}
8
- s.version = "0.9.1"
8
+ s.version = "0.9.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kevin Olbrich", "Alessandro Dal Grande"]
data/lib/Cuke4Php.php CHANGED
@@ -25,8 +25,9 @@ class Cuke4Php {
25
25
  );
26
26
 
27
27
  function __construct($_sFeaturePath, $_iPort = 16816) {
28
- $_sFeaturePath = dirname($_sFeaturePath);
29
-
28
+ if (is_file($_sFeaturePath)) {
29
+ $_sFeaturePath = dirname($_sFeaturePath);
30
+ }
30
31
  if ($_iPort > 0) {
31
32
  $this->iPort = $_iPort;
32
33
  } else {
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: 57
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 1
10
- version: 0.9.1
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kevin Olbrich