cucumber 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ == 0.5.1 2009-12-16
2
+
3
+ Small bugfix release.
4
+
5
+ === Bugfixes
6
+ * Replaced dependency on json gem with an error message, so that the cucumber gem installs on JRuby. (Aslak Hellesøy)
7
+
1
8
  == 0.5.0 2009-12-15
2
9
 
3
10
  We're bumping to 0.5.0 for this release since all of the Rails code has now moved to a new gem - cucumber-rails.
data/Rakefile CHANGED
@@ -21,7 +21,6 @@ begin
21
21
  gem.add_dependency 'polyglot', '>= 0.2.9'
22
22
  gem.add_dependency 'builder', '>= 2.1.2'
23
23
  gem.add_dependency 'diff-lcs', '>= 1.1.2'
24
- gem.add_dependency defined?(JRUBY_VERSION) ? 'json_pure' : 'json', '>= 1.2.0'
25
24
 
26
25
  gem.add_development_dependency 'nokogiri', '>= 1.4.0'
27
26
  gem.add_development_dependency 'prawn', '>= 0.5.1'
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cucumber}
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aslak Helles\303\270y"]
12
- s.date = %q{2009-12-15}
12
+ s.date = %q{2009-12-16}
13
13
  s.default_executable = %q{cucumber}
14
14
  s.description = %q{A BDD tool written in Ruby}
15
15
  s.email = %q{cukes@googlegroups.com}
@@ -539,7 +539,7 @@ Gem::Specification.new do |s|
539
539
 
540
540
  (::) U P G R A D I N G (::)
541
541
 
542
- Thank you for installing cucumber-0.5.0.
542
+ Thank you for installing cucumber-0.5.1.
543
543
  Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
544
544
  for important information about this release. Happy cuking!
545
545
 
@@ -716,7 +716,6 @@ for important information about this release. Happy cuking!
716
716
  s.add_runtime_dependency(%q<polyglot>, [">= 0.2.9"])
717
717
  s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
718
718
  s.add_runtime_dependency(%q<diff-lcs>, [">= 1.1.2"])
719
- s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
720
719
  s.add_development_dependency(%q<nokogiri>, [">= 1.4.0"])
721
720
  s.add_development_dependency(%q<prawn>, [">= 0.5.1"])
722
721
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
@@ -727,7 +726,6 @@ for important information about this release. Happy cuking!
727
726
  s.add_dependency(%q<polyglot>, [">= 0.2.9"])
728
727
  s.add_dependency(%q<builder>, [">= 2.1.2"])
729
728
  s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
730
- s.add_dependency(%q<json>, [">= 1.2.0"])
731
729
  s.add_dependency(%q<nokogiri>, [">= 1.4.0"])
732
730
  s.add_dependency(%q<prawn>, [">= 0.5.1"])
733
731
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
@@ -739,7 +737,6 @@ for important information about this release. Happy cuking!
739
737
  s.add_dependency(%q<polyglot>, [">= 0.2.9"])
740
738
  s.add_dependency(%q<builder>, [">= 2.1.2"])
741
739
  s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
742
- s.add_dependency(%q<json>, [">= 1.2.0"])
743
740
  s.add_dependency(%q<nokogiri>, [">= 1.4.0"])
744
741
  s.add_dependency(%q<prawn>, [">= 0.5.1"])
745
742
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
@@ -1,4 +1,4 @@
1
- warning = "\nWARNING: #{caller.detect{|l| l =~ /features/}}: cucumber/webrat/element_locator.rb is deprecated and will be removed in Cucumber 0.5.0.\nUse cucumber/web/tableish instead.\n"
1
+ warning = "\nWARNING: #{caller.detect{|l| l =~ /features/}}: cucumber/webrat/element_locator.rb is deprecated and will be removed in Cucumber 0.6.0.\nUse cucumber/web/tableish instead.\n"
2
2
  at_exit do
3
3
  warn warning
4
4
  end
@@ -1,5 +1,12 @@
1
1
  require 'socket'
2
- require 'json'
2
+ begin
3
+ require 'json'
4
+ rescue LoadError
5
+ STDERR.puts <<-EOM
6
+ You must gem install #{defined?(JRUBY_VERSION) ? 'json_pure' : 'json'} before you can use the wire support.
7
+ EOM
8
+ exit(1)
9
+ end
3
10
  require 'cucumber/wire_support/connection'
4
11
  require 'cucumber/wire_support/wire_packet'
5
12
  require 'cucumber/wire_support/wire_exception'
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.0
4
+ version: 0.5.1
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-15 00:00:00 +01:00
12
+ date: 2009-12-16 00:00:00 +01:00
13
13
  default_executable: cucumber
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,16 +62,6 @@ dependencies:
62
62
  - !ruby/object:Gem::Version
63
63
  version: 1.1.2
64
64
  version:
65
- - !ruby/object:Gem::Dependency
66
- name: json
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:
75
65
  - !ruby/object:Gem::Dependency
76
66
  name: nokogiri
77
67
  type: :development
@@ -645,7 +635,7 @@ post_install_message: |+
645
635
 
646
636
  (::) U P G R A D I N G (::)
647
637
 
648
- Thank you for installing cucumber-0.5.0.
638
+ Thank you for installing cucumber-0.5.1.
649
639
  Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
650
640
  for important information about this release. Happy cuking!
651
641