cucumber 0.5.1 → 0.5.2
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/History.txt +10 -0
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/cucumber.gemspec +12 -3
- data/examples/watir/Rakefile +3 -1
- data/examples/watir/cucumber.yml +1 -0
- data/examples/watir/features/search.feature +1 -1
- data/features/step_definitions/wire_steps.rb +23 -5
- data/features/support/fake_wire_server.rb +16 -2
- data/features/wire_protocol_timeouts.feature +62 -0
- data/lib/cucumber/ast/table.rb +0 -5
- data/lib/cucumber/cli/options.rb +11 -0
- data/lib/cucumber/formatter/html.rb +16 -0
- data/lib/cucumber/languages.yml +200 -200
- data/lib/cucumber/wire_support/configuration.rb +18 -0
- data/lib/cucumber/wire_support/connection.rb +16 -12
- data/lib/cucumber/wire_support/request_handler.rb +14 -4
- data/lib/cucumber/wire_support/wire_language.rb +13 -17
- data/lib/cucumber/wire_support/wire_protocol.rb +15 -79
- data/lib/cucumber/wire_support/wire_protocol/requests.rb +113 -0
- data/spec/cucumber/formatter/html_spec.rb +14 -0
- data/spec/cucumber/wire_support/configuration_spec.rb +34 -0
- data/spec/cucumber/wire_support/wire_language_spec.rb +2 -2
- metadata +19 -3
@@ -5,10 +5,10 @@ module Cucumber
|
|
5
5
|
module WireSupport
|
6
6
|
describe WireLanguage do
|
7
7
|
def stub_wire_file!(filename, config)
|
8
|
-
|
8
|
+
Configuration.stub!(:new).with(filename).and_return config
|
9
9
|
end
|
10
10
|
|
11
|
-
describe "#load_code_file" do
|
11
|
+
describe "#load_code_file" do
|
12
12
|
before(:each) do
|
13
13
|
stub_wire_file! 'foo.wire', :config
|
14
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
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: 2009-12-
|
12
|
+
date: 2009-12-22 00:00:00 +01:00
|
13
13
|
default_executable: cucumber
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -62,6 +62,16 @@ dependencies:
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 1.1.2
|
64
64
|
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: json_pure
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 1.2.0
|
74
|
+
version:
|
65
75
|
- !ruby/object:Gem::Dependency
|
66
76
|
name: nokogiri
|
67
77
|
type: :development
|
@@ -407,6 +417,7 @@ files:
|
|
407
417
|
- examples/tickets/features/tickets.feature
|
408
418
|
- examples/watir/README.textile
|
409
419
|
- examples/watir/Rakefile
|
420
|
+
- examples/watir/cucumber.yml
|
410
421
|
- examples/watir/features/search.feature
|
411
422
|
- examples/watir/features/step_definitions/search_steps.rb
|
412
423
|
- examples/watir/features/support/env.rb
|
@@ -460,6 +471,7 @@ files:
|
|
460
471
|
- features/usage_and_stepdefs_formatter.feature
|
461
472
|
- features/wire_protocol.feature
|
462
473
|
- features/wire_protocol_table_diffing.feature
|
474
|
+
- features/wire_protocol_timeouts.feature
|
463
475
|
- features/work_in_progress.feature
|
464
476
|
- gem_tasks/contributors.rake
|
465
477
|
- gem_tasks/environment.rake
|
@@ -563,12 +575,14 @@ files:
|
|
563
575
|
- lib/cucumber/step_mother.rb
|
564
576
|
- lib/cucumber/webrat/element_locator.rb
|
565
577
|
- lib/cucumber/webrat/table_locator.rb
|
578
|
+
- lib/cucumber/wire_support/configuration.rb
|
566
579
|
- lib/cucumber/wire_support/connection.rb
|
567
580
|
- lib/cucumber/wire_support/request_handler.rb
|
568
581
|
- lib/cucumber/wire_support/wire_exception.rb
|
569
582
|
- lib/cucumber/wire_support/wire_language.rb
|
570
583
|
- lib/cucumber/wire_support/wire_packet.rb
|
571
584
|
- lib/cucumber/wire_support/wire_protocol.rb
|
585
|
+
- lib/cucumber/wire_support/wire_protocol/requests.rb
|
572
586
|
- lib/cucumber/wire_support/wire_step_definition.rb
|
573
587
|
- spec/cucumber/ast/background_spec.rb
|
574
588
|
- spec/cucumber/ast/feature_element_spec.rb
|
@@ -618,6 +632,7 @@ files:
|
|
618
632
|
- spec/cucumber/treetop_parser/test_dos.feature
|
619
633
|
- spec/cucumber/treetop_parser/with_comments.feature
|
620
634
|
- spec/cucumber/treetop_parser/with_tags.feature
|
635
|
+
- spec/cucumber/wire_support/configuration_spec.rb
|
621
636
|
- spec/cucumber/wire_support/wire_exception_spec.rb
|
622
637
|
- spec/cucumber/wire_support/wire_language_spec.rb
|
623
638
|
- spec/cucumber/wire_support/wire_packet_spec.rb
|
@@ -635,7 +650,7 @@ post_install_message: |+
|
|
635
650
|
|
636
651
|
(::) U P G R A D I N G (::)
|
637
652
|
|
638
|
-
Thank you for installing cucumber-0.5.
|
653
|
+
Thank you for installing cucumber-0.5.2.
|
639
654
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
|
640
655
|
for important information about this release. Happy cuking!
|
641
656
|
|
@@ -699,6 +714,7 @@ test_files:
|
|
699
714
|
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
700
715
|
- spec/cucumber/step_match_spec.rb
|
701
716
|
- spec/cucumber/step_mother_spec.rb
|
717
|
+
- spec/cucumber/wire_support/configuration_spec.rb
|
702
718
|
- spec/cucumber/wire_support/wire_exception_spec.rb
|
703
719
|
- spec/cucumber/wire_support/wire_language_spec.rb
|
704
720
|
- spec/cucumber/wire_support/wire_packet_spec.rb
|