gridion 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -209,12 +209,13 @@ module Gridion
209
209
  table_tag = options[:table_tag]
210
210
  table_row_tag=options[:table_row_tag]
211
211
  table_cell_tag=options[:table_cell_tag]
212
+ paginate_param_name=options[:paginate_param_name]||"page"
212
213
 
213
214
  colspans=(options[:columns]||klass.column_names).count + 1 + (options[:actions].blank? ? 0 : 1) #TODO: change this to number of action columns
214
215
  result = ""
215
216
  result << "<#{table_row_tag} class=\"paginator\">"
216
217
  result << "<#{table_cell_tag} colspan=\"#{colspans}\">"
217
- result << paginate(collection)
218
+ result << paginate(collection, param_name: paginate_param_name)
218
219
  result << "</#{table_cell_tag}>"
219
220
  result << "</#{table_row_tag}>"
220
221
  safe_concat(result)
@@ -1,3 +1,3 @@
1
1
  module Gridion
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
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.25
4
+ version: 0.0.26
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-04-10 00:00:00.000000000Z
12
+ date: 2012-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3
16
- requirement: &70258113794220 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70258113794220
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: kaminari
27
- requirement: &70258113793740 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70258113793740
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: Simple grid helper for rails
37
47
  email:
38
48
  - william@tofugear.com
@@ -92,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
102
  version: '0'
93
103
  segments:
94
104
  - 0
95
- hash: -3039737764357939466
105
+ hash: 2444358386732196709
96
106
  required_rubygems_version: !ruby/object:Gem::Requirement
97
107
  none: false
98
108
  requirements:
@@ -101,10 +111,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
111
  version: '0'
102
112
  segments:
103
113
  - 0
104
- hash: -3039737764357939466
114
+ hash: 2444358386732196709
105
115
  requirements: []
106
116
  rubyforge_project:
107
- rubygems_version: 1.8.10
117
+ rubygems_version: 1.8.22
108
118
  signing_key:
109
119
  specification_version: 3
110
120
  summary: Simple grid helper for rails