fancygrid 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.6
1
+ 2.0.7
@@ -12,10 +12,11 @@
12
12
  - next unless column.searchable
13
13
  .fg-search-criterion
14
14
  = hidden_field_tag(:identifier, column.identifier)
15
- = hidden_field_tag(:operator, fancygrid.search_operator)
16
15
  - if column.search_options
16
+ = hidden_field_tag(:operator, :starts_with)
17
17
  = select_tag(:value, options_from_collection_for_select(column.search_options, :last, :first), :selected => column.search_value)
18
18
  - else
19
+ = hidden_field_tag(:operator, fancygrid.search_operator)
19
20
  = text_field_tag(:value, column.search_value)
20
21
 
21
22
  - count = 1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fancygrid"
8
- s.version = "2.0.6"
8
+ s.version = "2.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Graefenstein"]
12
- s.date = "2013-04-22"
12
+ s.date = "2013-04-23"
13
13
  s.description = "Enables easy table rendering in rails applications"
14
14
  s.email = "giniedp@online.de"
15
15
  s.extra_rdoc_files = [
@@ -8,7 +8,7 @@ describe Fancygrid::Node do
8
8
 
9
9
  describe "#initialize" do
10
10
  it "should call #to_s on name attribute" do
11
- Fancygrid::Node.new(nil, :project).name.should == "project"
11
+ Fancygrid::Node.new(nil, :project).name.should == :project
12
12
  end
13
13
 
14
14
  it "should resolve resource class" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancygrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-22 00:00:00.000000000 Z
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: -1808883892590914544
188
+ hash: -2428341050134457601
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements: