simple-annotations.gemspec in simple-annotations-0.9.0 vs simple-annotations.gemspec in simple-annotations-1.0.0
- old
+ new
@@ -1,24 +1,31 @@
+# frozen_string_literal: true
+
+require 'English'
Gem::Specification.new do |s|
- s.name = %q{simple-annotations}
- s.author = "Romain GEORGES"
- s.version = "0.9.0"
- s.date = "2021-12-27"
- s.summary = "Simple method annotations like in java or Python methods decorators"
- s.email = "romain@ultragreen.net"
- s.homepage = "http://www.ultragreen.net"
- s.description = "Simple method annotations like in java or Python methods decorators"
- s.files = `git ls-files`.split($/)
- s.required_ruby_version = '~> 2.7.0'
- s.add_development_dependency "rspec", "~> 3.10"
- s.add_development_dependency "roodi", "~> 5.0"
- s.add_development_dependency "rake", "~> 12.3"
- s.add_development_dependency "yard", "~> 0.9"
- s.add_development_dependency "yard-rspec", "~> 0.1"
- s.require_paths = ["lib"]
- s.require_paths << 'bin'
- s.bindir = 'bin'
- s.executables = Dir["bin/*"].map!{|item| item.gsub("bin/","")}
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
- s.license = "BSD-2-Clause"
+ s.name = 'simple-annotations'
+ s.author = 'Romain GEORGES'
+ s.version = `cat VERSION`.chomp
+ s.summary = 'Simple method annotations like in java or Python methods decorators'
+ s.email = 'romain@ultragreen.net'
+ s.homepage = 'https://github.com/lecid/simple-annotations'
+ s.description = 'Simple method annotations like in java or Python methods decorators'
+ s.required_ruby_version = Gem::Requirement.new('>= 3.2.3')
+ s.license = 'BSD-3-Clause'
+ s.metadata['rubygems_mfa_required'] = 'true'
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
-
\ No newline at end of file
+ s.require_paths = ['lib']
+ s.add_development_dependency 'bundle-audit', '~> 0.1.0'
+ s.add_development_dependency 'code_statistics', '~> 0.2.13'
+ s.add_development_dependency 'rake', '~> 13.0'
+ s.add_development_dependency 'rspec', '~> 3.0'
+ s.add_development_dependency 'rspec-expectations', '~> 3.13.0'
+ s.add_development_dependency 'rubocop', '~> 1.32'
+ s.add_development_dependency 'yard', '~> 0.9.27'
+ s.add_development_dependency 'yard-rspec', '~> 0.1'
+ s.add_dependency 'version', '~> 1.1'
+ s.add_development_dependency 'cyclonedx-ruby', '~> 1.1'
+ s.add_development_dependency 'debride', '~> 1.12'
+ s.add_development_dependency 'diff-lcs', '~> 1.5.1'
+end