Skip to content

Commit

Permalink
added a gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Nov 12, 2008
1 parent 9a675dd commit 7c193c9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ h3. Simple Example

<pre>
class Something
include BootyCall::Hook

attr_reader :results

before :foo, :setup
Expand Down Expand Up @@ -117,7 +119,6 @@ h3. Requirements

h4. TODO

* Get a gemspec together
* Spec suite could definitely be more readable
* Take a look at "AspectR":http://aspectr.sourceforge.net to see if I can learn anything

Expand Down
29 changes: 29 additions & 0 deletions booty-call.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{booty-call}
s.version = "0.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Pat Nakajima"]
s.date = %q{2008-11-12}
s.email = %q{patnakajima@gmail.com}
s.files = ["lib/booty_call", "lib/booty_call/callbacker.rb", "lib/booty_call/hook.rb", "lib/booty_call/introspector.rb", "lib/booty_call.rb"]
s.homepage = %q{http://github.com/nakajima/booty-call}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.0}
s.summary = %q{Callbacks for your Ruby}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<nakajima-nakajima>, [">= 0"])
else
s.add_dependency(%q<nakajima-nakajima>, [">= 0"])
end
else
s.add_dependency(%q<nakajima-nakajima>, [">= 0"])
end
end

0 comments on commit 7c193c9

Please sign in to comment.