knjrbfw 0.0.110 → 0.0.111
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/knjrbfw.gemspec +8 -36
- data/lib/knj/autoload.rb +1 -2
- data/lib/knj/gtk2_window.rb +7 -7
- data/lib/knj/unix_proc.rb +35 -35
- metadata +33 -62
- data/lib/knj/db.rb +0 -1
- data/lib/knj/knjdb/dbtime.rb +0 -35
- data/lib/knj/knjdb/drivers/mysql/knjdb_mysql.rb +0 -604
- data/lib/knj/knjdb/drivers/mysql/knjdb_mysql_columns.rb +0 -155
- data/lib/knj/knjdb/drivers/mysql/knjdb_mysql_indexes.rb +0 -69
- data/lib/knj/knjdb/drivers/mysql/knjdb_mysql_sqlspecs.rb +0 -5
- data/lib/knj/knjdb/drivers/mysql/knjdb_mysql_tables.rb +0 -443
- data/lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3.rb +0 -184
- data/lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_columns.rb +0 -177
- data/lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_indexes.rb +0 -29
- data/lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_sqlspecs.rb +0 -5
- data/lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_tables.rb +0 -449
- data/lib/knj/knjdb/dump.rb +0 -122
- data/lib/knj/knjdb/idquery.rb +0 -109
- data/lib/knj/knjdb/libknjdb.rb +0 -797
- data/lib/knj/knjdb/libknjdb_java_sqlite3.rb +0 -83
- data/lib/knj/knjdb/libknjdb_row.rb +0 -153
- data/lib/knj/knjdb/libknjdb_sqlite3_ironruby.rb +0 -69
- data/lib/knj/knjdb/query_buffer.rb +0 -87
- data/lib/knj/knjdb/revision.rb +0 -342
- data/lib/knj/knjdb/sqlspecs.rb +0 -5
- data/lib/knj/objects.rb +0 -957
- data/lib/knj/process.rb +0 -480
- data/lib/knj/process_meta.rb +0 -569
- data/spec/db_spec.rb +0 -282
- data/spec/db_spec_encoding_test_file.txt +0 -1
- data/spec/objects_spec.rb +0 -394
- data/spec/process_meta_spec.rb +0 -172
- data/spec/process_spec.rb +0 -115
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5696af92d53b95a8c94fcef022377125817c5963
|
4
|
+
data.tar.gz: 2d85cab631950106238a682c722773b38a7f480e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38f796337ac3a2cf5d51a17dcf65d8bc4e1c601d393fdd82de0821365019d95f5cf3316e1fcd4b605a6016bc5ca4957c567317af110d53b0b81892e3d6926edf
|
7
|
+
data.tar.gz: 9598253f0ad7546b545f888d38bc1beadaa07b54e1352192dd726a7ec7de87cc60b5f5174717a2749bb8d84c5aaee90d3480658369bc25618b7df2c69cd45cbc
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.111
|
data/knjrbfw.gemspec
CHANGED
@@ -2,14 +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: knjrbfw 0.0.111 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "knjrbfw"
|
8
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.111"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["Kasper Johansen"]
|
12
|
-
s.date = "
|
14
|
+
s.date = "2015-04-13"
|
13
15
|
s.description = "Including stuff for HTTP, SSH and much more."
|
14
16
|
s.email = "k@spernj.org"
|
15
17
|
s.extra_rdoc_files = [
|
@@ -61,7 +63,6 @@ Gem::Specification.new do |s|
|
|
61
63
|
"lib/knj/csv.rb",
|
62
64
|
"lib/knj/datarow.rb",
|
63
65
|
"lib/knj/datarow_custom.rb",
|
64
|
-
"lib/knj/db.rb",
|
65
66
|
"lib/knj/degulesider.rb",
|
66
67
|
"lib/knj/erb/apache_knjerb.conf",
|
67
68
|
"lib/knj/erb/cache/README",
|
@@ -160,26 +161,6 @@ Gem::Specification.new do |s|
|
|
160
161
|
"lib/knj/jruby_compiler.rb",
|
161
162
|
"lib/knj/knj.rb",
|
162
163
|
"lib/knj/knj_controller.rb",
|
163
|
-
"lib/knj/knjdb/dbtime.rb",
|
164
|
-
"lib/knj/knjdb/drivers/mysql/knjdb_mysql.rb",
|
165
|
-
"lib/knj/knjdb/drivers/mysql/knjdb_mysql_columns.rb",
|
166
|
-
"lib/knj/knjdb/drivers/mysql/knjdb_mysql_indexes.rb",
|
167
|
-
"lib/knj/knjdb/drivers/mysql/knjdb_mysql_sqlspecs.rb",
|
168
|
-
"lib/knj/knjdb/drivers/mysql/knjdb_mysql_tables.rb",
|
169
|
-
"lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3.rb",
|
170
|
-
"lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_columns.rb",
|
171
|
-
"lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_indexes.rb",
|
172
|
-
"lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_sqlspecs.rb",
|
173
|
-
"lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_tables.rb",
|
174
|
-
"lib/knj/knjdb/dump.rb",
|
175
|
-
"lib/knj/knjdb/idquery.rb",
|
176
|
-
"lib/knj/knjdb/libknjdb.rb",
|
177
|
-
"lib/knj/knjdb/libknjdb_java_sqlite3.rb",
|
178
|
-
"lib/knj/knjdb/libknjdb_row.rb",
|
179
|
-
"lib/knj/knjdb/libknjdb_sqlite3_ironruby.rb",
|
180
|
-
"lib/knj/knjdb/query_buffer.rb",
|
181
|
-
"lib/knj/knjdb/revision.rb",
|
182
|
-
"lib/knj/knjdb/sqlspecs.rb",
|
183
164
|
"lib/knj/kvm.rb",
|
184
165
|
"lib/knj/libqt.rb",
|
185
166
|
"lib/knj/libqt_window.rb",
|
@@ -193,7 +174,6 @@ Gem::Specification.new do |s|
|
|
193
174
|
"lib/knj/mutexcl.rb",
|
194
175
|
"lib/knj/notify.rb",
|
195
176
|
"lib/knj/nvidia_settings.rb",
|
196
|
-
"lib/knj/objects.rb",
|
197
177
|
"lib/knj/objects/objects_sqlhelper.rb",
|
198
178
|
"lib/knj/opts.rb",
|
199
179
|
"lib/knj/os.rb",
|
@@ -204,8 +184,6 @@ Gem::Specification.new do |s|
|
|
204
184
|
"lib/knj/php_parser/tests/test_function.php",
|
205
185
|
"lib/knj/php_parser/tests/test_function_run.rb",
|
206
186
|
"lib/knj/power_manager.rb",
|
207
|
-
"lib/knj/process.rb",
|
208
|
-
"lib/knj/process_meta.rb",
|
209
187
|
"lib/knj/rand.rb",
|
210
188
|
"lib/knj/rhodes/mutex.rb",
|
211
189
|
"lib/knj/rhodes/rhodes.js",
|
@@ -252,13 +230,8 @@ Gem::Specification.new do |s|
|
|
252
230
|
"spec/arrayext_spec.rb",
|
253
231
|
"spec/autoload_spec.rb",
|
254
232
|
"spec/cmd_parser_spec.rb",
|
255
|
-
"spec/db_spec.rb",
|
256
|
-
"spec/db_spec_encoding_test_file.txt",
|
257
233
|
"spec/knjrbfw_spec.rb",
|
258
234
|
"spec/locales_spec.rb",
|
259
|
-
"spec/objects_spec.rb",
|
260
|
-
"spec/process_meta_spec.rb",
|
261
|
-
"spec/process_spec.rb",
|
262
235
|
"spec/spec_helper.rb",
|
263
236
|
"spec/strings_spec.rb",
|
264
237
|
"spec/web_spec.rb",
|
@@ -266,15 +239,14 @@ Gem::Specification.new do |s|
|
|
266
239
|
]
|
267
240
|
s.homepage = "http://github.com/kaspernj/knjrbfw"
|
268
241
|
s.licenses = ["MIT"]
|
269
|
-
s.
|
270
|
-
s.rubygems_version = "2.0.7"
|
242
|
+
s.rubygems_version = "2.4.0"
|
271
243
|
s.summary = "A framework with lots of stuff for Ruby."
|
272
244
|
|
273
245
|
if s.respond_to? :specification_version then
|
274
246
|
s.specification_version = 4
|
275
247
|
|
276
248
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
277
|
-
s.add_runtime_dependency(%q<wref>, [">= 0"])
|
249
|
+
s.add_runtime_dependency(%q<wref>, [">= 0.0.8"])
|
278
250
|
s.add_runtime_dependency(%q<tsafe>, [">= 0"])
|
279
251
|
s.add_runtime_dependency(%q<datet>, [">= 0"])
|
280
252
|
s.add_runtime_dependency(%q<http2>, [">= 0"])
|
@@ -287,7 +259,7 @@ Gem::Specification.new do |s|
|
|
287
259
|
s.add_development_dependency(%q<rmagick>, [">= 0"])
|
288
260
|
s.add_development_dependency(%q<array_enumerator>, [">= 0"])
|
289
261
|
else
|
290
|
-
s.add_dependency(%q<wref>, [">= 0"])
|
262
|
+
s.add_dependency(%q<wref>, [">= 0.0.8"])
|
291
263
|
s.add_dependency(%q<tsafe>, [">= 0"])
|
292
264
|
s.add_dependency(%q<datet>, [">= 0"])
|
293
265
|
s.add_dependency(%q<http2>, [">= 0"])
|
@@ -301,7 +273,7 @@ Gem::Specification.new do |s|
|
|
301
273
|
s.add_dependency(%q<array_enumerator>, [">= 0"])
|
302
274
|
end
|
303
275
|
else
|
304
|
-
s.add_dependency(%q<wref>, [">= 0"])
|
276
|
+
s.add_dependency(%q<wref>, [">= 0.0.8"])
|
305
277
|
s.add_dependency(%q<tsafe>, [">= 0"])
|
306
278
|
s.add_dependency(%q<datet>, [">= 0"])
|
307
279
|
s.add_dependency(%q<http2>, [">= 0"])
|
data/lib/knj/autoload.rb
CHANGED
@@ -63,7 +63,7 @@ else
|
|
63
63
|
autoload :GetText, $knjpath + "autoload/gettext"
|
64
64
|
autoload :Gtk, $knjpath + "autoload/gtk2"
|
65
65
|
autoload :GladeXML, "libglade2"
|
66
|
-
|
66
|
+
|
67
67
|
#this bugs?
|
68
68
|
#autoload :Gdk, $knjpath + "autoload/gtk2"
|
69
69
|
end
|
@@ -90,4 +90,3 @@ autoload :Cinch, $knjpath + "autoload/cinch"
|
|
90
90
|
autoload :Facebooker, $knjpath + "autoload/facebooker"
|
91
91
|
autoload :Tsafe, "tsafe"
|
92
92
|
autoload :Wref, $knjpath + "autoload/wref"
|
93
|
-
autoload :Wref_map, $knjpath + "autoload/wref"
|
data/lib/knj/gtk2_window.rb
CHANGED
@@ -2,21 +2,21 @@ Knj.gem_require(:wref)
|
|
2
2
|
|
3
3
|
#Containing various helper methods for Gtk2-windows.
|
4
4
|
class Knj::Gtk2::Window
|
5
|
-
@@uniques =
|
6
|
-
|
5
|
+
@@uniques = Wref::Map.new
|
6
|
+
|
7
7
|
#Used to make a window-instance unique. If it already exists when unique! is called, then it will pass focus to the existing window instead of yielding the block, which should contain code to create the window.
|
8
8
|
#===Examples
|
9
9
|
#This should only create a single window.
|
10
10
|
# Knj::Gtk2::Window.unique!("my_window") do
|
11
11
|
# Gtk::Window.new
|
12
12
|
# end
|
13
|
-
#
|
13
|
+
#
|
14
14
|
# Knj::Gtk2::Window.unique!("my_window") do
|
15
15
|
# Gtk::Window.new
|
16
16
|
# end
|
17
17
|
def self.unique!(id)
|
18
18
|
instance = @@uniques.get!(id)
|
19
|
-
|
19
|
+
|
20
20
|
if instance and !instance.gui["window"].destroyed?
|
21
21
|
instance.gui["window"].present
|
22
22
|
else
|
@@ -24,18 +24,18 @@ class Knj::Gtk2::Window
|
|
24
24
|
@@uniques[id] = obj
|
25
25
|
end
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
#Returns the object if it hasnt been destroyed.
|
29
29
|
#===Examples
|
30
30
|
# Knj::Gtk2::Window.get("my_window") #=> nil
|
31
31
|
# Knj::Gtk2::Window.get("my_window") #=> Gtk::Builder-object
|
32
32
|
def self.get(id)
|
33
33
|
instance = @@uniques.get!(id)
|
34
|
-
|
34
|
+
|
35
35
|
if instance and !instance.gui["window"].destroyed?
|
36
36
|
return instance
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
return nil
|
40
40
|
end
|
41
41
|
end
|
data/lib/knj/unix_proc.rb
CHANGED
@@ -4,47 +4,47 @@ require "wref" if !Kernel.const_defined?(:Wref)
|
|
4
4
|
#This class handels various stuff regarding Unix-processes.
|
5
5
|
class Knj::Unix_proc
|
6
6
|
attr_reader :data
|
7
|
-
|
8
|
-
PROCS =
|
7
|
+
|
8
|
+
PROCS = Wref::Map.new
|
9
9
|
MUTEX = Mutex.new
|
10
|
-
|
10
|
+
|
11
11
|
#Spawns a process if it doesnt already exist in the wrap-map.
|
12
12
|
def self.spawn(data)
|
13
13
|
pid = data["pid"].to_i
|
14
|
-
|
14
|
+
|
15
15
|
begin
|
16
|
-
proc_ele = PROCS
|
16
|
+
proc_ele = PROCS.get!(pid)
|
17
17
|
proc_ele.update_data(data)
|
18
18
|
rescue Wref::Recycled
|
19
19
|
proc_ele = Knj::Unix_proc.new(data)
|
20
20
|
PROCS[pid] = proc_ele
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
return proc_ele
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
#Returns an array with (or yields if block given) Unix_proc. Hash-arguments as 'grep'.
|
27
27
|
def self.list(args = {})
|
28
28
|
cmdstr = "ps aux"
|
29
29
|
grepstr = ""
|
30
|
-
|
30
|
+
|
31
31
|
if args["grep"]
|
32
32
|
grepstr = "grep #{args["grep"]}" #used for ignoring the grep-process later.
|
33
33
|
cmdstr << " | grep #{Knj::Strings.unixsafe(args["grep"])}"
|
34
34
|
end
|
35
|
-
|
35
|
+
|
36
36
|
MUTEX.synchronize do
|
37
37
|
ret = [] unless block_given?
|
38
|
-
|
38
|
+
|
39
39
|
if args["psaux_str"]
|
40
40
|
res = args["psaux_str"]
|
41
41
|
else
|
42
42
|
res = Knj::Os.shellcmd(cmdstr)
|
43
43
|
end
|
44
|
-
|
44
|
+
|
45
45
|
res.scan(/^(\S+)\s+([0-9]+)\s+([0-9.]+)\s+([0-9.]+)\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+ (.+)($|\n)/) do |match|
|
46
46
|
pid = match[1]
|
47
|
-
|
47
|
+
|
48
48
|
data = {
|
49
49
|
"user" => match[0],
|
50
50
|
"pid" => pid,
|
@@ -53,10 +53,10 @@ class Knj::Unix_proc
|
|
53
53
|
"cmd" => match[4],
|
54
54
|
"app" => File.basename(match[4])
|
55
55
|
}
|
56
|
-
|
56
|
+
|
57
57
|
next if (!args.key?("ignore_self") or args["ignore_self"]) and match[1].to_i == $$.to_i
|
58
58
|
next if grepstr.length > 0 and match[4].index(grepstr) != nil #dont return current process.
|
59
|
-
|
59
|
+
|
60
60
|
if args.key?("pids")
|
61
61
|
found = false
|
62
62
|
args["pids"].each do |pid_given|
|
@@ -65,15 +65,15 @@ class Knj::Unix_proc
|
|
65
65
|
break
|
66
66
|
end
|
67
67
|
end
|
68
|
-
|
68
|
+
|
69
69
|
next if !found
|
70
70
|
end
|
71
|
-
|
71
|
+
|
72
72
|
if args["yield_data"]
|
73
73
|
yield(data)
|
74
74
|
else
|
75
75
|
proc_obj = Knj::Unix_proc.spawn(data)
|
76
|
-
|
76
|
+
|
77
77
|
if block_given?
|
78
78
|
yield(proc_obj)
|
79
79
|
else
|
@@ -81,9 +81,9 @@ class Knj::Unix_proc
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
end
|
84
|
-
|
84
|
+
|
85
85
|
PROCS.clean
|
86
|
-
|
86
|
+
|
87
87
|
if block_given?
|
88
88
|
return nil
|
89
89
|
else
|
@@ -91,12 +91,12 @@ class Knj::Unix_proc
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
end
|
94
|
-
|
94
|
+
|
95
95
|
#Returns the "Knj::Unix_proc" for the current process.
|
96
96
|
def self.find_self
|
97
97
|
procs = Knj::Unix_proc.list("ignore_self" => false)
|
98
98
|
pid_find = Process.pid
|
99
|
-
|
99
|
+
|
100
100
|
proc_find = false
|
101
101
|
procs.each do |proc_ele|
|
102
102
|
if proc_ele["pid"].to_i == pid_find.to_i
|
@@ -104,10 +104,10 @@ class Knj::Unix_proc
|
|
104
104
|
break
|
105
105
|
end
|
106
106
|
end
|
107
|
-
|
107
|
+
|
108
108
|
return proc_find
|
109
109
|
end
|
110
|
-
|
110
|
+
|
111
111
|
#Return true if the given PID is running.
|
112
112
|
def self.pid_running?(pid)
|
113
113
|
begin
|
@@ -117,65 +117,65 @@ class Knj::Unix_proc
|
|
117
117
|
return false
|
118
118
|
end
|
119
119
|
end
|
120
|
-
|
120
|
+
|
121
121
|
#Initializes various data for a Unix_proc-object. This should not be called manually but through "Unix_proc.list".
|
122
122
|
def initialize(data)
|
123
123
|
@data = data
|
124
124
|
end
|
125
|
-
|
125
|
+
|
126
126
|
#Updates the data. This should not be called manually, but is exposed because of various code in "Unix_proc.list".
|
127
127
|
def update_data(data)
|
128
128
|
@data = data
|
129
129
|
end
|
130
|
-
|
130
|
+
|
131
131
|
#Returns the PID of the process.
|
132
132
|
def pid
|
133
133
|
return @data["pid"].to_i
|
134
134
|
end
|
135
|
-
|
135
|
+
|
136
136
|
#Returns a key from the data or raises an error.
|
137
137
|
def [](key)
|
138
138
|
raise "No such data: #{key}" if !@data.key?(key)
|
139
139
|
return @data[key]
|
140
140
|
end
|
141
|
-
|
141
|
+
|
142
142
|
#Kills the process.
|
143
143
|
def kill
|
144
144
|
Process.kill("TERM", @data["pid"].to_i)
|
145
145
|
end
|
146
|
-
|
146
|
+
|
147
147
|
#Kills the process with 9.
|
148
148
|
def kill!
|
149
149
|
Process.kill(9, @data["pid"].to_i)
|
150
150
|
end
|
151
|
-
|
151
|
+
|
152
152
|
#Hash-compatible.
|
153
153
|
def to_h
|
154
154
|
return @data.clone
|
155
155
|
end
|
156
|
-
|
156
|
+
|
157
157
|
#Tries to kill the process gently, waits a couple of secs to check if the process is actually dead, then sends -9 kill signals.
|
158
158
|
def kill_ensure(args = {})
|
159
159
|
begin
|
160
160
|
self.kill
|
161
161
|
sleep 0.1
|
162
162
|
return nil if !self.alive?
|
163
|
-
|
163
|
+
|
164
164
|
args[:sleep] = 2 if !args.key(:sleep)
|
165
|
-
|
165
|
+
|
166
166
|
0.upto(5) do
|
167
167
|
sleep args[:sleep]
|
168
168
|
self.kill!
|
169
169
|
sleep 0.1
|
170
170
|
return nil if !self.alive?
|
171
171
|
end
|
172
|
-
|
172
|
+
|
173
173
|
raise "Could not kill the process."
|
174
174
|
rescue Errno::ESRCH
|
175
175
|
return nil
|
176
176
|
end
|
177
177
|
end
|
178
|
-
|
178
|
+
|
179
179
|
#Returns true if the process is still alive.
|
180
180
|
def alive?
|
181
181
|
return Knj::Unix_proc.pid_running?(@data["pid"].to_i)
|
metadata
CHANGED
@@ -1,181 +1,181 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knjrbfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.111
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: wref
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.0.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.0.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: tsafe
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: datet
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: http2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: php4r
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ruby_process
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: jeweler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: sqlite3
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rmagick
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: array_enumerator
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
description: Including stuff for HTTP, SSH and much more.
|
@@ -186,8 +186,8 @@ extra_rdoc_files:
|
|
186
186
|
- LICENSE.txt
|
187
187
|
- README.rdoc
|
188
188
|
files:
|
189
|
-
- .document
|
190
|
-
- .rspec
|
189
|
+
- ".document"
|
190
|
+
- ".rspec"
|
191
191
|
- Gemfile
|
192
192
|
- Gemfile.lock
|
193
193
|
- LICENSE.txt
|
@@ -230,7 +230,6 @@ files:
|
|
230
230
|
- lib/knj/csv.rb
|
231
231
|
- lib/knj/datarow.rb
|
232
232
|
- lib/knj/datarow_custom.rb
|
233
|
-
- lib/knj/db.rb
|
234
233
|
- lib/knj/degulesider.rb
|
235
234
|
- lib/knj/erb/apache_knjerb.conf
|
236
235
|
- lib/knj/erb/cache/README
|
@@ -329,26 +328,6 @@ files:
|
|
329
328
|
- lib/knj/jruby_compiler.rb
|
330
329
|
- lib/knj/knj.rb
|
331
330
|
- lib/knj/knj_controller.rb
|
332
|
-
- lib/knj/knjdb/dbtime.rb
|
333
|
-
- lib/knj/knjdb/drivers/mysql/knjdb_mysql.rb
|
334
|
-
- lib/knj/knjdb/drivers/mysql/knjdb_mysql_columns.rb
|
335
|
-
- lib/knj/knjdb/drivers/mysql/knjdb_mysql_indexes.rb
|
336
|
-
- lib/knj/knjdb/drivers/mysql/knjdb_mysql_sqlspecs.rb
|
337
|
-
- lib/knj/knjdb/drivers/mysql/knjdb_mysql_tables.rb
|
338
|
-
- lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3.rb
|
339
|
-
- lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_columns.rb
|
340
|
-
- lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_indexes.rb
|
341
|
-
- lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_sqlspecs.rb
|
342
|
-
- lib/knj/knjdb/drivers/sqlite3/knjdb_sqlite3_tables.rb
|
343
|
-
- lib/knj/knjdb/dump.rb
|
344
|
-
- lib/knj/knjdb/idquery.rb
|
345
|
-
- lib/knj/knjdb/libknjdb.rb
|
346
|
-
- lib/knj/knjdb/libknjdb_java_sqlite3.rb
|
347
|
-
- lib/knj/knjdb/libknjdb_row.rb
|
348
|
-
- lib/knj/knjdb/libknjdb_sqlite3_ironruby.rb
|
349
|
-
- lib/knj/knjdb/query_buffer.rb
|
350
|
-
- lib/knj/knjdb/revision.rb
|
351
|
-
- lib/knj/knjdb/sqlspecs.rb
|
352
331
|
- lib/knj/kvm.rb
|
353
332
|
- lib/knj/libqt.rb
|
354
333
|
- lib/knj/libqt_window.rb
|
@@ -362,7 +341,6 @@ files:
|
|
362
341
|
- lib/knj/mutexcl.rb
|
363
342
|
- lib/knj/notify.rb
|
364
343
|
- lib/knj/nvidia_settings.rb
|
365
|
-
- lib/knj/objects.rb
|
366
344
|
- lib/knj/objects/objects_sqlhelper.rb
|
367
345
|
- lib/knj/opts.rb
|
368
346
|
- lib/knj/os.rb
|
@@ -373,8 +351,6 @@ files:
|
|
373
351
|
- lib/knj/php_parser/tests/test_function.php
|
374
352
|
- lib/knj/php_parser/tests/test_function_run.rb
|
375
353
|
- lib/knj/power_manager.rb
|
376
|
-
- lib/knj/process.rb
|
377
|
-
- lib/knj/process_meta.rb
|
378
354
|
- lib/knj/rand.rb
|
379
355
|
- lib/knj/rhodes/mutex.rb
|
380
356
|
- lib/knj/rhodes/rhodes.js
|
@@ -421,13 +397,8 @@ files:
|
|
421
397
|
- spec/arrayext_spec.rb
|
422
398
|
- spec/autoload_spec.rb
|
423
399
|
- spec/cmd_parser_spec.rb
|
424
|
-
- spec/db_spec.rb
|
425
|
-
- spec/db_spec_encoding_test_file.txt
|
426
400
|
- spec/knjrbfw_spec.rb
|
427
401
|
- spec/locales_spec.rb
|
428
|
-
- spec/objects_spec.rb
|
429
|
-
- spec/process_meta_spec.rb
|
430
|
-
- spec/process_spec.rb
|
431
402
|
- spec/spec_helper.rb
|
432
403
|
- spec/strings_spec.rb
|
433
404
|
- spec/web_spec.rb
|
@@ -442,17 +413,17 @@ require_paths:
|
|
442
413
|
- lib
|
443
414
|
required_ruby_version: !ruby/object:Gem::Requirement
|
444
415
|
requirements:
|
445
|
-
- -
|
416
|
+
- - ">="
|
446
417
|
- !ruby/object:Gem::Version
|
447
418
|
version: '0'
|
448
419
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
449
420
|
requirements:
|
450
|
-
- -
|
421
|
+
- - ">="
|
451
422
|
- !ruby/object:Gem::Version
|
452
423
|
version: '0'
|
453
424
|
requirements: []
|
454
425
|
rubyforge_project:
|
455
|
-
rubygems_version: 2.0
|
426
|
+
rubygems_version: 2.4.0
|
456
427
|
signing_key:
|
457
428
|
specification_version: 4
|
458
429
|
summary: A framework with lots of stuff for Ruby.
|