will_filter 3.1.10 → 3.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
1
  <%= stylesheet_link_tag("will_filter/filter") -%>
2
2
 
3
3
  <% if results.size > 0 %>
4
- <table class='wf_paginator' style="margin-top:10px; margin-bottom:10px;">
4
+ <table class='wf_paginator'>
5
5
  <tr>
6
- <td style='text-align:left'>
6
+ <td style='text-align:left;vertical-align:middle;'>
7
7
  <%= paginate(results) %>
8
8
  </td>
9
- <td style='text-align:right'>
9
+ <td style='text-align:right;vertical-align:middle;'>
10
10
  Showing <%= results.offset_value + 1 %> - <%= results.offset_value + results.length %> of <%= results.total_count %>
11
11
  </td>
12
12
  </tr>
@@ -92,7 +92,7 @@
92
92
  end
93
93
 
94
94
  # column class name
95
- title_class_name = cmeta[:title_class] || cmeta[:key].to_s
95
+ title_class_name = "wf_#{cmeta[:title_class] || cmeta[:key].to_s}"
96
96
  title_class_name << " sortable" if sortable
97
97
  title_class_name << " current_sort" if filter && filter.column_sorted?(sort_key)
98
98
  title_class_name << " #{sort_direction}"
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module WillFilter
25
- VERSION = "3.1.10"
25
+ VERSION = "3.1.11"
26
26
  end
data/will_filter.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.licenses = ['MIT']
22
22
 
23
- s.add_dependency 'rails', ['~> 3.2.3']
24
- s.add_dependency 'kaminari', ['~> 0.13.0']
23
+ s.add_dependency 'rails', ['>= 3.2.3']
24
+ s.add_dependency 'kaminari', ['>= 0']
25
+ s.add_dependency 'sass', ['>= 0']
25
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.10
4
+ version: 3.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-21 00:00:00.000000000 Z
12
+ date: 2013-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.2.3
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.2.3
30
30
  - !ruby/object:Gem::Dependency
@@ -32,17 +32,33 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.13.0
37
+ version: '0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.13.0
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sass
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  description: will_filter is a powerful customizable framework for filtering active_record
47
63
  models.
48
64
  email: