github_url.gemspec in github_url-0.1.0 vs github_url.gemspec in github_url-0.2.0

- old
+ new

@@ -1,35 +1,28 @@ # coding: utf-8 + lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +$:.unshift(lib) unless $:.include?(lib) require "github_url/version" Gem::Specification.new do |spec| spec.name = "github_url" spec.version = GithubUrl::VERSION spec.authors = ["dizehacioglu"] spec.email = ["dh1272@nyu.edu"] - spec.summary = %q{A small ruby gem for parsing Github URLs} + spec.summary = %q(A small ruby gem for parsing Github URLs) spec.homepage = "https://github.com/GalvanizeOpenSource/github_url" 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"] = "https://rubygems.org" - # else - # raise "RubyGems 2.0 or newer is required to protect against " \ - # "public gem pushes." - # end - - spec.files = `git ls-files -z`.split("\x0").reject do |f| + spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.15" spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "rspec_junit_formatter" spec.add_development_dependency "rubocop" end