rdo 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rdo/version.rb +1 -1
- data/rdo.gemspec +16 -10
- metadata +22 -55
data/lib/rdo/version.rb
CHANGED
data/rdo.gemspec
CHANGED
@@ -10,22 +10,28 @@ Gem::Specification.new do |gem|
|
|
10
10
|
|
11
11
|
If you're building something in Ruby that needs access to a database, you may
|
12
12
|
opt to use an ORM like ActiveRecord, DataMapper or Sequel. But if your needs
|
13
|
-
don't fit well with an ORM
|
13
|
+
don't fit well with an ORM—maybe you're even writing an ORM—then you'll
|
14
14
|
need some other way of talking to your database.
|
15
15
|
|
16
16
|
RDO provides a common interface to a number of RDBMS backends, using a clean
|
17
17
|
Ruby syntax, while supporting all the functionality you'd expect from a robust
|
18
18
|
database connection library:
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
20
|
+
<ul>
|
21
|
+
<li><strong>Consistent API</strong> to connect to various DBMS's</li>
|
22
|
+
<li><strong>Type casting</strong> to Ruby types</li>
|
23
|
+
<li><strong>Time zone handling</strong> (via the DBMS, not via some crazy
|
24
|
+
time logic in Ruby)</li>
|
25
|
+
<li><strong>Native bind values</strong> parameterization of queries, where
|
26
|
+
supported by the DBMS</li>
|
27
|
+
<li><strong>Buffered result sets</strong> (i.e. cursors, to avoid
|
28
|
+
exhausting memory)</li>
|
29
|
+
<li>Retrieve query info from executed commands (e.g. affected rows)</li>
|
30
|
+
<li><strong>Access RETURNING values</strong> just like any read query</li>
|
31
|
+
<li><strong>Native prepared statements</strong> where supported, emulated
|
32
|
+
where not</li>
|
33
|
+
<li>Results given using simple <strong>core Ruby data types</strong></li>
|
34
|
+
</ul>
|
29
35
|
|
30
36
|
== RDBMS Support
|
31
37
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,60 +27,27 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
-
description: !
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
* __Type casting__ to Ruby types
|
52
|
-
|
53
|
-
* __Time zone handling__ (via the DBMS, not via some crazy time logic in Ruby)
|
54
|
-
|
55
|
-
* __Native bind values__ parameterization of queries, where supported by the DBMS
|
56
|
-
|
57
|
-
* __Buffered result sets__ (i.e. cursors, to avoid exhausting memory)
|
58
|
-
|
59
|
-
* Retrieve query info from executed commands (e.g. affected rows)
|
60
|
-
|
61
|
-
* __Access RETURNING values__ just like any read query
|
62
|
-
|
63
|
-
* __Native prepared statements__ where supported, emulated where not
|
64
|
-
|
65
|
-
* Results given using simple __core Ruby data types__
|
66
|
-
|
67
|
-
|
68
|
-
== RDBMS Support
|
69
|
-
|
70
|
-
|
71
|
-
Support for each RDBMS is provided in separate gems, so as to minimize the
|
72
|
-
|
73
|
-
installation requirements and to facilitate the maintenace of each driver. Many
|
74
|
-
|
75
|
-
gems are maintained by separate users who work more closely with those RDBMS''s.
|
76
|
-
|
77
|
-
|
78
|
-
Due to the nature of this gem, most of the nitty-gritty code is actually
|
79
|
-
|
80
|
-
written in C.
|
81
|
-
|
82
|
-
|
83
|
-
See the official README for full details.'
|
30
|
+
description: ! "== Ruby Data Objects\n\nIf you're building something in Ruby that
|
31
|
+
needs access to a database, you may\nopt to use an ORM like ActiveRecord, DataMapper
|
32
|
+
or Sequel. But if your needs\ndon't fit well with an ORM—maybe you're even writing
|
33
|
+
an ORM—then you'll\nneed some other way of talking to your database.\n\nRDO provides
|
34
|
+
a common interface to a number of RDBMS backends, using a clean\nRuby syntax, while
|
35
|
+
supporting all the functionality you'd expect from a robust\ndatabase connection
|
36
|
+
library:\n\n<ul>\n <li><strong>Consistent API</strong> to connect to various DBMS's</li>\n
|
37
|
+
\ <li><strong>Type casting</strong> to Ruby types</li>\n <li><strong>Time zone
|
38
|
+
handling</strong> (via the DBMS, not via some crazy\n time logic in Ruby)</li>\n
|
39
|
+
\ <li><strong>Native bind values</strong> parameterization of queries, where\n supported
|
40
|
+
by the DBMS</li>\n <li><strong>Buffered result sets</strong> (i.e. cursors, to
|
41
|
+
avoid\n exhausting memory)</li>\n <li>Retrieve query info from executed commands
|
42
|
+
(e.g. affected rows)</li>\n <li><strong>Access RETURNING values</strong> just like
|
43
|
+
any read query</li>\n <li><strong>Native prepared statements</strong> where supported,
|
44
|
+
emulated\n where not</li>\n <li>Results given using simple <strong>core Ruby
|
45
|
+
data types</strong></li>\n</ul>\n\n== RDBMS Support\n\nSupport for each RDBMS is
|
46
|
+
provided in separate gems, so as to minimize the\ninstallation requirements and
|
47
|
+
to facilitate the maintenace of each driver. Many\ngems are maintained by separate
|
48
|
+
users who work more closely with those RDBMS's.\n\nDue to the nature of this gem,
|
49
|
+
most of the nitty-gritty code is actually\nwritten in C.\n\nSee the official README
|
50
|
+
for full details."
|
84
51
|
email:
|
85
52
|
- chris@w3style.co.uk
|
86
53
|
executables: []
|