dialable.gemspec in dialable-0.5.0 vs dialable.gemspec in dialable-0.6.2

- old
+ new

@@ -1,25 +1,26 @@ -Gem::Specification.new do |s| - s.licenses = ['MIT', 'LGPL-2'] - s.name = "dialable" - s.version = "0.5.0" - s.date = "2011-06-22" - s.summary = "Provides parsing and output of phone numbers according to NANPA standards." - s.email = "chorn@chorn.com" - s.homepage = "http://github.com/chorn/dialable" - s.description = "A gem that provides parsing and output of phone numbers according to NANPA (North American Numbering Plan Administration) standards. If possible, time zones are populated by abbreviation as well as offset relative to the local timezone." - s.has_rdoc = true - s.authors = ["Chris Horn"] - s.files = [ "LICENSE", - "README.rdoc", - "Rakefile", - "TODO", - "dialable.gemspec", - "lib/dialable.rb", - "data/nanpa.yaml", - "spec/dialable_spec.rb", - "spec/spec_helper.rb", - "support/make_yaml_nanpa.rb" - ] - s.test_files = [] - s.rdoc_options = [] +# -*- encoding: utf-8 -*- +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'dialable/version' + +spec = Gem::Specification.new do |gem| + gem.licenses = ['MIT', 'LGPL-2'] + gem.required_ruby_version = '>= 1.9.0' + gem.name = "dialable" + gem.version = Dialable::VERSION + gem.authors = ["chorn"] + gem.email = ["chorn@chorn.com"] + gem.description = %q{A gem that provides parsing and output of phone numbers according to NANPA (North American Numbering Plan Administration) standards. If possible, time zones are populated by abbreviation as well as offset relative to the local timezone.} + gem.summary = %q{Provides parsing and output of phone numbers according to NANPA standards.} + gem.homepage = "http://github.com/chorn/dialable" + + gem.files = `git ls-files`.split($/) + gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) + gem.require_paths = ["lib"] + gem.add_dependency "tzinfo" + gem.add_development_dependency "rake" + gem.add_development_dependency "rspec" + gem.add_development_dependency "tzinfo" end +