# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'version' Gem::Specification.new do |spec| spec.name = 'danger-wcc' spec.version = DangerWCC::VERSION spec.authors = ['Watermark Dev'] spec.email = ['dev@watermark.org'] spec.description = 'A Danger plugin for Watermark Church custom rules.' spec.summary = 'A Danger plugin for Watermark Church custom rules.' spec.homepage = 'https://github.com/watermarkchurch/danger-wcc' spec.license = 'Apache-2.0' 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 'activesupport', '> 5' spec.add_runtime_dependency 'brakeman' spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0' spec.add_runtime_dependency 'flay' spec.add_runtime_dependency 'git_diff', '~> 0.4' spec.add_runtime_dependency 'reek' # 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' spec.add_development_dependency 'rspec_junit_formatter', '~> 0.3.0' spec.add_development_dependency 'webmock', '~> 3.1' # Linting code and docs spec.add_development_dependency 'rubocop', '~> 0.81' spec.add_development_dependency 'yard' # Makes testing easy via `bundle exec guard` spec.add_development_dependency 'guard', '~> 2.14' spec.add_development_dependency 'guard-rspec', '~> 4.7' spec.add_development_dependency 'guard-rubocop', '~> 1.3.0' # 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 tests # via: # # require 'pry' # binding.pry # # This will stop test execution and let you inspect the results spec.add_development_dependency 'pry' end