deblank.gemspec in deblank-0.1.0 vs deblank.gemspec in deblank-0.2.0
- old
+ new
@@ -1,44 +1,46 @@
-require './lib/deblank'
+# frozen_string_literal: true
+require "./lib/deblank"
+
version = Deblank::VERSION
date = Deblank::DATE
homepage = Deblank::HOMEPAGE
tagline = Deblank::TAGLINE
Gem::Specification.new do |s|
- s.name = 'deblank'
+ s.name = "deblank"
s.version = version
s.date = date
- s.description = 'deblank is a command line tool that ' +
- 'renames files and replaces or removes special characters ' +
- 'like spaces, parentheses, or umlauts.'
+ s.description = "deblank is a command line tool that " \
+ "renames files and replaces or removes special characters " \
+ "like spaces, parentheses, or umlauts."
s.summary = "deblank - #{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.required_ruby_version = '>=1.9.2'
+ s.required_ruby_version = ">= 3.1.0"
- s.add_development_dependency('rake')
+ s.executables = ["deblank"]
+ s.bindir = "bin"
- s.executables = ['deblank']
- s.bindir = 'bin'
+ s.require_paths = ["lib"]
- s.require_path = '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
deblank.gemspec
deblank.h2m
- } +
- Dir.glob('{bin,lib,man,test}/**/*')
+ ] +
+ Dir.glob("{bin,lib,man,test}/**/*")
- s.rdoc_options = ['--charset=UTF-8']
+ s.rdoc_options = ["--charset=UTF-8"]
end