meta_search 1.0.3 → 1.0.4
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.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/lib/meta_search/helpers/form_helper.rb +3 -2
- data/meta_search.gemspec +3 -3
- metadata +3 -5
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
Changes since 1.0.3 (2011-03-14):
|
|
2
|
+
* Be sure not to override form_for options if super returns a non-true value,
|
|
3
|
+
fixes a compatibility issue when using client_side_validation
|
|
4
|
+
|
|
1
5
|
Changes since 1.0.1 (2011-01-18):
|
|
2
6
|
* Include all non-boolean types in is_present and is_blank, to match
|
|
3
7
|
documentation
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.4
|
|
@@ -8,7 +8,8 @@ module MetaSearch
|
|
|
8
8
|
elsif object_or_array.is_a?(Array) && (builder = object_or_array.detect {|o| o.is_a?(MetaSearch::Builder)})
|
|
9
9
|
options[:url] ||= polymorphic_path(object_or_array.map {|o| o.is_a?(MetaSearch::Builder) ? o.base : o})
|
|
10
10
|
else
|
|
11
|
-
super
|
|
11
|
+
super
|
|
12
|
+
return
|
|
12
13
|
end
|
|
13
14
|
|
|
14
15
|
html_options = {
|
|
@@ -20,4 +21,4 @@ module MetaSearch
|
|
|
20
21
|
end
|
|
21
22
|
end
|
|
22
23
|
end
|
|
23
|
-
end
|
|
24
|
+
end
|
data/meta_search.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{meta_search}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ernie Miller"]
|
|
12
|
-
s.date = %q{2011-
|
|
12
|
+
s.date = %q{2011-04-08}
|
|
13
13
|
s.description = %q{
|
|
14
14
|
Allows simple search forms to be created against an AR3 model
|
|
15
15
|
and its associations, has useful view helpers for sort links
|
|
@@ -71,7 +71,7 @@ you're feeling especially appreciative. It'd help me justify this
|
|
|
71
71
|
|
|
72
72
|
}
|
|
73
73
|
s.require_paths = ["lib"]
|
|
74
|
-
s.rubygems_version = %q{1.
|
|
74
|
+
s.rubygems_version = %q{1.7.2}
|
|
75
75
|
s.summary = %q{Object-based searching (and more) for simply creating search forms.}
|
|
76
76
|
s.test_files = [
|
|
77
77
|
"test/fixtures/company.rb",
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: meta_search
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.0.
|
|
5
|
+
version: 1.0.4
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Ernie Miller
|
|
@@ -10,8 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-
|
|
14
|
-
default_executable:
|
|
13
|
+
date: 2011-04-08 00:00:00 Z
|
|
15
14
|
dependencies:
|
|
16
15
|
- !ruby/object:Gem::Dependency
|
|
17
16
|
name: shoulda
|
|
@@ -117,7 +116,6 @@ files:
|
|
|
117
116
|
- test/locales/flanders.yml
|
|
118
117
|
- test/test_search.rb
|
|
119
118
|
- test/test_view_helpers.rb
|
|
120
|
-
has_rdoc: true
|
|
121
119
|
homepage: http://metautonomo.us/projects/metasearch/
|
|
122
120
|
licenses: []
|
|
123
121
|
|
|
@@ -146,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
146
144
|
requirements: []
|
|
147
145
|
|
|
148
146
|
rubyforge_project:
|
|
149
|
-
rubygems_version: 1.
|
|
147
|
+
rubygems_version: 1.7.2
|
|
150
148
|
signing_key:
|
|
151
149
|
specification_version: 3
|
|
152
150
|
summary: Object-based searching (and more) for simply creating search forms.
|