pdfmult.gemspec in pdfmult-1.3.2 vs pdfmult.gemspec in pdfmult-1.4.0
- old
+ new
@@ -1,46 +1,49 @@
-require './lib/pdfmult'
+# frozen_string_literal: true
+require "./lib/pdfmult"
+
version = Pdfmult::VERSION
date = Pdfmult::DATE
homepage = Pdfmult::HOMEPAGE
tagline = Pdfmult::TAGLINE
Gem::Specification.new do |s|
- s.name = 'pdfmult'
+ s.name = "pdfmult"
s.version = version
s.date = date
- s.description = 'pdfmult is a command line tool that rearranges ' +
- 'multiple copies of a PDF page (shrunken) on one page. ' +
- 'It is a wrapper for pdflatex with the pdfpages package.'
+ s.description = "pdfmult is a command line tool that rearranges " \
+ "multiple copies of a PDF page (shrunken) on one page. " \
+ "It is a wrapper for pdflatex with the pdfpages package."
s.summary = "pdfmult - #{tagline}"
- s.authors = ['Marcus Stollsteimer']
- s.email = 'sto.mar@web.de'
+ s.authors = ["Marcus Stollsteimer"]
+ s.email = "sto.mar@web.de"
s.homepage = homepage
- s.license = 'GPL-3'
+ s.license = "GPL-3.0"
- s.requirements << 'pdflatex and the pdfpages package'
+ s.required_ruby_version = ">= 3.1.0"
- s.add_development_dependency('rake')
- s.add_development_dependency('minitest')
+ s.requirements << "pdflatex and the pdfpages package"
- s.executables = ['pdfmult']
- s.bindir = 'bin'
+ s.executables = ["pdfmult"]
+ s.bindir = "bin"
- s.require_path = 'lib'
+ s.require_paths = ["lib"]
- s.test_files = Dir.glob('test/**/test_*.rb')
+ s.test_files = Dir.glob("test/**/test_*.rb")
- s.files = %w{
+ s.files =
+ %w[
README.md
Rakefile
+ Gemfile
pdfmult.gemspec
pdfmult.h2m
- } +
- Dir.glob('example*.*') +
- Dir.glob('{bin,lib,man,test}/**/*')
+ ] +
+ Dir.glob("example*.*") +
+ Dir.glob("{bin,lib,man,test}/**/*")
- s.rdoc_options = ['--charset=UTF-8']
+ s.rdoc_options = ["--charset=UTF-8"]
end