ragamuffins 1.0.8 → 1.0.9

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: 944f852a0765aeefe753d09aba5d26c5a868fa66
4
- data.tar.gz: ef0b390c5e1aad7f4761526b839ce8d60a7ac884
3
+ metadata.gz: 24d8b59fa9a2779a062e6c4fea9f67fed2e58155
4
+ data.tar.gz: c5f790e6481fae43f7e121417141526ce99cc2ab
5
5
  SHA512:
6
- metadata.gz: f370bed23f99a0496a4e5821a054d7cb3c110d35eb0e8389f2e167a90b46931e365e70fea4c288a6143016ddef2ac45fdc9f73ba079ea04b28b72a3d2419dd2c
7
- data.tar.gz: 7a9549d531567e13bb7c1be99504dc55d2c41fec06463e9189c27b44cfc1e508b0ef7d129603f46cf889a00961f868194fbe669228712f5397c1c5363e2f1179
6
+ metadata.gz: 5ade3039cd52892f6e701ac8bc96a76b19a60a391414c054f1e69adfacfd832ffcede40483648ab9d5f965dbefc308e0e0becf2c0e92ff25ab2adabdad35e848
7
+ data.tar.gz: 7d169a3464b803aadba0d2008e9902579f2e0b223785e5d1813974817b3299da01a15851f1208105d598bd477e7d88d1a84a5f4b1339329be66fdcd85aa3fe55
@@ -10,7 +10,7 @@ module Ragamuffins
10
10
  return [] if ids == nil || ids.empty?
11
11
  # Because params are always strings, we double check that (the first to_s) and then make sure that we convert the ids to a string as well
12
12
  # This allows us to make sure that we can handle UUIDs as well.
13
- ids.collect{|s| s.to_s} - self.where("#{table_name}.id IN (?)", ids).pluck('CAST(id AS varchar)')
13
+ ids.collect{|s| s.to_s} - self.where("#{table_name}.id IN (?)", ids).pluck("CAST(#{table_name}.id AS varchar)")
14
14
 
15
15
  #
16
16
  # if we were passed some ids that forms a bad query,
@@ -1,3 +1,3 @@
1
1
  module Ragamuffins
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragamuffins
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Norman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails