aslakhellesoy-cucumber 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Cucumber #:nodoc:
2
2
  class VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 11
5
+ TINY = 12
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aslakhellesoy-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-02 00:00:00 -08:00
12
+ date: 2008-12-04 00:00:00 -08:00
13
13
  default_executable: cucumber
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -78,11 +78,10 @@ files:
78
78
  - examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb
79
79
  - examples/cs/README.textile
80
80
  - examples/cs/Rakefile
81
- - examples/cs/features/hello.feature
82
- - examples/cs/features/step_definitons/hello_steps.rb
83
- - examples/cs/features/step_definitons/tree_steps.rb
84
- - examples/cs/features/tree.feature
85
- - examples/cs/src/Hello.cs
81
+ - examples/cs/compile.bat
82
+ - examples/cs/features/addition.feature
83
+ - examples/cs/features/step_definitons/calculator_steps.rb
84
+ - examples/cs/src/demo/Calculator.cs
86
85
  - examples/dos_line_endings/Rakefile
87
86
  - examples/dos_line_endings/features/dos_line_endings.feature
88
87
  - examples/i18n/README.textile
@@ -231,6 +230,7 @@ files:
231
230
  - lib/cucumber/treetop_parser/feature_cy.rb
232
231
  - lib/cucumber/treetop_parser/feature_da.rb
233
232
  - lib/cucumber/treetop_parser/feature_de.rb
233
+ - lib/cucumber/treetop_parser/feature_en-lol.rb
234
234
  - lib/cucumber/treetop_parser/feature_en-tx.rb
235
235
  - lib/cucumber/treetop_parser/feature_en.rb
236
236
  - lib/cucumber/treetop_parser/feature_es.rb
@@ -1,11 +0,0 @@
1
- Feature: Hello
2
- In order to have more friends
3
- I want to say hello
4
-
5
- Scenario: Personal greeting
6
- Given my name is Aslak
7
- When I greet David
8
- Then he should hear Hi, David. I'm Aslak.
9
- And I should remember David as a friend
10
- And I should get David's phone number
11
-
@@ -1,25 +0,0 @@
1
- require 'spec' # so we can call .should
2
- $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../src') # so the jar is found
3
- require 'dotnet'
4
- loadLibrary 'Cucumber.Demo'
5
-
6
- Given /my name is (\w+)/ do |name|
7
- @hello = Hello.new # A .net object
8
- @name = name
9
- end
10
-
11
- When /I greet (.*)/ do |someone|
12
- @greeting = @hello.greet(someone, @name)
13
- end
14
-
15
- Then /he should hear (.*)\./ do |message|
16
- @greeting.should == message
17
- end
18
-
19
- Then /I should remember (\w+) as a friend/ do |name|
20
- @hello.isFriend(name).should == true
21
- end
22
-
23
- Then /I should get (\w+)'s phone number/ do |name|
24
- @hello.getPhoneNumber(name).should_not == nil
25
- end
@@ -1,14 +0,0 @@
1
- require 'spec'
2
- require 'dotnet'
3
-
4
- Given /I have an empty set/ do
5
- @set = System.Collections.ArrayList.new
6
- end
7
-
8
- When /I add (\w+)/ do |s|
9
- @set.add(s)
10
- end
11
-
12
- Then /the contents should be (.*)/ do |s|
13
- @set.to_a.join(" ").should == s
14
- end
@@ -1,9 +0,0 @@
1
- Feature: Tree
2
- In order to have more robust Java software
3
- I want to use Cucumber against Java classes
4
-
5
- Scenario: Use java.util.TreeSet
6
- Given I have an empty set
7
- When I add hello
8
- And I add world
9
- Then the contents should be hello world
@@ -1,18 +0,0 @@
1
- using System;
2
-
3
- namespace Cucumber.Demo {
4
- public class Hello {
5
- public string Greet(string who, string from) {
6
- return "Hi, " + who + ". I'm " + from;
7
- }
8
-
9
- public bool IsFriend(string who) {
10
- return true;
11
- }
12
-
13
- public string GetPhoneNumber(string who) {
14
- return "99999";
15
- //throw new Exception("My phone is secret!");
16
- }
17
- }
18
- }