cuke-irb 0.0.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/.gitignore +2 -0
- data/.rvmrc +5 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +27 -0
- data/README.md +0 -0
- data/Rakefile +2 -0
- data/cuke-irb.gemspec +28 -0
- data/lib/cuke-irb/stopper.rb +13 -0
- data/lib/cuke-irb/version.rb +3 -0
- data/lib/cuke-irb.rb +1 -0
- metadata +76 -0
data/.gitignore
ADDED
data/.rvmrc
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
cuke-irb (0.0.1)
|
|
5
|
+
cucumber
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: http://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
builder (3.0.0)
|
|
11
|
+
cucumber (1.0.1)
|
|
12
|
+
builder (>= 2.1.2)
|
|
13
|
+
diff-lcs (>= 1.1.2)
|
|
14
|
+
gherkin (~> 2.4.5)
|
|
15
|
+
json (>= 1.4.6)
|
|
16
|
+
term-ansicolor (>= 1.0.5)
|
|
17
|
+
diff-lcs (1.1.2)
|
|
18
|
+
gherkin (2.4.5)
|
|
19
|
+
json (>= 1.4.6)
|
|
20
|
+
json (1.5.3)
|
|
21
|
+
term-ansicolor (1.0.5)
|
|
22
|
+
|
|
23
|
+
PLATFORMS
|
|
24
|
+
ruby
|
|
25
|
+
|
|
26
|
+
DEPENDENCIES
|
|
27
|
+
cuke-irb!
|
data/README.md
ADDED
|
File without changes
|
data/Rakefile
ADDED
data/cuke-irb.gemspec
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
+
require "cuke-irb/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |s|
|
|
6
|
+
s.name = "cuke-irb"
|
|
7
|
+
s.version = CukeIrb::VERSION
|
|
8
|
+
s.platform = Gem::Platform::RUBY
|
|
9
|
+
s.authors = ["Andreas Heim"]
|
|
10
|
+
s.email = ["andreas@heim.no"]
|
|
11
|
+
s.homepage = "http://github.com/heim/cuke-irb"
|
|
12
|
+
s.summary = %q{Cucumber plugin that enables user to stop the execution of a feature and inspect the environment using irb}
|
|
13
|
+
s.description = %q{Cucumber plugin that enables user to stop the execution of a feature and inspect the environment using irb}
|
|
14
|
+
|
|
15
|
+
s.add_dependency "cucumber"
|
|
16
|
+
|
|
17
|
+
s.post_install_message = <<-EOS
|
|
18
|
+
|
|
19
|
+
*****************************************************************
|
|
20
|
+
* To use the cuke-irb tag your scenarios with @wip and @stop *
|
|
21
|
+
*****************************************************************
|
|
22
|
+
EOS
|
|
23
|
+
|
|
24
|
+
s.files = `git ls-files`.split("\n")
|
|
25
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
26
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
27
|
+
s.require_paths = ["lib"]
|
|
28
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
require 'cucumber'
|
|
2
|
+
if respond_to? :After
|
|
3
|
+
After do |scenario|
|
|
4
|
+
if scenario.failed? && scenario.source_tag_names.include?("@stop") && scenario.source_tag_names.include?("@stop")
|
|
5
|
+
puts "Scenario failed. You are in irb because of @stop. Type exit when you are done"
|
|
6
|
+
require 'irb'
|
|
7
|
+
require 'irb/completion'
|
|
8
|
+
ARGV.clear
|
|
9
|
+
IRB.start
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
data/lib/cuke-irb.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'cuke-irb/stopper'
|
metadata
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: cuke-irb
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 0.0.1
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Andreas Heim
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
|
|
13
|
+
date: 2011-07-13 00:00:00 +02:00
|
|
14
|
+
default_executable:
|
|
15
|
+
dependencies:
|
|
16
|
+
- !ruby/object:Gem::Dependency
|
|
17
|
+
name: cucumber
|
|
18
|
+
prerelease: false
|
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
20
|
+
none: false
|
|
21
|
+
requirements:
|
|
22
|
+
- - ">="
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: "0"
|
|
25
|
+
type: :runtime
|
|
26
|
+
version_requirements: *id001
|
|
27
|
+
description: Cucumber plugin that enables user to stop the execution of a feature and inspect the environment using irb
|
|
28
|
+
email:
|
|
29
|
+
- andreas@heim.no
|
|
30
|
+
executables: []
|
|
31
|
+
|
|
32
|
+
extensions: []
|
|
33
|
+
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
|
|
36
|
+
files:
|
|
37
|
+
- .gitignore
|
|
38
|
+
- .rvmrc
|
|
39
|
+
- Gemfile
|
|
40
|
+
- Gemfile.lock
|
|
41
|
+
- README.md
|
|
42
|
+
- Rakefile
|
|
43
|
+
- cuke-irb.gemspec
|
|
44
|
+
- lib/cuke-irb.rb
|
|
45
|
+
- lib/cuke-irb/stopper.rb
|
|
46
|
+
- lib/cuke-irb/version.rb
|
|
47
|
+
has_rdoc: true
|
|
48
|
+
homepage: http://github.com/heim/cuke-irb
|
|
49
|
+
licenses: []
|
|
50
|
+
|
|
51
|
+
post_install_message: "\n *****************************************************************\n * To use the cuke-irb tag your scenarios with @wip and @stop *\n *****************************************************************\n"
|
|
52
|
+
rdoc_options: []
|
|
53
|
+
|
|
54
|
+
require_paths:
|
|
55
|
+
- lib
|
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: "0"
|
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
|
+
none: false
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "0"
|
|
68
|
+
requirements: []
|
|
69
|
+
|
|
70
|
+
rubyforge_project:
|
|
71
|
+
rubygems_version: 1.6.2
|
|
72
|
+
signing_key:
|
|
73
|
+
specification_version: 3
|
|
74
|
+
summary: Cucumber plugin that enables user to stop the execution of a feature and inspect the environment using irb
|
|
75
|
+
test_files: []
|
|
76
|
+
|