searchlogic 2.5.17 → 2.5.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDZlNzA2MzVhZWM3NzJkMmI5ZTUzM2EwZWFiYWMzOGIwNDU3ZTAyMA==
4
+ NjQyOWJkNzM4NDgzYjRmY2E2ZmRjZmIwNWE4ZjE1ZGRmNWExYWRmOQ==
5
5
  data.tar.gz: !binary |-
6
- Njc5NzZmYmQzN2FlNzQwYTg1MzBjMmRiNTRlN2NhNzViZjVkYTA5MA==
6
+ OTJmYWJiYjJmYTk2YzFlOTljNDM2Njk1MjY5NTliOWEyOTIxNTg2MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTVkNjJkMWQ5MjVmMDZlOGMwMGY1MjEzNDY0YWM3OGUzNGIyODNmZDliNGRj
10
- OWJlMmJlMjYzNmM5NDgzYTg3MjA3N2I5MDhlZDZlMzA0N2JjYjEzOGNlNzg1
11
- NWE4NjgzOWYzZjZmMWY0NzFlOTM5OTZjYTVmZjY0ODA1NzVhNzc=
9
+ Mjc1NTdjY2VjZTZlNTI4NzIwYWViMGI4MDQ4YWM2OWQ4ZTg3NDM4NjRjNGQy
10
+ ZTUzZjZiYzU1YjUyNjQxYjk5OTU2OGVmMWFjNzIyZjA2YjcyNWViOTgwMTIz
11
+ MTE1OGY5ZmIzNzgyYTQ0NWY4YmQxZjI0NWUzMDYwYjAyMzQyZmE=
12
12
  data.tar.gz: !binary |-
13
- NWZiYWM5MTQ5ZDhlZTg2ZjQ4MzE0NzhmNmE2NmYyYjlkMGU4YTk1YjkzMjMw
14
- YjlkZmY2ZjVkMjBkMDVkNmQ1NDgxM2EwY2Y3NmZiOWI3ZjFjZWQwMjMyZDVj
15
- Y2UwMTZhNGUyMGU0MWQxOGY4NjVhZGYxZTM2OTIxZDg0NjJhN2M=
13
+ YmYxMmVlYjk4YWIwMWMxYzYyYWM5MDQ0YWZjYzVjNTI4ZmZmZTJjZjUxMWU3
14
+ YWM3ZDY2OTY5NDZlMjA3NThlZDZiNmU1ZTc3YTczYjU3YzNkYjA2MjQ0Zjdj
15
+ ZTUyODM3ODgxNzE3NzM5Y2VjNjUzNWI1Y2Y4NzcwMDg5OTgwMTg=
data/.gitignore CHANGED
@@ -3,4 +3,5 @@
3
3
  pkg/*
4
4
  coverage/*
5
5
  doc/*
6
- benchmarks/*
6
+ benchmarks/*
7
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- searchlogic (2.5.16)
4
+ searchlogic (2.5.17)
5
5
  activerecord (~> 2.3.12)
6
6
  activesupport (~> 2.3.12)
7
7
 
@@ -16,11 +16,11 @@ GEM
16
16
  rake
17
17
  coderay (1.1.0)
18
18
  method_source (0.8.2)
19
- pry (0.9.12.4)
19
+ pry (0.9.12.6)
20
20
  coderay (~> 1.0)
21
21
  method_source (~> 0.8)
22
22
  slop (~> 3.4)
23
- rake (10.1.0)
23
+ rake (10.1.1)
24
24
  rspec (1.3.2)
25
25
  slop (3.4.7)
26
26
  sqlite3 (1.3.8)
@@ -35,6 +35,7 @@ module Searchlogic
35
35
  elsif name.to_s =~ /^order$/
36
36
  {}
37
37
  end
38
+ rescue ActiveRecord::StatementInvalid
38
39
  end
39
40
 
40
41
  def create_ordering_conditions(column)
@@ -71,7 +71,7 @@ module Searchlogic
71
71
  args.unshift(:search) if args.first == search_obj
72
72
  options = args.extract_options!
73
73
  if !options[:skip_order_field]
74
- concat(content_tag("div", hidden_field_tag("#{args.first}[order]", search_obj.order)))
74
+ concat(content_tag("div", hidden_field_tag("#{args.first}[order]", search_obj.order), :style => "display: inline"))
75
75
  end
76
76
  args << options
77
77
  super
@@ -1,3 +1,3 @@
1
1
  module Searchlogic
2
- VERSION = "2.5.17"
2
+ VERSION = "2.5.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.17
4
+ version: 2.5.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-17 00:00:00.000000000 Z
11
+ date: 2014-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.1.10
195
+ rubygems_version: 2.3.0
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Searchlogic makes using ActiveRecord named scopes easier and less repetitive.