rspec-rails 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,13 @@
1
+ === Version 1.2.2 / 2009-03-22
2
+
3
+ No changes in this release, but aligns with the rspec-1.2.2 release.
4
+
1
5
  === Version 1.2.1 / 2009-03-22
2
6
 
3
- IMPORTANT: See Upgrade.rdoc for information about upgrading to rspec-rails-1.2.1
7
+ This is a bug-fix release, recommended for anybody who has already upgraded to
8
+ rspec-rails-1.2.0 or is upgrading to rails-2.3.2
9
+
10
+ See Upgrade.rdoc for information about upgrading to rspec-rails-1.2.1
4
11
 
5
12
  * enhancements
6
13
 
data/Rakefile CHANGED
@@ -10,11 +10,10 @@ require 'spec/rake/spectask'
10
10
 
11
11
  Hoe.new('rspec-rails', Spec::Rails::VERSION::STRING) do |p|
12
12
  p.summary = Spec::Rails::VERSION::SUMMARY
13
- p.url = 'http://rspec.info/'
14
13
  p.description = "Behaviour Driven Development for Ruby on Rails."
15
14
  p.rubyforge_name = 'rspec'
16
15
  p.developer('RSpec Development Team', 'rspec-devel@rubyforge.org')
17
- p.extra_deps = [["rspec","1.2.1"],["rack",">=0.4.0"]]
16
+ p.extra_deps = [["rspec","1.2.2"],["rack",">=0.4.0"]]
18
17
  p.extra_dev_deps = [["cucumber",">= 0.1.16"]]
19
18
  p.remote_rdoc_dir = "rspec-rails/#{Spec::Rails::VERSION::STRING}"
20
19
  p.history_file = 'History.rdoc'
@@ -40,6 +39,10 @@ end
40
39
  Rake.application.instance_variable_get('@tasks').delete(task)
41
40
  end
42
41
 
42
+ task :post_blog do
43
+ # no-op
44
+ end
45
+
43
46
  task :release => [:clean, :package] do |t|
44
47
  version = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
45
48
  abort "Versions don't match #{version} vs #{Spec::Rails::VERSION::STRING}" unless version == Spec::Rails::VERSION::STRING
@@ -1,4 +1,4 @@
1
- = Upgrade to 1.2.0
1
+ = Upgrade to 1.2
2
2
 
3
3
  == What's changed
4
4
 
@@ -35,9 +35,11 @@ module Spec
35
35
 
36
36
  # Uses ActionController::Routing::Routes to generate
37
37
  # the correct route for a given set of options.
38
- # == Example
39
- # route_for(:controller => 'registrations', :action => 'edit', :id => 1)
40
- # => '/registrations/1;edit'
38
+ # == Examples
39
+ # route_for(:controller => 'registrations', :action => 'edit', :id => '1')
40
+ # => '/registrations/1/edit'
41
+ # route_for(:controller => 'registrations', :action => 'create')
42
+ # => {:path => "/registrations", :method => :post}
41
43
  def route_for(options)
42
44
  RouteFor.new(self, options)
43
45
  end
@@ -46,7 +48,7 @@ module Spec
46
48
  # an incoming path so the parameters it generates can be checked
47
49
  # == Example
48
50
  # params_from(:get, '/registrations/1/edit')
49
- # => :controller => 'registrations', :action => 'edit', :id => 1
51
+ # => :controller => 'registrations', :action => 'edit', :id => '1'
50
52
  def params_from(method, path)
51
53
  ensure_that_routes_are_loaded
52
54
  path, querystring = path.split('?')
@@ -4,7 +4,7 @@ module Spec # :nodoc:
4
4
  unless defined? MAJOR
5
5
  MAJOR = 1
6
6
  MINOR = 2
7
- TINY = 1
7
+ TINY = 2
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RSpec Development Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-22 00:00:00 -05:00
12
+ date: 2009-03-23 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.2.1
23
+ version: 1.2.2
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rack
@@ -232,11 +232,11 @@ files:
232
232
  - spec/spec/rails/spec_spec.rb
233
233
  - spec/spec_helper.rb
234
234
  has_rdoc: true
235
- homepage: http://rspec.info/
235
+ homepage: http://rspec.info
236
236
  post_install_message: |
237
237
  **************************************************
238
238
 
239
- Thank you for installing rspec-rails-1.2.1
239
+ Thank you for installing rspec-rails-1.2.2
240
240
 
241
241
  If you are upgrading, do this in each of your rails apps
242
242
  that you want to upgrade:
@@ -271,6 +271,6 @@ rubyforge_project: rspec
271
271
  rubygems_version: 1.3.1
272
272
  signing_key:
273
273
  specification_version: 2
274
- summary: rspec-rails 1.2.1
274
+ summary: rspec-rails 1.2.2
275
275
  test_files: []
276
276