baza 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -11
  3. data/Gemfile.lock +76 -50
  4. data/README.md +3 -2
  5. data/VERSION +1 -1
  6. data/baza.gemspec +107 -54
  7. data/lib/baza.rb +1 -1
  8. data/lib/baza/base_sql_driver.rb +64 -0
  9. data/lib/baza/cloner.rb +31 -0
  10. data/{include → lib/baza}/column.rb +0 -0
  11. data/{include → lib/baza}/db.rb +61 -49
  12. data/{include → lib/baza}/dbtime.rb +0 -0
  13. data/{include → lib/baza}/driver.rb +1 -1
  14. data/lib/baza/drivers/active_record.rb +107 -0
  15. data/lib/baza/drivers/active_record/columns.rb +10 -0
  16. data/lib/baza/drivers/active_record/indexes.rb +10 -0
  17. data/lib/baza/drivers/active_record/result.rb +23 -0
  18. data/lib/baza/drivers/active_record/tables.rb +12 -0
  19. data/lib/baza/drivers/mysql.rb +220 -0
  20. data/{include/drivers/mysql/mysql_column.rb → lib/baza/drivers/mysql/column.rb} +0 -0
  21. data/{include/drivers/mysql/mysql_columns.rb → lib/baza/drivers/mysql/columns.rb} +0 -0
  22. data/{include/drivers/mysql/mysql_index.rb → lib/baza/drivers/mysql/index.rb} +0 -0
  23. data/{include/drivers/mysql/mysql_indexes.rb → lib/baza/drivers/mysql/indexes.rb} +0 -0
  24. data/lib/baza/drivers/mysql/result.rb +81 -0
  25. data/{include/drivers/mysql/mysql_sqlspecs.rb → lib/baza/drivers/mysql/sqlspecs.rb} +0 -0
  26. data/{include/drivers/mysql/mysql_table.rb → lib/baza/drivers/mysql/table.rb} +2 -2
  27. data/{include/drivers/mysql/mysql_tables.rb → lib/baza/drivers/mysql/tables.rb} +0 -1
  28. data/{include/drivers/mysql/mysql_result_unbuffered.rb → lib/baza/drivers/mysql/unbuffered_result.rb} +19 -23
  29. data/lib/baza/drivers/mysql2.rb +259 -0
  30. data/lib/baza/drivers/mysql2/column.rb +2 -0
  31. data/lib/baza/drivers/mysql2/columns.rb +2 -0
  32. data/lib/baza/drivers/mysql2/index.rb +2 -0
  33. data/lib/baza/drivers/mysql2/indexes.rb +2 -0
  34. data/lib/baza/drivers/mysql2/result.rb +26 -0
  35. data/lib/baza/drivers/mysql2/table.rb +2 -0
  36. data/lib/baza/drivers/mysql2/tables.rb +2 -0
  37. data/lib/baza/drivers/mysql_java.rb +178 -0
  38. data/lib/baza/drivers/mysql_java/column.rb +2 -0
  39. data/lib/baza/drivers/mysql_java/columns.rb +2 -0
  40. data/lib/baza/drivers/mysql_java/index.rb +2 -0
  41. data/lib/baza/drivers/mysql_java/indexes.rb +2 -0
  42. data/lib/baza/drivers/mysql_java/table.rb +2 -0
  43. data/lib/baza/drivers/mysql_java/tables.rb +2 -0
  44. data/lib/baza/drivers/sqlite3.rb +81 -0
  45. data/{include/drivers/sqlite3/sqlite3_column.rb → lib/baza/drivers/sqlite3/column.rb} +0 -0
  46. data/{include/drivers/sqlite3/sqlite3_columns.rb → lib/baza/drivers/sqlite3/columns.rb} +0 -0
  47. data/{include/drivers/sqlite3/sqlite3_index.rb → lib/baza/drivers/sqlite3/index.rb} +0 -0
  48. data/{include/drivers/sqlite3/sqlite3_indexes.rb → lib/baza/drivers/sqlite3/indexes.rb} +0 -0
  49. data/lib/baza/drivers/sqlite3/result.rb +64 -0
  50. data/{include/drivers/sqlite3/sqlite3_sqlspecs.rb → lib/baza/drivers/sqlite3/sqlspecs.rb} +1 -1
  51. data/{include/drivers/sqlite3/sqlite3_table.rb → lib/baza/drivers/sqlite3/table.rb} +0 -0
  52. data/{include/drivers/sqlite3/sqlite3_tables.rb → lib/baza/drivers/sqlite3/tables.rb} +0 -0
  53. data/lib/baza/drivers/sqlite3/unbuffered_result.rb +33 -0
  54. data/lib/baza/drivers/sqlite3_java.rb +75 -0
  55. data/lib/baza/drivers/sqlite3_java/column.rb +2 -0
  56. data/lib/baza/drivers/sqlite3_java/columns.rb +2 -0
  57. data/lib/baza/drivers/sqlite3_java/index.rb +2 -0
  58. data/lib/baza/drivers/sqlite3_java/indexes.rb +2 -0
  59. data/lib/baza/drivers/sqlite3_java/table.rb +2 -0
  60. data/lib/baza/drivers/sqlite3_java/tables.rb +2 -0
  61. data/lib/baza/drivers/sqlite3_java/unbuffered_result.rb +33 -0
  62. data/lib/baza/drivers/sqlite3_rhodes.rb +78 -0
  63. data/{include → lib/baza}/dump.rb +0 -0
  64. data/{include → lib/baza}/errors.rb +0 -0
  65. data/{include → lib/baza}/idquery.rb +0 -0
  66. data/{include → lib/baza}/index.rb +0 -0
  67. data/lib/baza/jdbc_driver.rb +102 -0
  68. data/lib/baza/jdbc_result.rb +125 -0
  69. data/{include → lib/baza}/model.rb +2 -2
  70. data/{include → lib/baza}/model_custom.rb +0 -0
  71. data/{include → lib/baza}/model_handler.rb +1 -1
  72. data/{include → lib/baza}/model_handler_sqlhelper.rb +0 -0
  73. data/{include → lib/baza}/query_buffer.rb +2 -2
  74. data/lib/baza/result_base.rb +25 -0
  75. data/{include → lib/baza}/revision.rb +1 -1
  76. data/{include → lib/baza}/row.rb +0 -0
  77. data/{include → lib/baza}/sqlspecs.rb +0 -0
  78. data/{include → lib/baza}/table.rb +0 -0
  79. data/shippable.yml +3 -1
  80. data/spec/cloner_spec.rb +10 -0
  81. data/spec/drivers/active_record_mysql2_spec.rb +18 -0
  82. data/spec/drivers/active_record_mysql_spec.rb +16 -0
  83. data/spec/drivers/active_record_sqlite3_spec.rb +16 -0
  84. data/spec/drivers/mysql2_spec.rb +16 -0
  85. data/spec/{include/drivers → drivers}/mysql_spec.rb +9 -1
  86. data/spec/{include/drivers → drivers}/sqlite3_spec.rb +8 -0
  87. data/spec/info_active_record_mysql.rb +37 -0
  88. data/spec/info_active_record_mysql2.rb +37 -0
  89. data/spec/info_active_record_mysql2_shippable.rb +36 -0
  90. data/spec/info_active_record_mysql_shippable.rb +36 -0
  91. data/spec/info_active_record_sqlite3.rb +37 -0
  92. data/spec/info_mysql2_example.rb +23 -0
  93. data/spec/info_mysql2_shippable.rb +22 -0
  94. data/spec/info_mysql_example.rb +3 -4
  95. data/spec/info_mysql_shippable.rb +7 -17
  96. data/spec/info_sqlite3.rb +5 -4
  97. data/spec/model_handler_spec.rb +137 -105
  98. data/spec/spec_helper.rb +8 -0
  99. data/spec/support/driver_collection.rb +124 -34
  100. data/spec/support/driver_columns_collection.rb +0 -7
  101. data/spec/support/driver_indexes_collection.rb +4 -11
  102. data/spec/support/driver_tables_collection.rb +0 -7
  103. metadata +160 -52
  104. data/include/cloner.rb +0 -18
  105. data/include/drivers/active_record/active_record.rb +0 -159
  106. data/include/drivers/mysql/mysql.rb +0 -443
  107. data/include/drivers/mysql/mysql_result.rb +0 -42
  108. data/include/drivers/mysql/mysql_result_java.rb +0 -61
  109. data/include/drivers/mysql/mysql_result_mysql2.rb +0 -26
  110. data/include/drivers/sqlite3/sqlite3.rb +0 -159
  111. data/include/drivers/sqlite3/sqlite3_result.rb +0 -35
  112. data/include/drivers/sqlite3/sqlite3_result_java.rb +0 -39
  113. data/spec/include/cloner_spec.rb +0 -10
  114. data/spec/include/drivers/active_record_spec.rb +0 -8
  115. data/spec/info_active_record.rb +0 -49
  116. data/spec/info_active_record_shippable.rb +0 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f015976dbd7947d3e767c03acbe2c5d5483c1548
4
- data.tar.gz: 2c1d7124db801479e2fcbeb1b48bc2bcc4305654
3
+ metadata.gz: 42b6791018fcaf0f3e04a3eb8301393bcdaf2f64
4
+ data.tar.gz: a7508267b64062649af744f47abf319c1a3a2357
5
5
  SHA512:
6
- metadata.gz: 2f28b9caab9178b57d0dd4576fa07914076a0c9b8305ba8fc853f301cd86473c0769113db5521a5b06a993809b39599ebad34bbed57368724e66d4ad5ce7f92a
7
- data.tar.gz: 44fcf2c1583d49a375f6e1afff64b565901efb65c285d1dce8c31b96f8d04a619834182608018c7ff11c387861b81fea77a4d72300a4eeeb6bec2d2abd72d511
6
+ metadata.gz: 69ffd8e05652c09a35d8bb4a9fabbdfb0a625081114890a5c42db2bd3f285fd2ad8d51faf3bbd142e41371d3711fbc30737927b9030d0807944ec310d88a336f
7
+ data.tar.gz: 290ee5f1b7ee025af1c72fe1d0ed99dbf0737249f9bbbc7bbfdc2fb7bedf8f123935d53ba5fb746d9ed4a273df29584e2cc6f22163a3770fcf9ae645904fb592
data/Gemfile CHANGED
@@ -5,26 +5,24 @@ source "http://rubygems.org"
5
5
 
6
6
  gem "datet", "~> 0.0.25"
7
7
  gem "wref", "~> 0.0.8"
8
- gem "array_enumerator", "~> 0.0.7"
8
+ gem "array_enumerator", "~> 0.0.10"
9
9
  gem "string-cases", "~> 0.0.1"
10
10
  gem 'event_handler', '~> 0.0.0'
11
11
 
12
12
  # Add dependencies to develop your gem here.
13
13
  # Include everything needed to run rake, tests, features, etc.
14
- group :development do
14
+ group :development, :test do
15
15
  gem "rspec"
16
16
  gem "rdoc"
17
17
  gem "bundler"
18
18
  gem "jeweler"
19
-
20
- if RUBY_ENGINE == "jruby"
21
- gem "jdbc-sqlite3"
22
- gem "activerecord-jdbc-adapter"
23
- else
24
- gem "sqlite3"
25
- gem "mysql2"
26
- end
27
-
19
+ gem 'pry'
20
+ gem 'jdbc-sqlite3', platform: :jruby
21
+ gem 'jdbc-mysql', platform: :jruby
22
+ gem 'activerecord-jdbc-adapter', platform: :jruby
23
+ gem 'sqlite3', platform: :ruby
24
+ gem 'mysql', platform: :ruby
25
+ gem 'mysql2', platform: :ruby
28
26
  gem "activerecord"
29
27
  end
30
28
 
@@ -1,45 +1,51 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (4.1.6)
5
- activesupport (= 4.1.6)
4
+ activemodel (4.2.3)
5
+ activesupport (= 4.2.3)
6
6
  builder (~> 3.1)
7
- activerecord (4.1.6)
8
- activemodel (= 4.1.6)
9
- activesupport (= 4.1.6)
10
- arel (~> 5.0.0)
11
- activesupport (4.1.6)
12
- i18n (~> 0.6, >= 0.6.9)
7
+ activerecord (4.2.3)
8
+ activemodel (= 4.2.3)
9
+ activesupport (= 4.2.3)
10
+ arel (~> 6.0)
11
+ activerecord-jdbc-adapter (1.3.17)
12
+ activerecord (>= 2.2)
13
+ activesupport (4.2.3)
14
+ i18n (~> 0.7)
13
15
  json (~> 1.7, >= 1.7.7)
14
16
  minitest (~> 5.1)
15
- thread_safe (~> 0.1)
17
+ thread_safe (~> 0.3, >= 0.3.4)
16
18
  tzinfo (~> 1.1)
17
- addressable (2.3.6)
18
- arel (5.0.1.20140414130214)
19
- array_enumerator (0.0.7)
19
+ addressable (2.3.8)
20
+ arel (6.0.0)
21
+ array_enumerator (0.0.10)
20
22
  builder (3.2.2)
21
- codeclimate-test-reporter (0.4.1)
23
+ codeclimate-test-reporter (0.4.7)
22
24
  simplecov (>= 0.7.1, < 1.0.0)
25
+ coderay (1.1.0)
23
26
  datet (0.0.25)
24
27
  descendants_tracker (0.0.4)
25
28
  thread_safe (~> 0.3, >= 0.3.1)
26
29
  diff-lcs (1.2.5)
27
30
  docile (1.1.5)
28
31
  event_handler (0.0.0)
29
- faraday (0.9.0)
32
+ faraday (0.9.1)
30
33
  multipart-post (>= 1.2, < 3)
31
- git (1.2.8)
32
- github_api (0.12.1)
34
+ ffi (1.9.10-java)
35
+ git (1.2.9.1)
36
+ github_api (0.12.3)
33
37
  addressable (~> 2.3)
34
38
  descendants_tracker (~> 0.0.4)
35
39
  faraday (~> 0.8, < 0.10)
36
- hashie (>= 3.2)
40
+ hashie (>= 3.3)
37
41
  multi_json (>= 1.7.5, < 2.0)
38
42
  nokogiri (~> 1.6.3)
39
43
  oauth2
40
- hashie (3.3.1)
41
- highline (1.6.21)
42
- i18n (0.6.11)
44
+ hashie (3.4.2)
45
+ highline (1.7.2)
46
+ i18n (0.7.0)
47
+ jdbc-mysql (5.1.35)
48
+ jdbc-sqlite3 (3.8.10.1)
43
49
  jeweler (2.0.1)
44
50
  builder
45
51
  bundler (>= 1.0)
@@ -49,49 +55,64 @@ GEM
49
55
  nokogiri (>= 1.5.10)
50
56
  rake
51
57
  rdoc
52
- json (1.8.1)
53
- json (1.8.1-java)
54
- jwt (1.0.0)
55
- mini_portile (0.6.0)
56
- minitest (5.4.2)
57
- multi_json (1.10.1)
58
+ json (1.8.3)
59
+ json (1.8.3-java)
60
+ jwt (1.5.1)
61
+ method_source (0.8.2)
62
+ mini_portile (0.6.2)
63
+ minitest (5.7.0)
64
+ multi_json (1.11.2)
58
65
  multi_xml (0.5.5)
59
66
  multipart-post (2.0.0)
67
+ mysql (2.9.1)
60
68
  mysql2 (0.3.18)
61
- nokogiri (1.6.3.1)
62
- mini_portile (= 0.6.0)
63
- nokogiri (1.6.3.1-java)
69
+ nokogiri (1.6.6.2)
70
+ mini_portile (~> 0.6.0)
71
+ nokogiri (1.6.6.2-java)
64
72
  oauth2 (1.0.0)
65
73
  faraday (>= 0.8, < 0.10)
66
74
  jwt (~> 1.0)
67
75
  multi_json (~> 1.3)
68
76
  multi_xml (~> 0.5)
69
77
  rack (~> 1.2)
70
- rack (1.5.2)
71
- rake (10.3.2)
72
- rdoc (4.1.2)
78
+ pry (0.10.1)
79
+ coderay (~> 1.1.0)
80
+ method_source (~> 0.8.1)
81
+ slop (~> 3.4)
82
+ pry (0.10.1-java)
83
+ coderay (~> 1.1.0)
84
+ method_source (~> 0.8.1)
85
+ slop (~> 3.4)
86
+ spoon (~> 0.0)
87
+ rack (1.6.4)
88
+ rake (10.4.2)
89
+ rdoc (4.2.0)
73
90
  json (~> 1.4)
74
- rspec (3.1.0)
75
- rspec-core (~> 3.1.0)
76
- rspec-expectations (~> 3.1.0)
77
- rspec-mocks (~> 3.1.0)
78
- rspec-core (3.1.7)
79
- rspec-support (~> 3.1.0)
80
- rspec-expectations (3.1.2)
91
+ rspec (3.3.0)
92
+ rspec-core (~> 3.3.0)
93
+ rspec-expectations (~> 3.3.0)
94
+ rspec-mocks (~> 3.3.0)
95
+ rspec-core (3.3.1)
96
+ rspec-support (~> 3.3.0)
97
+ rspec-expectations (3.3.0)
98
+ diff-lcs (>= 1.2.0, < 2.0)
99
+ rspec-support (~> 3.3.0)
100
+ rspec-mocks (3.3.1)
81
101
  diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.1.0)
83
- rspec-mocks (3.1.3)
84
- rspec-support (~> 3.1.0)
85
- rspec-support (3.1.2)
86
- simplecov (0.9.1)
102
+ rspec-support (~> 3.3.0)
103
+ rspec-support (3.3.0)
104
+ simplecov (0.10.0)
87
105
  docile (~> 1.1.0)
88
- multi_json (~> 1.0)
89
- simplecov-html (~> 0.8.0)
90
- simplecov-html (0.8.0)
106
+ json (~> 1.8)
107
+ simplecov-html (~> 0.10.0)
108
+ simplecov-html (0.10.0)
109
+ slop (3.6.0)
110
+ spoon (0.0.4)
111
+ ffi
91
112
  sqlite3 (1.3.10)
92
113
  string-cases (0.0.1)
93
- thread_safe (0.3.4)
94
- thread_safe (0.3.4-java)
114
+ thread_safe (0.3.5)
115
+ thread_safe (0.3.5-java)
95
116
  tzinfo (1.2.2)
96
117
  thread_safe (~> 0.1)
97
118
  wref (0.0.8)
@@ -102,13 +123,18 @@ PLATFORMS
102
123
 
103
124
  DEPENDENCIES
104
125
  activerecord
105
- array_enumerator (~> 0.0.7)
126
+ activerecord-jdbc-adapter
127
+ array_enumerator (~> 0.0.10)
106
128
  bundler
107
129
  codeclimate-test-reporter
108
130
  datet (~> 0.0.25)
109
131
  event_handler (~> 0.0.0)
132
+ jdbc-mysql
133
+ jdbc-sqlite3
110
134
  jeweler
135
+ mysql
111
136
  mysql2
137
+ pry
112
138
  rdoc
113
139
  rspec
114
140
  sqlite3
data/README.md CHANGED
@@ -176,7 +176,8 @@ puts "Table: #{index.table}"
176
176
 
177
177
  ## Copying databases
178
178
  ```ruby
179
- db_mysql = Baza::Db.new(type: :mysql, subtype: :mysql2, ...)
179
+ db_mysql = Baza::Db.new(type: :mysql, ...)
180
+ db_mysql2 = Baza::Db.new(type: :mysql2, ...)
180
181
  db_sqlite = Baza::Db.new(type: :sqlite3, path: ...)
181
182
 
182
183
  db_mysql.copy_to(db_sqlite)
@@ -215,7 +216,7 @@ end
215
216
  ```
216
217
 
217
218
  ## Contributing to baza
218
-
219
+
219
220
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
220
221
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
221
222
  * Fork the project.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.17
1
+ 0.0.18
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: baza 0.0.17 ruby lib
5
+ # stub: baza 0.0.18 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "baza"
9
- s.version = "0.0.17"
9
+ s.version = "0.0.18"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Kasper Johansen"]
14
- s.date = "2015-05-31"
14
+ s.date = "2015-07-16"
15
15
  s.description = "A database abstraction layer, model framework and database framework."
16
16
  s.email = "kj@gfish.com"
17
17
  s.extra_rdoc_files = [
@@ -28,56 +28,94 @@ Gem::Specification.new do |s|
28
28
  "Rakefile",
29
29
  "VERSION",
30
30
  "baza.gemspec",
31
- "include/cloner.rb",
32
- "include/column.rb",
33
- "include/db.rb",
34
- "include/dbtime.rb",
35
- "include/driver.rb",
36
- "include/drivers/active_record/active_record.rb",
37
- "include/drivers/mysql/mysql.rb",
38
- "include/drivers/mysql/mysql_column.rb",
39
- "include/drivers/mysql/mysql_columns.rb",
40
- "include/drivers/mysql/mysql_index.rb",
41
- "include/drivers/mysql/mysql_indexes.rb",
42
- "include/drivers/mysql/mysql_result.rb",
43
- "include/drivers/mysql/mysql_result_java.rb",
44
- "include/drivers/mysql/mysql_result_mysql2.rb",
45
- "include/drivers/mysql/mysql_result_unbuffered.rb",
46
- "include/drivers/mysql/mysql_sqlspecs.rb",
47
- "include/drivers/mysql/mysql_table.rb",
48
- "include/drivers/mysql/mysql_tables.rb",
49
- "include/drivers/sqlite3/sqlite3.rb",
50
- "include/drivers/sqlite3/sqlite3_column.rb",
51
- "include/drivers/sqlite3/sqlite3_columns.rb",
52
- "include/drivers/sqlite3/sqlite3_index.rb",
53
- "include/drivers/sqlite3/sqlite3_indexes.rb",
54
- "include/drivers/sqlite3/sqlite3_result.rb",
55
- "include/drivers/sqlite3/sqlite3_result_java.rb",
56
- "include/drivers/sqlite3/sqlite3_sqlspecs.rb",
57
- "include/drivers/sqlite3/sqlite3_table.rb",
58
- "include/drivers/sqlite3/sqlite3_tables.rb",
59
- "include/dump.rb",
60
- "include/errors.rb",
61
- "include/idquery.rb",
62
- "include/index.rb",
63
- "include/model.rb",
64
- "include/model_custom.rb",
65
- "include/model_handler.rb",
66
- "include/model_handler_sqlhelper.rb",
67
- "include/query_buffer.rb",
68
- "include/revision.rb",
69
- "include/row.rb",
70
- "include/sqlspecs.rb",
71
- "include/table.rb",
72
31
  "lib/baza.rb",
32
+ "lib/baza/base_sql_driver.rb",
33
+ "lib/baza/cloner.rb",
34
+ "lib/baza/column.rb",
35
+ "lib/baza/db.rb",
36
+ "lib/baza/dbtime.rb",
37
+ "lib/baza/driver.rb",
38
+ "lib/baza/drivers/active_record.rb",
39
+ "lib/baza/drivers/active_record/columns.rb",
40
+ "lib/baza/drivers/active_record/indexes.rb",
41
+ "lib/baza/drivers/active_record/result.rb",
42
+ "lib/baza/drivers/active_record/tables.rb",
43
+ "lib/baza/drivers/mysql.rb",
44
+ "lib/baza/drivers/mysql/column.rb",
45
+ "lib/baza/drivers/mysql/columns.rb",
46
+ "lib/baza/drivers/mysql/index.rb",
47
+ "lib/baza/drivers/mysql/indexes.rb",
48
+ "lib/baza/drivers/mysql/result.rb",
49
+ "lib/baza/drivers/mysql/sqlspecs.rb",
50
+ "lib/baza/drivers/mysql/table.rb",
51
+ "lib/baza/drivers/mysql/tables.rb",
52
+ "lib/baza/drivers/mysql/unbuffered_result.rb",
53
+ "lib/baza/drivers/mysql2.rb",
54
+ "lib/baza/drivers/mysql2/column.rb",
55
+ "lib/baza/drivers/mysql2/columns.rb",
56
+ "lib/baza/drivers/mysql2/index.rb",
57
+ "lib/baza/drivers/mysql2/indexes.rb",
58
+ "lib/baza/drivers/mysql2/result.rb",
59
+ "lib/baza/drivers/mysql2/table.rb",
60
+ "lib/baza/drivers/mysql2/tables.rb",
61
+ "lib/baza/drivers/mysql_java.rb",
62
+ "lib/baza/drivers/mysql_java/column.rb",
63
+ "lib/baza/drivers/mysql_java/columns.rb",
64
+ "lib/baza/drivers/mysql_java/index.rb",
65
+ "lib/baza/drivers/mysql_java/indexes.rb",
66
+ "lib/baza/drivers/mysql_java/table.rb",
67
+ "lib/baza/drivers/mysql_java/tables.rb",
68
+ "lib/baza/drivers/sqlite3.rb",
69
+ "lib/baza/drivers/sqlite3/column.rb",
70
+ "lib/baza/drivers/sqlite3/columns.rb",
71
+ "lib/baza/drivers/sqlite3/index.rb",
72
+ "lib/baza/drivers/sqlite3/indexes.rb",
73
+ "lib/baza/drivers/sqlite3/result.rb",
74
+ "lib/baza/drivers/sqlite3/sqlspecs.rb",
75
+ "lib/baza/drivers/sqlite3/table.rb",
76
+ "lib/baza/drivers/sqlite3/tables.rb",
77
+ "lib/baza/drivers/sqlite3/unbuffered_result.rb",
78
+ "lib/baza/drivers/sqlite3_java.rb",
79
+ "lib/baza/drivers/sqlite3_java/column.rb",
80
+ "lib/baza/drivers/sqlite3_java/columns.rb",
81
+ "lib/baza/drivers/sqlite3_java/index.rb",
82
+ "lib/baza/drivers/sqlite3_java/indexes.rb",
83
+ "lib/baza/drivers/sqlite3_java/table.rb",
84
+ "lib/baza/drivers/sqlite3_java/tables.rb",
85
+ "lib/baza/drivers/sqlite3_java/unbuffered_result.rb",
86
+ "lib/baza/drivers/sqlite3_rhodes.rb",
87
+ "lib/baza/dump.rb",
88
+ "lib/baza/errors.rb",
89
+ "lib/baza/idquery.rb",
90
+ "lib/baza/index.rb",
91
+ "lib/baza/jdbc_driver.rb",
92
+ "lib/baza/jdbc_result.rb",
93
+ "lib/baza/model.rb",
94
+ "lib/baza/model_custom.rb",
95
+ "lib/baza/model_handler.rb",
96
+ "lib/baza/model_handler_sqlhelper.rb",
97
+ "lib/baza/query_buffer.rb",
98
+ "lib/baza/result_base.rb",
99
+ "lib/baza/revision.rb",
100
+ "lib/baza/row.rb",
101
+ "lib/baza/sqlspecs.rb",
102
+ "lib/baza/table.rb",
73
103
  "shippable.yml",
74
- "spec/include/cloner_spec.rb",
75
- "spec/include/drivers/active_record_spec.rb",
76
- "spec/include/drivers/mysql_spec.rb",
77
- "spec/include/drivers/sqlite3_spec.rb",
78
- "spec/info_active_record.rb",
104
+ "spec/cloner_spec.rb",
105
+ "spec/drivers/active_record_mysql2_spec.rb",
106
+ "spec/drivers/active_record_mysql_spec.rb",
107
+ "spec/drivers/active_record_sqlite3_spec.rb",
108
+ "spec/drivers/mysql2_spec.rb",
109
+ "spec/drivers/mysql_spec.rb",
110
+ "spec/drivers/sqlite3_spec.rb",
79
111
  "spec/info_active_record_example.rb",
80
- "spec/info_active_record_shippable.rb",
112
+ "spec/info_active_record_mysql.rb",
113
+ "spec/info_active_record_mysql2.rb",
114
+ "spec/info_active_record_mysql2_shippable.rb",
115
+ "spec/info_active_record_mysql_shippable.rb",
116
+ "spec/info_active_record_sqlite3.rb",
117
+ "spec/info_mysql2_example.rb",
118
+ "spec/info_mysql2_shippable.rb",
81
119
  "spec/info_mysql_example.rb",
82
120
  "spec/info_mysql_shippable.rb",
83
121
  "spec/info_sqlite3.rb",
@@ -90,7 +128,7 @@ Gem::Specification.new do |s|
90
128
  ]
91
129
  s.homepage = "http://github.com/kaspernj/baza"
92
130
  s.licenses = ["MIT"]
93
- s.rubygems_version = "2.2.2"
131
+ s.rubygems_version = "2.4.0"
94
132
  s.summary = "A database abstraction layer, model framework and database framework."
95
133
 
96
134
  if s.respond_to? :specification_version then
@@ -99,41 +137,56 @@ Gem::Specification.new do |s|
99
137
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
100
138
  s.add_runtime_dependency(%q<datet>, ["~> 0.0.25"])
101
139
  s.add_runtime_dependency(%q<wref>, ["~> 0.0.8"])
102
- s.add_runtime_dependency(%q<array_enumerator>, ["~> 0.0.7"])
140
+ s.add_runtime_dependency(%q<array_enumerator>, ["~> 0.0.10"])
103
141
  s.add_runtime_dependency(%q<string-cases>, ["~> 0.0.1"])
104
142
  s.add_runtime_dependency(%q<event_handler>, ["~> 0.0.0"])
105
143
  s.add_development_dependency(%q<rspec>, [">= 0"])
106
144
  s.add_development_dependency(%q<rdoc>, [">= 0"])
107
145
  s.add_development_dependency(%q<bundler>, [">= 0"])
108
146
  s.add_development_dependency(%q<jeweler>, [">= 0"])
147
+ s.add_development_dependency(%q<pry>, [">= 0"])
148
+ s.add_development_dependency(%q<jdbc-sqlite3>, [">= 0"])
149
+ s.add_development_dependency(%q<jdbc-mysql>, [">= 0"])
150
+ s.add_development_dependency(%q<activerecord-jdbc-adapter>, [">= 0"])
109
151
  s.add_development_dependency(%q<sqlite3>, [">= 0"])
152
+ s.add_development_dependency(%q<mysql>, [">= 0"])
110
153
  s.add_development_dependency(%q<mysql2>, [">= 0"])
111
154
  s.add_development_dependency(%q<activerecord>, [">= 0"])
112
155
  else
113
156
  s.add_dependency(%q<datet>, ["~> 0.0.25"])
114
157
  s.add_dependency(%q<wref>, ["~> 0.0.8"])
115
- s.add_dependency(%q<array_enumerator>, ["~> 0.0.7"])
158
+ s.add_dependency(%q<array_enumerator>, ["~> 0.0.10"])
116
159
  s.add_dependency(%q<string-cases>, ["~> 0.0.1"])
117
160
  s.add_dependency(%q<event_handler>, ["~> 0.0.0"])
118
161
  s.add_dependency(%q<rspec>, [">= 0"])
119
162
  s.add_dependency(%q<rdoc>, [">= 0"])
120
163
  s.add_dependency(%q<bundler>, [">= 0"])
121
164
  s.add_dependency(%q<jeweler>, [">= 0"])
165
+ s.add_dependency(%q<pry>, [">= 0"])
166
+ s.add_dependency(%q<jdbc-sqlite3>, [">= 0"])
167
+ s.add_dependency(%q<jdbc-mysql>, [">= 0"])
168
+ s.add_dependency(%q<activerecord-jdbc-adapter>, [">= 0"])
122
169
  s.add_dependency(%q<sqlite3>, [">= 0"])
170
+ s.add_dependency(%q<mysql>, [">= 0"])
123
171
  s.add_dependency(%q<mysql2>, [">= 0"])
124
172
  s.add_dependency(%q<activerecord>, [">= 0"])
125
173
  end
126
174
  else
127
175
  s.add_dependency(%q<datet>, ["~> 0.0.25"])
128
176
  s.add_dependency(%q<wref>, ["~> 0.0.8"])
129
- s.add_dependency(%q<array_enumerator>, ["~> 0.0.7"])
177
+ s.add_dependency(%q<array_enumerator>, ["~> 0.0.10"])
130
178
  s.add_dependency(%q<string-cases>, ["~> 0.0.1"])
131
179
  s.add_dependency(%q<event_handler>, ["~> 0.0.0"])
132
180
  s.add_dependency(%q<rspec>, [">= 0"])
133
181
  s.add_dependency(%q<rdoc>, [">= 0"])
134
182
  s.add_dependency(%q<bundler>, [">= 0"])
135
183
  s.add_dependency(%q<jeweler>, [">= 0"])
184
+ s.add_dependency(%q<pry>, [">= 0"])
185
+ s.add_dependency(%q<jdbc-sqlite3>, [">= 0"])
186
+ s.add_dependency(%q<jdbc-mysql>, [">= 0"])
187
+ s.add_dependency(%q<activerecord-jdbc-adapter>, [">= 0"])
136
188
  s.add_dependency(%q<sqlite3>, [">= 0"])
189
+ s.add_dependency(%q<mysql>, [">= 0"])
137
190
  s.add_dependency(%q<mysql2>, [">= 0"])
138
191
  s.add_dependency(%q<activerecord>, [">= 0"])
139
192
  end