baza 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -0
- data/README.rdoc +106 -1
- data/VERSION +1 -1
- data/baza.gemspec +103 -0
- data/include/db.rb +108 -29
- data/include/drivers/mysql/mysql.rb +52 -47
- data/include/drivers/mysql/mysql_columns.rb +48 -41
- data/include/drivers/mysql/mysql_indexes.rb +2 -2
- data/include/drivers/mysql/mysql_tables.rb +91 -59
- data/include/drivers/sqlite3/sqlite3.rb +66 -45
- data/include/drivers/sqlite3/sqlite3_columns.rb +41 -39
- data/include/drivers/sqlite3/sqlite3_indexes.rb +2 -2
- data/include/drivers/sqlite3/sqlite3_tables.rb +86 -54
- data/include/dump.rb +5 -2
- data/include/revision.rb +130 -90
- data/spec/baza_spec.rb +312 -263
- data/spec/info_mysql_example.rb +6 -0
- data/spec/info_sqlite3.rb +20 -0
- metadata +22 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
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: 2013-04-
|
12
|
+
date: 2013-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: datet
|
@@ -139,6 +139,22 @@ dependencies:
|
|
139
139
|
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: mysql2
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
142
158
|
description: A database abstraction layer, model framework and database framework.
|
143
159
|
email: kj@gfish.com
|
144
160
|
executables: []
|
@@ -155,6 +171,7 @@ files:
|
|
155
171
|
- README.rdoc
|
156
172
|
- Rakefile
|
157
173
|
- VERSION
|
174
|
+
- baza.gemspec
|
158
175
|
- include/db.rb
|
159
176
|
- include/dbtime.rb
|
160
177
|
- include/drivers/.DS_Store
|
@@ -183,6 +200,8 @@ files:
|
|
183
200
|
- lib/baza.rb
|
184
201
|
- spec/baza_spec.rb
|
185
202
|
- spec/db_spec_encoding_test_file.txt
|
203
|
+
- spec/info_mysql_example.rb
|
204
|
+
- spec/info_sqlite3.rb
|
186
205
|
- spec/spec_helper.rb
|
187
206
|
homepage: http://github.com/kaspernj/baza
|
188
207
|
licenses:
|
@@ -199,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
218
|
version: '0'
|
200
219
|
segments:
|
201
220
|
- 0
|
202
|
-
hash:
|
221
|
+
hash: 452471857234570099
|
203
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
223
|
none: false
|
205
224
|
requirements:
|