qooxview 1.9.9 → 1.9.10
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 +9 -19
- data/lib/qooxview/additions.rb +3 -3
- data/lib/qooxview/entity.rb +3 -23
- data/lib/qooxview/helpers/config_base.rb +12 -2
- data/lib/qooxview/helpers/open_print.rb +9 -7
- data/lib/qooxview/qooxview.rb +2 -1
- data/lib/qooxview/rpcqooxdoo.rb +7 -18
- data/lib/qooxview/storage_handler.rb +1 -1
- data/lib/qooxview/storages/ldap.rb +7 -4
- data/lib/qooxview/value.rb +2 -1
- data/lib/qooxview/view.rb +4 -16
- data/qooxview.gemspec +5 -8
- data/test/config.yaml +1 -6
- data/test/qv_view.rb +1 -2
- metadata +21 -64
- data/lib/qooxview/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79e8ab8d671a83f68caf34a679b770b3c728a130
|
4
|
+
data.tar.gz: ab43a56aaaac12df6eb8e4efa0cf356f47dcac51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d2391b81f4f1c401658d6c8b5cb2d32b13ad2d7a62c628296660a479d7f992f2ae4e244916bf5cb0a0740192e5c209912cffc2cf36645034c848f73cd4573bd
|
7
|
+
data.tar.gz: db3d432b12cae9f0f72c877d4b5c1a93c9babd2d4640be6d2678f94299884875a74f181cea4e8d92c85a08c563eac7fdc5b0148aeca1b9911dfa8ff1d8e5e49c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,3 @@
|
|
1
|
-
GIT
|
2
|
-
remote: ../HelperClasses
|
3
|
-
revision: 13b0df9435e9c2337e96dab7f83bc229652d59e2
|
4
|
-
branch: gemify-things
|
5
|
-
specs:
|
6
|
-
helper_classes (0.3.1)
|
7
|
-
|
8
1
|
PATH
|
9
2
|
remote: .
|
10
3
|
specs:
|
@@ -16,23 +9,25 @@ PATH
|
|
16
9
|
chunky_png (= 1.3.4)
|
17
10
|
docsplit (= 0.7.6)
|
18
11
|
gettext (= 3.0.0)
|
19
|
-
helper_classes (= 0.3.
|
12
|
+
helper_classes (= 0.3.2)
|
20
13
|
i18n (= 0.6.0)
|
21
14
|
iconv (= 1.0.3)
|
15
|
+
iniparse (= 1.4.0)
|
22
16
|
json (= 1.8.2)
|
23
17
|
locale (= 2.0.8)
|
24
18
|
multi_json (= 1.0.3)
|
25
19
|
net-ldap (= 0.5.1)
|
26
|
-
parseconfig (= 0.5.2)
|
27
|
-
pdf-core (= 0.5.1)
|
28
|
-
prawn (= 2.0.1)
|
29
20
|
rqrcode (= 0.4.2)
|
30
21
|
rqrcode-with-patches (= 0.5.4)
|
31
22
|
rubyzip (= 1.1.7)
|
32
23
|
serialport (= 1.3.1)
|
33
24
|
sqlite3 (= 1.3.10)
|
34
25
|
text (= 1.2.3)
|
35
|
-
|
26
|
+
|
27
|
+
PATH
|
28
|
+
remote: vendor/cache/HelperClasses
|
29
|
+
specs:
|
30
|
+
helper_classes (0.3.2)
|
36
31
|
|
37
32
|
GEM
|
38
33
|
remote: https://rubygems.org/
|
@@ -57,16 +52,12 @@ GEM
|
|
57
52
|
text
|
58
53
|
i18n (0.6.0)
|
59
54
|
iconv (1.0.3)
|
55
|
+
iniparse (1.4.0)
|
60
56
|
json (1.8.2)
|
61
57
|
locale (2.0.8)
|
62
58
|
multi_json (1.0.3)
|
63
59
|
net-ldap (0.5.1)
|
64
|
-
parseconfig (0.5.2)
|
65
|
-
pdf-core (0.5.1)
|
66
60
|
perftools.rb (2.0.1)
|
67
|
-
prawn (2.0.1)
|
68
|
-
pdf-core (~> 0.5.1)
|
69
|
-
ttfunk (~> 1.4.0)
|
70
61
|
rake (10.4.2)
|
71
62
|
rqrcode (0.4.2)
|
72
63
|
rqrcode-with-patches (0.5.4)
|
@@ -75,14 +66,13 @@ GEM
|
|
75
66
|
serialport (1.3.1)
|
76
67
|
sqlite3 (1.3.10)
|
77
68
|
text (1.2.3)
|
78
|
-
ttfunk (1.4.0)
|
79
69
|
tzinfo (0.3.44)
|
80
70
|
|
81
71
|
PLATFORMS
|
82
72
|
ruby
|
83
73
|
|
84
74
|
DEPENDENCIES
|
85
|
-
bundler (~> 1.
|
75
|
+
bundler (~> 1.9)
|
86
76
|
helper_classes!
|
87
77
|
perftools.rb (= 2.0.1)
|
88
78
|
qooxview!
|
data/lib/qooxview/additions.rb
CHANGED
@@ -20,8 +20,8 @@ class Array
|
|
20
20
|
self.replace(to_sym())
|
21
21
|
end
|
22
22
|
|
23
|
-
def to_frontend
|
24
|
-
collect { |a| a.to_frontend }.sort { |a, b| a[1]<=>b[1] }
|
23
|
+
def to_frontend(arg = nil)
|
24
|
+
collect { |a| a.to_frontend(arg) }.sort { |a, b| a[1]<=>b[1] }
|
25
25
|
end
|
26
26
|
|
27
27
|
def to_s
|
@@ -30,7 +30,7 @@ class Array
|
|
30
30
|
end
|
31
31
|
|
32
32
|
class Object
|
33
|
-
def to_frontend
|
33
|
+
def to_frontend(_ = nil)
|
34
34
|
to_s
|
35
35
|
end
|
36
36
|
end
|
data/lib/qooxview/entity.rb
CHANGED
@@ -55,25 +55,6 @@ class Entities < RPCQooxdooService
|
|
55
55
|
@default_type = :CSV
|
56
56
|
@keys = {}
|
57
57
|
|
58
|
-
# Check for config of this special class
|
59
|
-
# dputs( 2 ){ "Class is: #{self.class.name.to_sym.inspect}" }
|
60
|
-
if @config = get_config(nil, :Entities, self.class.name)
|
61
|
-
#@config = $config[:Entities][self.class.name.to_sym]
|
62
|
-
dputs(3) { "Writing config #{@config.inspect} for #{self.class.name}" }
|
63
|
-
@config.each { |k, v|
|
64
|
-
dputs(3) { "Setting #{k} = #{v}" }
|
65
|
-
case v
|
66
|
-
when /true|false/
|
67
|
-
instance_variable_set("@#{k.to_s}", eval(v))
|
68
|
-
else
|
69
|
-
instance_variable_set("@#{k.to_s}", v)
|
70
|
-
end
|
71
|
-
self.class.send(:attr_reader, k)
|
72
|
-
}
|
73
|
-
else
|
74
|
-
@config = nil
|
75
|
-
end
|
76
|
-
|
77
58
|
# Stuff for the StorageHandler
|
78
59
|
@storage = {}
|
79
60
|
@data = {}
|
@@ -374,7 +355,7 @@ class Entities < RPCQooxdooService
|
|
374
355
|
dputs(3) { "Saving #{v.class.name}" }
|
375
356
|
v.save()
|
376
357
|
}
|
377
|
-
dputs(
|
358
|
+
dputs(3) { "Time for saving everything: #{Time.now - start}" }
|
378
359
|
end
|
379
360
|
|
380
361
|
def self.load_all
|
@@ -418,7 +399,7 @@ class Entities < RPCQooxdooService
|
|
418
399
|
def self.needs(entities)
|
419
400
|
dputs(2) { "#{self.name} needs #{entities}" }
|
420
401
|
entities = entities.to_s.to_a unless entities.class == Array
|
421
|
-
@@needs["Entities.#{self.name.to_s}"] = entities.collect{|e|
|
402
|
+
@@needs["Entities.#{self.name.to_s}"] = entities.collect { |e|
|
422
403
|
"Entities.#{e}"
|
423
404
|
}
|
424
405
|
end
|
@@ -491,8 +472,7 @@ class Entity
|
|
491
472
|
return [self.id, self.send($1)]
|
492
473
|
end
|
493
474
|
@show_error_missing && dputs(0) { "ValueUnknown for #{cmd.inspect} in "+
|
494
|
-
"#{self.class.name} - "
|
495
|
-
"#{caller.inspect} - #{@proxy.blocks.inspect}" }
|
475
|
+
"#{self.class.name} - #{caller.inspect}" }
|
496
476
|
if field =~ /^_/
|
497
477
|
raise 'ValueUnknown'
|
498
478
|
else
|
@@ -9,6 +9,7 @@ class ConfigBases < Entities
|
|
9
9
|
value_block :wide
|
10
10
|
value_list :functions, 'ConfigBases.list_functions'
|
11
11
|
value_str :dputs_logfile
|
12
|
+
value_str :dputs_logall
|
12
13
|
value_text :welcome_text
|
13
14
|
|
14
15
|
value_block :narrow
|
@@ -41,6 +42,7 @@ class ConfigBases < Entities
|
|
41
42
|
# Values for slow, buggy lines. For a good transfer-rate, choose 16x more
|
42
43
|
c._block_size = 4096
|
43
44
|
c._max_upload_size = 65_536
|
45
|
+
c.dputs_logall = '/var/log/gestion/gestion.log'
|
44
46
|
c.dputs_logfile = '/var/log/gestion/events.log'
|
45
47
|
c.dputs_show_time = %w(min)
|
46
48
|
c.dputs_silent = %w(false)
|
@@ -100,13 +102,21 @@ class ConfigBase < Entity
|
|
100
102
|
if !Object.const_defined? :DEBUG_LVL
|
101
103
|
self.debug_lvl = debug_lvl
|
102
104
|
end
|
105
|
+
is_loading { setup_defaults }
|
106
|
+
end
|
107
|
+
|
108
|
+
def setup_defaults
|
109
|
+
DPuts.logall_file = dputs_logall
|
110
|
+
DPuts.log_file = dputs_logfile
|
103
111
|
DPuts.silent = dputs_silent == %w(true)
|
104
112
|
DPuts.show_time = (dputs_show_time || %w(min)).first
|
105
113
|
DPuts.terminal_width = (dputs_terminal_width || 160).to_i
|
106
|
-
|
114
|
+
|
115
|
+
send_config
|
107
116
|
end
|
108
117
|
|
109
|
-
|
118
|
+
# This can be used in an overriden ConfigBase-class to send individual configs
|
119
|
+
def send_config
|
110
120
|
end
|
111
121
|
|
112
122
|
def is_loading
|
@@ -215,7 +215,8 @@ module PrintButton
|
|
215
215
|
if pn != 'PDF'
|
216
216
|
if get_server_printers.index(pn)
|
217
217
|
cmd = "lp -o media=a4 -o fitplot -d #{pn.sub(/^server /, '')}"
|
218
|
-
elsif
|
218
|
+
elsif !(dp(session.web_req.header['user_agent']) =~ /Windows/) &&
|
219
|
+
get_remote_printers(remote).index(pn)
|
219
220
|
cmd = "lp -o media=a4 -o fitplot -h #{remote}:631 -d #{pn}"
|
220
221
|
end
|
221
222
|
end
|
@@ -240,12 +241,13 @@ module PrintButton
|
|
240
241
|
dputs(4) { "#{pb}-#{p.inspect}" }
|
241
242
|
value = "#{GetText._(pb.to_s)} #{p.data_str}"
|
242
243
|
if session.web_req && ip = session.client_ip
|
243
|
-
#
|
244
|
-
#
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
244
|
+
# We're not looking for CUPS on the localhost, only on Macintosh and
|
245
|
+
# non-android Linuxes
|
246
|
+
ua = session.web_req.header['user-agent']
|
247
|
+
ua &&= ua.first
|
248
|
+
if ip =~ /(::1|localhost|127.0.0.1)/
|
249
|
+
dputs(3) { "Not looking for cups on #{ip} - #{session.web_req.header['user-agent']}" }
|
250
|
+
elsif ua =~ /(Macintosh|Linux)/ && !(ua =~ /Android/)
|
249
251
|
value = [value] + get_server_printers + get_remote_printers(ip)
|
250
252
|
end
|
251
253
|
end
|
data/lib/qooxview/qooxview.rb
CHANGED
@@ -89,7 +89,8 @@ module QooxView
|
|
89
89
|
|
90
90
|
def self.init(dir_entities = nil, dir_views = nil)
|
91
91
|
#dputs_func
|
92
|
-
|
92
|
+
# If we're in test-mode, don't interpret arguments
|
93
|
+
if !Module.constants.index(:Test)
|
93
94
|
dputs(2) { 'Doing options' }
|
94
95
|
self.do_opts(dir_entities, dir_views)
|
95
96
|
end
|
data/lib/qooxview/rpcqooxdoo.rb
CHANGED
@@ -49,7 +49,7 @@ class RPCQooxdooService
|
|
49
49
|
|
50
50
|
def needs_covered(a)
|
51
51
|
return true unless @@needs.has_key?(a)
|
52
|
-
@@needs[a].each{|n|
|
52
|
+
@@needs[a].each { |n|
|
53
53
|
return false if @@services_hash[n].class == Class
|
54
54
|
}
|
55
55
|
return true
|
@@ -67,14 +67,14 @@ class RPCQooxdooService
|
|
67
67
|
%w(Entities View).each { |e|
|
68
68
|
@@services_hash.sort.each { |k, v|
|
69
69
|
if k =~ /^#{e}/ and k =~ /#{services}/
|
70
|
-
dputs(3) { "Initializing #{k.
|
70
|
+
dputs(3) { "Initializing #{k.class.name} with #{v.class.name}" }
|
71
71
|
if @@services_hash[k].class == Class
|
72
72
|
dputs(5) { "Needs is: #{@@needs.inspect}" }
|
73
73
|
#if @@needs.has_key?(k) &&
|
74
74
|
# @@services_hash[@@needs[k]].class == Class
|
75
75
|
if !needs_covered(k)
|
76
76
|
dputs(3) { "Not initializing #{k}, as it needs #{@@needs[k]}" }
|
77
|
-
@@needs[k].each{|n|
|
77
|
+
@@needs[k].each { |n|
|
78
78
|
get_services(/^#{n}$/)
|
79
79
|
}
|
80
80
|
do_init = true
|
@@ -197,7 +197,7 @@ class RPCQooxdooHandler
|
|
197
197
|
method = "rpc_#{method}"
|
198
198
|
if s.respond_to?(method)
|
199
199
|
dputs(3) { "Calling #{method} with #{params.inspect}" }
|
200
|
-
|
200
|
+
System.rescue_all("while handling #{method} with #{params.inspect}") do
|
201
201
|
parsed = s.parse_request(method, session, params[0])
|
202
202
|
time.probe("Parsing #{service}.#{method}")
|
203
203
|
dputs(4) { "Parsed request is #{parsed.inspect}" }
|
@@ -218,13 +218,8 @@ class RPCQooxdooHandler
|
|
218
218
|
|
219
219
|
dputs(show_request_reply) { "Final answer is #{answer.inspect}" }
|
220
220
|
return self.answer(answer, id)
|
221
|
-
rescue Exception => e
|
222
|
-
dputs(0) { "Error while handling #{method} with #{params.inspect}: #{e.message}" }
|
223
|
-
dputs(0) { "#{e.inspect}" }
|
224
|
-
dputs(0) { "#{e.to_s}" }
|
225
|
-
puts e.backtrace
|
226
|
-
return self.error(2, 2, 'Error in handling method', id)
|
227
221
|
end
|
222
|
+
return self.error(2, 2, 'Error in handling method', id)
|
228
223
|
else
|
229
224
|
return self.error(2, 2, "No such method #{method} for #{s.class.name}", id)
|
230
225
|
end
|
@@ -318,7 +313,7 @@ class RPCQooxdooHandler
|
|
318
313
|
|
319
314
|
status = HTTPStatus::OK
|
320
315
|
res['content-type'] = 'text/html'
|
321
|
-
|
316
|
+
System.rescue_all("while handling #{cl.name} with #{req.inspect}") {
|
322
317
|
if cl.respond_to? :parse_req_res
|
323
318
|
res.body = cl.parse_req_res(req, res).to_s
|
324
319
|
elsif cl.respond_to? :parse_req
|
@@ -326,13 +321,7 @@ class RPCQooxdooHandler
|
|
326
321
|
else
|
327
322
|
res.body = cl.parse(req.request_method, req.path, req.query).to_s
|
328
323
|
end
|
329
|
-
|
330
|
-
dputs(0) { "Error while handling #{cl.name} with #{req.inspect}: #{e.message}" }
|
331
|
-
dputs(0) { "#{e.inspect}" }
|
332
|
-
dputs(0) { "#{e.to_s}" }
|
333
|
-
puts e.backtrace
|
334
|
-
res.body = 'Error in handling method'
|
335
|
-
end
|
324
|
+
} or res.body = 'Error in handling method'
|
336
325
|
res.body.force_encoding(Encoding::ASCII_8BIT)
|
337
326
|
res['content-length'] = res.body.length
|
338
327
|
res['status'] = status
|
@@ -285,7 +285,7 @@ module StorageHandler
|
|
285
285
|
val = di.set_entry(id, field, value)
|
286
286
|
dputs(4) { "#{id} - #{field} - #{value.inspect}" }
|
287
287
|
@data[id.to_i][field] = val
|
288
|
-
elsif DEBUG_LVL >=
|
288
|
+
elsif DEBUG_LVL >= 4
|
289
289
|
log_msg 'StorageHandler', 'Trying to overwrite with same value in ' +
|
290
290
|
"#{self.class.name}-#{field}-#{value.to_s}\n" +
|
291
291
|
caller.inspect
|
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'net/ldap'
|
2
|
-
require '
|
2
|
+
require 'iniparse'
|
3
3
|
|
4
4
|
class LDAP < StorageType
|
5
5
|
attr_accessor :data_ldap_base, :data_ldap_users
|
6
6
|
|
7
7
|
def self.get_config_file(first, second, config)
|
8
|
+
#dputs_func
|
8
9
|
file = get_config(first, :LDAPConfig, config)
|
9
10
|
if !File.exists?(file)
|
10
11
|
file = second
|
@@ -20,6 +21,7 @@ class LDAP < StorageType
|
|
20
21
|
# Load the configuration file and set up different variables
|
21
22
|
# for LDAP. This has to be loaded just once
|
22
23
|
def configure(config)
|
24
|
+
#dputs_func
|
23
25
|
dputs(2) { "Configuring LDAP: #{config.inspect}" }
|
24
26
|
if conf = get_config(nil, :LDAPConfig, :array)
|
25
27
|
@data_ldap_host, @data_ldap_base, @data_ldap_root, @data_ldap_users,
|
@@ -27,11 +29,11 @@ class LDAP < StorageType
|
|
27
29
|
else
|
28
30
|
file_conf = LDAP.get_config_file('ldapscripts.conf',
|
29
31
|
'/etc/ldapscripts/ldapscripts.conf', :ldapscripts)
|
30
|
-
ldap_config =
|
32
|
+
ldap_config = IniParse.parse(File.read(file_conf))
|
31
33
|
dputs(2) { "Configuration options are #{ldap_config.get_params.inspect}" }
|
32
34
|
@data_ldap_host, @data_ldap_base, @data_ldap_root, @data_ldap_users =
|
33
|
-
ldap_config
|
34
|
-
ldap_config
|
35
|
+
ldap_config['SERVER'], ldap_config['SUFFIX'], ldap_config['BINDDN'],
|
36
|
+
ldap_config['USUFFIX']
|
35
37
|
|
36
38
|
file_pass = LDAP.get_config_file('ldap.secret', '/etc/ldap.secret',
|
37
39
|
:ldapsecret)
|
@@ -60,6 +62,7 @@ class LDAP < StorageType
|
|
60
62
|
end
|
61
63
|
|
62
64
|
def load
|
65
|
+
#dputs_func
|
63
66
|
data = {}
|
64
67
|
# Read in the entries from the LDAP-directory
|
65
68
|
dputs(3) { 'Reading LDAP-entries' }
|
data/lib/qooxview/value.rb
CHANGED
@@ -97,10 +97,11 @@ class Value
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def to_a(session = nil)
|
100
|
+
#dputs_func
|
100
101
|
fe_type, fe_name, args = @dtype, @name, @args.dup
|
101
102
|
case @dtype.to_s
|
102
103
|
when 'list', 'select'
|
103
|
-
dputs(3) { "List is #{@list}" }
|
104
|
+
dputs(3) { "List for #{@name} is #{@list}" }
|
104
105
|
@list.size > 0 and args.merge! :list_values => eval(@list).to_a
|
105
106
|
when /entity/
|
106
107
|
dputs(3) { "Converting -#{@name}- to array" }
|
data/lib/qooxview/view.rb
CHANGED
@@ -125,22 +125,10 @@ class View < RPCQooxdooService
|
|
125
125
|
layout
|
126
126
|
end
|
127
127
|
|
128
|
-
#
|
129
|
-
|
130
|
-
|
131
|
-
@
|
132
|
-
dputs(3) { "Writing config #{@config.inspect} for #{self.class.name}" }
|
133
|
-
@config.each { |k, v|
|
134
|
-
begin
|
135
|
-
instance_variable_set("@#{k.to_s}", eval(v))
|
136
|
-
rescue Exception => e
|
137
|
-
instance_variable_set("@#{k.to_s}", v)
|
138
|
-
end
|
139
|
-
self.class.send(:attr_reader, k)
|
140
|
-
dputs(3) { "Setting #{k} = #{v}}" }
|
141
|
-
}
|
142
|
-
else
|
143
|
-
@config = nil
|
128
|
+
# For debugging purposes, we allow re-ordering of views in config.yaml
|
129
|
+
if o = get_config(nil, :Views, self.class.name, :order)
|
130
|
+
dputs(3){"Overwriting order of #{self.class.name} with #{o}"}
|
131
|
+
@order = o.to_i
|
144
132
|
end
|
145
133
|
|
146
134
|
# Clean up eventual left-overs from a simple (or very complicated) layout
|
data/qooxview.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'qooxview/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'qooxview'
|
8
|
-
spec.version =
|
8
|
+
spec.version = '1.9.10'
|
9
9
|
spec.authors = ['Linus Gasser']
|
10
10
|
spec.email = ['ineiti@linusetviviane.ch']
|
11
11
|
spec.summary = %q{Implements a ruby-backend for QooxDoo.org}
|
@@ -14,11 +14,12 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = 'https://github.com/ineiti/qooxview'
|
15
15
|
spec.license = 'GPLv3'
|
16
16
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.files = `if [ -d '.git' ]; then git ls-files -z; fi`.split("\x0")
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
+
spec.add_dependency 'helper_classes', '0.3.5'
|
22
23
|
spec.add_dependency 'activemodel', '3.1.1'
|
23
24
|
spec.add_dependency 'activerecord', '3.1.1'
|
24
25
|
spec.add_dependency 'sqlite3', '1.3.10'
|
@@ -32,19 +33,15 @@ Gem::Specification.new do |spec|
|
|
32
33
|
spec.add_dependency 'locale', '2.0.8'
|
33
34
|
spec.add_dependency 'multi_json', '1.0.3'
|
34
35
|
spec.add_dependency 'net-ldap', '0.5.1'
|
35
|
-
spec.add_dependency '
|
36
|
-
spec.add_dependency 'pdf-core', '0.5.1'
|
37
|
-
spec.add_dependency 'prawn', '2.0.1'
|
36
|
+
spec.add_dependency 'iniparse', '1.4.0'
|
38
37
|
spec.add_dependency 'rqrcode', '0.4.2'
|
39
38
|
spec.add_dependency 'rubyzip', '1.1.7'
|
40
39
|
spec.add_dependency 'serialport', '1.3.1'
|
41
40
|
spec.add_dependency 'text', '1.2.3'
|
42
|
-
spec.add_dependency 'ttfunk', '1.4.0'
|
43
41
|
spec.add_dependency 'docsplit', '0.7.6'
|
44
42
|
spec.add_dependency 'rqrcode-with-patches', '0.5.4'
|
45
|
-
spec.add_dependency 'helper_classes', '0.3.1'
|
46
43
|
spec.add_development_dependency 'perftools.rb', '2.0.1'
|
47
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
44
|
+
spec.add_development_dependency 'bundler', '~> 1.9'
|
48
45
|
spec.add_development_dependency 'rake', '~> 10.0'
|
49
46
|
end
|
50
47
|
|
data/test/config.yaml
CHANGED
data/test/qv_view.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qooxview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linus Gasser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: helper_classes
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.3.5
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.3.5
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: activemodel
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,47 +207,19 @@ dependencies:
|
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: 0.5.1
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
210
|
+
name: iniparse
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
198
212
|
requirements:
|
199
213
|
- - '='
|
200
214
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
202
|
-
type: :runtime
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - '='
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: 0.5.2
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: pdf-core
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - '='
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: 0.5.1
|
216
|
-
type: :runtime
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - '='
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.5.1
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: prawn
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - '='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 2.0.1
|
215
|
+
version: 1.4.0
|
230
216
|
type: :runtime
|
231
217
|
prerelease: false
|
232
218
|
version_requirements: !ruby/object:Gem::Requirement
|
233
219
|
requirements:
|
234
220
|
- - '='
|
235
221
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
222
|
+
version: 1.4.0
|
237
223
|
- !ruby/object:Gem::Dependency
|
238
224
|
name: rqrcode
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,20 +276,6 @@ dependencies:
|
|
290
276
|
- - '='
|
291
277
|
- !ruby/object:Gem::Version
|
292
278
|
version: 1.2.3
|
293
|
-
- !ruby/object:Gem::Dependency
|
294
|
-
name: ttfunk
|
295
|
-
requirement: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - '='
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: 1.4.0
|
300
|
-
type: :runtime
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: !ruby/object:Gem::Requirement
|
303
|
-
requirements:
|
304
|
-
- - '='
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: 1.4.0
|
307
279
|
- !ruby/object:Gem::Dependency
|
308
280
|
name: docsplit
|
309
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -332,20 +304,6 @@ dependencies:
|
|
332
304
|
- - '='
|
333
305
|
- !ruby/object:Gem::Version
|
334
306
|
version: 0.5.4
|
335
|
-
- !ruby/object:Gem::Dependency
|
336
|
-
name: helper_classes
|
337
|
-
requirement: !ruby/object:Gem::Requirement
|
338
|
-
requirements:
|
339
|
-
- - '='
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: 0.3.1
|
342
|
-
type: :runtime
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
requirements:
|
346
|
-
- - '='
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: 0.3.1
|
349
307
|
- !ruby/object:Gem::Dependency
|
350
308
|
name: perftools.rb
|
351
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -366,14 +324,14 @@ dependencies:
|
|
366
324
|
requirements:
|
367
325
|
- - "~>"
|
368
326
|
- !ruby/object:Gem::Version
|
369
|
-
version: '1.
|
327
|
+
version: '1.9'
|
370
328
|
type: :development
|
371
329
|
prerelease: false
|
372
330
|
version_requirements: !ruby/object:Gem::Requirement
|
373
331
|
requirements:
|
374
332
|
- - "~>"
|
375
333
|
- !ruby/object:Gem::Version
|
376
|
-
version: '1.
|
334
|
+
version: '1.9'
|
377
335
|
- !ruby/object:Gem::Dependency
|
378
336
|
name: rake
|
379
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -956,7 +914,6 @@ files:
|
|
956
914
|
- lib/qooxview/storages/ldap.rb
|
957
915
|
- lib/qooxview/storages/sqlite.rb
|
958
916
|
- lib/qooxview/value.rb
|
959
|
-
- lib/qooxview/version.rb
|
960
917
|
- lib/qooxview/view.rb
|
961
918
|
- qooxview.gemspec
|
962
919
|
- test/benchmark_creation.rb
|
data/lib/qooxview/version.rb
DELETED