ruote-kit 2.2.0.3 → 2.3.0.2
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/CHANGELOG.txt +28 -1
- data/CREDITS.txt +8 -2
- data/LICENSE.txt +1 -1
- data/Rakefile +21 -9
- data/lib/ruote-kit.rb +13 -4
- data/lib/ruote-kit/core_ext.rb +15 -0
- data/lib/ruote-kit/helpers/json_helpers.rb +22 -7
- data/lib/ruote-kit/helpers/link_helpers.rb +9 -7
- data/lib/ruote-kit/helpers/pagination_helpers.rb +1 -2
- data/lib/ruote-kit/helpers/render_helpers.rb +1 -1
- data/lib/ruote-kit/public/_ruote/images/favicon.png +0 -0
- data/lib/ruote-kit/public/_ruote/images/{ruote_buttons.png → ruote-buttons.png} +0 -0
- data/lib/ruote-kit/public/_ruote/images/ruote.png +0 -0
- data/lib/ruote-kit/public/_ruote/javascripts/foolbox-all.min.js +3 -0
- data/lib/ruote-kit/public/_ruote/javascripts/jquery-1.9.1.min.js +5 -0
- data/lib/ruote-kit/public/_ruote/javascripts/rk.js +68 -17
- data/lib/ruote-kit/public/_ruote/javascripts/ruote-fluo-all.min.js +3 -0
- data/lib/ruote-kit/public/_ruote/stylesheets/rk.css +82 -12
- data/lib/ruote-kit/public/_ruote/stylesheets/ruote-buttons.png +0 -0
- data/lib/ruote-kit/public/_ruote/stylesheets/ruote-fluo-editor.css +9 -6
- data/lib/ruote-kit/public/_ruote/stylesheets/ruote-fluo.css +62 -0
- data/lib/ruote-kit/resources/errors.rb +8 -3
- data/lib/ruote-kit/resources/expressions.rb +38 -35
- data/lib/ruote-kit/resources/participants.rb +1 -1
- data/lib/ruote-kit/resources/processes.rb +61 -4
- data/lib/ruote-kit/resources/workitems.rb +4 -4
- data/lib/ruote-kit/version.rb +1 -1
- data/lib/ruote-kit/views/_pagination.html.haml +2 -2
- data/lib/ruote-kit/views/_tree_editor.html.haml +63 -30
- data/lib/ruote-kit/views/error.html.haml +50 -9
- data/lib/ruote-kit/views/errors.html.haml +1 -1
- data/lib/ruote-kit/views/expression.html.haml +83 -33
- data/lib/ruote-kit/views/expressions.html.haml +23 -8
- data/lib/ruote-kit/views/http_error.html.haml +9 -2
- data/lib/ruote-kit/views/layout.html.haml +14 -13
- data/lib/ruote-kit/views/process.html.haml +75 -20
- data/lib/ruote-kit/views/processes.html.haml +9 -3
- data/lib/ruote-kit/views/processes_new.html.haml +19 -2
- data/lib/ruote-kit/views/schedules.html.haml +2 -2
- data/lib/ruote-kit/views/workitem.html.haml +17 -6
- data/ruote-kit.gemspec +9 -7
- data/spec/cases/orphan_workitem_spec.rb +141 -0
- data/spec/core_ext_spec.rb +19 -0
- data/spec/resources/errors_spec.rb +182 -156
- data/spec/resources/expressions_spec.rb +497 -379
- data/spec/resources/index_spec.rb +5 -5
- data/spec/resources/participants_spec.rb +64 -75
- data/spec/resources/processes_spec.rb +396 -277
- data/spec/resources/schedules_spec.rb +92 -76
- data/spec/resources/workitems_spec.rb +352 -343
- data/spec/ruote-kit_configure_spec.rb +41 -13
- data/spec/spec_helper.rb +6 -8
- data/spec/support/link_helper.rb +11 -0
- data/spec/webapp_helpers_spec.rb +29 -23
- metadata +161 -180
- data/README.rdoc +0 -313
- data/lib/ruote-kit/public/_ruote/images/favicon.ico +0 -0
- data/lib/ruote-kit/public/_ruote/javascripts/jquery-1.4.2.min.js +0 -154
- data/lib/ruote-kit/public/_ruote/javascripts/ruote-fluo-editor.js +0 -548
- data/lib/ruote-kit/public/_ruote/javascripts/ruote-fluo.js +0 -1118
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
require
|
2
|
+
require 'spec_helper'
|
3
3
|
|
4
4
|
undef :context if defined?(context)
|
5
5
|
|
@@ -12,45 +12,73 @@ describe RuoteKit do
|
|
12
12
|
# RuoteKit.run_worker(Ruote::HashStorage.new)
|
13
13
|
# end
|
14
14
|
#
|
15
|
-
# it '
|
15
|
+
# it 'instantiates an engine' do
|
16
16
|
# RuoteKit.engine.should_not == nil
|
17
17
|
# end
|
18
18
|
#
|
19
|
-
# it '
|
19
|
+
# it 'instantiates an engine with a worker' do
|
20
20
|
# RuoteKit.engine.worker.should_not == nil
|
21
21
|
# end
|
22
22
|
#
|
23
|
-
# it '
|
23
|
+
# it 'instantiates an engine bound to a storage' do
|
24
24
|
# RuoteKit.engine.storage.class.should == Ruote::HashStorage
|
25
25
|
# end
|
26
26
|
# end
|
27
27
|
|
28
|
-
describe '
|
28
|
+
describe 'direct engine setting' do
|
29
|
+
|
30
|
+
# stupid illustrative spec
|
31
|
+
|
32
|
+
it 'complies' do
|
33
|
+
RuoteKit.engine = Ruote::Engine.new(Ruote::HashStorage.new)
|
34
|
+
RuoteKit.engine.should_not == nil
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe '.bind_engine' do
|
29
39
|
|
30
40
|
before(:each) do
|
31
41
|
RuoteKit.bind_engine(Ruote::HashStorage.new)
|
32
42
|
end
|
33
43
|
|
34
|
-
it '
|
44
|
+
it 'instantiates an engine' do
|
35
45
|
RuoteKit.engine.should_not == nil
|
36
46
|
end
|
37
47
|
|
38
|
-
it '
|
48
|
+
it 'instantiates an engine without a worker' do
|
39
49
|
RuoteKit.engine.worker.should == nil
|
40
50
|
end
|
41
51
|
|
42
|
-
it '
|
52
|
+
it 'instantiates an engine bound to a storage' do
|
43
53
|
RuoteKit.engine.storage.class.should == Ruote::HashStorage
|
44
54
|
end
|
45
55
|
end
|
46
56
|
|
47
|
-
describe '
|
57
|
+
describe '.engine' do
|
48
58
|
|
49
|
-
|
59
|
+
it 'returns the Dashboard' do
|
60
|
+
RuoteKit.engine.class.should == Ruote::Dashboard
|
61
|
+
end
|
62
|
+
end
|
50
63
|
|
51
|
-
|
52
|
-
|
53
|
-
|
64
|
+
describe '.dashboard' do
|
65
|
+
|
66
|
+
it 'returns the Dashboard' do
|
67
|
+
RuoteKit.dashboard.class.should == Ruote::Dashboard
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe '.storage_participant' do
|
72
|
+
|
73
|
+
it 'returns the StorageParticipant' do
|
74
|
+
RuoteKit.storage_participant.class.should == Ruote::StorageParticipant
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe '.worklist' do
|
79
|
+
|
80
|
+
it 'returns the StorageParticipant' do
|
81
|
+
RuoteKit.worklist.class.should == Ruote::StorageParticipant
|
54
82
|
end
|
55
83
|
end
|
56
84
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
|
2
|
-
HERE = File.dirname(__FILE__) unless defined?(HERE)
|
3
|
-
|
4
2
|
ENV['RACK_ENV'] = 'test'
|
5
3
|
|
6
|
-
require 'bundler'
|
7
|
-
Bundler.setup(:default, :test)
|
8
|
-
|
9
4
|
require 'rspec'
|
10
5
|
require 'rack/test'
|
11
6
|
require 'webrat'
|
@@ -21,10 +16,12 @@ rescue LoadError
|
|
21
16
|
end
|
22
17
|
end
|
23
18
|
|
24
|
-
require File.join(HERE, '../lib/ruote-kit')
|
25
|
-
require 'ruote/log/test_logger'
|
26
19
|
|
27
|
-
|
20
|
+
SPEC_ROOT = File.expand_path('..', __FILE__) unless defined?(SPEC_ROOT)
|
21
|
+
|
22
|
+
require File.join(SPEC_ROOT, '../lib/ruote-kit')
|
23
|
+
|
24
|
+
Dir[File.join(SPEC_ROOT, 'support/**/*.rb')].each { |f| require(f) }
|
28
25
|
|
29
26
|
|
30
27
|
RSpec.configure do |config|
|
@@ -43,6 +40,7 @@ RSpec.configure do |config|
|
|
43
40
|
|
44
41
|
config.include RenderHelper
|
45
42
|
config.include EngineHelper
|
43
|
+
config.include LinkHelper
|
46
44
|
|
47
45
|
RuoteKit::Application.included_modules.each do |klass|
|
48
46
|
config.include(klass) if klass.name =~ /RuoteKit::Helpers::\w+Helpers/
|
data/spec/webapp_helpers_spec.rb
CHANGED
@@ -1,42 +1,42 @@
|
|
1
1
|
|
2
|
-
require
|
2
|
+
require 'spec_helper'
|
3
3
|
|
4
4
|
|
5
5
|
describe RuoteKit::Helpers::RenderHelpers do
|
6
6
|
|
7
7
|
describe 'alink()' do
|
8
8
|
|
9
|
-
it '
|
9
|
+
it 'links to top resources' do
|
10
10
|
|
11
11
|
alink(:processes).should ==
|
12
12
|
'<a href="/_ruote/processes" rel="http://ruote.rubyforge.org/rels.html#processes" title="/_ruote/processes">/_ruote/processes</a>'
|
13
13
|
end
|
14
14
|
|
15
|
-
it '
|
15
|
+
it 'links to identified resources' do
|
16
16
|
|
17
17
|
alink(:processes, '20120808-tokushima').should ==
|
18
18
|
'<a href="/_ruote/processes/20120808-tokushima" rel="http://ruote.rubyforge.org/rels.html#process" title="/_ruote/processes/20120808-tokushima">/_ruote/processes/20120808-tokushima</a>'
|
19
19
|
end
|
20
20
|
|
21
|
-
it '
|
21
|
+
it 'accepts a custom :text' do
|
22
22
|
|
23
23
|
alink(:processes, :text => 'processes').should ==
|
24
24
|
'<a href="/_ruote/processes" rel="http://ruote.rubyforge.org/rels.html#processes" title="/_ruote/processes">processes</a>'
|
25
25
|
end
|
26
26
|
|
27
|
-
it '
|
27
|
+
it 'aggregates non-:text options into the query string' do
|
28
28
|
|
29
29
|
alink(:processes, :skip => 3, :limit => 4).should ==
|
30
30
|
'<a href="/_ruote/processes?limit=4&skip=3" rel="http://ruote.rubyforge.org/rels.html#processes" title="/_ruote/processes?limit=4&skip=3">/_ruote/processes?limit=4&skip=3</a>'
|
31
31
|
end
|
32
32
|
|
33
|
-
it '
|
33
|
+
it 'accepts a custom :rel' do
|
34
34
|
|
35
35
|
alink(:processes, :rel => 'last').should ==
|
36
36
|
'<a href="/_ruote/processes" rel="last" title="/_ruote/processes">/_ruote/processes</a>'
|
37
37
|
end
|
38
38
|
|
39
|
-
it '
|
39
|
+
it 'accepts a :head id for processes, errors, schedules and workitems' do
|
40
40
|
|
41
41
|
self.instance_eval do
|
42
42
|
def settings; OpenStruct.new(:limit => 100); end
|
@@ -56,7 +56,10 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
56
56
|
class << @resource
|
57
57
|
include RuoteKit::Helpers::LinkHelpers
|
58
58
|
include RuoteKit::Helpers::JsonHelpers
|
59
|
+
include Sinatra::Helpers
|
60
|
+
|
59
61
|
attr_accessor :processes, :count, :skip, :limit, :request
|
62
|
+
|
60
63
|
def settings
|
61
64
|
OpenStruct.new(:limit => @limit)
|
62
65
|
end
|
@@ -64,7 +67,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
64
67
|
@resource.request = OpenStruct.new(:fullpath => '/_ruote/processes')
|
65
68
|
end
|
66
69
|
|
67
|
-
it '
|
70
|
+
it 'paginates correctly' do
|
68
71
|
|
69
72
|
@resource.processes = (1..201).to_a
|
70
73
|
@resource.count = @resource.processes.size
|
@@ -104,7 +107,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
104
107
|
@resource.request = OpenStruct.new(:path => '/_ruote/processes')
|
105
108
|
end
|
106
109
|
|
107
|
-
it '
|
110
|
+
it 'paginates correctly (1st page)' do
|
108
111
|
|
109
112
|
@resource.count = 201
|
110
113
|
@resource.skip = 0
|
@@ -126,7 +129,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
126
129
|
'a', :href => '/_ruote/processes?limit=7&skip=196', :rel => 'last')
|
127
130
|
end
|
128
131
|
|
129
|
-
it '
|
132
|
+
it 'paginates correctly (2nd page)' do
|
130
133
|
|
131
134
|
@resource.count = 201
|
132
135
|
@resource.skip = 7
|
@@ -148,7 +151,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
148
151
|
'a', :href => '/_ruote/processes?limit=7&skip=196', :rel => 'last')
|
149
152
|
end
|
150
153
|
|
151
|
-
it '
|
154
|
+
it 'paginates correctly (3rd page)' do
|
152
155
|
|
153
156
|
@resource.count = 201
|
154
157
|
@resource.skip = 14
|
@@ -170,7 +173,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
170
173
|
'a', :href => '/_ruote/processes?limit=7&skip=196', :rel => 'last')
|
171
174
|
end
|
172
175
|
|
173
|
-
it '
|
176
|
+
it 'paginates correctly (right before last page)' do
|
174
177
|
|
175
178
|
@resource.count = 201
|
176
179
|
@resource.skip = 189
|
@@ -192,7 +195,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
192
195
|
'a', :href => '/_ruote/processes?limit=7&skip=196', :rel => 'last')
|
193
196
|
end
|
194
197
|
|
195
|
-
it '
|
198
|
+
it 'paginates correctly (last page)' do
|
196
199
|
|
197
200
|
@resource.count = 201
|
198
201
|
@resource.skip = 196
|
@@ -214,7 +217,7 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
214
217
|
# 'a', :href => '/_ruote/processes?limit=7&skip=196', :rel => 'last')
|
215
218
|
end
|
216
219
|
|
217
|
-
it '
|
220
|
+
it 'paginates correctly (corner case 3 items, limit 3)' do
|
218
221
|
|
219
222
|
@resource.count = 3
|
220
223
|
@resource.skip = 0
|
@@ -234,10 +237,9 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
234
237
|
'a', :rel => 'next')
|
235
238
|
html.should_not have_selector(
|
236
239
|
'a', :rel => 'last')
|
237
|
-
|
238
240
|
end
|
239
241
|
|
240
|
-
it '
|
242
|
+
it 'paginates correctly (corner case 30 items, limit 10, skip 20)' do
|
241
243
|
|
242
244
|
@resource.count = 30
|
243
245
|
@resource.skip = 20
|
@@ -249,10 +251,9 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
249
251
|
'a', :rel => 'next')
|
250
252
|
html.should_not have_selector(
|
251
253
|
'a', :rel => 'last')
|
252
|
-
|
253
254
|
end
|
254
255
|
|
255
|
-
it '
|
256
|
+
it 'does not show there is an item if there is none' do
|
256
257
|
|
257
258
|
@resource.count = 0
|
258
259
|
@resource.skip = 0
|
@@ -272,10 +273,9 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
272
273
|
'a', :rel => 'next')
|
273
274
|
html.should_not have_selector(
|
274
275
|
'a', :rel => 'last')
|
275
|
-
|
276
276
|
end
|
277
277
|
|
278
|
-
it '
|
278
|
+
it 'ignores negative values for skip param' do
|
279
279
|
|
280
280
|
@resource.count = 10
|
281
281
|
@resource.skip = -5
|
@@ -287,10 +287,9 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
287
287
|
|
288
288
|
# perhaps a redirection to the same url but with a sane param would be
|
289
289
|
# more appropriate?
|
290
|
-
|
291
290
|
end
|
292
291
|
|
293
|
-
it '
|
292
|
+
it 'ignores values for the skip param larger than the number of items' do
|
294
293
|
|
295
294
|
@resource.count = 10
|
296
295
|
@resource.skip = 20
|
@@ -302,9 +301,16 @@ describe RuoteKit::Helpers::RenderHelpers do
|
|
302
301
|
|
303
302
|
# perhaps a redirection to the same url but with a sane param would be
|
304
303
|
# more appropriate?
|
305
|
-
|
306
304
|
end
|
305
|
+
end
|
306
|
+
|
307
|
+
private
|
307
308
|
|
309
|
+
# Simulates Sinatra::Helpers#uri.
|
310
|
+
def uri(addr = nil, absolute = true, add_script_name = true)
|
311
|
+
addr
|
308
312
|
end
|
313
|
+
alias :url :uri
|
314
|
+
alias :to :uri
|
309
315
|
end
|
310
316
|
|
metadata
CHANGED
@@ -1,260 +1,241 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruote-kit
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.0.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
- 3
|
11
|
-
version: 2.2.0.3
|
12
6
|
platform: ruby
|
13
|
-
authors:
|
7
|
+
authors:
|
14
8
|
- Kenneth Kalmer
|
15
9
|
- Torsten Schoenebaum
|
16
10
|
- John Mettraux
|
17
11
|
autorequire:
|
18
12
|
bindir: bin
|
19
13
|
cert_chain: []
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
dependencies:
|
24
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2013-07-22 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
25
17
|
name: sinatra
|
26
|
-
|
27
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
28
19
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
33
|
-
segments:
|
34
|
-
- 1
|
35
|
-
- 0
|
36
|
-
version: "1.0"
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.2.0
|
37
24
|
type: :runtime
|
38
|
-
version_requirements: *id001
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: sinatra-respond_to
|
41
25
|
prerelease: false
|
42
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 1.2.0
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: sinatra-respond_to
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
43
35
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
48
|
-
segments:
|
49
|
-
- 0
|
50
|
-
- 5
|
51
|
-
- 0
|
52
|
-
version: 0.5.0
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.8.0
|
53
40
|
type: :runtime
|
54
|
-
version_requirements: *id002
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: haml
|
57
41
|
prerelease: false
|
58
|
-
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
43
|
none: false
|
60
|
-
requirements:
|
61
|
-
- -
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.0
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: haml
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 3.1.4
|
69
56
|
type: :runtime
|
70
|
-
version_requirements: *id003
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rufus-json
|
73
57
|
prerelease: false
|
74
|
-
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
59
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 3.1.4
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rufus-json
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
84
71
|
version: 0.2.5
|
85
72
|
type: :runtime
|
86
|
-
version_requirements: *id004
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: ruote
|
89
73
|
prerelease: false
|
90
|
-
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
75
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 0.2.5
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: ruote
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
100
87
|
version: 2.2.0
|
101
88
|
type: :runtime
|
102
|
-
version_requirements: *id005
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rspec
|
105
89
|
prerelease: false
|
106
|
-
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
91
|
none: false
|
108
|
-
requirements:
|
109
|
-
- -
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 2.2.0
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rspec
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.5.0
|
117
104
|
type: :development
|
118
|
-
version_requirements: *id006
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: rack-test
|
121
105
|
prerelease: false
|
122
|
-
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
107
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 2.5.0
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rack-test
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - '='
|
118
|
+
- !ruby/object:Gem::Version
|
132
119
|
version: 0.5.7
|
133
120
|
type: :development
|
134
|
-
version_requirements: *id007
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: webrat
|
137
121
|
prerelease: false
|
138
|
-
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
123
|
none: false
|
140
|
-
requirements:
|
141
|
-
- -
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
124
|
+
requirements:
|
125
|
+
- - '='
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: 0.5.7
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: webrat
|
130
|
+
requirement: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - '='
|
134
|
+
- !ruby/object:Gem::Version
|
148
135
|
version: 0.7.3
|
149
136
|
type: :development
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - '='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: 0.7.3
|
144
|
+
description: ! "\nruote workflow engine, wrapped in a loving rack embrace\n "
|
145
|
+
email:
|
156
146
|
- kenneth.kalmer@gmail.com
|
157
147
|
executables: []
|
158
|
-
|
159
148
|
extensions: []
|
160
|
-
|
161
149
|
extra_rdoc_files: []
|
162
|
-
|
163
|
-
files:
|
150
|
+
files:
|
164
151
|
- Rakefile
|
152
|
+
- lib/ruote-kit/core_ext.rb
|
165
153
|
- lib/ruote-kit/application.rb
|
166
|
-
- lib/ruote-kit/helpers/json_helpers.rb
|
167
|
-
- lib/ruote-kit/helpers/link_helpers.rb
|
168
154
|
- lib/ruote-kit/helpers/misc_helpers.rb
|
169
155
|
- lib/ruote-kit/helpers/pagination_helpers.rb
|
156
|
+
- lib/ruote-kit/helpers/link_helpers.rb
|
170
157
|
- lib/ruote-kit/helpers/render_helpers.rb
|
158
|
+
- lib/ruote-kit/helpers/json_helpers.rb
|
171
159
|
- lib/ruote-kit/resources/errors.rb
|
172
|
-
- lib/ruote-kit/resources/
|
160
|
+
- lib/ruote-kit/resources/schedules.rb
|
173
161
|
- lib/ruote-kit/resources/participants.rb
|
174
162
|
- lib/ruote-kit/resources/processes.rb
|
175
|
-
- lib/ruote-kit/resources/
|
163
|
+
- lib/ruote-kit/resources/expressions.rb
|
176
164
|
- lib/ruote-kit/resources/workitems.rb
|
177
165
|
- lib/ruote-kit/version.rb
|
178
166
|
- lib/ruote-kit.rb
|
179
|
-
- spec/
|
167
|
+
- spec/support/render_helper.rb
|
168
|
+
- spec/support/engine_helper.rb
|
169
|
+
- spec/support/rack_helper.rb
|
170
|
+
- spec/support/link_helper.rb
|
171
|
+
- spec/webapp_helpers_spec.rb
|
172
|
+
- spec/spec_helper.rb
|
180
173
|
- spec/resources/expressions_spec.rb
|
181
|
-
- spec/resources/index_spec.rb
|
182
|
-
- spec/resources/participants_spec.rb
|
183
|
-
- spec/resources/processes_spec.rb
|
184
174
|
- spec/resources/schedules_spec.rb
|
185
175
|
- spec/resources/workitems_spec.rb
|
176
|
+
- spec/resources/participants_spec.rb
|
177
|
+
- spec/resources/index_spec.rb
|
178
|
+
- spec/resources/processes_spec.rb
|
179
|
+
- spec/resources/errors_spec.rb
|
186
180
|
- spec/ruote-kit_configure_spec.rb
|
187
|
-
- spec/
|
188
|
-
- spec/
|
189
|
-
- spec/support/rack_helper.rb
|
190
|
-
- spec/support/render_helper.rb
|
191
|
-
- spec/webapp_helpers_spec.rb
|
181
|
+
- spec/cases/orphan_workitem_spec.rb
|
182
|
+
- spec/core_ext_spec.rb
|
192
183
|
- ruote-kit.gemspec
|
193
184
|
- CHANGELOG.txt
|
194
|
-
- CREDITS.txt
|
195
|
-
- LICENSE.txt
|
196
185
|
- TODO.txt
|
197
|
-
-
|
198
|
-
-
|
199
|
-
- lib/ruote-kit/public/_ruote/
|
200
|
-
- lib/ruote-kit/public/_ruote/
|
201
|
-
- lib/ruote-kit/public/_ruote/javascripts/
|
186
|
+
- LICENSE.txt
|
187
|
+
- CREDITS.txt
|
188
|
+
- lib/ruote-kit/public/_ruote/javascripts/jquery-1.9.1.min.js
|
189
|
+
- lib/ruote-kit/public/_ruote/javascripts/ruote-fluo-all.min.js
|
190
|
+
- lib/ruote-kit/public/_ruote/javascripts/foolbox-all.min.js
|
202
191
|
- lib/ruote-kit/public/_ruote/javascripts/rk.js
|
203
|
-
- lib/ruote-kit/public/_ruote/javascripts/ruote-fluo-editor.js
|
204
|
-
- lib/ruote-kit/public/_ruote/javascripts/ruote-fluo.js
|
205
|
-
- lib/ruote-kit/public/_ruote/stylesheets/reset.css
|
206
192
|
- lib/ruote-kit/public/_ruote/stylesheets/rk.css
|
207
193
|
- lib/ruote-kit/public/_ruote/stylesheets/ruote-fluo-editor.css
|
208
|
-
- lib/ruote-kit/
|
194
|
+
- lib/ruote-kit/public/_ruote/stylesheets/ruote-buttons.png
|
195
|
+
- lib/ruote-kit/public/_ruote/stylesheets/reset.css
|
196
|
+
- lib/ruote-kit/public/_ruote/stylesheets/ruote-fluo.css
|
197
|
+
- lib/ruote-kit/public/_ruote/images/ruote-buttons.png
|
198
|
+
- lib/ruote-kit/public/_ruote/images/ruote.png
|
199
|
+
- lib/ruote-kit/public/_ruote/images/favicon.png
|
200
|
+
- lib/ruote-kit/views/participants.html.haml
|
201
|
+
- lib/ruote-kit/views/layout.html.haml
|
209
202
|
- lib/ruote-kit/views/_tree_editor.html.haml
|
210
|
-
- lib/ruote-kit/views/error.html.haml
|
211
|
-
- lib/ruote-kit/views/errors.html.haml
|
212
203
|
- lib/ruote-kit/views/expression.html.haml
|
213
|
-
- lib/ruote-kit/views/
|
214
|
-
- lib/ruote-kit/views/http_error.html.haml
|
215
|
-
- lib/ruote-kit/views/index.html.haml
|
216
|
-
- lib/ruote-kit/views/layout.html.haml
|
217
|
-
- lib/ruote-kit/views/participants.html.haml
|
218
|
-
- lib/ruote-kit/views/process.html.haml
|
219
|
-
- lib/ruote-kit/views/process_launched.html.haml
|
220
|
-
- lib/ruote-kit/views/processes.html.haml
|
204
|
+
- lib/ruote-kit/views/_pagination.html.haml
|
221
205
|
- lib/ruote-kit/views/processes_new.html.haml
|
206
|
+
- lib/ruote-kit/views/process_launched.html.haml
|
207
|
+
- lib/ruote-kit/views/http_error.html.haml
|
222
208
|
- lib/ruote-kit/views/schedules.html.haml
|
223
|
-
- lib/ruote-kit/views/
|
209
|
+
- lib/ruote-kit/views/processes.html.haml
|
210
|
+
- lib/ruote-kit/views/errors.html.haml
|
224
211
|
- lib/ruote-kit/views/workitems.html.haml
|
225
|
-
|
212
|
+
- lib/ruote-kit/views/process.html.haml
|
213
|
+
- lib/ruote-kit/views/error.html.haml
|
214
|
+
- lib/ruote-kit/views/index.html.haml
|
215
|
+
- lib/ruote-kit/views/workitem.html.haml
|
216
|
+
- lib/ruote-kit/views/expressions.html.haml
|
226
217
|
homepage: http://github.com/tosch/ruote-kit
|
227
218
|
licenses: []
|
228
|
-
|
229
219
|
post_install_message:
|
230
220
|
rdoc_options: []
|
231
|
-
|
232
|
-
require_paths:
|
221
|
+
require_paths:
|
233
222
|
- lib
|
234
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
235
224
|
none: false
|
236
|
-
requirements:
|
237
|
-
- -
|
238
|
-
- !ruby/object:Gem::Version
|
239
|
-
|
240
|
-
|
241
|
-
- 0
|
242
|
-
version: "0"
|
243
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ! '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
230
|
none: false
|
245
|
-
requirements:
|
246
|
-
- -
|
247
|
-
- !ruby/object:Gem::Version
|
248
|
-
|
249
|
-
segments:
|
250
|
-
- 0
|
251
|
-
version: "0"
|
231
|
+
requirements:
|
232
|
+
- - ! '>='
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
252
235
|
requirements: []
|
253
|
-
|
254
236
|
rubyforge_project: ruote
|
255
|
-
rubygems_version: 1.
|
237
|
+
rubygems_version: 1.8.23
|
256
238
|
signing_key:
|
257
239
|
specification_version: 3
|
258
240
|
summary: ruote workflow engine, wrapped in a loving rack embrace
|
259
241
|
test_files: []
|
260
|
-
|