ruby-qt6-rice 6.1.0 → 6.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ab2684a1d0400d98bffa6d22d6432a55684dd88517c9456285b147612ea77e6
4
- data.tar.gz: 4ff95b5758a1b7478c2efe357f0832e8d2748960b5ffdc42138334578c2926b0
3
+ metadata.gz: 6a6aeeea52c229e9ec9107f0a878f810f4da0f57f1125e4d234a7cbee9f34f26
4
+ data.tar.gz: b4a14875c07b82212e67509d0ca6554390a841e1c27a477a249f21329d67f223
5
5
  SHA512:
6
- metadata.gz: a72c624656b2fa1f5484d77cb67d88ef394987d3de285b044e25048586f140748684356a0f2bcfd18c220c85c50a9802bf1a04a0f993ee91c7bade6f3583803d
7
- data.tar.gz: '08aead01b9205ad115a1cff1e4371fd98ebfbba934ef229f07b6881265bd843b2876161d2b8a19f492112a14c8835fda3d090ef85d2e1ac9231f0be227b196ea'
6
+ metadata.gz: 1a0e49a306ecd7bb4cee1081b75e46255cb2d8a94a1da790d6b7863b1eecb657111a324faea87076eedd950471f049f8f9f21b718a8d476e7cf12d7b1b484bd3
7
+ data.tar.gz: e8e55d43cabc562f8570fbb84c14405d336b37a2b31501c8f10f818c8911ff2bf53dc43db5fea72f1f6a1783edb78bcfd0540ce6b877d33850591b7cc948ae90
data/lib/mkmf-rubyqt6.rb CHANGED
@@ -68,8 +68,10 @@ def rubyqt6_extconf(mod, depends:)
68
68
 
69
69
  # Add rice library
70
70
  if mod != "Rice"
71
- rubyqt6_rice_gem_path = Gem::Specification.find_by_name("ruby-qt6-rice").full_gem_path
72
- append_ldflags(File.join(rubyqt6_rice_gem_path, "lib/qt6/rice/rice.so"))
71
+ spec = Gem::Specification.find_by_name("ruby-qt6-rice")
72
+ rice_so = File.join(spec.full_gem_path, "lib/qt6/rice/rice.so")
73
+ rice_so = File.join(spec.extension_dir, "qt6/rice/rice.so") unless File.exist?(rice_so)
74
+ append_ldflags(rice_so)
73
75
  end
74
76
 
75
77
  # Create Makefile
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyQt6
4
4
  module Rice
5
- RICE_RUBYGEM_VERSION = "6.1.0"
5
+ RICE_RUBYGEM_VERSION = "6.2.0"
6
6
  end
7
7
  end
data/lib/qt6/rice.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "rice/version"
4
- require_relative "rice/rice"
3
+ require "qt6/rice/version"
4
+ require "qt6/rice/rice"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-qt6-rice
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Doe
@@ -9,7 +9,6 @@ bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
- description: Extend the Rice library with support for the Qt framework.
13
12
  email:
14
13
  - johndoe@example.com
15
14
  executables: []
@@ -61,11 +60,9 @@ files:
61
60
  - lib/qt6/rice.rb
62
61
  - lib/qt6/rice/version.rb
63
62
  homepage: https://github.com/souk4711/ruby-qt6
64
- licenses: []
65
- metadata:
66
- homepage_uri: https://github.com/souk4711/ruby-qt6
67
- source_code_uri: https://github.com/souk4711/ruby-qt6
68
- changelog_uri: https://github.com/souk4711/ruby-qt6
63
+ licenses:
64
+ - LGPL-3.0-only WITH LGPL-3.0-linking-exception
65
+ metadata: {}
69
66
  rdoc_options: []
70
67
  require_paths:
71
68
  - lib