calc_sun.gemspec in calc_sun-0.1.1 vs calc_sun.gemspec in calc_sun-1.2.6

- old
+ new

@@ -6,28 +6,23 @@ Gem::Specification.new do |spec| spec.name = 'calc_sun' spec.version = CalcSun::VERSION spec.author = 'Douglas Allen' spec.email = ['kb9agt@gmail.com'] - spec.summary = 'Calculates Sun Times ea. rise, noon, set' - spec.description = 'supply the jd date, latitude, and longitude in the calls - to each method t_rise(jd, lon, lat), - t_mid_day(jd, lon, lat), and t_set(jd, lon, lat)' + spec.description = 'supply the date yyyy-mm-dd, latitude decimal, and + longitude decimal in the calls to each method + rise(date, lat, lon), + noon(date, lat, lon), and + set(date, lat, lon)' spec.homepage = 'https://github.com/DouglasAllen/calc_sun' spec.license = 'MIT' + require 'English' + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end require 'rake' - spec.files = FileList['lib .rb', - '[A-Z]*', - 'test/ *'].to_a - spec.extensions << 'ext/eot/extconf.rb' + spec.extensions << 'ext/calc_sun/extconf.rb' spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.platform = Gem::Platform::RUBY - spec.add_development_dependency 'bundler', '~> 1.13' - spec.add_development_dependency 'rake', '~> 10.0' - spec.add_development_dependency 'rake-compiler', '~> 0.9.3' - spec.add_development_dependency 'hoe', '~> 3.12.0' - spec.add_development_dependency 'guard', '~> 2.6.1' - spec.add_development_dependency 'guard-minitest', '~> 2.3.2' - spec.add_development_dependency 'minitest', '~> 5.4.1' end