data_tables 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWNjYjE4ZWNiMmRkMWFmMjExNmRiZTg3MTgwYmJkMzgyZjU1MGRhYw==
4
+ ODFjZTAyOTgzODYzYzQ5NjYxNjI3ODZiOGQwZGMyNzE2YjdkYzE2OA==
5
5
  data.tar.gz: !binary |-
6
- MjIyMzBhMTAxMTA1N2YwMDcxOGM2ODExY2QxZTMyNTI4ZmRmZjIwNw==
6
+ ZTllNGZhODVmYzYzOTQ0ZmFkMDI5ODFmNTFhMTgzZmJlYjI5NjQzYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDIzMDdkMjc1NmIwZjE0OTMwZTg3ZjhhOTQ4MTA2ZmRmZGJjMDJlZGZkYTFj
10
- M2E1OGEwYjhmYTA3MjcyMTdjZjZkM2JhZjJiODRlYjhhMmI4ZjEwOWFlMGUx
11
- MDIxNTFkMzEwYmJiMjY3NTE1ZGUxYTdiNjE4NzAyNTI4NDEwZTY=
9
+ OTBmODI3ZmZmYmZhY2I1Y2M4YTQ1ZjhiZGQxYTkxNGY2OTZiYWI4YTk5ZTMx
10
+ YTA1ZjE5OTMxNmIzNWM0NDViNWRiNmFmNDRjZDJhNDBiNGIwYmY3ZmI3NWE1
11
+ YjRlMGEzZGI5MGViYzY4MzAwMjhlZTg5MzNiYmUwMDM1NWZiMDI=
12
12
  data.tar.gz: !binary |-
13
- NTA5MTIyNDIxMjdhNDk4YTE5ZjYxMjZhYjcyMGJlMzg1MDdjM2RkNTQ2ODg0
14
- MjkzYWQ2ZWQ0MzYzNThlODIxZjgzY2NhOWI0MDUzMDRiM2FiNzAwZjhlMjgw
15
- ZDI3ZDcyMDhhNWUyZjdiNTRiYWI1NTc2MDdlYjU0NmYwYmQwNmQ=
13
+ MmVhYWE4NjYxMDliNjg1NDgxYjFmNzI1ODNlOTgwZmJjYzYwZDFmNjA0N2Zh
14
+ YmVkNzA0ODUwMzAzMjg2NmI2Yzc2ZTc0ZThhNzBkZjMzODEwNzE3Yjc4MTRj
15
+ ODliOGM4MzQwMGExYjBlYjY1NWM1OTU3NGNlYTNhNTg3ZGIyM2Y=
data/data_tables.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'data_tables'
5
- s.version = '0.1.22'
5
+ s.version = '0.1.23'
6
6
  s.date = Time.now.strftime("%Y-%m-%d")
7
7
  s.summary = "Rails friendly interface into DataTables"
8
8
  s.description = "DataTables for Rails"
data/lib/data_tables.rb CHANGED
@@ -313,7 +313,7 @@ module DataTablesController
313
313
 
314
314
  if named_scope
315
315
  objects = modelCls.send(named_scope, *args).paginate(:page => current_page,
316
- :order => order,
316
+ :order => "#{order}",
317
317
  :conditions => conditions.join(" AND "),
318
318
  :per_page => params[:iDisplayLength])
319
319
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duane Compton
@@ -12,9 +12,10 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-06-18 00:00:00.000000000 Z
15
+ date: 2014-11-19 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
+ prerelease: false
18
19
  name: rspec
19
20
  requirement: !ruby/object:Gem::Requirement
20
21
  requirements:
@@ -22,7 +23,6 @@ dependencies:
22
23
  - !ruby/object:Gem::Version
23
24
  version: '2.10'
24
25
  type: :development
25
- prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - ~>
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  version: '0'
71
71
  requirements: []
72
72
  rubyforge_project:
73
- rubygems_version: 2.2.2
73
+ rubygems_version: 2.2.1
74
74
  signing_key:
75
75
  specification_version: 4
76
76
  summary: Rails friendly interface into DataTables