cuke-inspector 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -1
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/lib/cuke-inspector/formatter/pickle_sanitizer.rb +1 -0
- metadata +41 -14
data/README.rdoc
CHANGED
@@ -5,7 +5,6 @@ A formatter to create a json representation of the steps used in a cucumber suit
|
|
5
5
|
To set up the generation of the json file for a rails project:
|
6
6
|
- Add the cuke-inspector gem to your environment.rb (config.gem 'cuke-inspector', :lib => false)
|
7
7
|
- Require the cuke-inspector gem from features/support/env.rb
|
8
|
-
- Add public/cuke-inspector to your .gitignore
|
9
8
|
- Add the formatter to the default options in your config/cucumber.yml. The options to add are:
|
10
9
|
"--format Cucumber::Formatter::StepdefsJson --out public/cuke-inspector/javascripts/cucumber_steps.json"
|
11
10
|
- Generate the view files by running ./script/generate cuke_inspector_view
|
data/Rakefile
CHANGED
@@ -11,7 +11,8 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/tomtt/cuke-inspector"
|
12
12
|
gem.authors = ["Tom ten Thij"]
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
|
-
gem.add_development_dependency "
|
14
|
+
gem.add_development_dependency "pickle", ">= 0"
|
15
|
+
gem.add_dependency "cucumber", ">= 0.3.104"
|
15
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
17
|
end
|
17
18
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
@@ -10,6 +10,7 @@ module Cucumber
|
|
10
10
|
|
11
11
|
def self.unpickle(regexp_string)
|
12
12
|
if Gem.available?('pickle')
|
13
|
+
require 'pickle'
|
13
14
|
@@pickle_parser ||= Pickle::Parser.new(:config => Pickle::Config.new)
|
14
15
|
@@pickle_capture_methods.each do |capture_method|
|
15
16
|
regexp_string.gsub!(@@pickle_parser.send(capture_method), "\#{#{capture_method}}")
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuke-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 8
|
9
|
+
version: 0.0.8
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Tom ten Thij
|
@@ -9,29 +14,49 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-02-
|
17
|
+
date: 2010-02-24 00:00:00 +00:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rspec
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 9
|
23
31
|
version: 1.2.9
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: cucumber
|
27
32
|
type: :development
|
28
|
-
|
29
|
-
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: pickle
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
33
43
|
version: "0"
|
34
|
-
|
44
|
+
type: :development
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: cucumber
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
- 3
|
56
|
+
- 104
|
57
|
+
version: 0.3.104
|
58
|
+
type: :runtime
|
59
|
+
version_requirements: *id003
|
35
60
|
description: A formatter to create a json representation of the steps used in a cucumber suite and html to view them
|
36
61
|
email: cuke-inspector@tomtenthij.nl
|
37
62
|
executables: []
|
@@ -87,18 +112,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
112
|
requirements:
|
88
113
|
- - ">="
|
89
114
|
- !ruby/object:Gem::Version
|
115
|
+
segments:
|
116
|
+
- 0
|
90
117
|
version: "0"
|
91
|
-
version:
|
92
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
119
|
requirements:
|
94
120
|
- - ">="
|
95
121
|
- !ruby/object:Gem::Version
|
122
|
+
segments:
|
123
|
+
- 0
|
96
124
|
version: "0"
|
97
|
-
version:
|
98
125
|
requirements: []
|
99
126
|
|
100
127
|
rubyforge_project:
|
101
|
-
rubygems_version: 1.3.
|
128
|
+
rubygems_version: 1.3.6
|
102
129
|
signing_key:
|
103
130
|
specification_version: 3
|
104
131
|
summary: Inspect the steps in a cucumber suite
|