tebako 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf7f343e3ed1cef12b766eaa2cc0834c31882f7cf78629b5079856d9c5b94765
4
- data.tar.gz: 852554fa13a1c95a22bef4234a2063f0879b66ffd53b0cc2635b232c8dbfa1bd
3
+ metadata.gz: b43c94809ed1e1d7ad41d66c9092ae6b7c407c732c86dd1223799b857bd92d27
4
+ data.tar.gz: d5c772c813731c424b6e85f157bf9a18354b00201a6691f58032695123b3c74e
5
5
  SHA512:
6
- metadata.gz: ad25d6a39cb8a2b3ff00d2f109299682da1cdceda1b852e9ea6b144b6bfbc4e087a70e9441295196623e10f5f9281390fefa2c9d9b40858e7beb622d6a860275
7
- data.tar.gz: fdcf01004d51fafd178f76fc7684140653cdf84dc8ea400c2956713c7034e0b8f99b7ff46f236babc1b8b313ac4f199b128d0c6fb8d5f71af93baa215c23e743
6
+ metadata.gz: bcd2e75b1a14c3b6abfdea79311adffc6cda1cac33bdcf9d82e9d5ffe49ccbe355fd4672d518f32af2e51d54dbd3b06c5a57052795d075da005cfdb361414e12
7
+ data.tar.gz: 2d2034828dcb86ca8eca33dc50e5885fe5b33a0a274ec8c347bbde33c4ac8948964934ccd91fc999edbc1f5425eae3f24c594f67cab4479917ed6373398571b5
data/CMakeLists.txt CHANGED
@@ -33,8 +33,9 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.23.10")
33
33
  cmake_policy(SET CMP0135 NEW)
34
34
  endif()
35
35
 
36
- include(${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake-scripts/version.cmake)
37
- determine_version("${CMAKE_CURRENT_SOURCE_DIR}" TEBAKO)
36
+ if ("-${TEBAKO_VERSION}" STREQUAL "-")
37
+ message(FATAL_ERROR "Tebako version is not specified.")
38
+ endif()
38
39
 
39
40
  project(tebako_packager VERSION ${TEBAKO_VERSION})
40
41
 
data/Rakefile CHANGED
@@ -33,14 +33,3 @@ RuboCop::RakeTask.new
33
33
  RSpec::Core::RakeTask.new(:spec)
34
34
 
35
35
  task default: %i[rubocop spec]
36
-
37
- desc "Generate version.txt"
38
- task "generate_version_txt" do
39
- require_relative "lib/tebako/version"
40
- version_without_rc = Tebako::VERSION.gsub(/\.rc\d+/, "")
41
- File.write(File.join(__dir__, "version.txt"), "#{version_without_rc}\n")
42
- puts "Generating #{File.join(__dir__, "version.txt")}; version = #{version_without_rc}"
43
- end
44
-
45
- task build: :generate_version_txt
46
- task release: :generate_version_txt
@@ -55,7 +55,8 @@ module Tebako
55
55
  # So we have to use \"xxx\"
56
56
  @cfg_options ||=
57
57
  "-DCMAKE_BUILD_TYPE=Release -DRUBY_VER:STRING=\"#{ruby_ver}\" -DRUBY_HASH:STRING=\"#{ruby_hash}\" " \
58
- "-DDEPS:STRING=\"#{deps}\" -G \"#{m_files}\" -B \"#{output_folder}\" -S \"#{source}\""
58
+ "-DDEPS:STRING=\"#{deps}\" -G \"#{m_files}\" -B \"#{output_folder}\" -S \"#{source}\" " \
59
+ "-DTEBAKO_VERSION:STRING=\"#{Tebako::VERSION}\""
59
60
  end
60
61
 
61
62
  def clean_cache
@@ -26,5 +26,5 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module Tebako
29
- VERSION = "0.8.3"
29
+ VERSION = "0.8.4"
30
30
  end
data/tebako.gemspec CHANGED
@@ -55,8 +55,6 @@ Gem::Specification.new do |spec|
55
55
  end
56
56
  end
57
57
 
58
- spec.files << "version.txt"
59
-
60
58
  spec.bindir = "exe"
61
59
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
62
60
  spec.require_paths = %w[cmake exe ext include lib resources src tools/ci-scripts tools/cmake-scripts tools/includes]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tebako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-14 00:00:00.000000000 Z
11
+ date: 2024-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -209,7 +209,6 @@ files:
209
209
  - tools/tests/setup-libhowardhinnerdate/CMakeLists.txt
210
210
  - tools/tests/setup-librachive/CMakeLists.txt
211
211
  - tools/tests/setup-libutfcpp/CMakeLists.txt
212
- - version.txt
213
212
  homepage: https://github.com/tamatebako/tebako
214
213
  licenses:
215
214
  - BSD-2-Clause
data/version.txt DELETED
@@ -1 +0,0 @@
1
- 0.8.3