thumblemonks-chicago 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/chicago.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "chicago"
3
- s.version = "0.3"
4
- s.date = "2009-05-28"
3
+ s.version = "0.3.1"
4
+ s.date = "2009-06-10"
5
5
  s.summary = "Sinatra runtime and testing extensions used commonly by Thumblemonks"
6
6
  s.email = %w[gus@gusg.us gabriel.gironda@gmail.com]
7
7
  s.homepage = "http://github.com/thumblemonks/chicago/tree/master"
@@ -38,8 +38,8 @@ module ThumbleMonks
38
38
  # Example:
39
39
  # should_be_redirected_to { "/users/@user.id" }
40
40
  # should_be_redirected_to "/home"
41
- def self.should_be_redirected_to(expected_path=nil, &block)
42
- should "be redirected to #{expected_path | 'a url'}" do
41
+ def should_be_redirected_to(expected_path=nil, &block)
42
+ should "be redirected to #{expected_path || 'a url'}" do
43
43
  expected_path = self.instance_eval(&block) if block_given?
44
44
  assert_redirected_to expected_path
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thumblemonks-chicago
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.3"
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Knowlden
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-05-28 00:00:00 -07:00
13
+ date: 2009-06-10 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16