bahia 0.5.0 → 0.5.1
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/CHANGELOG.rdoc +3 -0
- data/README.md +5 -2
- data/lib/bahia.rb +3 -3
- metadata +6 -6
data/CHANGELOG.rdoc
CHANGED
data/README.md
CHANGED
@@ -64,8 +64,11 @@ About
|
|
64
64
|
Bahia uses open3 and is dead simple - so simple that you probably should've read
|
65
65
|
the source instead of this readme. Ha!
|
66
66
|
|
67
|
-
Edit: open3
|
68
|
-
|
67
|
+
Edit: open3 don't work for 1.9 rubies so the joke is on me.
|
68
|
+
|
69
|
+
Limitations
|
70
|
+
===========
|
71
|
+
Can't capture process in jruby yet.
|
69
72
|
|
70
73
|
Contributing
|
71
74
|
============
|
data/lib/bahia.rb
CHANGED
@@ -2,7 +2,7 @@ require 'open3'
|
|
2
2
|
require 'shellwords'
|
3
3
|
|
4
4
|
module Bahia
|
5
|
-
VERSION = '0.5.
|
5
|
+
VERSION = '0.5.1'
|
6
6
|
|
7
7
|
class DetectionError < StandardError
|
8
8
|
def initialize(name)
|
@@ -60,8 +60,8 @@ module Bahia
|
|
60
60
|
raise DetectionError.new(:project_directory) unless File.exists?(file)
|
61
61
|
|
62
62
|
dir = File.dirname(file)
|
63
|
-
#
|
64
|
-
until dir[%r{/(spec|test)$}]
|
63
|
+
# Look for bin or test directory called spec or test
|
64
|
+
until dir[%r{/(bin|spec|test)$}]
|
65
65
|
raise DetectionError.new(:project_directory) if dir == '/'
|
66
66
|
dir = File.dirname(dir)
|
67
67
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bahia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: open4
|
16
|
-
requirement: &
|
16
|
+
requirement: &70096433531440 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70096433531440
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70096433530940 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 2.8.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70096433530940
|
36
36
|
description: Bahia - where commandline acceptance tests are easy, the people are festive
|
37
37
|
and onde nasceu capoeira. In other words, aruba for any non-cucumber test framework.
|
38
38
|
email: gabriel.horner@gmail.com
|