public
Description: Demonstrates a reference implementation for handling countries, regions, and addresses
Homepage: http://www.pluginaweek.org
Clone URL: git://github.com/pluginaweek/has_addresses.git
has_addresses / has_addresses.gemspec
c917491e » obrie 2009-06-09 Add gemspec 1 # -*- encoding: utf-8 -*-
2
3 Gem::Specification.new do |s|
4 s.name = %q{has_addresses}
5 s.version = "0.5.1"
6
7 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8 s.authors = ["Aaron Pfeifer"]
9 s.date = %q{2009-06-08}
10 s.description = %q{Demonstrates a reference implementation for handling countries, regions, and addresses in ActiveRecord}
11 s.email = %q{aaron@pluginaweek.org}
12 s.files = ["app/models", "app/models/country.rb", "app/models/region.rb", "app/models/address.rb", "db/migrate", "db/migrate/001_create_countries.rb", "db/migrate/002_create_regions.rb", "db/migrate/003_create_addresses.rb", "lib/has_addresses.rb", "test/unit", "test/unit/address_test.rb", "test/unit/country_test.rb", "test/unit/region_test.rb", "test/factory.rb", "test/app_root", "test/app_root/app", "test/app_root/app/models", "test/app_root/app/models/company.rb", "test/app_root/db", "test/app_root/db/migrate", "test/app_root/db/migrate/001_create_companies.rb", "test/app_root/db/migrate/002_migrate_has_addresses_to_version_3.rb", "test/app_root/config", "test/app_root/config/environment.rb", "test/test_helper.rb", "test/functional", "test/functional/has_addresses_test.rb", "CHANGELOG.rdoc", "init.rb", "LICENSE", "Rakefile", "README.rdoc"]
13 s.has_rdoc = true
14 s.homepage = %q{http://www.pluginaweek.org}
15 s.require_paths = ["lib"]
16 s.rubyforge_project = %q{pluginaweek}
17 s.rubygems_version = %q{1.3.1}
18 s.summary = %q{Demonstrates a reference implementation for handling countries, regions, and addresses in ActiveRecord}
19 s.test_files = ["test/unit/address_test.rb", "test/unit/country_test.rb", "test/unit/region_test.rb", "test/functional/has_addresses_test.rb"]
20
21 if s.respond_to? :specification_version then
22 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23 s.specification_version = 2
24
25 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
26 s.add_runtime_dependency(%q<enumerate_by>, [">= 0.4.1"])
27 else
28 s.add_dependency(%q<enumerate_by>, [">= 0.4.1"])
29 end
30 else
31 s.add_dependency(%q<enumerate_by>, [">= 0.4.1"])
32 end
33 end