sqlpostgres 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +5 -0
  2. data/sqlpostgres.gemspec +252 -0
  3. metadata +74 -46
data/Rakefile CHANGED
@@ -30,3 +30,8 @@ Jeweler::Tasks.new do |gem|
30
30
  # dependencies defined in Gemfile
31
31
  end
32
32
  Jeweler::RubygemsDotOrgTasks.new
33
+
34
+ desc "Run Tests"
35
+ task :test do
36
+ system 'test/test'
37
+ end
@@ -0,0 +1,252 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "sqlpostgres"
8
+ s.version = "1.2.5"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Wayne Conrad"]
12
+ s.date = "2013-02-18"
13
+ s.description = "A mini-language for building and executing SQL statements against a postgresql database. This is a very old library, pre-dating active record and lacking many of its refinments. New projects will probably not want to use it."
14
+ s.email = "wconrad@yagni.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.md",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "LICENSE.md",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "doc/BUGS",
27
+ "doc/examples/README",
28
+ "doc/examples/connection.rb",
29
+ "doc/examples/connection_auto.rb",
30
+ "doc/examples/connection_ctor.rb",
31
+ "doc/examples/connection_default.rb",
32
+ "doc/examples/connection_exec.rb",
33
+ "doc/examples/connection_manual.rb",
34
+ "doc/examples/connection_wrapped_new.rb",
35
+ "doc/examples/connection_wrapped_open.rb",
36
+ "doc/examples/cursor.rb",
37
+ "doc/examples/include_module.rb",
38
+ "doc/examples/include_module2.rb",
39
+ "doc/examples/insert.rb",
40
+ "doc/examples/insert2.rb",
41
+ "doc/examples/insert_bytea.rb",
42
+ "doc/examples/insert_bytea_array.rb",
43
+ "doc/examples/insert_default_values.rb",
44
+ "doc/examples/insert_insert.rb",
45
+ "doc/examples/insert_insert_default.rb",
46
+ "doc/examples/insert_insert_select.rb",
47
+ "doc/examples/insert_select.rb",
48
+ "doc/examples/interval.rb",
49
+ "doc/examples/savepoint.rb",
50
+ "doc/examples/select.rb",
51
+ "doc/examples/select2.rb",
52
+ "doc/examples/select_cross_join.rb",
53
+ "doc/examples/select_distinct.rb",
54
+ "doc/examples/select_distinct_on",
55
+ "doc/examples/select_for_update.rb",
56
+ "doc/examples/select_from.rb",
57
+ "doc/examples/select_from_subselect.rb",
58
+ "doc/examples/select_group_by.rb",
59
+ "doc/examples/select_having.rb",
60
+ "doc/examples/select_join_on.rb",
61
+ "doc/examples/select_join_using.rb",
62
+ "doc/examples/select_limit.rb",
63
+ "doc/examples/select_natural_join.rb",
64
+ "doc/examples/select_offset.rb",
65
+ "doc/examples/select_order_by.rb",
66
+ "doc/examples/select_select.rb",
67
+ "doc/examples/select_select_alias.rb",
68
+ "doc/examples/select_select_expression.rb",
69
+ "doc/examples/select_select_literal.rb",
70
+ "doc/examples/select_union.rb",
71
+ "doc/examples/select_where_array.rb",
72
+ "doc/examples/select_where_in.rb",
73
+ "doc/examples/select_where_string.rb",
74
+ "doc/examples/simple.rb",
75
+ "doc/examples/transaction.rb",
76
+ "doc/examples/transaction_abort.rb",
77
+ "doc/examples/transaction_commit.rb",
78
+ "doc/examples/translate_substitute_values.rb",
79
+ "doc/examples/update.rb",
80
+ "doc/examples/update2.rb",
81
+ "doc/examples/update_only.rb",
82
+ "doc/examples/update_set.rb",
83
+ "doc/examples/update_set_array.rb",
84
+ "doc/examples/update_set_bytea.rb",
85
+ "doc/examples/update_set_expression.rb",
86
+ "doc/examples/update_set_subselect.rb",
87
+ "doc/examples/update_where.rb",
88
+ "doc/examples/use_prefix.rb",
89
+ "doc/examples/use_prefix2.rb",
90
+ "doc/index.html",
91
+ "doc/insertexamples.rb",
92
+ "doc/makemanual",
93
+ "doc/makerdoc",
94
+ "doc/manual.dbk",
95
+ "lib/sqlpostgres.rb",
96
+ "lib/sqlpostgres/Connection.rb",
97
+ "lib/sqlpostgres/Cursor.rb",
98
+ "lib/sqlpostgres/Delete.rb",
99
+ "lib/sqlpostgres/Exceptions.rb",
100
+ "lib/sqlpostgres/Insert.rb",
101
+ "lib/sqlpostgres/NullConnection.rb",
102
+ "lib/sqlpostgres/PgBit.rb",
103
+ "lib/sqlpostgres/PgBox.rb",
104
+ "lib/sqlpostgres/PgCidr.rb",
105
+ "lib/sqlpostgres/PgCircle.rb",
106
+ "lib/sqlpostgres/PgInet.rb",
107
+ "lib/sqlpostgres/PgInterval.rb",
108
+ "lib/sqlpostgres/PgLineSegment.rb",
109
+ "lib/sqlpostgres/PgMacAddr.rb",
110
+ "lib/sqlpostgres/PgPath.rb",
111
+ "lib/sqlpostgres/PgPoint.rb",
112
+ "lib/sqlpostgres/PgPolygon.rb",
113
+ "lib/sqlpostgres/PgTime.rb",
114
+ "lib/sqlpostgres/PgTimeWithTimeZone.rb",
115
+ "lib/sqlpostgres/PgTimestamp.rb",
116
+ "lib/sqlpostgres/PgTwoPoints.rb",
117
+ "lib/sqlpostgres/PgType.rb",
118
+ "lib/sqlpostgres/PgWrapper.rb",
119
+ "lib/sqlpostgres/Savepoint.rb",
120
+ "lib/sqlpostgres/Select.rb",
121
+ "lib/sqlpostgres/Transaction.rb",
122
+ "lib/sqlpostgres/Translate.rb",
123
+ "lib/sqlpostgres/Update.rb",
124
+ "sqlpostgres.gemspec",
125
+ "test/Assert.rb",
126
+ "test/Connection.test.rb",
127
+ "test/Cursor.test.rb",
128
+ "test/Delete.test.rb",
129
+ "test/Insert.test.rb",
130
+ "test/MockPGconn.rb",
131
+ "test/NullConnection.test.rb",
132
+ "test/PgBit.test.rb",
133
+ "test/PgBox.test.rb",
134
+ "test/PgCidr.test.rb",
135
+ "test/PgCircle.test.rb",
136
+ "test/PgInet.test.rb",
137
+ "test/PgInterval.test.rb",
138
+ "test/PgLineSegment.test.rb",
139
+ "test/PgMacAddr.test.rb",
140
+ "test/PgPath.test.rb",
141
+ "test/PgPoint.test.rb",
142
+ "test/PgPolygon.test.rb",
143
+ "test/PgTime.test.rb",
144
+ "test/PgTimeWithTimeZone.test.rb",
145
+ "test/PgTimestamp.test.rb",
146
+ "test/RandomThings.rb",
147
+ "test/Savepoint.test.rb",
148
+ "test/Select.test.rb",
149
+ "test/Test.rb",
150
+ "test/TestConfig.rb",
151
+ "test/TestSetup.rb",
152
+ "test/TestUtil.rb",
153
+ "test/Transaction.test.rb",
154
+ "test/Translate.test.rb",
155
+ "test/Update.test.rb",
156
+ "test/roundtrip.test.rb",
157
+ "test/test",
158
+ "tools/exampleinserter/ExampleInserter.rb",
159
+ "tools/rdoc/ChangeLog",
160
+ "tools/rdoc/EXAMPLE.rb",
161
+ "tools/rdoc/MANIFEST",
162
+ "tools/rdoc/Makefile",
163
+ "tools/rdoc/NEW_FEATURES",
164
+ "tools/rdoc/README",
165
+ "tools/rdoc/ToDo",
166
+ "tools/rdoc/contrib/Index",
167
+ "tools/rdoc/contrib/xslfo/ChangeLog",
168
+ "tools/rdoc/contrib/xslfo/README",
169
+ "tools/rdoc/contrib/xslfo/TODO",
170
+ "tools/rdoc/contrib/xslfo/convert.xsl",
171
+ "tools/rdoc/contrib/xslfo/demo/README",
172
+ "tools/rdoc/contrib/xslfo/demo/rdocfo",
173
+ "tools/rdoc/contrib/xslfo/fcm.xsl",
174
+ "tools/rdoc/contrib/xslfo/files.xsl",
175
+ "tools/rdoc/contrib/xslfo/labeled-lists.xsl",
176
+ "tools/rdoc/contrib/xslfo/lists.xsl",
177
+ "tools/rdoc/contrib/xslfo/modules.xsl",
178
+ "tools/rdoc/contrib/xslfo/rdoc.xsl",
179
+ "tools/rdoc/contrib/xslfo/source.xsl",
180
+ "tools/rdoc/contrib/xslfo/styles.xsl",
181
+ "tools/rdoc/contrib/xslfo/tables.xsl",
182
+ "tools/rdoc/contrib/xslfo/utils.xsl",
183
+ "tools/rdoc/debian/changelog",
184
+ "tools/rdoc/debian/compat",
185
+ "tools/rdoc/debian/control",
186
+ "tools/rdoc/debian/copyright",
187
+ "tools/rdoc/debian/dirs",
188
+ "tools/rdoc/debian/docs",
189
+ "tools/rdoc/debian/rdoc.1",
190
+ "tools/rdoc/debian/rdoc.manpages",
191
+ "tools/rdoc/debian/rdoc.pod",
192
+ "tools/rdoc/debian/rules",
193
+ "tools/rdoc/dot/dot.rb",
194
+ "tools/rdoc/etc/rdoc.dtd",
195
+ "tools/rdoc/install.rb",
196
+ "tools/rdoc/markup/install.rb",
197
+ "tools/rdoc/markup/sample/sample.rb",
198
+ "tools/rdoc/markup/simple_markup.rb",
199
+ "tools/rdoc/markup/simple_markup/fragments.rb",
200
+ "tools/rdoc/markup/simple_markup/inline.rb",
201
+ "tools/rdoc/markup/simple_markup/lines.rb",
202
+ "tools/rdoc/markup/simple_markup/preprocess.rb",
203
+ "tools/rdoc/markup/simple_markup/to_html.rb",
204
+ "tools/rdoc/markup/test/AllTests.rb",
205
+ "tools/rdoc/markup/test/TestInline.rb",
206
+ "tools/rdoc/markup/test/TestParse.rb",
207
+ "tools/rdoc/rdoc.rb",
208
+ "tools/rdoc/rdoc/code_objects.rb",
209
+ "tools/rdoc/rdoc/diagram.rb",
210
+ "tools/rdoc/rdoc/generators/chm_generator.rb",
211
+ "tools/rdoc/rdoc/generators/html_generator.rb",
212
+ "tools/rdoc/rdoc/generators/template/chm/chm.rb",
213
+ "tools/rdoc/rdoc/generators/template/html/html.rb",
214
+ "tools/rdoc/rdoc/generators/template/html/kilmer.rb",
215
+ "tools/rdoc/rdoc/generators/template/xml/rdf.rb",
216
+ "tools/rdoc/rdoc/generators/template/xml/xml.rb",
217
+ "tools/rdoc/rdoc/generators/xml_generator.rb",
218
+ "tools/rdoc/rdoc/options.rb",
219
+ "tools/rdoc/rdoc/parsers/parse_c.rb",
220
+ "tools/rdoc/rdoc/parsers/parse_f95.rb",
221
+ "tools/rdoc/rdoc/parsers/parse_rb.rb",
222
+ "tools/rdoc/rdoc/parsers/parse_simple.rb",
223
+ "tools/rdoc/rdoc/parsers/parserfactory.rb",
224
+ "tools/rdoc/rdoc/rdoc.rb",
225
+ "tools/rdoc/rdoc/template.rb",
226
+ "tools/rdoc/rdoc/tokenstream.rb"
227
+ ]
228
+ s.homepage = "http://github.com/wconrad/sqlpostgres"
229
+ s.licenses = ["MIT"]
230
+ s.require_paths = ["lib"]
231
+ s.rubygems_version = "1.8.17"
232
+ s.summary = "library for postgresql queries"
233
+
234
+ if s.respond_to? :specification_version then
235
+ s.specification_version = 3
236
+
237
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
238
+ s.add_runtime_dependency(%q<pg>, ["~> 0.13.2"])
239
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
240
+ s.add_development_dependency(%q<rake>, ["~> 10.0.3"])
241
+ else
242
+ s.add_dependency(%q<pg>, ["~> 0.13.2"])
243
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
244
+ s.add_dependency(%q<rake>, ["~> 10.0.3"])
245
+ end
246
+ else
247
+ s.add_dependency(%q<pg>, ["~> 0.13.2"])
248
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
249
+ s.add_dependency(%q<rake>, ["~> 10.0.3"])
250
+ end
251
+ end
252
+
metadata CHANGED
@@ -1,59 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sqlpostgres
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.4
3
+ version: !ruby/object:Gem::Version
4
+ hash: 21
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 5
10
+ version: 1.2.5
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Wayne Conrad
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-05 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-02-18 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: pg
16
- requirement: &79998050 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ type: :runtime
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
28
+ - !ruby/object:Gem::Version
29
+ hash: 47
30
+ segments:
31
+ - 0
32
+ - 13
33
+ - 2
21
34
  version: 0.13.2
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *79998050
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: jeweler
27
- requirement: &79997420 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ type: :development
40
+ requirement: &id002 !ruby/object:Gem::Requirement
28
41
  none: false
29
- requirements:
42
+ requirements:
30
43
  - - ~>
31
- - !ruby/object:Gem::Version
44
+ - !ruby/object:Gem::Version
45
+ hash: 63
46
+ segments:
47
+ - 1
48
+ - 8
49
+ - 4
32
50
  version: 1.8.4
33
- type: :development
34
- prerelease: false
35
- version_requirements: *79997420
36
- - !ruby/object:Gem::Dependency
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
37
53
  name: rake
38
- requirement: &79996950 !ruby/object:Gem::Requirement
54
+ prerelease: false
55
+ type: :development
56
+ requirement: &id003 !ruby/object:Gem::Requirement
39
57
  none: false
40
- requirements:
58
+ requirements:
41
59
  - - ~>
42
- - !ruby/object:Gem::Version
60
+ - !ruby/object:Gem::Version
61
+ hash: 73
62
+ segments:
63
+ - 10
64
+ - 0
65
+ - 3
43
66
  version: 10.0.3
44
- type: :development
45
- prerelease: false
46
- version_requirements: *79996950
47
- description: A mini-language for building and executing SQL statements against a postgresql
48
- database. This is a very old library, pre-dating active record and lacking many
49
- of its refinments. New projects will probably not want to use it.
67
+ version_requirements: *id003
68
+ description: A mini-language for building and executing SQL statements against a postgresql database. This is a very old library, pre-dating active record and lacking many of its refinments. New projects will probably not want to use it.
50
69
  email: wconrad@yagni.com
51
70
  executables: []
71
+
52
72
  extensions: []
53
- extra_rdoc_files:
73
+
74
+ extra_rdoc_files:
54
75
  - LICENSE.md
55
76
  - README.rdoc
56
- files:
77
+ files:
57
78
  - Gemfile
58
79
  - Gemfile.lock
59
80
  - LICENSE.md
@@ -158,6 +179,7 @@ files:
158
179
  - lib/sqlpostgres/Transaction.rb
159
180
  - lib/sqlpostgres/Translate.rb
160
181
  - lib/sqlpostgres/Update.rb
182
+ - sqlpostgres.gemspec
161
183
  - test/Assert.rb
162
184
  - test/Connection.test.rb
163
185
  - test/Cursor.test.rb
@@ -261,31 +283,37 @@ files:
261
283
  - tools/rdoc/rdoc/template.rb
262
284
  - tools/rdoc/rdoc/tokenstream.rb
263
285
  homepage: http://github.com/wconrad/sqlpostgres
264
- licenses:
286
+ licenses:
265
287
  - MIT
266
288
  post_install_message:
267
289
  rdoc_options: []
268
- require_paths:
290
+
291
+ require_paths:
269
292
  - lib
270
- required_ruby_version: !ruby/object:Gem::Requirement
293
+ required_ruby_version: !ruby/object:Gem::Requirement
271
294
  none: false
272
- requirements:
273
- - - ! '>='
274
- - !ruby/object:Gem::Version
275
- version: '0'
276
- segments:
295
+ requirements:
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ hash: 3
299
+ segments:
277
300
  - 0
278
- hash: -638900611
279
- required_rubygems_version: !ruby/object:Gem::Requirement
301
+ version: "0"
302
+ required_rubygems_version: !ruby/object:Gem::Requirement
280
303
  none: false
281
- requirements:
282
- - - ! '>='
283
- - !ruby/object:Gem::Version
284
- version: '0'
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ hash: 3
308
+ segments:
309
+ - 0
310
+ version: "0"
285
311
  requirements: []
312
+
286
313
  rubyforge_project:
287
314
  rubygems_version: 1.8.17
288
315
  signing_key:
289
316
  specification_version: 3
290
317
  summary: library for postgresql queries
291
318
  test_files: []
319
+