Permalink
Browse files

The Rails cucumber generator will no longer declare gem dependencies …

…on rspec if you use --testunit. Release 0.3.9.3
  • Loading branch information...
1 parent a6d9002 commit c52e44138e9c50c56bb50ac4a7d4230d001d9d3b @aslakhellesoy aslakhellesoy committed May 27, 2009
Showing with 7 additions and 2 deletions.
  1. +3 −0 History.txt
  2. +1 −1 cucumber.gemspec
  3. +1 −1 lib/cucumber/version.rb
  4. +2 −0 rails_generators/cucumber/templates/cucumber_environment.rb
View
3 History.txt
@@ -1,8 +1,11 @@
== 0.3.10 (In Git)
+This release has some minor bugfixes related to RSpec and Rails interop.
+
=== Bugfixes
* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
* The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy)
+* The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
== 0.3.9 2009-05-27
View
2 cucumber.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{cucumber}
- s.version = "0.3.9.2"
+ s.version = "0.3.9.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aslak Helles\303\270y"]
View
2 lib/cucumber/version.rb
@@ -3,7 +3,7 @@ class VERSION #:nodoc:
MAJOR = 0
MINOR = 3
TINY = 9
- PATCH = 2 # Set to nil for official release
+ PATCH = 3 # Set to nil for official release
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
end
View
2 rails_generators/cucumber/templates/cucumber_environment.rb
@@ -17,5 +17,7 @@
config.gem "cucumber", :lib => false, :version => ">=<%= cucumber_version %>" unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber'))
config.gem "webrat", :lib => false, :version => ">=0.4.4" unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat'))
+<% if framework == :rspec -%>
config.gem "rspec", :lib => false, :version => ">=1.2.6" unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec'))
config.gem "rspec-rails", :lib => 'spec/rails', :version => ">=1.2.6" unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
+<% end %>

0 comments on commit c52e441

Please sign in to comment.