directiverecord 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/directive_record/query/sql.rb +1 -1
- data/lib/directive_record/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Nzc2MmU5YWE1N2FhM2VhYzFhYmQ3OWMyOTYzNjAwNDZjYjgyOTAzNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjdmNzkzNGNhYTJmYTM1YzVlYWRlY2NkNzk0MzNmNjFmMWQzODllNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTZjYjJjMzliZDljNjY3OTQ2MzU0MWMwOTJlZWU1ODNlMzM1Mjk0MmE0ZmJm
|
10
|
+
MWEwOGMwYzNlMzEzMmIyYjBlNzJlM2MzMWI4ZDZhZmNlMGFlMzcwNjM4NjUz
|
11
|
+
YjRjZjY3YWM1ZTkxYzhlOTE2Y2RkNGY3YWVmMjA5YjI0OGJlMWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGU5ZDkzYjIyZGE1MDU2ZjgzODFjODgzZmZhM2Y5OGM1ODgxOTkwZjE5Mzhk
|
14
|
+
NmU0NjY1ZWI4ZWI2ZGU3ZTljOTlkOTEyOTBjY2UwZmYyZjQwMmQwOTU0NmY4
|
15
|
+
OGY2ZmE1NjJjY2FmZTA2OGNhNzZkOWUyMmJlZDVhYWIzOGNmNWQ=
|
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.20
|
@@ -240,7 +240,7 @@ SQL
|
|
240
240
|
.split(/\b(and|or)\b/i).reject{|sql| %w(and or).include? sql.downcase}
|
241
241
|
.collect{|sql| sql = sql.strip; (sql[0] == "(" && sql[-1] == ")" ? sql[1..-1] : sql)}
|
242
242
|
.all? do |sql|
|
243
|
-
sql.match /(
|
243
|
+
sql.match /(.*?)\s*(=|<=>|>=|>|<=|<|<>|!=|is|like|rlike|regexp|in|between|not|sounds|soundex)(\b|\s|$)/i
|
244
244
|
path = $1.strip
|
245
245
|
!(aliases[path] || path).match(/\b(count|sum|min|max|avg)\(/i)
|
246
246
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: directiverecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Engel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|