Skip to content

Commit

Permalink
Minor changes to gemspec. Closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Pallinder committed Apr 20, 2014
1 parent e93e4d0 commit 66efd25
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
21 changes: 21 additions & 0 deletions README.md
Expand Up @@ -2,3 +2,24 @@ acts_as_requestable
===================

Small gem that allows a model to be confirmed/declined

## Example usage

```
class RequestableModel < ActiveRecord::Base
acts_as_requestable after_decline: :was_declined, after_accept: :was_accepted
def was_declined
puts "I was declined"
end
def was_accepted
puts "I was accepted"
end
end
Configuration options
* <tt>after_decline</tt> - method to be called after request has been declined
* <tt>after_accept</tt> - method to be called after request has been accepted
```

10 changes: 5 additions & 5 deletions acts_as_requestable.gemspec
Expand Up @@ -7,11 +7,11 @@ require "acts_as_requestable/version"
Gem::Specification.new do |s|
s.name = "acts_as_requestable"
s.version = ActsAsRequestable::VERSION
s.authors = ["TODO: Your name"]
s.email = ["TODO: Your email"]
s.homepage = "TODO"
s.summary = "TODO: Summary of ActsAsRequestable."
s.description = "TODO: Description of ActsAsRequestable."
s.authors = ["David Pallinder"]
s.email = ["davidpallinder@gmail.com"]
s.homepage = "http://www.github.com/Pallinder/acts_as_requestable"
s.summary = "Tiny gem to take care of approving/declining requests"
s.description = ""
s.license = "MIT"

s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
Expand Down

0 comments on commit 66efd25

Please sign in to comment.