indmill-finder_filter 0.5 → 0.6

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.
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "finder_filter"
3
- s.version = "0.5"
4
- s.date = "2008-08-14"
3
+ s.version = "0.6"
4
+ s.date = "2008-08-13"
5
5
  s.summary = "An easy way to add common finders to your Rails controllers."
6
6
  s.email = "pelargir@gmail.com"
7
- s.homepage = "http://github.com/pelargir/finder_filter"
7
+ s.homepage = "http://github.com/indmill/finder_filter"
8
8
  s.description = "An easy way to add common finders to your Rails controllers."
9
9
  s.has_rdoc = true
10
10
  s.authors = ["Matthew Bass"]
@@ -37,16 +37,11 @@ describe FinderFilter do
37
37
  @controller.finder_filter :prepend => true
38
38
  end
39
39
 
40
- it "should assign prepend before filter when prepend option specified with only option" do
40
+ it "should assign prepend before filter when prepend option specified with other options" do
41
41
  @controller.expects(:prepend_before_filter).with(:"find_test", :only => [:show, :edit])
42
42
  @controller.finder_filter :only => [:show, :edit], :prepend => true
43
43
  end
44
44
 
45
- it "should assign prepend before filter when prepend option specified with multiple options" do
46
- @controller.expects(:prepend_before_filter).with(:"find_test", :only => [:show, :edit])
47
- @controller.finder_filter :only => [:show, :edit], :prepend => true, :by => "name"
48
- end
49
-
50
45
  it "should define method when model specified" do
51
46
  @controller.expects(:define_method).with("find_foo")
52
47
  @controller.finder_filter :foo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indmill-finder_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.5"
4
+ version: "0.6"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Bass
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-14 00:00:00 -07:00
12
+ date: 2008-08-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -56,7 +56,7 @@ files:
56
56
  - test/test_helper.rb
57
57
  - test/finder_filter_test.rb
58
58
  has_rdoc: true
59
- homepage: http://github.com/pelargir/finder_filter
59
+ homepage: http://github.com/indmill/finder_filter
60
60
  post_install_message:
61
61
  rdoc_options:
62
62
  - --main