hayabusa 0.0.24 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +363 -0
- data/Rakefile +0 -14
- data/bin/hayabusa_fcgi.fcgi +1 -0
- data/bin/hayabusa_fcgi_server.rb +0 -1
- data/lib/hayabusa.rb +124 -118
- data/lib/hayabusa_cgi_tools.rb +4 -2
- data/lib/hayabusa_client_session.rb +3 -1
- data/lib/hayabusa_database.rb +84 -84
- data/lib/hayabusa_datarow.rb +873 -0
- data/lib/hayabusa_ext/mailing.rb +8 -7
- data/lib/hayabusa_ext/web.rb +5 -0
- data/lib/hayabusa_fcgi.rb +13 -4
- data/lib/hayabusa_http_session.rb +2 -0
- data/lib/hayabusa_http_session_contentgroup.rb +7 -1
- data/lib/hayabusa_http_session_request.rb +7 -1
- data/lib/hayabusa_http_session_response.rb +30 -29
- data/lib/hayabusa_objects.rb +1455 -0
- data/lib/hayabusa_revision.rb +347 -0
- data/lib/kernel_ext/magic_methods.rb +4 -0
- data/lib/models/log.rb +27 -27
- data/lib/models/log_access.rb +20 -20
- data/lib/models/log_data.rb +6 -6
- data/lib/models/log_data_link.rb +2 -2
- data/lib/models/log_data_value.rb +5 -5
- data/lib/models/log_link.rb +12 -12
- data/lib/models/session.rb +6 -6
- metadata +125 -126
- data/.document +0 -5
- data/.rspec +0 -1
- data/Gemfile +0 -24
- data/Gemfile.lock +0 -70
- data/README.rdoc +0 -315
- data/VERSION +0 -1
- data/bin/hayabusa_fcgi.fcgi +0 -42
- data/conf/apache2_cgi_rhtml_conf.conf +0 -10
- data/conf/apache2_fcgi_rhtml_conf.conf +0 -22
- data/conf/apache2_hayabusa_conf.conf +0 -15
- data/hayabusa.gemspec +0 -167
- data/pages/benchmark.rhtml +0 -0
- data/pages/benchmark_print.rhtml +0 -14
- data/pages/benchmark_simple.rhtml +0 -3
- data/pages/benchmark_threadded_content.rhtml +0 -21
- data/pages/config_cgi.rb +0 -22
- data/pages/config_fcgi.rb +0 -22
- data/pages/debug_database_connections.rhtml +0 -46
- data/pages/debug_http_sessions.rhtml +0 -40
- data/pages/debug_memory_usage.rhtml +0 -39
- data/pages/error_notfound.rhtml +0 -12
- data/pages/image.png +0 -0
- data/pages/logs_latest.rhtml +0 -57
- data/pages/logs_show.rhtml +0 -32
- data/pages/spec.rhtml +0 -41
- data/pages/spec_exit.rhtml +0 -5
- data/pages/spec_multiple_threads.rhtml +0 -18
- data/pages/spec_sleeper.rhtml +0 -4
- data/pages/spec_test_multiple_clients.rhtml +0 -3
- data/pages/spec_thread_joins.rhtml +0 -29
- data/pages/spec_threadded_content.rhtml +0 -40
- data/pages/spec_vars_get.rhtml +0 -4
- data/pages/spec_vars_header.rhtml +0 -3
- data/pages/spec_vars_post.rhtml +0 -4
- data/pages/spec_vars_post_fileupload.rhtml +0 -19
- data/pages/testpic.jpeg +0 -0
- data/pages/tests.rhtml +0 -14
- data/pages/threadded_content_test.rhtml +0 -23
- data/spec/fcgi_multiple_processes_spec.rb +0 -104
- data/spec/hayabusa_spec.rb +0 -423
- data/spec/spec_helper.rb +0 -12
- data/spec/test_upload.xlsx +0 -0
data/lib/models/log_link.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
class Hayabusa::Models::Log_link <
|
1
|
+
class Hayabusa::Models::Log_link < Hayabusa::Datarow
|
2
2
|
has_one [
|
3
3
|
{:class => :Log, :col => :log_id, :method => :log}
|
4
4
|
]
|
5
|
-
|
5
|
+
|
6
6
|
def self.list(d, &block)
|
7
7
|
if d.args["count"]
|
8
8
|
sql = "SELECT COUNT(id) AS count FROM #{table} WHERE 1=1"
|
@@ -11,11 +11,11 @@ class Hayabusa::Models::Log_link < Knj::Datarow
|
|
11
11
|
else
|
12
12
|
sql = "SELECT * FROM #{table} WHERE 1=1"
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
q_args = nil
|
16
16
|
ret = self.list_helper(d)
|
17
17
|
sql << ret[:sql_joins]
|
18
|
-
|
18
|
+
|
19
19
|
d.args.each do |key, val|
|
20
20
|
case key
|
21
21
|
when "object_class"
|
@@ -28,17 +28,17 @@ class Hayabusa::Models::Log_link < Knj::Datarow
|
|
28
28
|
raise "Invalid key: #{key}."
|
29
29
|
end
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
sql << ret[:sql_where]
|
33
|
-
|
33
|
+
|
34
34
|
return d.db.query(sql).fetch[:count].to_i if count
|
35
|
-
|
35
|
+
|
36
36
|
sql << ret[:sql_order]
|
37
37
|
sql << ret[:sql_limit]
|
38
|
-
|
38
|
+
|
39
39
|
return d.ob.list_bysql(:Log_link, sql, q_args, &block)
|
40
40
|
end
|
41
|
-
|
41
|
+
|
42
42
|
def self.add(d)
|
43
43
|
if d.data.has_key?(:object)
|
44
44
|
class_data_id = d.ob.static(:Log_data_value, :force, d.data[:object].class.name)
|
@@ -46,10 +46,10 @@ class Hayabusa::Models::Log_link < Knj::Datarow
|
|
46
46
|
d.data[:object_id] = d.data[:object].id
|
47
47
|
d.data.delete(:object)
|
48
48
|
end
|
49
|
-
|
49
|
+
|
50
50
|
log = d.ob.get(:Log, d.data[:log_id]) #throws exception if it doesnt exist.
|
51
51
|
end
|
52
|
-
|
52
|
+
|
53
53
|
def object(ob_use)
|
54
54
|
begin
|
55
55
|
class_name = ob.get(:Log_data_value, self[:object_class_value_id])[:value].split("::").last
|
@@ -58,7 +58,7 @@ class Hayabusa::Models::Log_link < Knj::Datarow
|
|
58
58
|
return false
|
59
59
|
end
|
60
60
|
end
|
61
|
-
|
61
|
+
|
62
62
|
def object_class
|
63
63
|
return ob.get(:Log_data_value, self[:object_class_value_id])[:value]
|
64
64
|
end
|
data/lib/models/session.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
class Hayabusa::Models::Session <
|
1
|
+
class Hayabusa::Models::Session < Hayabusa::Datarow
|
2
2
|
attr_reader :edata
|
3
3
|
attr_accessor :sess_data
|
4
|
-
|
4
|
+
|
5
5
|
def initialize(*args, &block)
|
6
6
|
@edata = {}
|
7
7
|
super(*args, &block)
|
8
|
-
|
8
|
+
|
9
9
|
if self[:sess_data].to_s.length > 0
|
10
10
|
begin
|
11
11
|
@sess_data = Marshal.load(Base64.decode64(self[:sess_data]))
|
@@ -17,15 +17,15 @@ class Hayabusa::Models::Session < Knj::Datarow
|
|
17
17
|
@sess_data = {}
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
def self.add(d)
|
22
22
|
d.data[:date_added] = Time.now if !d.data[:date_added]
|
23
23
|
d.data[:date_lastused] = Time.now if !d.data[:date_lastused]
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
def flush
|
27
27
|
flush_data = Base64.encode64(Marshal.dump(@sess_data))
|
28
|
-
|
28
|
+
|
29
29
|
if self[:sess_data] != flush_data
|
30
30
|
self.update(
|
31
31
|
:sess_data => flush_data,
|
metadata
CHANGED
@@ -1,238 +1,279 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hayabusa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.29
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
- Kasper
|
7
|
+
- Kasper Stöckel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: baza
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.0.38
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.0.38
|
14
27
|
- !ruby/object:Gem::Dependency
|
15
28
|
name: knjrbfw
|
16
29
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
30
|
requirements:
|
19
|
-
- -
|
31
|
+
- - ">="
|
20
32
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
33
|
+
version: 0.0.114
|
22
34
|
type: :runtime
|
23
35
|
prerelease: false
|
24
36
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
37
|
requirements:
|
27
|
-
- -
|
38
|
+
- - ">="
|
28
39
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
40
|
+
version: 0.0.114
|
30
41
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
42
|
+
name: wref
|
32
43
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
44
|
requirements:
|
35
|
-
- -
|
45
|
+
- - ">="
|
36
46
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
47
|
+
version: 0.0.6
|
38
48
|
type: :runtime
|
39
49
|
prerelease: false
|
40
50
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
51
|
requirements:
|
43
|
-
- -
|
52
|
+
- - ">="
|
44
53
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
54
|
+
version: 0.0.6
|
46
55
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
56
|
+
name: erubis
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
58
|
requirements:
|
51
|
-
- -
|
59
|
+
- - ">="
|
52
60
|
- !ruby/object:Gem::Version
|
53
61
|
version: '0'
|
54
62
|
type: :runtime
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
65
|
requirements:
|
59
|
-
- -
|
66
|
+
- - ">="
|
60
67
|
- !ruby/object:Gem::Version
|
61
68
|
version: '0'
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
70
|
+
name: mail
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
|
-
- -
|
73
|
+
- - ">="
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: '0'
|
70
76
|
type: :runtime
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
|
-
- -
|
80
|
+
- - ">="
|
76
81
|
- !ruby/object:Gem::Version
|
77
82
|
version: '0'
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
84
|
+
name: datet
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- -
|
87
|
+
- - ">="
|
84
88
|
- !ruby/object:Gem::Version
|
85
89
|
version: '0'
|
86
90
|
type: :runtime
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- -
|
94
|
+
- - ">="
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
98
|
+
name: http2
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - ">="
|
100
102
|
- !ruby/object:Gem::Version
|
101
103
|
version: '0'
|
102
104
|
type: :runtime
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- -
|
108
|
+
- - ">="
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '0'
|
110
111
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
112
|
+
name: tpool
|
112
113
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
121
|
requirements:
|
123
|
-
- -
|
122
|
+
- - ">="
|
124
123
|
- !ruby/object:Gem::Version
|
125
124
|
version: '0'
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
126
|
name: ruby_process
|
128
127
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
128
|
requirements:
|
131
|
-
- -
|
129
|
+
- - ">="
|
132
130
|
- !ruby/object:Gem::Version
|
133
131
|
version: '0'
|
134
132
|
type: :runtime
|
135
133
|
prerelease: false
|
136
134
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
135
|
requirements:
|
139
|
-
- -
|
136
|
+
- - ">="
|
140
137
|
- !ruby/object:Gem::Version
|
141
138
|
version: '0'
|
142
139
|
- !ruby/object:Gem::Dependency
|
143
140
|
name: json
|
144
141
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
142
|
requirements:
|
147
|
-
- -
|
143
|
+
- - ">="
|
148
144
|
- !ruby/object:Gem::Version
|
149
145
|
version: '0'
|
150
146
|
type: :development
|
151
147
|
prerelease: false
|
152
148
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
149
|
requirements:
|
155
|
-
- -
|
150
|
+
- - ">="
|
156
151
|
- !ruby/object:Gem::Version
|
157
152
|
version: '0'
|
158
153
|
- !ruby/object:Gem::Dependency
|
159
154
|
name: rspec
|
160
155
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
156
|
requirements:
|
163
|
-
- -
|
157
|
+
- - ">="
|
164
158
|
- !ruby/object:Gem::Version
|
165
159
|
version: 2.3.0
|
166
160
|
type: :development
|
167
161
|
prerelease: false
|
168
162
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
163
|
requirements:
|
171
|
-
- -
|
164
|
+
- - ">="
|
172
165
|
- !ruby/object:Gem::Version
|
173
166
|
version: 2.3.0
|
174
167
|
- !ruby/object:Gem::Dependency
|
175
168
|
name: bundler
|
176
169
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
170
|
requirements:
|
179
|
-
- -
|
171
|
+
- - ">="
|
180
172
|
- !ruby/object:Gem::Version
|
181
173
|
version: 1.0.0
|
182
174
|
type: :development
|
183
175
|
prerelease: false
|
184
176
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
177
|
requirements:
|
187
|
-
- -
|
178
|
+
- - ">="
|
188
179
|
- !ruby/object:Gem::Version
|
189
180
|
version: 1.0.0
|
190
181
|
- !ruby/object:Gem::Dependency
|
191
|
-
name:
|
182
|
+
name: rmagick
|
192
183
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
184
|
requirements:
|
195
|
-
- -
|
185
|
+
- - ">="
|
196
186
|
- !ruby/object:Gem::Version
|
197
|
-
version:
|
187
|
+
version: '0'
|
198
188
|
type: :development
|
199
189
|
prerelease: false
|
200
190
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
191
|
requirements:
|
203
|
-
- -
|
192
|
+
- - ">="
|
204
193
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
194
|
+
version: '0'
|
206
195
|
- !ruby/object:Gem::Dependency
|
207
|
-
name:
|
196
|
+
name: rubocop
|
208
197
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
198
|
requirements:
|
211
|
-
- -
|
199
|
+
- - ">="
|
212
200
|
- !ruby/object:Gem::Version
|
213
201
|
version: '0'
|
214
202
|
type: :development
|
215
203
|
prerelease: false
|
216
204
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
205
|
requirements:
|
219
|
-
- -
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop-performance
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rubocop-rake
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rubocop-rspec
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
220
249
|
- !ruby/object:Gem::Version
|
221
250
|
version: '0'
|
222
251
|
- !ruby/object:Gem::Dependency
|
223
252
|
name: sqlite3
|
224
253
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
254
|
requirements:
|
227
|
-
- -
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: php4r
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
228
270
|
- !ruby/object:Gem::Version
|
229
271
|
version: '0'
|
230
272
|
type: :development
|
231
273
|
prerelease: false
|
232
274
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
275
|
requirements:
|
235
|
-
- -
|
276
|
+
- - ">="
|
236
277
|
- !ruby/object:Gem::Version
|
237
278
|
version: '0'
|
238
279
|
description: A threadded web/app-server that focuses on threadding, shared ressources,
|
@@ -250,16 +291,11 @@ executables:
|
|
250
291
|
extensions: []
|
251
292
|
extra_rdoc_files:
|
252
293
|
- LICENSE.txt
|
253
|
-
- README.
|
294
|
+
- README.md
|
254
295
|
files:
|
255
|
-
- .document
|
256
|
-
- .rspec
|
257
|
-
- Gemfile
|
258
|
-
- Gemfile.lock
|
259
296
|
- LICENSE.txt
|
260
|
-
- README.
|
297
|
+
- README.md
|
261
298
|
- Rakefile
|
262
|
-
- VERSION
|
263
299
|
- bin/check_running.rb
|
264
300
|
- bin/hayabusa_benchmark.rb
|
265
301
|
- bin/hayabusa_cgi.rb
|
@@ -268,10 +304,6 @@ files:
|
|
268
304
|
- bin/hayabusa_fcgi_server.rb
|
269
305
|
- bin/hayabusa_spec_restart.rb
|
270
306
|
- bin/knjappserver_start.rb
|
271
|
-
- conf/apache2_cgi_rhtml_conf.conf
|
272
|
-
- conf/apache2_fcgi_rhtml_conf.conf
|
273
|
-
- conf/apache2_hayabusa_conf.conf
|
274
|
-
- hayabusa.gemspec
|
275
307
|
- lib/hayabusa.rb
|
276
308
|
- lib/hayabusa_cgi.rb
|
277
309
|
- lib/hayabusa_cgi_session.rb
|
@@ -279,6 +311,7 @@ files:
|
|
279
311
|
- lib/hayabusa_client_session.rb
|
280
312
|
- lib/hayabusa_custom_io.rb
|
281
313
|
- lib/hayabusa_database.rb
|
314
|
+
- lib/hayabusa_datarow.rb
|
282
315
|
- lib/hayabusa_erb_handler.rb
|
283
316
|
- lib/hayabusa_ext/cleaner.rb
|
284
317
|
- lib/hayabusa_ext/cmdline.rb
|
@@ -300,6 +333,8 @@ files:
|
|
300
333
|
- lib/hayabusa_http_session_request.rb
|
301
334
|
- lib/hayabusa_http_session_response.rb
|
302
335
|
- lib/hayabusa_models.rb
|
336
|
+
- lib/hayabusa_objects.rb
|
337
|
+
- lib/hayabusa_revision.rb
|
303
338
|
- lib/kernel_ext/gettext_methods.rb
|
304
339
|
- lib/kernel_ext/magic_methods.rb
|
305
340
|
- lib/models/log.rb
|
@@ -309,63 +344,27 @@ files:
|
|
309
344
|
- lib/models/log_data_value.rb
|
310
345
|
- lib/models/log_link.rb
|
311
346
|
- lib/models/session.rb
|
312
|
-
- pages/benchmark.rhtml
|
313
|
-
- pages/benchmark_print.rhtml
|
314
|
-
- pages/benchmark_simple.rhtml
|
315
|
-
- pages/benchmark_threadded_content.rhtml
|
316
|
-
- pages/config_cgi.rb
|
317
|
-
- pages/config_fcgi.rb
|
318
|
-
- pages/debug_database_connections.rhtml
|
319
|
-
- pages/debug_http_sessions.rhtml
|
320
|
-
- pages/debug_memory_usage.rhtml
|
321
|
-
- pages/error_notfound.rhtml
|
322
|
-
- pages/image.png
|
323
|
-
- pages/logs_latest.rhtml
|
324
|
-
- pages/logs_show.rhtml
|
325
|
-
- pages/spec.rhtml
|
326
|
-
- pages/spec_exit.rhtml
|
327
|
-
- pages/spec_multiple_threads.rhtml
|
328
|
-
- pages/spec_sleeper.rhtml
|
329
|
-
- pages/spec_test_multiple_clients.rhtml
|
330
|
-
- pages/spec_thread_joins.rhtml
|
331
|
-
- pages/spec_threadded_content.rhtml
|
332
|
-
- pages/spec_vars_get.rhtml
|
333
|
-
- pages/spec_vars_header.rhtml
|
334
|
-
- pages/spec_vars_post.rhtml
|
335
|
-
- pages/spec_vars_post_fileupload.rhtml
|
336
|
-
- pages/testpic.jpeg
|
337
|
-
- pages/tests.rhtml
|
338
|
-
- pages/threadded_content_test.rhtml
|
339
|
-
- spec/fcgi_multiple_processes_spec.rb
|
340
|
-
- spec/hayabusa_spec.rb
|
341
|
-
- spec/spec_helper.rb
|
342
|
-
- spec/test_upload.xlsx
|
343
347
|
homepage: http://github.com/kaspernj/hayabusa
|
344
348
|
licenses:
|
345
349
|
- MIT
|
350
|
+
metadata: {}
|
346
351
|
post_install_message:
|
347
352
|
rdoc_options: []
|
348
353
|
require_paths:
|
349
354
|
- lib
|
350
355
|
required_ruby_version: !ruby/object:Gem::Requirement
|
351
|
-
none: false
|
352
356
|
requirements:
|
353
|
-
- -
|
357
|
+
- - ">="
|
354
358
|
- !ruby/object:Gem::Version
|
355
359
|
version: '0'
|
356
|
-
segments:
|
357
|
-
- 0
|
358
|
-
hash: 635854692325218381
|
359
360
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
360
|
-
none: false
|
361
361
|
requirements:
|
362
|
-
- -
|
362
|
+
- - ">="
|
363
363
|
- !ruby/object:Gem::Version
|
364
364
|
version: '0'
|
365
365
|
requirements: []
|
366
|
-
|
367
|
-
rubygems_version: 1.8.23
|
366
|
+
rubygems_version: 3.2.32
|
368
367
|
signing_key:
|
369
|
-
specification_version:
|
368
|
+
specification_version: 4
|
370
369
|
summary: A threadded web/app-server that supports stand-alone, CGI and FCGI-modes.
|
371
370
|
test_files: []
|
data/.document
DELETED
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|
data/Gemfile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
gem "knjrbfw"
|
7
|
-
gem "erubis"
|
8
|
-
gem "mail"
|
9
|
-
gem "datet"
|
10
|
-
gem "http2"
|
11
|
-
gem "tpool"
|
12
|
-
gem "fcgi"
|
13
|
-
gem "ruby_process"
|
14
|
-
|
15
|
-
# Add dependencies to develop your gem here.
|
16
|
-
# Include everything needed to run rake, tests, features, etc.
|
17
|
-
group :development do
|
18
|
-
gem "json"
|
19
|
-
gem "rspec", ">= 2.3.0"
|
20
|
-
gem "bundler", ">= 1.0.0"
|
21
|
-
gem "jeweler", "~> 1.6.3"
|
22
|
-
gem "rmagick"
|
23
|
-
gem "sqlite3" if RUBY_ENGINE != "jruby"
|
24
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
datet (0.0.25)
|
5
|
-
diff-lcs (1.2.4)
|
6
|
-
erubis (2.7.0)
|
7
|
-
fcgi (0.9.1)
|
8
|
-
git (1.2.5)
|
9
|
-
http2 (0.0.22)
|
10
|
-
jeweler (1.6.4)
|
11
|
-
bundler (~> 1.0)
|
12
|
-
git (>= 1.2.5)
|
13
|
-
rake
|
14
|
-
json (1.8.0)
|
15
|
-
knjrbfw (0.0.107)
|
16
|
-
datet
|
17
|
-
http2
|
18
|
-
php4r
|
19
|
-
ruby_process
|
20
|
-
tsafe
|
21
|
-
wref
|
22
|
-
mail (2.5.4)
|
23
|
-
mime-types (~> 1.16)
|
24
|
-
treetop (~> 1.4.8)
|
25
|
-
mime-types (1.23)
|
26
|
-
php4r (0.0.4)
|
27
|
-
datet
|
28
|
-
http2
|
29
|
-
string-strtr
|
30
|
-
polyglot (0.3.3)
|
31
|
-
rake (10.1.0)
|
32
|
-
rmagick (2.13.2)
|
33
|
-
rspec (2.13.0)
|
34
|
-
rspec-core (~> 2.13.0)
|
35
|
-
rspec-expectations (~> 2.13.0)
|
36
|
-
rspec-mocks (~> 2.13.0)
|
37
|
-
rspec-core (2.13.1)
|
38
|
-
rspec-expectations (2.13.0)
|
39
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
40
|
-
rspec-mocks (2.13.1)
|
41
|
-
ruby_process (0.0.8)
|
42
|
-
tsafe
|
43
|
-
wref
|
44
|
-
sqlite3 (1.3.7)
|
45
|
-
string-strtr (0.0.3)
|
46
|
-
tpool (0.0.4)
|
47
|
-
treetop (1.4.14)
|
48
|
-
polyglot
|
49
|
-
polyglot (>= 0.3.1)
|
50
|
-
tsafe (0.0.11)
|
51
|
-
wref (0.0.6)
|
52
|
-
|
53
|
-
PLATFORMS
|
54
|
-
ruby
|
55
|
-
|
56
|
-
DEPENDENCIES
|
57
|
-
bundler (>= 1.0.0)
|
58
|
-
datet
|
59
|
-
erubis
|
60
|
-
fcgi
|
61
|
-
http2
|
62
|
-
jeweler (~> 1.6.3)
|
63
|
-
json
|
64
|
-
knjrbfw
|
65
|
-
mail
|
66
|
-
rmagick
|
67
|
-
rspec (>= 2.3.0)
|
68
|
-
ruby_process
|
69
|
-
sqlite3
|
70
|
-
tpool
|