deploy_rubygem.gemspec in deploy_rubygem-0.60.0.4.ga6cf712 vs deploy_rubygem.gemspec in deploy_rubygem-0.60.4
- old
+ new
@@ -1,7 +1,7 @@
+# frozen_string_literal: true
-
require 'git-version-bump'
::Gem::Specification.new do |s|
s.name = 'deploy_rubygem'
s.license = 'MIT'
@@ -9,52 +9,52 @@
s.email = ['jimbo_dragon@hotmail.com']
s.homepage = 'https://github.com/JimboDragonGit/deploy_rubygem'
s.summary = 'A auto chef bootstrapper and wrapper cookbook to deploy code and context'
s.description = 'Using Chef cookbook style and force any script using it to switch to chef even if it is not install. It will install it tho ;)'
- s.version = GVB.version
+ s.version = "#{GVB.major_version}.#{GVB.minor_version}.#{GVB.patch_version}"
s.date = GVB.date
# all_files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
# s.files = all_files.grep(%r!^(exe|libraries|rubocop)/|^.rubocop.yml$!)
# code_folder = 'libraries/'
# s.files = %w(README.md LICENSE bin/selfbootstrap libraries/selfbootstrap.rb ) + Dir.glob('libraries/**/*') # + Dir.glob('{bin,lib,certs,test}/**/*')
# s.require_paths = [code_folder]
# s.executables = %w(selfbootstrap)
# s.bindir = 'exe'
-
- s.extra_rdoc_files = ["README.md"]
- s.files = `git ls-files`.split("\n")
- s.executables = %w(
+ s.files = `git ls-files`.split("\n")
+ s.executables = %w[
deploy_rubygem
prepare_workstation
test_deploy_rubygem
deploy_rubygem_manually
deploy_jimbodragon
- )
+ ]
# s.cert_chain = [File.expand_path('../jimbodragon/certs/public/jimbodragon.pem')]
# s.signing_key = File.expand_path('../jimbodragon/certs/private/jimbodragon-gem-private_key.pem') if $PROGRAM_NAME =~ /gem\z/
s.metadata = {
# 'source_code_uri' => '/home/git/selfbootstrap.git/',
'bug_tracker_uri' => 'https://github.com/JimboDragonGit/deploy_rubygem/issues',
- 'changelog_uri' => 'https://github.com/JimboDragonGit/deploy_rubygem/releases',
- 'homepage_uri' => s.homepage,
+ 'changelog_uri' => 'https://github.com/JimboDragonGit/deploy_rubygem/releases',
+ 'homepage_uri' => s.homepage
}
s.rdoc_options = ['--charset=UTF-8']
- s.extra_rdoc_files = %w(README.md LICENSE)
+ s.extra_rdoc_files = %w[README.md LICENSE]
- # s.required_ruby_version = '>= 3.1.2'
+ s.required_ruby_version = '>= 3.0'
# s.required_rubygems_version = '>= 2.7.0'
- s.add_development_dependency('chef')
- s.add_development_dependency('test-kitchen')
+ # s.add_development_dependency('chef')
+ # s.add_development_dependency('test-kitchen')
s.add_runtime_dependency('git-version-bump')
+ s.add_runtime_dependency('rspec', '~> 3.13.0')
+ s.add_runtime_dependency('rspec-support', '~> 3.13.0')
s.add_runtime_dependency('rubocop-rake')
s.add_runtime_dependency('rubocop-rspec')
# s.add_runtime_dependency('deploy-context')
@@ -71,7 +71,5 @@
# s.add_runtime_dependency('rouge', '>= 3.0', '< 5.0')
# s.add_runtime_dependency('safe_yaml', '~> 1.0')
# s.add_runtime_dependency('terminal-table', '>= 1.8', '< 4.0')
# s.add_runtime_dependency('webrick', '~> 1.7')
end
-
-