Permalink
Browse files

Getting ready to put the gem out there

  • Loading branch information...
1 parent 7fa5a53 commit 50665fee12422cf457e5daa19d04a4db8a151480 Keith Gaddis committed May 6, 2012
Showing with 9 additions and 6 deletions.
  1. +3 −0 README.md
  2. +4 −4 commando.gemspec
  3. +1 −1 lib/commando/command.rb
  4. +1 −1 lib/commando/version.rb
View
@@ -63,5 +63,8 @@ Commands can also be used on forms in place of ActiveRecord models.
end
end
+###Using a command in the background (Delayed::Job)
+ Delayed::Job.enqueue command
+
View
@@ -5,13 +5,13 @@ require "commando/version"
Gem::Specification.new do |s|
s.name = "commando"
s.version = Commando::VERSION
- s.authors = ["karmajunkie"]
+ s.authors = ["Keith Gaddis"]
s.email = ["keith.gaddis@gmail.com"]
- s.homepage = ""
+ s.homepage = "http://github.com/karmajunkie/commando"
s.summary = %q{Commando supports the command pattern}
- s.description = %q{Commando is a gem that supports the command pattern}
+ s.description = %q{Commando is a small gem to help with command objects. The command pattern is a design pattern used to encapsulate all of the information needed to execute a method or process at a point in time. In a web application, commands are typically used to delay execution of a method from the request cycle to a background processor.}
- s.rubyforge_project = "commando"
+ #s.rubyforge_project = "commando"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -13,7 +13,7 @@ class << self
attr_accessor :perform_block
end
- def self.perform(&block)
+ def self.action(&block)
@perform_block = block
end
@@ -1,3 +1,3 @@
module Commando
- VERSION = "0.0.1"
+ VERSION = "0.1.0"
end

0 comments on commit 50665fe

Please sign in to comment.