# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'junit/gem_version.rb' Gem::Specification.new do |spec| spec.name = 'danger-junit' spec.version = Junit::VERSION spec.authors = ['Orta Therox'] spec.email = ['orta.therox@gmail.com'] spec.description = 'Get automatic inline test reporting for JUnit-conforming XML files.' spec.summary = 'Get automatic inline test reporting for JUnit-conforming XML files' spec.homepage = 'https://github.com/orta/danger-junit' spec.license = 'MIT' spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.add_runtime_dependency 'danger', '~> 2.0' spec.add_runtime_dependency 'ox', '~> 2.0' # So we can run our specs with junit spec.add_development_dependency 'rspec_junit_formatter', '~> 0.2' # General ruby development spec.add_development_dependency 'bundler', '~> 1.3' spec.add_development_dependency 'rake', '~> 10.0' # Testing support spec.add_development_dependency 'rspec', '~> 3.4' # Linting code and docs spec.add_development_dependency 'rubocop', '~> 0.41' spec.add_development_dependency 'yard', '~> 0.8' # Makes testing easy via `bundle exec guard` spec.add_development_dependency 'guard', '~> 2.14' spec.add_development_dependency 'guard-rspec', '~> 4.7' # If you want to work on older builds of ruby spec.add_development_dependency 'listen', '3.0.7' # This gives you the chance to run a REPL inside your test # via # binding.pry # This will stop test execution and let you inspect the results spec.add_development_dependency 'pry' end