thinreports.gemspec in thinreports-0.9.1 vs thinreports.gemspec in thinreports-0.10.0
- old
+ new
@@ -1,34 +1,31 @@
-# coding: utf-8
+# frozen_string_literal: true
-$LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
-require 'thinreports/version'
+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.licenses = ['MIT']
+ s.license = 'MIT'
- s.platform = Gem::Platform::RUBY
- s.required_ruby_version = '>= 1.9.3'
+ s.required_ruby_version = '>= 2.1.0'
- s.rdoc_options = ['--main', 'README.md']
- s.extra_rdoc_files = ['README.md']
+ s.files = `git ls-files`.split($\)
+ s.require_path = 'lib'
- s.files = `git ls-files`.split($\)
- s.test_files = s.files.grep %r{^test/}
- s.require_paths = ['lib']
+ s.add_dependency 'prawn', '~> 2.2.0'
- s.add_dependency 'prawn', '1.3.0'
- s.add_dependency 'chunky_png', '~> 1.3'
-
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']
+ s.add_development_dependency 'rubocop', ['>= 0']
s.add_development_dependency 'yard'
end