From 55fdb422b6c29c145800d0e84653ff2ec6157f74 Mon Sep 17 00:00:00 2001 From: Nathan Hopkins Date: Tue, 20 Nov 2012 20:35:32 -0700 Subject: [PATCH] Updated some of the files for better gem structure. --- .gemspec | 18 ------------------ LICENSE.txt | 22 ++++++++++++++++++++++ README.md | 2 ++ hero.gemspec | 24 ++++++++++++++++++++++++ lib/hero/version.rb | 3 +++ 5 files changed, 51 insertions(+), 18 deletions(-) delete mode 100644 .gemspec create mode 100644 LICENSE.txt create mode 100644 hero.gemspec create mode 100644 lib/hero/version.rb diff --git a/.gemspec b/.gemspec deleted file mode 100644 index 4ff0b09..0000000 --- a/.gemspec +++ /dev/null @@ -1,18 +0,0 @@ -require 'rake' - -Gem::Specification.new do |spec| - spec.name = 'hero' - spec.version = '0.1.2' - spec.license = 'MIT' - spec.homepage = 'http://hopsoft.github.com/hero/' - spec.summary = 'Hero saves the day by aligning your implementation to business processes.' - spec.description = <<-DESC - Simplify your app by effectively modeling business processes within it. - DESC - - spec.authors = ['Nathan Hopkins'] - spec.email = ['natehop@gmail.com'] - - spec.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'spec/**/*.rb'].to_a -end - diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..3e55995 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2012 Nathan Hopkins + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 910ae83..c4ee2f5 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ One that evolved from the real world with concrete use cases and actual producti * It easily handles changing requirements * It reduces the ramp up time for new team members +Think of Hero as a simplified state machine which enables implementations that can be understood at a glance. + ## Match the Implementation to the Business Process The problem has always been: **How do you effectively model a business process within your app?** diff --git a/hero.gemspec b/hero.gemspec new file mode 100644 index 0000000..fc52dfa --- /dev/null +++ b/hero.gemspec @@ -0,0 +1,24 @@ +require "rake" +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 = "You can think of Hero as a simplified state machine." + spec.description = <<-DESC + Simplify your app by effectively modeling business processes within it. + DESC + + spec.authors = ["Nathan Hopkins"] + spec.email = ["natehop@gmail.com"] + + spec.files = FileList[ + "lib/**/*.rb", + "bin/*", + "[A-Z]*", + "spec/**/*.rb" + ] +end + diff --git a/lib/hero/version.rb b/lib/hero/version.rb new file mode 100644 index 0000000..885548c --- /dev/null +++ b/lib/hero/version.rb @@ -0,0 +1,3 @@ +module Hero + VERSION = "0.1.3" +end