sunrise-cms 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8baf9429eaba5bf1ec8e74358cdfe0d8d80d542
4
- data.tar.gz: 2184c24b9466e51ba0f3de29cd9528196768b0dc
3
+ metadata.gz: 3900d41ddffef428484ce74989568beca5e07218
4
+ data.tar.gz: e22904e1367860681a54a04220376e06cc7c8feb
5
5
  SHA512:
6
- metadata.gz: 305d0671cbc985165b5a99968bf8bfcacd82b0d4b717f9d74b7c9524694466ee90a0c83cc70ac98ac3194b9ebb635f8a76759e007de08470d10b508694e0274c
7
- data.tar.gz: cddbba02f45d14f7036f2b990e1c43701f6392f95749e8b10347767a274deaa1bf79a224eb571a7d635963f645d291dcc86002c7540ad9e83cbbde2b7104382c
6
+ metadata.gz: 664a8f2fbe24db152c7165e0d27bf16529e7b136fd26abd134f16299101ba620ba37f860a8e339b8f0a4df17f61f1fa97e4d077c861aadfdd349e99553fbcac2
7
+ data.tar.gz: e40c6ea8eeda3b73c7b0d061e77c3d256b1428906ad9af9e5003888a1095bc22da784d376bf72ff43b2fa4f884e11440dace5b3c669485e40915a6b078cd3879
@@ -149,7 +149,7 @@ module Sunrise
149
149
  return nil if ids.empty?
150
150
 
151
151
  ids.each do |key, value|
152
- model.where(:id => key).update_all(["#{@sort_column} = ?", value])
152
+ model.where(:id => key).update_all(@sort_column => value)
153
153
  end
154
154
  end
155
155
 
@@ -1,3 +1,3 @@
1
1
  module Sunrise
2
- VERSION = "1.0.5".freeze
2
+ VERSION = "1.0.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-23 00:00:00.000000000 Z
12
+ date: 2015-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails