flounder 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/HISTORY +2 -1
- data/flounder.gemspec +1 -1
- data/lib/flounder/entity.rb +1 -1
- data/qed/entities.md +6 -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: e69174de167de70dbf0357305fa02c71164c8bea
|
4
|
+
data.tar.gz: 278919200dee79e529c0ed56aa4dce90db7aed69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64f07a05f24cc5bc2f2460285f495300ea2e4e6a0474d4b7e3d896ccca6e1852b252b3c4f710fa2ff7f9a1d1ce71b06bb72c68dde6b6e2b2bcad6b158375d57
|
7
|
+
data.tar.gz: 5076c7c51a2e30eb9a19c69f9139ab56c4db7b0cfcfa27acdccd8b3ddc591947a69bdf7adc90efed1ef7b72cebf66bfce6e5432193cd4297b323c5c20356b850
|
data/Gemfile.lock
CHANGED
data/HISTORY
CHANGED
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.12.
|
5
|
+
s.version = '0.12.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"
|
data/lib/flounder/entity.rb
CHANGED
data/qed/entities.md
CHANGED
@@ -8,6 +8,12 @@ You can get an array of field values.
|
|
8
8
|
users.fields(:id, :name).assert == [:id, :name].map { |f| users[f] }
|
9
9
|
~~~
|
10
10
|
|
11
|
+
You can get an array of all field values.
|
12
|
+
|
13
|
+
~~~ruby
|
14
|
+
users.fields.assert == users.column_names.map { |f| users[f] }
|
15
|
+
~~~
|
16
|
+
|
11
17
|
These very same field names print nicely for debugging.
|
12
18
|
|
13
19
|
~~~ruby
|
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.12.
|
4
|
+
version: 0.12.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-09-
|
12
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: arel
|