Sha256: 7ee1d51b8938e7af4d142cfcb315909f2e61669c02eaf962389fd0029e4df2fc

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 KB

Contents

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rubocop/changes/version"

Gem::Specification.new do |spec|
  spec.name          = "rubocop-changes"
  spec.version       = Rubocop::Changes::VERSION
  spec.platform      = Gem::Platform::RUBY
  spec.required_ruby_version = '>= 2.3.0'
  spec.authors       = ["Ferran Basora"]
  spec.email         = ["fcsonline@gmail.com"]

  spec.summary       = "Rubocop on changed lines"
  spec.description   = "Run rubocop on changed lines from forked point"
  spec.homepage      = 'https://rubygems.org/gems/rubocop-changes'
  spec.license       = "MIT"

  spec.metadata = {
    'source_code_uri' => spec.homepage,
    'bug_tracker_uri' => 'https://github.com/fcsonline/rubocop-changes/issues'
  }

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.extra_rdoc_files = ['LICENSE.txt', 'README.md']
  spec.require_paths = ["lib"]

  spec.add_runtime_dependency 'rubocop', '~> 0.59'

  spec.add_development_dependency 'rubocop', '~> 0.59'
  spec.add_development_dependency 'byebug', '~> 10.0'
  spec.add_development_dependency 'git_diff_parser', '~> 3.2'
  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-changes-0.1.0 rubocop-changes.gemspec