flounder 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY +2 -1
- data/flounder.gemspec +1 -1
- data/lib/flounder/query/select.rb +2 -3
- data/lib/flounder/symbol_extensions.rb +2 -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: a3055b086d4ebfe48d6a8e0fc1f8b714dc156eea
|
4
|
+
data.tar.gz: 33502d671dae3850251f913ba2eb2a1a1d8e5741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8812d564ca9a540992684eb613ac6a46eeaf513cf38d04f76049afad332856f02529626b4f2fc4133b4b1aa353e5898f75abddd798b53bf5300bee2f7d0229
|
7
|
+
data.tar.gz: 7671211165f8c2671ff42c653b166606db434cd49a5392ba600b3e42977d160fa0c3a588870955af333d5928aae8623b2619c59d21abf7574afa88789c832c9f
|
data/HISTORY
CHANGED
@@ -12,4 +12,5 @@
|
|
12
12
|
+ subquery support
|
13
13
|
+ localized where as in where(entity, :field => value)
|
14
14
|
+ db.where(entity, hash) form, where all symbols are looked up in entity.
|
15
|
-
+ db.entity.join(:other_entity) is now allowed
|
15
|
+
+ db.entity.join(:other_entity) is now allowed
|
16
|
+
+ :symbol.in => ... is now working.
|
data/flounder.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "flounder"
|
5
|
-
s.version = '0.9.
|
5
|
+
s.version = '0.9.10'
|
6
6
|
s.summary = "Flounder is a way to write SQL simply in Ruby. It deals with everything BUT object relational mapping. "
|
7
7
|
s.email = "kaspar.schiess@technologyastronauts.ch"
|
8
8
|
s.homepage = "https://bitbucket.org/technologyastronauts/oss_flounder"
|
@@ -16,7 +16,8 @@ module Flounder
|
|
16
16
|
# NOTE mixing comparison ops with asc and desc is nasty, but not really
|
17
17
|
# relevant. Errors will get raised later on - we're not in the business of
|
18
18
|
# checking your SQL for validity.
|
19
|
-
[:not_eq, :lt, :gt, :gteq, :lteq, :matches, :
|
19
|
+
[:not_eq, :lt, :gt, :gteq, :lteq, :matches, :in, :not_in,
|
20
|
+
:asc, :desc].each do |kind|
|
20
21
|
define_method kind do
|
21
22
|
Modifier.new(self, kind)
|
22
23
|
end
|