# -*- encoding: utf-8 -*-
# frozen_string_literal: true

require File.expand_path('../lib/erd/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ['Akira Matsuda']
  gem.email         = ['ronnie@dio.jp']
  gem.description   = 'erd engine on Rails'
  gem.summary       = 'erd engine on Rails'
  gem.homepage      = 'https://github.com/amatsuda/erd'
  gem.license       = 'MIT'

  gem.files         = `git ls-files`.split($\)
  gem.name          = 'erd'
  gem.require_paths = ['lib']
  gem.version       = Erd::VERSION

  gem.add_runtime_dependency 'ruby-graphviz'
  gem.add_runtime_dependency 'nokogiri'

  gem.add_development_dependency 'rails', '>= 3.2'
  gem.add_development_dependency 'sass-rails'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'test-unit-rails'
  gem.add_development_dependency 'capybara', '>= 2'
  gem.add_development_dependency 'rr'
  gem.add_development_dependency 'sqlite3'
  gem.add_development_dependency 'selenium-webdriver'
end

# -*- encoding: utf-8 -*-
# frozen_string_literal: true

require File.expand_path('../lib/erd/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ['Akira Matsuda']
  gem.email         = ['ronnie@dio.jp']
  gem.description   = 'erd engine on Rails'
  gem.summary       = 'erd engine on Rails'
  gem.homepage      = 'https://github.com/amatsuda/erd'
  gem.license       = 'MIT'

  gem.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
  end
  gem.name          = 'erd'
  gem.require_paths = ['lib']
  gem.version       = Erd::VERSION

  gem.add_runtime_dependency 'ruby-graphviz'
  gem.add_runtime_dependency 'nokogiri'

  gem.add_development_dependency 'rails', '>= 3.2'
  gem.add_development_dependency 'sass-rails'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'test-unit-rails'
  gem.add_development_dependency 'capybara', '>= 2'
  gem.add_development_dependency 'rr'
  gem.add_development_dependency 'sqlite3'
  gem.add_development_dependency 'selenium-webdriver'
end

Exclude tests from the gem package
Exclude tests from the gem package
