sifttter_redux.gemspec in sifttter-redux-0.5.1 vs sifttter_redux.gemspec in sifttter-redux-0.5.2

- old
+ new

@@ -1,27 +1,31 @@ -# Ensure we require the local version and not one we might have installed already -require File.join([File.dirname(__FILE__), 'lib', 'sifttter_redux', 'version.rb']) +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'sifttter_redux/version' -spec = Gem::Specification.new do |s| - s.name = 'sifttter-redux' - s.version = SifttterRedux::VERSION - s.author = 'Aaron Bach' - s.email = 'bachya1208@gmail.com' - s.homepage = 'https://github.com/bachya/sifttter-redux' - s.platform = Gem::Platform::RUBY - s.summary = 'Automated IFTTT to Day One engine.' - s.description = 'A customized IFTTT-to-Day One service that allows for smart installation and automated running on a standalone *NIX device (such as a Raspberry Pi).' +Gem::Specification.new do |spec| + spec.name = 'sifttter-redux' + spec.version = SifttterRedux::VERSION + spec.authors = ['Aaron Bach'] + spec.email = ['bachya1208@googlemail.com'] + spec.summary = SifttterRedux::SUMMARY + spec.description = SifttterRedux::DESCRIPTION + spec.homepage = 'https://github.com/bachya/sifttter-redux' + spec.license = 'MIT' + spec.platform = Gem::Platform::RUBY - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- test`.split("\n") - s.require_paths << 'lib' - s.bindir = 'bin' - s.executables << 'srd' + spec.require_paths = ["lib"] + spec.files = `git ls-files`.split("\n") + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) - s.license = 'MIT' - s.rdoc_options = ['--charset=UTF-8'] - s.extra_rdoc_files = %w[README.md HISTORY.md LICENSE.txt] + spec.license = 'MIT' + spec.rdoc_options = ['--charset=UTF-8'] + spec.extra_rdoc_files = %w[README.md HISTORY.md LICENSE] - s.add_development_dependency('rake', '~> 0') - s.add_runtime_dependency('chronic', '0.10.2') - s.add_runtime_dependency('gli','2.9.0') + spec.add_development_dependency('rake', '~> 0') + spec.add_development_dependency('rdoc', '~> 0') + spec.add_development_dependency('aruba', '~> 0') + spec.add_runtime_dependency('chronic', '0.10.2') + spec.add_runtime_dependency('gli','2.9.0') end