-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated GEM config to best practices.
Also added travis-ci support & gemnasium.
- Loading branch information
Showing
10 changed files
with
47 additions
and
71 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.bundle | ||
.rvmrc | ||
doc | ||
Gemfile.lock |
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,4 @@ | ||
language: ruby | ||
rvm: | ||
- "1.9.3" | ||
- "2.0.0" |
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 |
---|---|---|
@@ -1,9 +1,3 @@ | ||
source :rubygems | ||
source "https://rubygems.org" | ||
gemspec | ||
|
||
group :development do | ||
# gem "awesome_print" | ||
gem "micro_test" | ||
gem "micro_mock" | ||
gem "pry" | ||
# gem "pry-stack_explorer" | ||
end |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require "bundler/gem_tasks" | ||
|
||
task :default => [:test] | ||
|
||
desc "Runs the test suite." | ||
task :test do | ||
ENV["TEST"] = "1" | ||
output = `bundle exec mt` | ||
puts output | ||
exit output.index(/tests\sfinished.*failed/).nil? | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
require "rake" | ||
# -*- encoding: utf-8 -*- | ||
require File.join(File.dirname(__FILE__), "lib", "hero", "version") | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "hero" | ||
spec.version = Hero::VERSION | ||
spec.license = "MIT" | ||
spec.homepage = "http://hopsoft.github.com/hero/" | ||
spec.summary = "Think of Hero as a simplified state machine." | ||
spec.description = <<-DESC | ||
Simplify your app by effectively modeling business processes within it. | ||
DESC | ||
Gem::Specification.new do |gem| | ||
gem.name = "hero" | ||
gem.license = "MIT" | ||
gem.version = Hero::VERSION | ||
gem.authors = ["Nathan Hopkins"] | ||
gem.email = ["natehop@gmail.com"] | ||
gem.homepage = "http://hopsoft.github.com/hero/" | ||
gem.summary = "Think of Hero as a simplified state machine." | ||
gem.description = "Think of Hero as a simplified state machine." | ||
|
||
spec.authors = ["Nathan Hopkins"] | ||
spec.email = ["natehop@gmail.com"] | ||
gem.files = Dir["lib/**/*.rb", "bin/*", "[A-Z]*"] | ||
gem.test_files = Dir["test/**/*.rb"] | ||
|
||
spec.files = FileList[ | ||
"lib/**/*.rb", | ||
"bin/*", | ||
"[A-Z]*", | ||
"test/**/*.rb" | ||
] | ||
gem.add_development_dependency "micro_test" | ||
gem.add_development_dependency "micro_mock" | ||
gem.add_development_dependency "pry" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Hero | ||
VERSION = "0.1.7" | ||
VERSION = "0.1.8" | ||
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