gridion 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gridion/grid_helper.rb +1 -1
- data/lib/gridion/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -0
- metadata +12 -8
data/lib/gridion/grid_helper.rb
CHANGED
@@ -102,7 +102,7 @@ module Gridion
|
|
102
102
|
|
103
103
|
(columns).each do |col|
|
104
104
|
col_label=klass.human_attribute_name(col)
|
105
|
-
col_label = sort_link(options[:q], col, col_label) if defined?(:sort_link) && options.has_key?(:q)
|
105
|
+
col_label = sort_link(options[:q], col, col_label) if defined?(:sort_link) && options.has_key?(:q) && options[:q].present?
|
106
106
|
safe_concat("<#{table_header_tag} class=\"header_cell #{col.to_s.parameterize.underscore}\">#{col_label}</#{table_header_tag}>")
|
107
107
|
end
|
108
108
|
safe_concat("<#{table_header_tag} class=\"actions\">Actions</#{table_header_tag}>") unless options[:actions].blank?
|
data/lib/gridion/version.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gridion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-22 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
16
|
-
requirement: &
|
16
|
+
requirement: &70194208084280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70194208084280
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: kaminari
|
27
|
-
requirement: &
|
27
|
+
requirement: &70194208083860 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70194208083860
|
36
36
|
description: Simple grid helper for rails
|
37
37
|
email:
|
38
38
|
- william@tofugear.com
|
@@ -68,6 +68,8 @@ files:
|
|
68
68
|
- test/dummy/config/locales/en.yml
|
69
69
|
- test/dummy/config/routes.rb
|
70
70
|
- test/dummy/config.ru
|
71
|
+
- test/dummy/db/test.sqlite3
|
72
|
+
- test/dummy/log/test.log
|
71
73
|
- test/dummy/public/404.html
|
72
74
|
- test/dummy/public/422.html
|
73
75
|
- test/dummy/public/500.html
|
@@ -90,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
92
|
version: '0'
|
91
93
|
segments:
|
92
94
|
- 0
|
93
|
-
hash:
|
95
|
+
hash: -4544112265137513372
|
94
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
97
|
none: false
|
96
98
|
requirements:
|
@@ -99,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
101
|
version: '0'
|
100
102
|
segments:
|
101
103
|
- 0
|
102
|
-
hash:
|
104
|
+
hash: -4544112265137513372
|
103
105
|
requirements: []
|
104
106
|
rubyforge_project:
|
105
107
|
rubygems_version: 1.8.10
|
@@ -128,6 +130,8 @@ test_files:
|
|
128
130
|
- test/dummy/config/locales/en.yml
|
129
131
|
- test/dummy/config/routes.rb
|
130
132
|
- test/dummy/config.ru
|
133
|
+
- test/dummy/db/test.sqlite3
|
134
|
+
- test/dummy/log/test.log
|
131
135
|
- test/dummy/public/404.html
|
132
136
|
- test/dummy/public/422.html
|
133
137
|
- test/dummy/public/500.html
|