clucumber 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -12
- data/lib/clucumber.rb +1 -1
- metadata +48 -66
data/README.md
CHANGED
@@ -32,18 +32,9 @@ definitions.
|
|
32
32
|
|
33
33
|
Put a .wire file into your step_definitions dir; I like to name it `features/step_definitions/clucumber.wire`. See [examples/clucumber.wire](//github.com/antifuchs/clucumber/tree/master/examples/clucumber.wire) for one that works for me.
|
34
34
|
|
35
|
-
In your `features/support/env.rb`, you use something like
|
36
|
-
|
37
|
-
|
38
|
-
begin
|
39
|
-
ClucumberSubprocess.launch(File.expand_path("../", File.dirname(__FILE__))).listen <<-LISP
|
40
|
-
;; Put code here that loads your application.
|
41
|
-
LISP
|
42
|
-
rescue PTY::ChildExited
|
43
|
-
STDERR.puts(@main_clucumber && @main_clucumber.output)
|
44
|
-
end
|
45
|
-
|
46
|
-
This will launch a lisp with clucumber loaded (pass :lisp parameter to `ClucumberSubprocess.new` to specify which lisp, it defaults to sbcl), and (if you used the [examples/clucumber.wire](//github.com/antifuchs/clucumber/tree/master/examples/clucumber.wire) file) start listening on port 42428.
|
35
|
+
In your `features/support/env.rb`, you use something like [the included example code](//github.com/antifuchs/clucumber/tree/master/examples/example-env.rb).
|
36
|
+
|
37
|
+
The code in this file will launch a lisp with clucumber loaded (pass :lisp parameter to `ClucumberSubprocess.new` to specify which lisp, it defaults to sbcl), and (if you used the [examples/clucumber.wire](//github.com/antifuchs/clucumber/tree/master/examples/clucumber.wire) file) start listening on port 42427.
|
47
38
|
|
48
39
|
Then, on the command line, you run cucumber:
|
49
40
|
|
data/lib/clucumber.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,58 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: clucumber
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 1
|
10
|
-
version: 0.4.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Andreas Fuchs
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: aruba
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
33
22
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: cucumber
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: cucumber
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
39
33
|
none: false
|
40
|
-
requirements:
|
34
|
+
requirements:
|
41
35
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 55
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 10
|
47
|
-
- 0
|
36
|
+
- !ruby/object:Gem::Version
|
48
37
|
version: 0.10.0
|
49
38
|
type: :runtime
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.10.0
|
46
|
+
description: ! "A cucumber extension that lets you write your step definitions in
|
47
|
+
Common Lisp. \n Set internal state in your Hunchentoot web app or your library,
|
48
|
+
and use the full power of Cucumber and its other extensions."
|
54
49
|
email: asf@boinkor.net
|
55
50
|
executables: []
|
56
|
-
|
57
51
|
extensions: []
|
58
|
-
|
59
|
-
extra_rdoc_files:
|
52
|
+
extra_rdoc_files:
|
60
53
|
- LICENSE
|
61
54
|
- README.md
|
62
|
-
files:
|
55
|
+
files:
|
63
56
|
- lib/clucumber.rb
|
64
57
|
- lib/clucumber/clucumber-bootstrap.lisp
|
65
58
|
- lib/clucumber/clucumber.asd
|
@@ -201,39 +194,28 @@ files:
|
|
201
194
|
- lib/clucumber/vendor/usocket/vendor/split-sequence.lisp
|
202
195
|
- LICENSE
|
203
196
|
- README.md
|
204
|
-
has_rdoc: true
|
205
197
|
homepage: http://github.com/antifuchs/clucumber
|
206
198
|
licenses: []
|
207
|
-
|
208
199
|
post_install_message:
|
209
200
|
rdoc_options: []
|
210
|
-
|
211
|
-
require_paths:
|
201
|
+
require_paths:
|
212
202
|
- lib
|
213
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
214
204
|
none: false
|
215
|
-
requirements:
|
216
|
-
- -
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
|
219
|
-
|
220
|
-
- 0
|
221
|
-
version: "0"
|
222
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
210
|
none: false
|
224
|
-
requirements:
|
225
|
-
- -
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
|
228
|
-
segments:
|
229
|
-
- 0
|
230
|
-
version: "0"
|
211
|
+
requirements:
|
212
|
+
- - ! '>='
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
231
215
|
requirements: []
|
232
|
-
|
233
216
|
rubyforge_project:
|
234
|
-
rubygems_version: 1.
|
217
|
+
rubygems_version: 1.8.23.2
|
235
218
|
signing_key:
|
236
219
|
specification_version: 3
|
237
220
|
summary: Test drive your Common Lisp application from Cucumber
|
238
221
|
test_files: []
|
239
|
-
|