dohruby 0.3.7 → 0.3.8
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/doh/app/activate_database.rb +5 -0
- data/lib/doh/app/init_runnable.rb +1 -3
- data/lib/doh/app/init_script.rb +3 -3
- data/lib/doh/mysql/to_sql.rb +16 -2
- metadata +255 -257
|
@@ -6,6 +6,11 @@ def self.activate_database
|
|
|
6
6
|
root_cfg = DohApp::config
|
|
7
7
|
return unless root_cfg.fetch('enable_database', true)
|
|
8
8
|
return unless root_cfg.key?('database')
|
|
9
|
+
begin
|
|
10
|
+
require 'mysql'
|
|
11
|
+
rescue LoadError => e
|
|
12
|
+
return
|
|
13
|
+
end
|
|
9
14
|
db_cfg = root_cfg['database']
|
|
10
15
|
require 'doh/mysql'
|
|
11
16
|
require 'doh/mysql/require_dbtypes'
|
|
@@ -66,9 +66,7 @@ def self.init_runnable(file_or_directory, block = nil)
|
|
|
66
66
|
end
|
|
67
67
|
block.call(DohApp::config) if block
|
|
68
68
|
DohApp::activate_logger
|
|
69
|
-
|
|
70
|
-
DohApp::activate_database
|
|
71
|
-
end
|
|
69
|
+
DohApp::activate_database
|
|
72
70
|
end
|
|
73
71
|
|
|
74
72
|
def self.init_runnable_dir(file_or_directory, &block)
|
data/lib/doh/app/init_script.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#this is for non-database applications that want logging
|
|
2
|
-
#in order to enable database, call DohApp::activate_database
|
|
1
|
+
# this is for non-database applications that want logging
|
|
2
|
+
# in order to enable database, call DohApp::activate_database
|
|
3
3
|
|
|
4
4
|
require 'doh/app/init_runnable'
|
|
5
5
|
require 'doh/app/options'
|
|
@@ -15,5 +15,5 @@ end
|
|
|
15
15
|
|
|
16
16
|
DohApp::init_runnable_dir(home) do |config|
|
|
17
17
|
config['logger']['file_acceptor']['log_directory'] = logdir
|
|
18
|
-
config['
|
|
18
|
+
config['enable_database'] = false
|
|
19
19
|
end
|
data/lib/doh/mysql/to_sql.rb
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
require 'bigdecimal'
|
|
2
2
|
require 'date'
|
|
3
|
-
|
|
3
|
+
begin
|
|
4
|
+
require 'mysql'
|
|
5
|
+
$mysql_loaded = true
|
|
6
|
+
rescue
|
|
7
|
+
$mysql_loaded = false
|
|
8
|
+
end
|
|
4
9
|
|
|
5
10
|
class Object
|
|
6
11
|
def to_sql
|
|
7
|
-
|
|
12
|
+
if $mysql_loaded
|
|
13
|
+
str = Mysql.escape_string(to_s)
|
|
14
|
+
else
|
|
15
|
+
str = non_mysql_escape_string
|
|
16
|
+
end
|
|
17
|
+
'"' + str + '"'
|
|
18
|
+
end
|
|
19
|
+
private
|
|
20
|
+
def non_mysql_escape_string
|
|
21
|
+
str.gsub('\\', '\\\\').gsub('\'', '\\\'').gsub('"', '\\"')
|
|
8
22
|
end
|
|
9
23
|
end
|
|
10
24
|
|
metadata
CHANGED
|
@@ -3,224 +3,224 @@ name: dohruby
|
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
version: 0.3.
|
|
6
|
+
- 0
|
|
7
|
+
- 3
|
|
8
|
+
- 8
|
|
9
|
+
version: 0.3.8
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
|
-
- Makani & Kem Mason
|
|
12
|
+
- Makani & Kem Mason
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2011-06-04 00:00:00 +12:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
21
21
|
description:
|
|
22
22
|
email: makani.and.kem.mason@gmail.com
|
|
23
23
|
executables:
|
|
24
|
-
- check_syntax.rb
|
|
25
|
-
- config.rb
|
|
26
|
-
- create_database.rb
|
|
27
|
-
- create_skeleton_dohruby_project.rb
|
|
28
|
-
- gendata.rb
|
|
29
|
-
- migrate.rb
|
|
30
|
-
- rcov_preprocess_files.rb
|
|
31
|
-
- run_tests.rb
|
|
32
|
-
- update_rdoc.rb
|
|
24
|
+
- check_syntax.rb
|
|
25
|
+
- config.rb
|
|
26
|
+
- create_database.rb
|
|
27
|
+
- create_skeleton_dohruby_project.rb
|
|
28
|
+
- gendata.rb
|
|
29
|
+
- migrate.rb
|
|
30
|
+
- rcov_preprocess_files.rb
|
|
31
|
+
- run_tests.rb
|
|
32
|
+
- update_rdoc.rb
|
|
33
33
|
extensions: []
|
|
34
34
|
|
|
35
35
|
extra_rdoc_files:
|
|
36
|
-
- MIT-LICENSE
|
|
37
|
-
- CHANGELOG
|
|
36
|
+
- MIT-LICENSE
|
|
37
|
+
- CHANGELOG
|
|
38
38
|
files:
|
|
39
|
-
- bin/check_syntax.rb
|
|
40
|
-
- bin/config.rb
|
|
41
|
-
- bin/create_database.rb
|
|
42
|
-
- bin/create_skeleton_dohruby_project.rb
|
|
43
|
-
- bin/gendata.rb
|
|
44
|
-
- bin/migrate.rb
|
|
45
|
-
- bin/rcov_preprocess_files.rb
|
|
46
|
-
- bin/run_tests.rb
|
|
47
|
-
- bin/update_rdoc.rb
|
|
48
|
-
- lib/doh
|
|
49
|
-
- lib/doh/app
|
|
50
|
-
- lib/doh/
|
|
51
|
-
- lib/doh/
|
|
52
|
-
- lib/doh/
|
|
53
|
-
- lib/doh/
|
|
54
|
-
- lib/doh/
|
|
55
|
-
- lib/doh/
|
|
56
|
-
- lib/doh/
|
|
57
|
-
- lib/doh/
|
|
58
|
-
- lib/doh/
|
|
59
|
-
- lib/doh/
|
|
60
|
-
- lib/doh/
|
|
61
|
-
- lib/doh/
|
|
62
|
-
- lib/doh/
|
|
63
|
-
- lib/doh/
|
|
64
|
-
- lib/doh/
|
|
65
|
-
- lib/doh/
|
|
66
|
-
- lib/doh/
|
|
67
|
-
- lib/doh/
|
|
68
|
-
- lib/doh/
|
|
69
|
-
- lib/doh/
|
|
70
|
-
- lib/doh/
|
|
71
|
-
- lib/doh/
|
|
72
|
-
- lib/doh/
|
|
73
|
-
- lib/doh/
|
|
74
|
-
- lib/doh/
|
|
75
|
-
- lib/doh/
|
|
76
|
-
- lib/doh/
|
|
77
|
-
- lib/doh/
|
|
78
|
-
- lib/doh/
|
|
79
|
-
- lib/doh/
|
|
80
|
-
- lib/doh/core.rb
|
|
81
|
-
- lib/doh/
|
|
82
|
-
- lib/doh/
|
|
83
|
-
- lib/doh/
|
|
84
|
-
- lib/doh/
|
|
85
|
-
- lib/doh/
|
|
86
|
-
- lib/doh/
|
|
87
|
-
- lib/doh/
|
|
88
|
-
- lib/doh/
|
|
89
|
-
- lib/doh/
|
|
90
|
-
- lib/doh/
|
|
91
|
-
- lib/doh/
|
|
92
|
-
- lib/doh/
|
|
93
|
-
- lib/doh/
|
|
94
|
-
- lib/doh/
|
|
95
|
-
- lib/doh/
|
|
96
|
-
- lib/doh/
|
|
97
|
-
- lib/doh/
|
|
98
|
-
- lib/doh/logger/
|
|
99
|
-
- lib/doh/logger/
|
|
100
|
-
- lib/doh/logger/
|
|
101
|
-
- lib/doh/logger/
|
|
102
|
-
- lib/doh/logger/
|
|
103
|
-
- lib/doh/logger/
|
|
104
|
-
- lib/doh/logger/
|
|
105
|
-
- lib/doh/logger.rb
|
|
106
|
-
- lib/doh/
|
|
107
|
-
- lib/doh/
|
|
108
|
-
- lib/doh/
|
|
109
|
-
- lib/doh/
|
|
110
|
-
- lib/doh/
|
|
111
|
-
- lib/doh/
|
|
112
|
-
- lib/doh/merb/
|
|
113
|
-
- lib/doh/merb/
|
|
114
|
-
- lib/doh/merb.rb
|
|
115
|
-
- lib/doh/
|
|
116
|
-
- lib/doh/
|
|
117
|
-
- lib/doh/
|
|
118
|
-
- lib/doh/
|
|
119
|
-
- lib/doh/mysql/
|
|
120
|
-
- lib/doh/mysql/
|
|
121
|
-
- lib/doh/mysql/
|
|
122
|
-
- lib/doh/mysql/
|
|
123
|
-
- lib/doh/mysql/
|
|
124
|
-
- lib/doh/mysql/
|
|
125
|
-
- lib/doh/mysql/
|
|
126
|
-
- lib/doh/mysql/
|
|
127
|
-
- lib/doh/mysql/
|
|
128
|
-
- lib/doh/mysql/
|
|
129
|
-
- lib/doh/mysql/
|
|
130
|
-
- lib/doh/mysql/
|
|
131
|
-
- lib/doh/mysql/
|
|
132
|
-
- lib/doh/mysql/
|
|
133
|
-
- lib/doh/mysql/
|
|
134
|
-
- lib/doh/mysql/
|
|
135
|
-
- lib/doh/mysql/
|
|
136
|
-
- lib/doh/mysql/
|
|
137
|
-
- lib/doh/mysql/
|
|
138
|
-
- lib/doh/mysql/
|
|
139
|
-
- lib/doh/mysql/
|
|
140
|
-
- lib/doh/mysql/
|
|
141
|
-
- lib/doh/mysql/
|
|
142
|
-
- lib/doh/mysql/
|
|
143
|
-
- lib/doh/mysql.rb
|
|
144
|
-
- lib/doh/
|
|
145
|
-
- lib/doh/
|
|
146
|
-
- lib/doh/
|
|
147
|
-
- lib/doh/
|
|
148
|
-
- lib/doh/
|
|
149
|
-
- lib/doh/
|
|
150
|
-
- lib/doh/
|
|
151
|
-
- lib/doh/test/
|
|
152
|
-
- lib/doh/test/
|
|
153
|
-
- lib/doh/test/
|
|
154
|
-
- lib/doh/test/
|
|
155
|
-
- lib/doh/test/
|
|
156
|
-
- lib/doh/
|
|
157
|
-
- lib/doh/
|
|
158
|
-
- lib/doh/util/
|
|
159
|
-
- lib/doh/util/
|
|
160
|
-
- lib/doh/util/
|
|
161
|
-
- lib/doh/util/
|
|
162
|
-
- lib/doh/util/
|
|
163
|
-
- lib/doh/util/
|
|
164
|
-
- lib/doh/util/
|
|
165
|
-
- lib/doh/util/
|
|
166
|
-
- lib/doh/util/
|
|
167
|
-
- lib/doh/util/
|
|
168
|
-
- lib/doh/util/
|
|
169
|
-
- lib/doh/util/
|
|
170
|
-
- lib/doh/util/
|
|
171
|
-
- lib/doh/util/
|
|
172
|
-
- lib/doh/util/
|
|
173
|
-
- lib/doh.rb
|
|
174
|
-
- test/
|
|
175
|
-
- test/
|
|
176
|
-
- test/
|
|
177
|
-
- test/
|
|
178
|
-
- test/
|
|
179
|
-
- test/
|
|
180
|
-
- test/core/
|
|
181
|
-
- test/core/
|
|
182
|
-
- test/
|
|
183
|
-
- test/
|
|
184
|
-
- test/
|
|
185
|
-
- test/
|
|
186
|
-
- test/
|
|
187
|
-
- test/
|
|
188
|
-
- test/
|
|
189
|
-
- test/logger/
|
|
190
|
-
- test/logger/
|
|
191
|
-
- test/
|
|
192
|
-
- test/
|
|
193
|
-
- test/
|
|
194
|
-
- test/
|
|
195
|
-
- test/mysql/
|
|
196
|
-
- test/mysql/
|
|
197
|
-
- test/mysql/
|
|
198
|
-
- test/mysql/
|
|
199
|
-
- test/mysql/
|
|
200
|
-
- test/mysql/
|
|
201
|
-
- test/mysql/
|
|
202
|
-
- test/mysql/
|
|
203
|
-
- test/mysql/
|
|
204
|
-
- test/mysql/
|
|
205
|
-
- test/mysql/
|
|
206
|
-
- test/mysql/
|
|
207
|
-
- test/mysql/
|
|
208
|
-
- test/mysql/
|
|
209
|
-
- test/mysql/
|
|
210
|
-
- test/mysql/
|
|
211
|
-
- test/
|
|
212
|
-
- test/
|
|
213
|
-
- test/
|
|
214
|
-
- test/
|
|
215
|
-
- test/util/slow_doh_socket.rb
|
|
216
|
-
- test/util/tc_banking_workday.rb
|
|
217
|
-
- test/util/tc_file_edit.rb
|
|
218
|
-
- test/util/tc_jsval.rb
|
|
219
|
-
- test/util/tc_to_display.rb
|
|
220
|
-
- test/util/tc_xml_util.rb
|
|
221
|
-
- dohapp_home
|
|
222
|
-
- MIT-LICENSE
|
|
223
|
-
- CHANGELOG
|
|
39
|
+
- bin/check_syntax.rb
|
|
40
|
+
- bin/config.rb
|
|
41
|
+
- bin/create_database.rb
|
|
42
|
+
- bin/create_skeleton_dohruby_project.rb
|
|
43
|
+
- bin/gendata.rb
|
|
44
|
+
- bin/migrate.rb
|
|
45
|
+
- bin/rcov_preprocess_files.rb
|
|
46
|
+
- bin/run_tests.rb
|
|
47
|
+
- bin/update_rdoc.rb
|
|
48
|
+
- lib/doh.rb
|
|
49
|
+
- lib/doh/app.rb
|
|
50
|
+
- lib/doh/app_no_stdio.rb
|
|
51
|
+
- lib/doh/app_pwd.rb
|
|
52
|
+
- lib/doh/app_util.rb
|
|
53
|
+
- lib/doh/core.rb
|
|
54
|
+
- lib/doh/crypt.rb
|
|
55
|
+
- lib/doh/data.rb
|
|
56
|
+
- lib/doh/home.rb
|
|
57
|
+
- lib/doh/logger.rb
|
|
58
|
+
- lib/doh/logger_configure.rb
|
|
59
|
+
- lib/doh/merb.rb
|
|
60
|
+
- lib/doh/mysql.rb
|
|
61
|
+
- lib/doh/paypal.rb
|
|
62
|
+
- lib/doh/unit_test.rb
|
|
63
|
+
- lib/doh/app/activate_database.rb
|
|
64
|
+
- lib/doh/app/activate_logger.rb
|
|
65
|
+
- lib/doh/app/config.rb
|
|
66
|
+
- lib/doh/app/home.rb
|
|
67
|
+
- lib/doh/app/init.rb
|
|
68
|
+
- lib/doh/app/init_runnable.rb
|
|
69
|
+
- lib/doh/app/init_script.rb
|
|
70
|
+
- lib/doh/app/init_unit_test.rb
|
|
71
|
+
- lib/doh/app/options.rb
|
|
72
|
+
- lib/doh/boot/app.rb
|
|
73
|
+
- lib/doh/boot/app_no_stdio.rb
|
|
74
|
+
- lib/doh/boot/app_pwd.rb
|
|
75
|
+
- lib/doh/boot/find_dohruby.rb
|
|
76
|
+
- lib/doh/boot/find_dohruby_18.rb
|
|
77
|
+
- lib/doh/boot/find_dohruby_19.rb
|
|
78
|
+
- lib/doh/boot/init_runnable.rb
|
|
79
|
+
- lib/doh/boot/options.rb
|
|
80
|
+
- lib/doh/core/array.rb
|
|
81
|
+
- lib/doh/core/bigdecimal.rb
|
|
82
|
+
- lib/doh/core/date.rb
|
|
83
|
+
- lib/doh/core/deep_dup.rb
|
|
84
|
+
- lib/doh/core/dir.rb
|
|
85
|
+
- lib/doh/core/fixnum.rb
|
|
86
|
+
- lib/doh/core/hash.rb
|
|
87
|
+
- lib/doh/core/object.rb
|
|
88
|
+
- lib/doh/core/require_local.rb
|
|
89
|
+
- lib/doh/core/socket.rb
|
|
90
|
+
- lib/doh/core/string.rb
|
|
91
|
+
- lib/doh/crypt/3des.rb
|
|
92
|
+
- lib/doh/data/basic.rb
|
|
93
|
+
- lib/doh/data/bulk.rb
|
|
94
|
+
- lib/doh/data/catalog.rb
|
|
95
|
+
- lib/doh/data/human.rb
|
|
96
|
+
- lib/doh/data/make_global.rb
|
|
97
|
+
- lib/doh/data/require_datagen.rb
|
|
98
|
+
- lib/doh/logger/direct_scheduler.rb
|
|
99
|
+
- lib/doh/logger/email_acceptor.rb
|
|
100
|
+
- lib/doh/logger/event.rb
|
|
101
|
+
- lib/doh/logger/formatter.rb
|
|
102
|
+
- lib/doh/logger/interface.rb
|
|
103
|
+
- lib/doh/logger/iostream_acceptor.rb
|
|
104
|
+
- lib/doh/logger/memory_acceptor.rb
|
|
105
|
+
- lib/doh/logger/null_interface.rb
|
|
106
|
+
- lib/doh/logger/proxy.rb
|
|
107
|
+
- lib/doh/logger/severity.rb
|
|
108
|
+
- lib/doh/logger/socket_acceptor.rb
|
|
109
|
+
- lib/doh/logger/socket_viewer.rb
|
|
110
|
+
- lib/doh/logger/standard_interface.rb
|
|
111
|
+
- lib/doh/logger/util.rb
|
|
112
|
+
- lib/doh/merb/db_session.rb
|
|
113
|
+
- lib/doh/merb/form_helpers.rb
|
|
114
|
+
- lib/doh/merb/login.rb
|
|
115
|
+
- lib/doh/merb/merb_dohsession.rb
|
|
116
|
+
- lib/doh/merb/notify_on_exception.rb
|
|
117
|
+
- lib/doh/merb/session.rb
|
|
118
|
+
- lib/doh/merb/source_ip.rb
|
|
119
|
+
- lib/doh/mysql/abstract_row.rb
|
|
120
|
+
- lib/doh/mysql/cache_connector.rb
|
|
121
|
+
- lib/doh/mysql/connector_instance.rb
|
|
122
|
+
- lib/doh/mysql/connector_util.rb
|
|
123
|
+
- lib/doh/mysql/convert.rb
|
|
124
|
+
- lib/doh/mysql/current_date.rb
|
|
125
|
+
- lib/doh/mysql/database_creator.rb
|
|
126
|
+
- lib/doh/mysql/db_date.rb
|
|
127
|
+
- lib/doh/mysql/default_type_guesser.rb
|
|
128
|
+
- lib/doh/mysql/error.rb
|
|
129
|
+
- lib/doh/mysql/handle.rb
|
|
130
|
+
- lib/doh/mysql/hash_row.rb
|
|
131
|
+
- lib/doh/mysql/load_sql.rb
|
|
132
|
+
- lib/doh/mysql/metadata_util.rb
|
|
133
|
+
- lib/doh/mysql/migrate.rb
|
|
134
|
+
- lib/doh/mysql/migrate_check.rb
|
|
135
|
+
- lib/doh/mysql/parse.rb
|
|
136
|
+
- lib/doh/mysql/raw_row_builder.rb
|
|
137
|
+
- lib/doh/mysql/readonly_row.rb
|
|
138
|
+
- lib/doh/mysql/require_dbtypes.rb
|
|
139
|
+
- lib/doh/mysql/smart_row.rb
|
|
140
|
+
- lib/doh/mysql/to_sql.rb
|
|
141
|
+
- lib/doh/mysql/typed_row_builder.rb
|
|
142
|
+
- lib/doh/mysql/types.rb
|
|
143
|
+
- lib/doh/mysql/unquoted.rb
|
|
144
|
+
- lib/doh/mysql/version.rb
|
|
145
|
+
- lib/doh/mysql/virtual.rb
|
|
146
|
+
- lib/doh/mysql/writable_row.rb
|
|
147
|
+
- lib/doh/paypal/paypal.rb
|
|
148
|
+
- lib/doh/paypal/pdt.rb
|
|
149
|
+
- lib/doh/rails/form_helpers.rb
|
|
150
|
+
- lib/doh/rails/login.rb
|
|
151
|
+
- lib/doh/test/clear_on_teardown.rb
|
|
152
|
+
- lib/doh/test/configure_logging.rb
|
|
153
|
+
- lib/doh/test/error_acceptor.rb
|
|
154
|
+
- lib/doh/test/run_tests.rb
|
|
155
|
+
- lib/doh/test/setup_once.rb
|
|
156
|
+
- lib/doh/test/test_result.rb
|
|
157
|
+
- lib/doh/test/use_test_database.rb
|
|
158
|
+
- lib/doh/util/banking_workday.rb
|
|
159
|
+
- lib/doh/util/blank_slate.rb
|
|
160
|
+
- lib/doh/util/class_basename.rb
|
|
161
|
+
- lib/doh/util/current_date.rb
|
|
162
|
+
- lib/doh/util/doh_socket.rb
|
|
163
|
+
- lib/doh/util/email.rb
|
|
164
|
+
- lib/doh/util/file_edit.rb
|
|
165
|
+
- lib/doh/util/http_helper.rb
|
|
166
|
+
- lib/doh/util/internal_ip.rb
|
|
167
|
+
- lib/doh/util/jsval.rb
|
|
168
|
+
- lib/doh/util/num_or_self.rb
|
|
169
|
+
- lib/doh/util/post_hash.rb
|
|
170
|
+
- lib/doh/util/source_ip.rb
|
|
171
|
+
- lib/doh/util/time_util.rb
|
|
172
|
+
- lib/doh/util/to_display.rb
|
|
173
|
+
- lib/doh/util/xml_util.rb
|
|
174
|
+
- test/local_tests.rb
|
|
175
|
+
- test/local_tests_including_slow.rb
|
|
176
|
+
- test/ts_core.rb
|
|
177
|
+
- test/ts_logger.rb
|
|
178
|
+
- test/ts_mysql.rb
|
|
179
|
+
- test/ts_util.rb
|
|
180
|
+
- test/core/tc_array.rb
|
|
181
|
+
- test/core/tc_bigdecimal.rb
|
|
182
|
+
- test/core/tc_date.rb
|
|
183
|
+
- test/core/tc_deep_dup.rb
|
|
184
|
+
- test/core/tc_fixnum.rb
|
|
185
|
+
- test/core/tc_hash.rb
|
|
186
|
+
- test/core/tc_socket.rb
|
|
187
|
+
- test/core/tc_string.rb
|
|
188
|
+
- test/crypt/tc_3des.rb
|
|
189
|
+
- test/logger/sample.rb
|
|
190
|
+
- test/logger/tc_acceptor.rb
|
|
191
|
+
- test/logger/tc_event.rb
|
|
192
|
+
- test/logger/tc_formatter.rb
|
|
193
|
+
- test/logger/tc_interface.rb
|
|
194
|
+
- test/logger/tc_socket_viewer_acceptor.rb
|
|
195
|
+
- test/mysql/001_down.sql
|
|
196
|
+
- test/mysql/001_up.sql
|
|
197
|
+
- test/mysql/002_down.sql
|
|
198
|
+
- test/mysql/002_up.sql
|
|
199
|
+
- test/mysql/connector.yml
|
|
200
|
+
- test/mysql/connector.yml.tmpl
|
|
201
|
+
- test/mysql/db_unit_test.rb
|
|
202
|
+
- test/mysql/tc_cache_connector.rb
|
|
203
|
+
- test/mysql/tc_connector_instance.rb
|
|
204
|
+
- test/mysql/tc_convert.rb
|
|
205
|
+
- test/mysql/tc_handle.rb
|
|
206
|
+
- test/mysql/tc_metadata_util.rb
|
|
207
|
+
- test/mysql/tc_migrate.rb
|
|
208
|
+
- test/mysql/tc_parse.rb
|
|
209
|
+
- test/mysql/tc_readonly_row.rb
|
|
210
|
+
- test/mysql/tc_smart_row.rb
|
|
211
|
+
- test/mysql/tc_to_sql.rb
|
|
212
|
+
- test/mysql/tc_types.rb
|
|
213
|
+
- test/mysql/tc_unquoted.rb
|
|
214
|
+
- test/mysql/tc_writable_row.rb
|
|
215
|
+
- test/util/slow_doh_socket.rb
|
|
216
|
+
- test/util/tc_banking_workday.rb
|
|
217
|
+
- test/util/tc_file_edit.rb
|
|
218
|
+
- test/util/tc_jsval.rb
|
|
219
|
+
- test/util/tc_to_display.rb
|
|
220
|
+
- test/util/tc_xml_util.rb
|
|
221
|
+
- dohapp_home
|
|
222
|
+
- MIT-LICENSE
|
|
223
|
+
- CHANGELOG
|
|
224
224
|
has_rdoc: true
|
|
225
225
|
homepage: http://dohruby.rubyforge.org/
|
|
226
226
|
licenses: []
|
|
@@ -229,69 +229,67 @@ post_install_message:
|
|
|
229
229
|
rdoc_options: []
|
|
230
230
|
|
|
231
231
|
require_paths:
|
|
232
|
-
- lib
|
|
232
|
+
- lib
|
|
233
233
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
|
-
none: false
|
|
235
234
|
requirements:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
- - ">="
|
|
236
|
+
- !ruby/object:Gem::Version
|
|
237
|
+
segments:
|
|
238
|
+
- 0
|
|
239
|
+
version: "0"
|
|
241
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
|
-
none: false
|
|
243
241
|
requirements:
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
242
|
+
- - ">="
|
|
243
|
+
- !ruby/object:Gem::Version
|
|
244
|
+
segments:
|
|
245
|
+
- 0
|
|
246
|
+
version: "0"
|
|
249
247
|
requirements: []
|
|
250
248
|
|
|
251
249
|
rubyforge_project: dohruby
|
|
252
|
-
rubygems_version: 1.3.
|
|
250
|
+
rubygems_version: 1.3.6
|
|
253
251
|
signing_key:
|
|
254
252
|
specification_version: 3
|
|
255
253
|
summary: DohRuby's purpose is to make your life as a developer easier & make you more efficient in your programming.
|
|
256
254
|
test_files:
|
|
257
|
-
- test/
|
|
258
|
-
- test/
|
|
259
|
-
- test/
|
|
260
|
-
- test/
|
|
261
|
-
- test/
|
|
262
|
-
- test/
|
|
263
|
-
- test/core/
|
|
264
|
-
- test/core/
|
|
265
|
-
- test/
|
|
266
|
-
- test/
|
|
267
|
-
- test/
|
|
268
|
-
- test/
|
|
269
|
-
- test/
|
|
270
|
-
- test/
|
|
271
|
-
- test/
|
|
272
|
-
- test/logger/
|
|
273
|
-
- test/logger/
|
|
274
|
-
- test/
|
|
275
|
-
- test/
|
|
276
|
-
- test/
|
|
277
|
-
- test/
|
|
278
|
-
- test/mysql/
|
|
279
|
-
- test/mysql/
|
|
280
|
-
- test/mysql/
|
|
281
|
-
- test/mysql/
|
|
282
|
-
- test/mysql/
|
|
283
|
-
- test/mysql/
|
|
284
|
-
- test/mysql/
|
|
285
|
-
- test/mysql/
|
|
286
|
-
- test/mysql/
|
|
287
|
-
- test/mysql/
|
|
288
|
-
- test/
|
|
289
|
-
- test/
|
|
290
|
-
- test/
|
|
291
|
-
- test/
|
|
292
|
-
- test/util/slow_doh_socket.rb
|
|
293
|
-
- test/util/tc_banking_workday.rb
|
|
294
|
-
- test/util/tc_file_edit.rb
|
|
295
|
-
- test/util/tc_jsval.rb
|
|
296
|
-
- test/util/tc_to_display.rb
|
|
297
|
-
- test/util/tc_xml_util.rb
|
|
255
|
+
- test/local_tests.rb
|
|
256
|
+
- test/local_tests_including_slow.rb
|
|
257
|
+
- test/ts_core.rb
|
|
258
|
+
- test/ts_logger.rb
|
|
259
|
+
- test/ts_mysql.rb
|
|
260
|
+
- test/ts_util.rb
|
|
261
|
+
- test/core/tc_array.rb
|
|
262
|
+
- test/core/tc_bigdecimal.rb
|
|
263
|
+
- test/core/tc_date.rb
|
|
264
|
+
- test/core/tc_deep_dup.rb
|
|
265
|
+
- test/core/tc_fixnum.rb
|
|
266
|
+
- test/core/tc_hash.rb
|
|
267
|
+
- test/core/tc_socket.rb
|
|
268
|
+
- test/core/tc_string.rb
|
|
269
|
+
- test/crypt/tc_3des.rb
|
|
270
|
+
- test/logger/sample.rb
|
|
271
|
+
- test/logger/tc_acceptor.rb
|
|
272
|
+
- test/logger/tc_event.rb
|
|
273
|
+
- test/logger/tc_formatter.rb
|
|
274
|
+
- test/logger/tc_interface.rb
|
|
275
|
+
- test/logger/tc_socket_viewer_acceptor.rb
|
|
276
|
+
- test/mysql/db_unit_test.rb
|
|
277
|
+
- test/mysql/tc_cache_connector.rb
|
|
278
|
+
- test/mysql/tc_connector_instance.rb
|
|
279
|
+
- test/mysql/tc_convert.rb
|
|
280
|
+
- test/mysql/tc_handle.rb
|
|
281
|
+
- test/mysql/tc_metadata_util.rb
|
|
282
|
+
- test/mysql/tc_migrate.rb
|
|
283
|
+
- test/mysql/tc_parse.rb
|
|
284
|
+
- test/mysql/tc_readonly_row.rb
|
|
285
|
+
- test/mysql/tc_smart_row.rb
|
|
286
|
+
- test/mysql/tc_to_sql.rb
|
|
287
|
+
- test/mysql/tc_types.rb
|
|
288
|
+
- test/mysql/tc_unquoted.rb
|
|
289
|
+
- test/mysql/tc_writable_row.rb
|
|
290
|
+
- test/util/slow_doh_socket.rb
|
|
291
|
+
- test/util/tc_banking_workday.rb
|
|
292
|
+
- test/util/tc_file_edit.rb
|
|
293
|
+
- test/util/tc_jsval.rb
|
|
294
|
+
- test/util/tc_to_display.rb
|
|
295
|
+
- test/util/tc_xml_util.rb
|