# frozen_string_literal: true

rootdir = File.expand_path(File.dirname(__FILE__))

require "#{rootdir}/lib/thinreports/version"

Gem::Specification.new do |s|
  s.name        = 'thinreports'
  s.version     = Thinreports::VERSION
  s.author      = 'Matsukei Co.,Ltd.'
  s.email       = 'thinreports@gmail.com'
  s.summary     = 'An open source report generation tool for Ruby.'
  s.description = 'Thinreports is an open source report generation tool for Ruby.'
  s.homepage    = 'http://www.thinreports.org'
  s.license     = 'MIT'

  s.required_ruby_version = '>= 2.4.0'

  s.files = `git ls-files`.split($\)
  s.require_path = 'lib'

  s.add_dependency 'prawn', '~> 2.2.0'

  s.add_development_dependency 'bundler', '>= 1.0.0'
  s.add_development_dependency 'minitest', '>= 5.0.0'
  s.add_development_dependency 'mocha', '>= 0'
  s.add_development_dependency 'pdf-inspector', '>= 0'
  s.add_development_dependency 'rake', '>= 0'
end

# frozen_string_literal: true

rootdir = File.expand_path(File.dirname(__FILE__))

require "#{rootdir}/lib/thinreports/version"

Gem::Specification.new do |s|
  s.name        = 'thinreports'
  s.version     = Thinreports::VERSION
  s.author      = 'Matsukei Co.,Ltd.'
  s.email       = 'thinreports@gmail.com'
  s.summary     = 'An open source report generation tool for Ruby.'
  s.description = 'Thinreports is an open source report generation tool for Ruby.'
  s.homepage    = 'http://www.thinreports.org'
  s.license     = 'MIT'

  s.required_ruby_version = '>= 2.4.0'

  s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
  end
  s.require_paths = ['lib']

  s.add_dependency 'prawn', '~> 2.2.0'

  s.add_development_dependency 'bundler', '>= 1.0.0'
  s.add_development_dependency 'minitest', '>= 5.0.0'
  s.add_development_dependency 'mocha', '>= 0'
  s.add_development_dependency 'pdf-inspector', '>= 0'
  s.add_development_dependency 'rake', '>= 0'
end

Reduce size of the package file
Reduce size of the package file
