retrospec.gemspec in retrospec-0.4.0 vs retrospec.gemspec in retrospec-0.5.0

- old
+ new

@@ -1,91 +1,49 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'retrospec/version' +Gem::Specification.new do |spec| + spec.name = "retrospec" + spec.version = Retrospec::VERSION + spec.authors = ['Corey Osman'] + spec.email = ['corey@nwops.io'] -Gem::Specification.new do |s| - s.name = "retrospec" - s.version = "0.4.0" + spec.summary = "A devops framework for automating your development workflow" + spec.date = "2017-02-01" + spec.homepage = "http://github.com/nwops/retrospec" + spec.description = "Retrospec is a framework that allows the automation of repetitive file creation with just about any kind of language through the use of a pluggable architecture." + spec.license = 'MIT' + # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' + # to allow pushing to a single host or delete this section to allow pushing to any host. + # if spec.respond_to?(:metadata) + # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" + # else + # raise "RubyGems 2.0 or newer is required to protect against " \ + # "public gem pushes." + # end - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Corey Osman"] - s.date = "2015-10-10" - s.description = "Retrospec is a framework that allows the automation of repetitive file creation with just about any kind of language through the use of a pluggable architecture." - s.email = "corey@logicminds.biz" - s.executables = ["retrospec"] - s.extra_rdoc_files = [ - "LICENSE.txt", - "README.md" + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.extra_rdoc_files = [ + "LICENSE.txt", + "README.md" ] - s.files = [ - ".document", - ".rspec", - "Gemfile", - "Gemfile.lock", - "LICENSE.txt", - "README.md", - "Rakefile", - "VERSION", - "available_plugins.yaml", - "bin/retrospec", - "config.yaml.sample", - "lib/retrospec.rb", - "lib/retrospec/cli.rb", - "lib/retrospec/config.rb", - "lib/retrospec/exceptions.rb", - "lib/retrospec/plugin_loader.rb", - "lib/retrospec/plugins.rb", - "lib/retrospec/plugins/v1.rb", - "lib/retrospec/plugins/v1/context_object.rb", - "lib/retrospec/plugins/v1/module_helpers.rb", - "lib/retrospec/plugins/v1/plugin.rb", - "lib/version.rb", - "plugin_development.md", - "retrospec.gemspec", - "spec/cli_spec.rb", - "spec/config_spec.rb", - "spec/plugin_loader_spec.rb", - "spec/plugins_spec.rb", - "spec/retrospec_spec.rb", - "spec/spec_helper.rb" - ] - s.homepage = "http://github.com/nwops/retrospec" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "A devops framework for automating your development workflow" + spec.require_paths = ["lib"] - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<trollop>, [">= 0"]) - s.add_development_dependency(%q<rspec>, ["~> 3.2"]) - s.add_development_dependency(%q<rdoc>, ["~> 3.12"]) - s.add_development_dependency(%q<bundler>, ["~> 1.0"]) - s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"]) - s.add_development_dependency(%q<simplecov>, [">= 0"]) - s.add_development_dependency(%q<pry>, [">= 0"]) - s.add_development_dependency(%q<fakefs>, [">= 0"]) - else - s.add_dependency(%q<trollop>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 3.2"]) - s.add_dependency(%q<rdoc>, ["~> 3.12"]) - s.add_dependency(%q<bundler>, ["~> 1.0"]) - s.add_dependency(%q<jeweler>, ["~> 2.0.1"]) - s.add_dependency(%q<simplecov>, [">= 0"]) - s.add_dependency(%q<pry>, [">= 0"]) - s.add_dependency(%q<fakefs>, [">= 0"]) - end - else - s.add_dependency(%q<trollop>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 3.2"]) - s.add_dependency(%q<rdoc>, ["~> 3.12"]) - s.add_dependency(%q<bundler>, ["~> 1.0"]) - s.add_dependency(%q<jeweler>, ["~> 2.0.1"]) - s.add_dependency(%q<simplecov>, [">= 0"]) - s.add_dependency(%q<pry>, [">= 0"]) - s.add_dependency(%q<fakefs>, [">= 0"]) + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) end + spec.bindir = 'bin' + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.require_paths = ['lib'] + spec.add_dependency 'trollop' + spec.add_development_dependency 'bundler', '~> 1.13' + spec.add_development_dependency 'rake', '~> 10.0' + spec.add_development_dependency 'rspec', '~> 3.0' + spec.add_development_dependency 'pry', '>=0' + spec.add_development_dependency 'simplecov', '>=0' + spec.add_development_dependency 'fakefs', '>=0' + spec.add_development_dependency 'rubocop' + end +