stonepath 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stonepath.rb +2 -0
- metadata +3 -4
- data/stonepath.gemspec +0 -140
data/lib/stonepath.rb
CHANGED
@@ -2,6 +2,8 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
3
|
|
4
4
|
module StonePath
|
5
|
+
require 'stonepath/railtie' if defined?(Rails)
|
6
|
+
|
5
7
|
# main hook into the framework. From here, this should simply have methods that cause other includes to happen.
|
6
8
|
def self.included(base)
|
7
9
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stonepath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Bock
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- script/console
|
112
112
|
- script/destroy
|
113
113
|
- script/generate
|
114
|
-
- stonepath.gemspec
|
115
114
|
- stonepath.pdf
|
116
115
|
- test/app_root/app/controllers/application_controller.rb
|
117
116
|
- test/app_root/app/models/assignment.rb
|
data/stonepath.gemspec
DELETED
@@ -1,140 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{stonepath}
|
8
|
-
s.version = "0.6.0"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["David Bock"]
|
12
|
-
s.date = %q{2011-01-24}
|
13
|
-
s.description = %q{Stateful workflow modeling for Rails}
|
14
|
-
s.email = %q{dbock@codesherpas.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
"History.txt",
|
20
|
-
"Manifest.txt",
|
21
|
-
"PostInstall.txt",
|
22
|
-
"README.rdoc",
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION",
|
25
|
-
"lib/generators/stonepath.rb",
|
26
|
-
"lib/generators/stonepath/event_log/event_log_generator.rb",
|
27
|
-
"lib/generators/stonepath/event_log/templates/create_event_records.rb",
|
28
|
-
"lib/generators/stonepath/event_log/templates/event_record.rb",
|
29
|
-
"lib/generators/stonepath/events_scaffold/events_scaffold_generator.rb",
|
30
|
-
"lib/generators/stonepath/task/USAGE",
|
31
|
-
"lib/generators/stonepath/task/task_generator.rb",
|
32
|
-
"lib/generators/stonepath/task/templates/migration.rb",
|
33
|
-
"lib/generators/stonepath/task/templates/task.rb",
|
34
|
-
"lib/generators/stonepath/workitem_model/templates/migration.rb",
|
35
|
-
"lib/generators/stonepath/workitem_model/templates/model.rb",
|
36
|
-
"lib/generators/stonepath/workitem_model/workitem_model_generator.rb",
|
37
|
-
"lib/generators/stonepath/workitem_scaffold/templates/model.rb",
|
38
|
-
"lib/generators/stonepath/workitem_scaffold/workitem_scaffold_generator.rb",
|
39
|
-
"lib/stonepath.rb",
|
40
|
-
"lib/stonepath/config.rb",
|
41
|
-
"lib/stonepath/dot.rb",
|
42
|
-
"lib/stonepath/event_logging.rb",
|
43
|
-
"lib/stonepath/extensions/action_view.rb",
|
44
|
-
"lib/stonepath/extensions/rails_generator_commands.rb",
|
45
|
-
"lib/stonepath/railtie.rb",
|
46
|
-
"lib/stonepath/task.rb",
|
47
|
-
"lib/stonepath/work_bench.rb",
|
48
|
-
"lib/stonepath/work_item.rb",
|
49
|
-
"lib/stonepath/work_owner.rb",
|
50
|
-
"lib/tasks/stonepath.rake",
|
51
|
-
"rails/init.rb",
|
52
|
-
"script/console",
|
53
|
-
"script/destroy",
|
54
|
-
"script/generate",
|
55
|
-
"stonepath.gemspec",
|
56
|
-
"stonepath.pdf",
|
57
|
-
"test/app_root/app/controllers/application_controller.rb",
|
58
|
-
"test/app_root/app/models/assignment.rb",
|
59
|
-
"test/app_root/app/models/case.rb",
|
60
|
-
"test/app_root/app/models/custom_assignment.rb",
|
61
|
-
"test/app_root/app/models/event_record.rb",
|
62
|
-
"test/app_root/app/models/user.rb",
|
63
|
-
"test/app_root/config/boot.rb",
|
64
|
-
"test/app_root/config/database.yml",
|
65
|
-
"test/app_root/config/environment.rb",
|
66
|
-
"test/app_root/config/environments/in_memory.rb",
|
67
|
-
"test/app_root/config/environments/mysql.rb",
|
68
|
-
"test/app_root/config/environments/postgresql.rb",
|
69
|
-
"test/app_root/config/environments/sqlite.rb",
|
70
|
-
"test/app_root/config/environments/sqlite3.rb",
|
71
|
-
"test/app_root/config/routes.rb",
|
72
|
-
"test/app_root/db/migrate/01_create_users.rb",
|
73
|
-
"test/app_root/db/migrate/02_create_assignments.rb",
|
74
|
-
"test/app_root/db/migrate/03_create_cases.rb",
|
75
|
-
"test/app_root/db/migrate/04_create_event_records.rb",
|
76
|
-
"test/app_root/lib/console_with_fixtures.rb",
|
77
|
-
"test/app_root/log/.gitignore",
|
78
|
-
"test/app_root/script/console",
|
79
|
-
"test/custom_task_test.rb",
|
80
|
-
"test/fixtures/users.yml",
|
81
|
-
"test/logging_test.rb",
|
82
|
-
"test/stonepath_test.rb",
|
83
|
-
"test/task_test.rb",
|
84
|
-
"test/test_helper.rb",
|
85
|
-
"test/workitem_test.rb",
|
86
|
-
"test/workowner_test.rb"
|
87
|
-
]
|
88
|
-
s.homepage = %q{http://github.com/bokmann/stonepath}
|
89
|
-
s.require_paths = ["lib"]
|
90
|
-
s.rubygems_version = %q{1.3.7}
|
91
|
-
s.summary = %q{Stonepath: stateful workflow modeling for rails}
|
92
|
-
s.test_files = [
|
93
|
-
"test/app_root/app/controllers/application_controller.rb",
|
94
|
-
"test/app_root/app/models/assignment.rb",
|
95
|
-
"test/app_root/app/models/case.rb",
|
96
|
-
"test/app_root/app/models/custom_assignment.rb",
|
97
|
-
"test/app_root/app/models/event_record.rb",
|
98
|
-
"test/app_root/app/models/user.rb",
|
99
|
-
"test/app_root/config/boot.rb",
|
100
|
-
"test/app_root/config/environment.rb",
|
101
|
-
"test/app_root/config/environments/in_memory.rb",
|
102
|
-
"test/app_root/config/environments/mysql.rb",
|
103
|
-
"test/app_root/config/environments/postgresql.rb",
|
104
|
-
"test/app_root/config/environments/sqlite.rb",
|
105
|
-
"test/app_root/config/environments/sqlite3.rb",
|
106
|
-
"test/app_root/config/routes.rb",
|
107
|
-
"test/app_root/db/migrate/01_create_users.rb",
|
108
|
-
"test/app_root/db/migrate/02_create_assignments.rb",
|
109
|
-
"test/app_root/db/migrate/03_create_cases.rb",
|
110
|
-
"test/app_root/db/migrate/04_create_event_records.rb",
|
111
|
-
"test/app_root/lib/console_with_fixtures.rb",
|
112
|
-
"test/custom_task_test.rb",
|
113
|
-
"test/logging_test.rb",
|
114
|
-
"test/stonepath_test.rb",
|
115
|
-
"test/task_test.rb",
|
116
|
-
"test/test_helper.rb",
|
117
|
-
"test/workitem_test.rb",
|
118
|
-
"test/workowner_test.rb"
|
119
|
-
]
|
120
|
-
|
121
|
-
if s.respond_to? :specification_version then
|
122
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
123
|
-
s.specification_version = 3
|
124
|
-
|
125
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
126
|
-
s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
|
127
|
-
s.add_runtime_dependency(%q<aasm>, [">= 2.2.0"])
|
128
|
-
s.add_runtime_dependency(%q<sentient_user>, [">= 0.3.2"])
|
129
|
-
else
|
130
|
-
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
131
|
-
s.add_dependency(%q<aasm>, [">= 2.2.0"])
|
132
|
-
s.add_dependency(%q<sentient_user>, [">= 0.3.2"])
|
133
|
-
end
|
134
|
-
else
|
135
|
-
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
136
|
-
s.add_dependency(%q<aasm>, [">= 2.2.0"])
|
137
|
-
s.add_dependency(%q<sentient_user>, [">= 0.3.2"])
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|