xezat 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +45 -0
  3. data/.gitignore +2 -3
  4. data/.rubocop.yml +5 -2
  5. data/.ruby-version +1 -1
  6. data/README.md +1 -1
  7. data/lib/xezat/command/bump/compiler.rb +5 -5
  8. data/lib/xezat/command/bump/cygport_dep.rb +2 -2
  9. data/lib/xezat/command/bump/development_package.rb +29 -4
  10. data/lib/xezat/command/bump/language.rb +8 -4
  11. data/lib/xezat/command/bump/runtime_package.rb +2 -1
  12. data/lib/xezat/command/bump.rb +6 -7
  13. data/lib/xezat/command/generate.rb +2 -1
  14. data/lib/xezat/command/init.rb +2 -2
  15. data/lib/xezat/command/port.rb +7 -9
  16. data/lib/xezat/command/validate/config.rb +40 -0
  17. data/lib/xezat/command/validate/license.rb +30 -0
  18. data/lib/xezat/command/validate/pkgconfig.rb +37 -0
  19. data/lib/xezat/command/validate.rb +20 -25
  20. data/lib/xezat/config.rb +1 -2
  21. data/lib/xezat/cygchangelog.rb +2 -2
  22. data/lib/xezat/cygversion.rb +2 -0
  23. data/lib/xezat/debugger/linguist.rb +0 -1
  24. data/lib/xezat/debugger/variable.rb +0 -1
  25. data/lib/xezat/detector/autoconf.rb +18 -0
  26. data/lib/xezat/detector/automake.rb +18 -0
  27. data/lib/xezat/detector/cmake.rb +1 -4
  28. data/lib/xezat/detector/{python38-docutils.rb → python39-docutils.rb} +1 -1
  29. data/lib/xezat/detectors.rb +1 -1
  30. data/lib/xezat/generator/pkgconfig.rb +32 -10
  31. data/lib/xezat/variables.rb +19 -4
  32. data/lib/xezat/version.rb +1 -1
  33. data/share/xezat/compilers.yaml +44 -0
  34. data/share/xezat/languages.yaml +11 -0
  35. data/share/xezat/repository/bitbucket.yaml +4 -0
  36. data/share/xezat/repository/github.yaml +4 -0
  37. data/share/xezat/repository/gnu.yaml +3 -0
  38. data/share/xezat/repository/savannah.yaml +3 -0
  39. data/share/xezat/repository/sourceforge.yaml +5 -0
  40. data/share/xezat/template/cmake.erb +6 -8
  41. data/share/xezat/template/cygport.erb +4 -0
  42. data/share/xezat/{show_cygport_variable.sh → var2yaml.sh} +3 -2
  43. data/xezat.gemspec +11 -11
  44. metadata +54 -51
  45. data/.circleci/config.yml +0 -110
  46. data/share/xezat/compilers.json +0 -67
  47. data/share/xezat/languages.json +0 -12
  48. data/share/xezat/repository/bitbucket.json +0 -5
  49. data/share/xezat/repository/github.json +0 -5
  50. data/share/xezat/repository/gnu.json +0 -4
  51. data/share/xezat/repository/savannah.json +0 -4
  52. data/share/xezat/repository/sourceforge.json +0 -6
  53. /data/share/xezat/{invoke_cygport_dep.sh → cygport_dep.sh} +0 -0
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'English'
3
4
  require 'facets/file/atomic_open'
4
5
  require 'facets/file/atomic_write'
5
6
  require 'xezat/variables'
@@ -21,22 +22,29 @@ module Xezat
21
22
  end
22
23
 
23
24
  def generate
25
+ Xezat.logger.debug('Start package config generation')
24
26
  vars = variables(@cygport)
25
27
  generate_pkg_config(vars, @options)
26
28
 
27
29
  if vars[:_cmake_CYGCLASS_]
28
- append_commands_to_cmakelists(vars)
30
+ append_commands_to_cmakelists(vars, @options)
29
31
  else
30
- append_commands_to_autotools(vars)
32
+ append_commands_to_autotools(vars, @options)
31
33
  end
34
+ Xezat.logger.debug('End package config generation')
32
35
  end
33
36
 
34
37
  def generate_pkg_config(variables, options)
35
38
  srcdir = variables[:CYGCONF_SOURCE] || variables[:CYGCMAKE_SOURCE] || variables[:S]
39
+ srcdir = File.expand_path(File.join(variables[:S], options['srcdir'])) if options['srcdir']
40
+ Xezat.logger.debug(" srcdir = #{srcdir}")
41
+
36
42
  pn = variables[:PN]
37
43
  pc = File.expand_path(File.join(srcdir, "#{pn}.pc.in"))
38
44
  raise UnregeneratableConfigurationError, "#{pn}.pc.in already exists" if File.exist?(pc) && !options['overwrite']
39
45
 
46
+ Xezat.logger.debug(' Generate pc')
47
+
40
48
  File.atomic_write(pc) do |f|
41
49
  f.write(get_pkg_config(variables))
42
50
  end
@@ -47,10 +55,16 @@ module Xezat
47
55
  ERB.new(File.readlines(erb).join(nil), trim_mode: '%-').result(binding)
48
56
  end
49
57
 
50
- def append_commands_to_cmakelists(variables)
58
+ def append_commands_to_cmakelists(variables, options)
51
59
  srcdir = variables[:CYGCMAKE_SOURCE] || variables[:S]
60
+ srcdir = File.expand_path(File.join(variables[:S], options['srcdir'])) if options['srcdir']
52
61
  cmakelists = File.expand_path(File.join(srcdir, 'CMakeLists.txt'))
53
- return if %r!DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig!.match?(File.read(cmakelists))
62
+ if %r!DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig!.match?(File.read(cmakelists))
63
+ Xezat.logger.debug(' Not rewrite CMakeLists.txt')
64
+ return
65
+ end
66
+
67
+ Xezat.logger.debug(' Rewrite CMakeLists.txt')
54
68
 
55
69
  File.atomic_open(cmakelists, 'a') do |f|
56
70
  f.write(get_cmakelists(variables))
@@ -62,8 +76,9 @@ module Xezat
62
76
  ERB.new(File.readlines(erb).join(nil), trim_mode: '%-').result(binding)
63
77
  end
64
78
 
65
- def append_commands_to_autotools(variables)
79
+ def append_commands_to_autotools(variables, options)
66
80
  srcdir = variables[:CYGCONF_SOURCE] || variables[:S]
81
+ srcdir = File.expand_path(File.join(variables[:S], options['srcdir'])) if options['srcdir']
67
82
  pn = variables[:PN]
68
83
  configure_ac = File.expand_path(File.join(srcdir, 'configure.ac'))
69
84
  configure_ac = File.expand_path(File.join(srcdir, 'configure.in')) unless File.exist?(configure_ac)
@@ -71,16 +86,23 @@ module Xezat
71
86
 
72
87
  original_ac = File.read(configure_ac)
73
88
 
74
- return if /#{pn}.pc/.match?(original_ac)
89
+ if /#{pn}.pc/.match?(original_ac)
90
+ Xezat.logger.debug(" Not rewrite #{configure_ac}")
91
+ return
92
+ end
93
+
94
+ rewritten_ac = original_ac.gsub(/^AC_OUTPUT$/, "AC_CONFIG_FILES([#{pn}.pc])#{$INPUT_RECORD_SEPARATOR}AC_OUTPUT")
75
95
 
76
- original_ac.gsub!(/(AC_CONFIG_FILES\(\[)/, "\\1#{"#{pn}.pc "}")
77
- File.atomic_write(configure_ac) do |fa|
78
- fa.write(original_ac)
96
+ File.atomic_open(configure_ac, 'w') do |fa|
97
+ fa.write(rewritten_ac)
79
98
 
80
99
  makefile_am = File.expand_path(File.join(srcdir, 'Makefile.am'))
81
100
  raise AutotoolsFileNotFoundError unless File.exist?(makefile_am)
82
101
 
83
- break if /pkgconfig_DATA/.match?(File.read(makefile_am))
102
+ if File.read(makefile_am).include?('pkgconfig_DATA')
103
+ Xezat.logger.debug(" Not rewrite #{makefile_am}")
104
+ break
105
+ end
84
106
 
85
107
  commands_am = File.read(File.expand_path(File.join(TEMPLATE_DIR, 'Makefile.am')))
86
108
  File.atomic_open(makefile_am, 'a') do |fm|
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'English'
3
4
  require 'etc'
4
5
  require 'facets/file/atomic_write'
5
6
  require 'facets/string/word_wrap'
@@ -17,20 +18,26 @@ module Xezat
17
18
 
18
19
  if File.exist?(cache_file) && File.ctime(cache_file) > File.ctime(cygport)
19
20
  Xezat.logger.debug(' Read cache for variables')
20
- return YAML.safe_load(File.open(cache_file), [Symbol]).each do |k, v|
21
+ return YAML.safe_load(File.open(cache_file), symbolize_names: true, permitted_classes: [Symbol]).each do |k, v|
21
22
  v.strip! if v.respond_to?(:strip) && k != :DESCRIPTION
22
23
  end
23
24
  end
24
25
 
25
- command = ['bash', File.expand_path(File.join(DATA_DIR, 'show_cygport_variable.sh')), cygport]
26
+ command = ['bash', File.expand_path(File.join(DATA_DIR, 'var2yaml.sh')), cygport]
26
27
  result, error, status = Open3.capture3(command.join(' '))
27
28
  raise CygportProcessError, error unless status.success?
28
29
 
29
30
  result.gsub!(/^.*\*\*\*.*$/, '')
30
31
 
31
- variables = YAML.safe_load(result, [Symbol]).each_value do |v|
32
- v.strip! if v.respond_to?(:strip)
32
+ begin
33
+ variables = YAML.safe_load(result, symbolize_names: true, permitted_classes: [Symbol]).each_value do |v|
34
+ v.strip! if v.respond_to?(:strip)
35
+ end
36
+ rescue Psych::SyntaxError => e
37
+ print_yaml(result)
38
+ raise e
33
39
  end
40
+
34
41
  variables[:DESCRIPTION].word_wrap!(79)
35
42
 
36
43
  File.atomic_write(cache_file) do |f|
@@ -40,4 +47,12 @@ module Xezat
40
47
 
41
48
  variables
42
49
  end
50
+
51
+ def print_yaml(result)
52
+ lineno = 1
53
+ result.split($INPUT_RECORD_SEPARATOR).each do |line|
54
+ printf '%<lineno>5d | %<line>s%<ls>s', lineno:, line:, ls: $INPUT_RECORD_SEPARATOR
55
+ lineno += 1
56
+ end
57
+ end
43
58
  end
data/lib/xezat/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Xezat
4
- VERSION = '0.2.2'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -0,0 +1,44 @@
1
+ ---
2
+ Bison:
3
+ package: bison
4
+ C:
5
+ package: gcc-core
6
+ dependencies:
7
+ - binutils
8
+ C++:
9
+ package: gcc-g++
10
+ dependencies:
11
+ - binutils
12
+ - gcc-core
13
+ Fortran:
14
+ package: gcc-fortran
15
+ dependencies:
16
+ - binutils
17
+ - gcc-core
18
+ Fortran Free Form:
19
+ package: gcc-fortran
20
+ dependencies:
21
+ - binutils
22
+ - gcc-core
23
+ Lex:
24
+ package: flex
25
+ Lua:
26
+ package: lua
27
+ #Objective-C:
28
+ # package: gcc-objc
29
+ # dependencies:
30
+ # - binutils
31
+ # - gcc-core
32
+ #Objective-C++:
33
+ # package: gcc-objc++
34
+ # dependencies:
35
+ # - binutils
36
+ # - gcc-core
37
+ Protocol Buffer:
38
+ package: libprotobuf-devel
39
+ Ragel:
40
+ package: ragel
41
+ Vala:
42
+ package: vala
43
+ Yacc:
44
+ package: bison
@@ -0,0 +1,11 @@
1
+ ---
2
+ ".C": C++
3
+ ".CXX": C++
4
+ ".H": C++
5
+ ".HXX": C++
6
+ ".c": C
7
+ ".cpp": C++
8
+ ".cxx": C++
9
+ ".h": C
10
+ ".hpp": C++
11
+ ".hxx": C++
@@ -0,0 +1,4 @@
1
+ ---
2
+ HOMEPAGE: https://bitbucket.org/${BITBUCKET_USER}/${PN}
3
+ SRC_URI: https://bitbucket.org/${BITBUCKET_USER}/${PN}/downloads/${P}.tar.gz
4
+ HG_URI: https://bitbucket.org/${BITBUCKET_USER}/${PN}
@@ -0,0 +1,4 @@
1
+ ---
2
+ HOMEPAGE: https://github.com/${GITHUB_USER}/${PN}
3
+ SRC_URI: https://github.com/${GITHUB_USER}/${PN}/archive/refs/tags/v${PV}.tar.gz
4
+ GIT_URI: https://github.com/${GITHUB_USER}/${PN}.git
@@ -0,0 +1,3 @@
1
+ ---
2
+ HOMEPAGE: https://www.gnu.org/software/${PN}/
3
+ SRC_URI: mirror://gnu/${PN}/${P}.tar.gz
@@ -0,0 +1,3 @@
1
+ ---
2
+ HOMEPAGE: https://www.nongnu.org/${PN}/
3
+ SRC_URI: mirror://savannah/${PN}/${P}.tar.gz
@@ -0,0 +1,5 @@
1
+ ---
2
+ HOMEPAGE: https://sourceforge.net/projects/${PN}/
3
+ SRC_URI: mirror://sourceforge/${PN}/${P}.tar.gz
4
+ SVN_URI: svn://svn.code.sf.net/p/${PN}/code
5
+ GIT_URI: git://git.code.sf.net/p/${PN}/code
@@ -1,8 +1,6 @@
1
- if (CYGWIN)
2
- set(prefix ${CMAKE_INSTALL_PREFIX})
3
- set(exec_prefix ${CMAKE_INSTALL_PREFIX})
4
- set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
5
- set(includedir ${CMAKE_INSTALL_PREFIX}/include)
6
- configure_file(${CMAKE_SOURCE_DIR}/<%= variables[:PN] %>.pc.in ${CMAKE_BINARY_DIR}/<%= variables[:PN] %>.pc @ONLY)
7
- install(FILES ${CMAKE_BINARY_DIR}/<%= variables[:PN] %>.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
8
- endif()
1
+ set(prefix ${CMAKE_INSTALL_PREFIX})
2
+ set(exec_prefix ${CMAKE_INSTALL_PREFIX})
3
+ set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
4
+ set(includedir ${CMAKE_INSTALL_PREFIX}/include)
5
+ configure_file(${CMAKE_SOURCE_DIR}/<%= variables[:PN] %>.pc.in ${CMAKE_BINARY_DIR}/<%= variables[:PN] %>.pc @ONLY)
6
+ install(FILES ${CMAKE_BINARY_DIR}/<%= variables[:PN] %>.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
@@ -6,6 +6,10 @@ CATEGORY="<%= category %>"
6
6
  SUMMARY="<%= summary %>"
7
7
  DESCRIPTION="<%= description %>"
8
8
 
9
+ LICENSE=""
10
+ LICENSE_SPDX="SPDX-License-Identifier: "
11
+ LICENSE_URI="COPYING"
12
+
9
13
  <% cygclasses.each do |cygclass| -%>
10
14
  inherit <%= cygclass %>
11
15
  <% end -%>
@@ -1,6 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
- show_cygport_variables()
3
+ var2yaml()
4
4
  {
5
5
  for var in `compgen -A variable`
6
6
  do
@@ -8,6 +8,7 @@ show_cygport_variables()
8
8
  [ $var = 'COMP_WORDBREAKS' ] && continue
9
9
  [ $var = 'HOMEPATH' ] && continue
10
10
  [ $var = 'PERL_MB_OPT' ] && continue
11
+ [ $var = 'PSModulePath' ] && continue
11
12
  [[ ${!var} =~ ^[A-Za-z]:.* ]] && continue
12
13
 
13
14
  echo -n :$var:
@@ -28,4 +29,4 @@ show_cygport_variables()
28
29
  done
29
30
  }
30
31
 
31
- source ${CYGPORT:-/usr/bin/cygport} $* show_cygport_variables
32
+ source ${CYGPORT:-/usr/bin/cygport} $* var2yaml
data/xezat.gemspec CHANGED
@@ -21,22 +21,22 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = 'exe'
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
- spec.required_ruby_version = '>= 2.6.4'
24
+ spec.required_ruby_version = '>= 3.2.2'
25
25
 
26
26
  spec.add_runtime_dependency 'facets', '>= 3.1.0'
27
- spec.add_runtime_dependency 'github-linguist', '>= 7.13.0'
28
- spec.add_runtime_dependency 'pkg-config', '>= 1.4.5'
29
- spec.add_runtime_dependency 'thor', '>= 0.20.3'
30
- spec.add_runtime_dependency 'thor-zsh_completion', '>= 0.1.9'
27
+ spec.add_runtime_dependency 'github-linguist', '>= 7.26.0'
28
+ spec.add_runtime_dependency 'pkg-config', '>= 1.5.2'
29
+ spec.add_runtime_dependency 'spdx', '>= 4.1.3'
30
+ spec.add_runtime_dependency 'thor', '>= 1.2.2'
31
+ spec.add_runtime_dependency 'thor-zsh_completion', '>= 0.1.10'
31
32
 
32
33
  spec.add_development_dependency 'bundler', '>= 1.15.3'
33
- spec.add_development_dependency 'fasterer', '>= 0.9.0'
34
+ spec.add_development_dependency 'fasterer', '>= 0.10.1'
34
35
  spec.add_development_dependency 'rake', '>= 13.0'
35
- spec.add_development_dependency 'rspec', '>= 3.9.0'
36
- spec.add_development_dependency 'rspec_junit_formatter', '<= 0.4.1'
37
- spec.add_development_dependency 'rubocop', '>= 1.10.0'
38
- spec.add_development_dependency 'rubocop-performance', '>= 1.9.2'
39
- spec.add_development_dependency 'simplecov', '>= 0.21.2'
36
+ spec.add_development_dependency 'rspec', '>= 3.12.0'
37
+ spec.add_development_dependency 'rubocop', '>= 1.54.1'
38
+ spec.add_development_dependency 'rubocop-performance', '>= 1.18.0'
39
+ spec.add_development_dependency 'simplecov-cobertura', '>= 2.1.0'
40
40
 
41
41
  spec.metadata['rubygems_mfa_required'] = 'true'
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xezat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Fujimura (fd0)
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-23 00:00:00.000000000 Z
11
+ date: 2023-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facets
@@ -30,56 +30,70 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 7.13.0
33
+ version: 7.26.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 7.13.0
40
+ version: 7.26.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pkg-config
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.4.5
47
+ version: 1.5.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.4.5
54
+ version: 1.5.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: spdx
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 4.1.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 4.1.3
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: thor
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 0.20.3
75
+ version: 1.2.2
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
68
- version: 0.20.3
82
+ version: 1.2.2
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: thor-zsh_completion
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: 0.1.9
89
+ version: 0.1.10
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: 0.1.9
96
+ version: 0.1.10
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bundler
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - ">="
102
116
  - !ruby/object:Gem::Version
103
- version: 0.9.0
117
+ version: 0.10.1
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - ">="
109
123
  - !ruby/object:Gem::Version
110
- version: 0.9.0
124
+ version: 0.10.1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rake
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -128,70 +142,56 @@ dependencies:
128
142
  requirements:
129
143
  - - ">="
130
144
  - !ruby/object:Gem::Version
131
- version: 3.9.0
145
+ version: 3.12.0
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - ">="
137
151
  - !ruby/object:Gem::Version
138
- version: 3.9.0
139
- - !ruby/object:Gem::Dependency
140
- name: rspec_junit_formatter
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "<="
144
- - !ruby/object:Gem::Version
145
- version: 0.4.1
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "<="
151
- - !ruby/object:Gem::Version
152
- version: 0.4.1
152
+ version: 3.12.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 1.10.0
159
+ version: 1.54.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 1.10.0
166
+ version: 1.54.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rubocop-performance
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: 1.9.2
173
+ version: 1.18.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 1.9.2
180
+ version: 1.18.0
181
181
  - !ruby/object:Gem::Dependency
182
- name: simplecov
182
+ name: simplecov-cobertura
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: 0.21.2
187
+ version: 2.1.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: 0.21.2
194
+ version: 2.1.0
195
195
  description: xezat helps you win at cygport.
196
196
  email:
197
197
  - booleanlabel@gmail.com
@@ -200,8 +200,8 @@ executables:
200
200
  extensions: []
201
201
  extra_rdoc_files: []
202
202
  files:
203
- - ".circleci/config.yml"
204
203
  - ".fasterer.yml"
204
+ - ".github/workflows/ruby.yml"
205
205
  - ".gitignore"
206
206
  - ".gitmodules"
207
207
  - ".rspec"
@@ -232,6 +232,9 @@ files:
232
232
  - lib/xezat/command/init.rb
233
233
  - lib/xezat/command/port.rb
234
234
  - lib/xezat/command/validate.rb
235
+ - lib/xezat/command/validate/config.rb
236
+ - lib/xezat/command/validate/license.rb
237
+ - lib/xezat/command/validate/pkgconfig.rb
235
238
  - lib/xezat/config.rb
236
239
  - lib/xezat/cygchangelog.rb
237
240
  - lib/xezat/cygclasses.rb
@@ -256,8 +259,8 @@ files:
256
259
  - lib/xezat/detector/python27.rb
257
260
  - lib/xezat/detector/python36.rb
258
261
  - lib/xezat/detector/python37.rb
259
- - lib/xezat/detector/python38-docutils.rb
260
262
  - lib/xezat/detector/python38.rb
263
+ - lib/xezat/detector/python39-docutils.rb
261
264
  - lib/xezat/detector/python39.rb
262
265
  - lib/xezat/detector/roundup.rb
263
266
  - lib/xezat/detector/waf.rb
@@ -270,28 +273,28 @@ files:
270
273
  - lib/xezat/variables.rb
271
274
  - lib/xezat/version.rb
272
275
  - share/xezat/categories.yaml
273
- - share/xezat/compilers.json
274
- - share/xezat/invoke_cygport_dep.sh
275
- - share/xezat/languages.json
276
- - share/xezat/repository/bitbucket.json
277
- - share/xezat/repository/github.json
278
- - share/xezat/repository/gnu.json
279
- - share/xezat/repository/savannah.json
280
- - share/xezat/repository/sourceforge.json
281
- - share/xezat/show_cygport_variable.sh
276
+ - share/xezat/compilers.yaml
277
+ - share/xezat/cygport_dep.sh
278
+ - share/xezat/languages.yaml
279
+ - share/xezat/repository/bitbucket.yaml
280
+ - share/xezat/repository/github.yaml
281
+ - share/xezat/repository/gnu.yaml
282
+ - share/xezat/repository/savannah.yaml
283
+ - share/xezat/repository/sourceforge.yaml
282
284
  - share/xezat/template/Makefile.am
283
285
  - share/xezat/template/README.erb
284
286
  - share/xezat/template/announce.erb
285
287
  - share/xezat/template/cmake.erb
286
288
  - share/xezat/template/cygport.erb
287
289
  - share/xezat/template/pkgconfig.erb
290
+ - share/xezat/var2yaml.sh
288
291
  - xezat.gemspec
289
292
  homepage: https://github.com/fd00/xezat
290
293
  licenses:
291
294
  - MIT
292
295
  metadata:
293
296
  rubygems_mfa_required: 'true'
294
- post_install_message:
297
+ post_install_message:
295
298
  rdoc_options: []
296
299
  require_paths:
297
300
  - lib
@@ -299,15 +302,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
299
302
  requirements:
300
303
  - - ">="
301
304
  - !ruby/object:Gem::Version
302
- version: 2.6.4
305
+ version: 3.2.2
303
306
  required_rubygems_version: !ruby/object:Gem::Requirement
304
307
  requirements:
305
308
  - - ">="
306
309
  - !ruby/object:Gem::Version
307
310
  version: '0'
308
311
  requirements: []
309
- rubygems_version: 3.2.32
310
- signing_key:
312
+ rubygems_version: 3.4.10
313
+ signing_key:
311
314
  specification_version: 4
312
315
  summary: xezat helps you win at cygport.
313
316
  test_files: []