Permalink
Browse files

Prepare for releasing as a gem

  • Loading branch information...
1 parent ab0c36e commit 219b9370d09a5a409f1a1e0ce6f43bc26f3b10c9 Greg Spurrier committed Aug 9, 2010
Showing with 19 additions and 1 deletion.
  1. +1 −1 LICENSE.txt
  2. +17 −0 Rakefile
  3. +1 −0 VERSION
View
@@ -1,6 +1,6 @@
(The MIT License)
-Copyright (c) 2010 Gregory Spurrier
+Copyright (c) 2010 Greg Spurrier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -0,0 +1,17 @@
+require 'jeweler'
+
+Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "has_enumeration"
+ gemspec.summary = "Support for symbol-based enumerations in ActiveRecord"
+ gemspec.description = <<-EOF
+ Extends ActiveRecord with the has_enumeration method that allows an
+ attribute to be declared as storing an enumeration. The enumeration
+ is specified as a mapping between symbols and their underlying
+ representation in the database. Predicates are provided for each
+ symbol in the enumeration and the symbols may be used in finder methods.
+ EOF
+ gemspec.email = "greg@rujubu.com"
+ gemspec.homepage = "http://github.com/gregspurrier/has_enumeration"
+ gemspec.author = "Greg Spurrier"
+end
+Jeweler::GemcutterTasks.new
View
@@ -0,0 +1 @@
+0.0.0

0 comments on commit 219b937

Please sign in to comment.