rdo-postgres 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +33 -11
- data/ext/rdo_postgres/arrays.c +48 -0
- data/ext/rdo_postgres/arrays.h +9 -0
- data/ext/rdo_postgres/casts.c +68 -25
- data/ext/rdo_postgres/casts.h +3 -0
- data/ext/rdo_postgres/driver.c +4 -8
- data/ext/rdo_postgres/extconf.rb +1 -2
- data/ext/rdo_postgres/rdo_postgres.c +2 -0
- data/ext/rdo_postgres/statements.c +25 -20
- data/ext/rdo_postgres/types.h +74 -0
- data/lib/rdo/postgres.rb +12 -0
- data/lib/rdo/postgres/array.rb +84 -0
- data/lib/rdo/postgres/array/boolean.rb +21 -0
- data/lib/rdo/postgres/array/bytea.rb +22 -0
- data/lib/rdo/postgres/array/date.rb +17 -0
- data/lib/rdo/postgres/array/float.rb +30 -0
- data/lib/rdo/postgres/array/integer.rb +21 -0
- data/lib/rdo/postgres/array/numeric.rb +23 -0
- data/lib/rdo/postgres/array/text.rb +15 -0
- data/lib/rdo/postgres/array/timestamp.rb +17 -0
- data/lib/rdo/postgres/array/timestamp_tz.rb +17 -0
- data/lib/rdo/postgres/version.rb +1 -1
- data/spec/postgres/array/boolean_spec.rb +74 -0
- data/spec/postgres/array/bytea_spec.rb +82 -0
- data/spec/postgres/array/date_spec.rb +74 -0
- data/spec/postgres/array/float_spec.rb +98 -0
- data/spec/postgres/array/integer_spec.rb +74 -0
- data/spec/postgres/array/numeric_spec.rb +83 -0
- data/spec/postgres/array/timestamp_spec.rb +80 -0
- data/spec/postgres/array/timestamp_tz_spec.rb +80 -0
- data/spec/postgres/array_spec.rb +122 -0
- data/spec/postgres/bind_params_spec.rb +191 -1
- data/spec/postgres/type_cast_spec.rb +223 -0
- metadata +33 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdo-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdo
|
@@ -74,6 +74,8 @@ files:
|
|
74
74
|
- LICENSE
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
|
+
- ext/rdo_postgres/arrays.c
|
78
|
+
- ext/rdo_postgres/arrays.h
|
77
79
|
- ext/rdo_postgres/casts.c
|
78
80
|
- ext/rdo_postgres/casts.h
|
79
81
|
- ext/rdo_postgres/driver.c
|
@@ -87,11 +89,31 @@ files:
|
|
87
89
|
- ext/rdo_postgres/statements.h
|
88
90
|
- ext/rdo_postgres/tuples.c
|
89
91
|
- ext/rdo_postgres/tuples.h
|
92
|
+
- ext/rdo_postgres/types.h
|
90
93
|
- lib/rdo-postgres.rb
|
91
94
|
- lib/rdo/postgres.rb
|
95
|
+
- lib/rdo/postgres/array.rb
|
96
|
+
- lib/rdo/postgres/array/boolean.rb
|
97
|
+
- lib/rdo/postgres/array/bytea.rb
|
98
|
+
- lib/rdo/postgres/array/date.rb
|
99
|
+
- lib/rdo/postgres/array/float.rb
|
100
|
+
- lib/rdo/postgres/array/integer.rb
|
101
|
+
- lib/rdo/postgres/array/numeric.rb
|
102
|
+
- lib/rdo/postgres/array/text.rb
|
103
|
+
- lib/rdo/postgres/array/timestamp.rb
|
104
|
+
- lib/rdo/postgres/array/timestamp_tz.rb
|
92
105
|
- lib/rdo/postgres/driver.rb
|
93
106
|
- lib/rdo/postgres/version.rb
|
94
107
|
- rdo-postgres.gemspec
|
108
|
+
- spec/postgres/array/boolean_spec.rb
|
109
|
+
- spec/postgres/array/bytea_spec.rb
|
110
|
+
- spec/postgres/array/date_spec.rb
|
111
|
+
- spec/postgres/array/float_spec.rb
|
112
|
+
- spec/postgres/array/integer_spec.rb
|
113
|
+
- spec/postgres/array/numeric_spec.rb
|
114
|
+
- spec/postgres/array/timestamp_spec.rb
|
115
|
+
- spec/postgres/array/timestamp_tz_spec.rb
|
116
|
+
- spec/postgres/array_spec.rb
|
95
117
|
- spec/postgres/bind_params_spec.rb
|
96
118
|
- spec/postgres/driver_spec.rb
|
97
119
|
- spec/postgres/type_cast_spec.rb
|
@@ -121,6 +143,15 @@ signing_key:
|
|
121
143
|
specification_version: 3
|
122
144
|
summary: PostgreSQL Driver for RDO
|
123
145
|
test_files:
|
146
|
+
- spec/postgres/array/boolean_spec.rb
|
147
|
+
- spec/postgres/array/bytea_spec.rb
|
148
|
+
- spec/postgres/array/date_spec.rb
|
149
|
+
- spec/postgres/array/float_spec.rb
|
150
|
+
- spec/postgres/array/integer_spec.rb
|
151
|
+
- spec/postgres/array/numeric_spec.rb
|
152
|
+
- spec/postgres/array/timestamp_spec.rb
|
153
|
+
- spec/postgres/array/timestamp_tz_spec.rb
|
154
|
+
- spec/postgres/array_spec.rb
|
124
155
|
- spec/postgres/bind_params_spec.rb
|
125
156
|
- spec/postgres/driver_spec.rb
|
126
157
|
- spec/postgres/type_cast_spec.rb
|