forked from ryanza/stateflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added bundler, fixed persistence tests
- Loading branch information
Ryan Oberholzer
committed
Dec 7, 2010
1 parent
aab191d
commit 6edb5c0
Showing
8 changed files
with
198 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ doc | |
*.gem | ||
.redcar | ||
**.swp | ||
|
||
.bundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source "http://rubygems.org" | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
stateflow (0.2.3) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
activemodel (3.0.3) | ||
activesupport (= 3.0.3) | ||
builder (~> 2.1.2) | ||
i18n (~> 0.4) | ||
activerecord (3.0.3) | ||
activemodel (= 3.0.3) | ||
activesupport (= 3.0.3) | ||
arel (~> 2.0.2) | ||
tzinfo (~> 0.3.23) | ||
activesupport (3.0.3) | ||
arel (2.0.6) | ||
bson (1.1.4) | ||
builder (2.1.2) | ||
diff-lcs (1.1.2) | ||
durran-validatable (2.0.1) | ||
i18n (0.5.0) | ||
leshill-will_paginate (2.3.11) | ||
mongo (1.1.4) | ||
bson (>= 1.1.1) | ||
mongoid (1.0.6) | ||
activesupport (>= 2.2.2) | ||
durran-validatable (>= 2.0.1) | ||
leshill-will_paginate (>= 2.3.11) | ||
mongo (>= 0.18.2) | ||
rspec (2.2.0) | ||
rspec-core (~> 2.2) | ||
rspec-expectations (~> 2.2) | ||
rspec-mocks (~> 2.2) | ||
rspec-core (2.2.1) | ||
rspec-expectations (2.2.0) | ||
diff-lcs (~> 1.1.2) | ||
rspec-mocks (2.2.0) | ||
tzinfo (0.3.23) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activerecord | ||
mongoid | ||
rspec | ||
stateflow! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ Echoe.new('stateflow', '0.2.3') do |p| | |
p.author = "Ryan Oberholzer" | ||
p.email = "[email protected]" | ||
p.ignore_pattern = ["tmp/*", "script/*"] | ||
p.development_dependencies = ["rspec"] | ||
end | ||
p.development_dependencies = ["rspec", "activerecord", "mongoid"] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |s| | |
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Ryan Oberholzer"] | ||
s.date = %q{2010-11-16} | ||
s.date = %q{2010-12-07} | ||
s.description = %q{State machine that allows dynamic transitions for business workflows} | ||
s.email = %q{[email protected]} | ||
s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc", "lib/stateflow.rb", "lib/stateflow/event.rb", "lib/stateflow/exception.rb", "lib/stateflow/machine.rb", "lib/stateflow/persistence.rb", "lib/stateflow/persistence/active_record.rb", "lib/stateflow/persistence/mongo_mapper.rb", "lib/stateflow/persistence/mongoid.rb", "lib/stateflow/persistence/none.rb", "lib/stateflow/state.rb", "lib/stateflow/transition.rb"] | ||
|
@@ -24,10 +24,16 @@ Gem::Specification.new do |s| | |
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<rspec>, [">= 0"]) | ||
s.add_development_dependency(%q<activerecord>, [">= 0"]) | ||
s.add_development_dependency(%q<mongoid>, [">= 0"]) | ||
else | ||
s.add_dependency(%q<rspec>, [">= 0"]) | ||
s.add_dependency(%q<activerecord>, [">= 0"]) | ||
s.add_dependency(%q<mongoid>, [">= 0"]) | ||
end | ||
else | ||
s.add_dependency(%q<rspec>, [">= 0"]) | ||
s.add_dependency(%q<activerecord>, [">= 0"]) | ||
s.add_dependency(%q<mongoid>, [">= 0"]) | ||
end | ||
end |