Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added a gemspec like a big kid

  • Loading branch information...
commit f3d5a306dfd0f9a79fbe1fcf9dfef9d9e2b6ccd7 1 parent 894a874
@nakajima authored
Showing with 29 additions and 11 deletions.
  1. +0 −11 README.textile
  2. +29 −0 acts_as_fu.gemspec
View
11 README.textile
@@ -44,19 +44,8 @@ the fly. It takes a block where you can specify columns. The table
will be created in in an in-memory sqlite3 database. If you need
another adapter, this project ain't for you. Sorry.
-h3. Installation
-
-Since I'm not so bright, I can't figure out how to generate a gemspec
-without using one of those darnfangled, gargantuan tools like hoe or
-newgem. As a result, you'll need to use the gemify gem to install:
-
- gemify -I
-
-If anybody knows an easier way to do the gemspec, please do share.
-
TODO
* Maybe a couple more options... maybe.
-* A real gemspec
(c) Copyright 2008 Pat Nakajima. All Rights Reserved.
View
29 acts_as_fu.gemspec
@@ -0,0 +1,29 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{acts_as_fu}
+ 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-10-23}
+ s.email = %q{patnakajima@gmail.com}
+ s.files = ["lib/acts_as_fu", "lib/acts_as_fu/constants.rb", "lib/acts_as_fu.rb"]
+ s.has_rdoc = true
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.0}
+ s.summary = %q{Generate ActiveRecord models on the fly for your tests}
+
+ 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<activerecord>, [">= 0"])
+ else
+ s.add_dependency(%q<activerecord>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<activerecord>, [">= 0"])
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.