Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (49 sloc) 2.378 kB
# -*- encoding: utf-8 -*- do |s| = "has_enumeration"
s.version = "1.0.2"
s.required_rubygems_version =">= 0") if s.respond_to?(:required_rubygems_version=)
s.authors = ["Greg Spurrier"] = "2012-04-06"
s.description = "Extends ActiveRecord with the has_enumeration method allowing a symbolic\nenumeration to be stored in an ActiveRecord attribute. The enumeration is\nspecified as a mapping between symbols and their underlying representation\nin the database. Predicates are provided for each symbol in the enumeration\nand the symbols may be used in finder methods. When using ActiveRecord 3,\nthe symbols may also be used when interacting with the underlying Arel attribute\nfor the enumeration. has_enumeration has been tested with Ruby 1.8.7,\nRuby 1.9.2, JRuby 1.5.5, Rubinius 1.1.0, ActiveRecord 2.3.10, and ActiveRecord\n3.0.3.\n" = ""
s.extra_rdoc_files = [
s.files = [
s.homepage = ""
s.require_paths = ["lib"]
s.rubygems_version = "1.8.19"
s.summary = "Support for symbol-based enumerations in ActiveRecord"
s.specification_version = 3 if s.respond_to?(:specification_version)
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.10"])
Jump to Line
Something went wrong with that request. Please try again.