maiha-crb 0.1 → 0.1.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.
Files changed (4) hide show
  1. data/README +38 -0
  2. data/Rakefile +1 -1
  3. data/bin/crb +2 -1
  4. metadata +1 -1
data/README CHANGED
@@ -0,0 +1,38 @@
1
+ crb
2
+ ===
3
+
4
+ An irb console for cucumber world
5
+
6
+
7
+ Usage
8
+ =====
9
+
10
+ Use 'crb' command as same as 'cucumber' command
11
+ % crb (... cucumber options ...)
12
+
13
+ And then you are in cucumber world via irb
14
+
15
+
16
+ Example
17
+ =======
18
+
19
+ % vi features/steps/example_step.rb
20
+ Given /^x$/ do
21
+ p "'Given x' is called"
22
+ end
23
+
24
+ % crb features
25
+ irb(CRB):001:0> Given 'x'
26
+ "'Given x' is called"
27
+ => nil
28
+ irb(CRB):002:0> Given 'y'
29
+ Cucumber::Undefined: Undefined step: "y"
30
+ from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/step_mother.rb:220:in `step_match'
31
+ from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/world.rb:15:in `Given'
32
+
33
+
34
+ Author
35
+ ======
36
+
37
+ maiha@wota.jp
38
+
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ AUTHOR = "maiha"
9
9
  EMAIL = "maiha@wota.jp"
10
10
  HOMEPAGE = "http://github.com/maiha/crb"
11
11
  SUMMARY = "A cucumber console that offers cucumber world enviroment on irb"
12
- GEM_VERSION = "0.1"
12
+ GEM_VERSION = "0.1.1"
13
13
 
14
14
  spec = Gem::Specification.new do |s|
15
15
  s.rubyforge_project = 'asakusarb'
data/bin/crb CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # clear ARGV for calling IRB
2
+ # clear ARGV for Irb
3
3
 
4
+ require 'crb'
4
5
  CRB.start(ARGV.slice!(0..-1))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maiha-crb
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - maiha