stonepath 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/stonepath.rb +0 -10
- metadata +2 -8
- data/lib/stonepath/group.rb +0 -18
- data/lib/stonepath/role.rb +0 -13
- data/test/group_test.rb +0 -20
- data/test/role_test.rb +0 -20
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/lib/stonepath.rb
CHANGED
@@ -24,16 +24,6 @@ module StonePath
|
|
24
24
|
require File.expand_path(File.dirname(__FILE__)) + "/stonepath/work_bench.rb"
|
25
25
|
include StonePath::WorkBench
|
26
26
|
end
|
27
|
-
|
28
|
-
def stonepath_group
|
29
|
-
require File.expand_path(File.dirname(__FILE__)) + "/stonepath/group.rb"
|
30
|
-
include StonePath::Group
|
31
|
-
end
|
32
|
-
|
33
|
-
def stonepath_role
|
34
|
-
require File.expand_path(File.dirname(__FILE__)) + "/stonepath/role.rb"
|
35
|
-
include StonePath::Role
|
36
|
-
end
|
37
27
|
|
38
28
|
def stonepath_workowner
|
39
29
|
require File.expand_path(File.dirname(__FILE__)) + "/stonepath/work_owner.rb"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stonepath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Bock
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-20 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -62,8 +62,6 @@ files:
|
|
62
62
|
- lib/stonepath/event_logging.rb
|
63
63
|
- lib/stonepath/extensions/action_view.rb
|
64
64
|
- lib/stonepath/extensions/rails_generator_commands.rb
|
65
|
-
- lib/stonepath/group.rb
|
66
|
-
- lib/stonepath/role.rb
|
67
65
|
- lib/stonepath/task.rb
|
68
66
|
- lib/stonepath/work_bench.rb
|
69
67
|
- lib/stonepath/work_item.rb
|
@@ -133,9 +131,7 @@ files:
|
|
133
131
|
- test/app_root/script/console
|
134
132
|
- test/custom_task_test.rb
|
135
133
|
- test/fixtures/users.yml
|
136
|
-
- test/group_test.rb
|
137
134
|
- test/logging_test.rb
|
138
|
-
- test/role_test.rb
|
139
135
|
- test/stonepath_test.rb
|
140
136
|
- test/task_test.rb
|
141
137
|
- test/test_helper.rb
|
@@ -190,9 +186,7 @@ test_files:
|
|
190
186
|
- test/app_root/db/migrate/04_create_event_records.rb
|
191
187
|
- test/app_root/lib/console_with_fixtures.rb
|
192
188
|
- test/custom_task_test.rb
|
193
|
-
- test/group_test.rb
|
194
189
|
- test/logging_test.rb
|
195
|
-
- test/role_test.rb
|
196
190
|
- test/stonepath_test.rb
|
197
191
|
- test/task_test.rb
|
198
192
|
- test/test_helper.rb
|
data/lib/stonepath/group.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# This is a concept that existed in the older Journeyman workflow engine, but I'm not sure
|
2
|
-
# that StonePath needs it. It is proving more worthwhile to ust rely on any number of other
|
3
|
-
# active_record models for providing group functionality, and you can see this id pretty much
|
4
|
-
# an empty stub.
|
5
|
-
|
6
|
-
# Groups were another aggregation of work much like users were. With the general concept of
|
7
|
-
# WorkBench, I think this will be leaving the framework soon.
|
8
|
-
# -db!
|
9
|
-
|
10
|
-
module StonePath
|
11
|
-
module Group
|
12
|
-
def self.included(base)
|
13
|
-
base.instance_eval do
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
data/lib/stonepath/role.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# This is a concept that existed in the older Journeyman workflow engine, but I'm not sure
|
2
|
-
# that StonePath needs it. It is proving more worthwhile to ust rely on any number of other
|
3
|
-
# gems for providing role functionality, and you can see this id pretty much an empty stub.
|
4
|
-
|
5
|
-
module StonePath
|
6
|
-
module Role
|
7
|
-
def self.included(base)
|
8
|
-
base.instance_eval do
|
9
|
-
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
data/test/group_test.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/test_helper.rb'
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
class GroupTest < Test::Unit::TestCase
|
6
|
-
|
7
|
-
def setup
|
8
|
-
end
|
9
|
-
|
10
|
-
should "include the Group module when declared as a stonepath_group" do
|
11
|
-
assert Group.included_modules.include?(StonePath::Group)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
class Group
|
17
|
-
include StonePath
|
18
|
-
|
19
|
-
stonepath_group
|
20
|
-
end
|
data/test/role_test.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/test_helper.rb'
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
class RoleTest < Test::Unit::TestCase
|
6
|
-
|
7
|
-
def setup
|
8
|
-
end
|
9
|
-
|
10
|
-
should "include the Role module when declared as a stonepath_role" do
|
11
|
-
assert Role.included_modules.include?(StonePath::Role)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
class Role
|
17
|
-
include StonePath
|
18
|
-
|
19
|
-
stonepath_role
|
20
|
-
end
|