directiverecord 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/directive_record/query/big_query.rb +1 -1
- data/lib/directive_record/query/mysql.rb +1 -1
- data/lib/directive_record/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9efd9975c4ca2c83cb43138711e0700470e3b43
|
4
|
+
data.tar.gz: fdd9f3e1885b7c357bf63659c685d8a0f1b3f970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0631e86b65c613be8a629d11483ead27423658d9c93e063d78c9586ceac6bc0e23365210311bdb5291399cfa1aa543efb1ae8f470b2814b75e5886c7c23ac0e3
|
7
|
+
data.tar.gz: 57624b34287d89498c51b4d98f8672597c72adc0c97e5edad0c49f003f3f89090a160922892dc2a8b9787a8c28523e4c3caa643c5867e9c453043a297042ca11
|
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.31
|
@@ -48,7 +48,7 @@ module DirectiveRecord
|
|
48
48
|
keys.each do |key|
|
49
49
|
if value = options[key]
|
50
50
|
value = value.join delimiter
|
51
|
-
aliases.each{|pattern, replacement| value.gsub! /(
|
51
|
+
aliases.each{|pattern, replacement| value.gsub! /(?=^|\b|\s)#{Regexp.escape pattern}(?=\b|\s|$)/, replacement}
|
52
52
|
options[key] = value
|
53
53
|
end
|
54
54
|
end
|
@@ -24,7 +24,7 @@ module DirectiveRecord
|
|
24
24
|
[:group_by, :having, :order_by].each do |key|
|
25
25
|
if value = options[key]
|
26
26
|
value = value.join ", "
|
27
|
-
aliases.each{|pattern, replacement| value.gsub! /(
|
27
|
+
aliases.each{|pattern, replacement| value.gsub! /(?=^|\b|\s)#{Regexp.escape pattern}(?=\b|\s|$)/, replacement}
|
28
28
|
options[key] = value
|
29
29
|
end
|
30
30
|
end
|