flounder 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/flounder.gemspec +1 -1
- data/lib/flounder/entity_alias.rb +10 -0
- data/lib/flounder/query/select.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b60917805be8336d2b31cff15058cc30ac29ad3
|
4
|
+
data.tar.gz: 36632561d92982f5f0f8389c74fa4ed967f8d728
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16452e66031909b6d768c6b74dc4e84418b8eefaf87c202922f5c5c8dd77c88008bddd0d57000f72787e4923b70563e2412bb633930ecee9591e3eb7f24ac722
|
7
|
+
data.tar.gz: 1b877efe3d7243f416ad09dd1d57b2037c6ac235f4882a8cc4ddd0a535e916bb7bc364d86c3a3c35c1aea34dad66f02a86ca6cfd05d10d83e9d37d1a223167c7
|
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.16.
|
5
|
+
s.version = '0.16.1'
|
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"
|
@@ -32,6 +32,16 @@ module Flounder
|
|
32
32
|
entity.column_names
|
33
33
|
end
|
34
34
|
|
35
|
+
def relations *a
|
36
|
+
entity.relations *a
|
37
|
+
end
|
38
|
+
|
39
|
+
def inspect
|
40
|
+
"<Flounder/Entity/Alias #{entity.name}(#{entity.table_name}) as (#{plural}, #{singular}))>"
|
41
|
+
end
|
42
|
+
alias to_s inspect
|
43
|
+
|
44
|
+
|
35
45
|
def [] name
|
36
46
|
Field.new(self, name, table[name])
|
37
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flounder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaspar Schiess
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arel
|