-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathdanger-rubocop.gemspec
45 lines (36 loc) · 1.52 KB
/
danger-rubocop.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'version'
Gem::Specification.new do |spec|
spec.name = 'danger-rubocop'
spec.version = DangerRubocop::VERSION
spec.author = 'Ash Furrow'
spec.email = 'ash@ashfurrow.com'
spec.description = 'A Danger plugin for running Ruby files through Rubocop.'
spec.summary = 'A Danger plugin for running Ruby files through Rubocop.'
spec.homepage = 'https://github.com/ashfurrow/danger-rubocop'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_dependency 'danger'
spec.add_dependency 'rubocop', '~> 1.0'
# General ruby development
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake', '~> 13.0'
# For validating the plugin lints
spec.add_development_dependency 'yard'
# Testing support
spec.add_development_dependency 'rspec', '~> 3.4'
# 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