datatablesnet 1.1.4 → 1.1.5

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.
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ tmp/
6
6
  *.log
7
7
  *.gem
8
8
  nbproject
9
+ .idea
@@ -0,0 +1,16 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ datatablesnet (1.1.4)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ rake (0.8.7)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ datatablesnet!
16
+ rake (< 0.9)
@@ -47,8 +47,8 @@ module HashSql
47
47
 
48
48
  if value.instance_of?(Range)
49
49
  where_string << "(#{name} BETWEEN ? AND ?)"
50
- values << value.min
51
- values << value.max
50
+ values << value.first
51
+ values << value.last
52
52
  elsif self.sql_comparator = "like"
53
53
  where_string << "#{name} LIKE ?"
54
54
  values << '%' + value.to_s + '%'
@@ -1,3 +1,3 @@
1
1
  module Datatablesnet
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 4
9
- version: 1.1.4
8
+ - 5
9
+ version: 1.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Fields
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-09-01 00:00:00 +03:00
17
+ date: 2011-09-06 00:00:00 +03:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -29,6 +29,7 @@ extra_rdoc_files: []
29
29
  files:
30
30
  - .gitignore
31
31
  - Gemfile
32
+ - Gemfile.lock
32
33
  - app/views/datatablesnet/_table.html.haml
33
34
  - datatablesnet.gemspec
34
35
  - lib/datatablesnet.rb