Skip to content

Commit

Permalink
feat: modernise gemspec
Browse files Browse the repository at this point in the history
Modernise gemspec
  • Loading branch information
bethesque authored Sep 2, 2019
2 parents 21a7e13 + f99ca0e commit c941d02
Showing 1 changed file with 29 additions and 32 deletions.
61 changes: 29 additions & 32 deletions pact-support.gemspec
Original file line number Diff line number Diff line change
@@ -1,39 +1,36 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pact/support/version'
require "pact/support/version"

Gem::Specification.new do |spec|
spec.name = "pact-support"
spec.version = Pact::Support::VERSION
spec.authors = ["James Fraser", "Sergei Matheson", "Brent Snook", "Ronald Holshausen", "Beth Skurrie"]
spec.email = ["[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"]

Gem::Specification.new do |gem|
gem.name = "pact-support"
gem.version = Pact::Support::VERSION
gem.authors = ["James Fraser", "Sergei Matheson", "Brent Snook", "Ronald Holshausen", "Beth Skurrie"]
gem.email = ["[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"]
gem.summary = %q{Shared code for Pact gems}
gem.homepage = "https://github.com/bethesque/pact-support"
spec.summary = "Shared code for Pact gems"
spec.homepage = "https://github.com/pact-foundation/pact-support"
spec.license = "MIT"

gem.required_ruby_version = '>= 2.0'
spec.required_ruby_version = ">= 2.0"

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.license = 'MIT'
spec.files = `git ls-files lib LICENSE.txt README.md`.split($RS)
spec.require_paths = ["lib"]

gem.add_runtime_dependency 'randexp', '~> 0.1.7'
gem.add_runtime_dependency 'rspec', '>=2.14'
gem.add_runtime_dependency 'json'
gem.add_runtime_dependency 'term-ansicolor', '~> 1.0'
gem.add_runtime_dependency 'find_a_port', '~> 1.0.1'
gem.add_runtime_dependency 'thor'
gem.add_runtime_dependency 'awesome_print', '~> 1.1'
spec.add_runtime_dependency "randexp", "~> 0.1.7"
spec.add_runtime_dependency "rspec", ">= 2.14"
spec.add_runtime_dependency "term-ansicolor", "~> 1.0"
spec.add_runtime_dependency "awesome_print", "~> 1.1"

gem.add_development_dependency 'rake', '~> 10.0.3'
gem.add_development_dependency 'webmock', '~> 3.3'
gem.add_development_dependency 'pry'
gem.add_development_dependency 'fakefs', '~> 0.11.2'
gem.add_development_dependency 'hashie', '~> 2.0'
gem.add_development_dependency 'activesupport'
gem.add_development_dependency 'appraisal'
gem.add_development_dependency 'conventional-changelog', '~>1.3'
gem.add_development_dependency 'bump', '~> 0.5'
spec.add_development_dependency "rake", "~> 10.0.3"
spec.add_development_dependency "webmock", "~> 3.3"
spec.add_development_dependency "pry"
spec.add_development_dependency "fakefs", "~> 0.11.2"
spec.add_development_dependency "hashie", "~> 2.0"
spec.add_development_dependency "activesupport"
spec.add_development_dependency "appraisal"
spec.add_development_dependency "conventional-changelog", "~> 1.3"
spec.add_development_dependency "bump", "~> 0.5"
end

0 comments on commit c941d02

Please sign in to comment.