rake-compiler 1.1.3 → 1.1.4
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 +4 -4
- data/History.md +8 -2
- data/lib/rake/extensiontask.rb +15 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2df6d32ecd0f965fa8cc4bcf0e9f759bfe8e73ec5bf63f87999c1eef85bbb5b9
|
4
|
+
data.tar.gz: 3d2667098cfec7225cdb964a3a583057cde8e4b4567bf0f55fa3ea536274c1ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43f6999c6303f0b7bae2557aed5491c3d075a85708fc03df61012c345f7bfdc5388c85570d23d30a50d43d21243704f0b4d0041e251920e73471ff8a62d810c
|
7
|
+
data.tar.gz: 826c274c9cf1a6d5bb4a7e8c46e933e0aa144c18a02f8c5fe42b7f845ee346d150cfd6111a6073d5d98bcd18d645f2632a6dd640d4bb882d7153a5fee9073f00
|
data/History.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
-
### 1.1.
|
1
|
+
### 1.1.4 / 2021-12-11
|
2
2
|
|
3
3
|
* Fixes:
|
4
|
-
* Fix a bug that
|
4
|
+
* Fix a regression bug that installed gem can't be found on cross compile.
|
5
|
+
[#195](https://github.com/rake-compiler/rake-compiler/issues/195) [Reported by Mike Dalessio]
|
6
|
+
|
7
|
+
### 1.1.3 / 2021-12-08
|
8
|
+
|
9
|
+
* Fixes:
|
10
|
+
* Fix a regression bug that wrong install location is used.
|
5
11
|
[#194](https://github.com/rake-compiler/rake-compiler/issues/194) [Reported by Andrew Kane]
|
6
12
|
|
7
13
|
### 1.1.2 / 2021-12-07
|
data/lib/rake/extensiontask.rb
CHANGED
@@ -416,8 +416,21 @@ Java extension should be preferred.
|
|
416
416
|
# genearte fake.rb for different ruby versions
|
417
417
|
file "#{tmp_path}/fake.rb" => [rbconfig_file] do |t|
|
418
418
|
File.open(t.name, 'w') do |f|
|
419
|
-
|
420
|
-
|
419
|
+
# Keep the original RbConfig::CONFIG["ENABLE_SHARED"] to use
|
420
|
+
# the same RubyGems extension directory. See also
|
421
|
+
# Gem::BasicSpecificaion#extenions_dir and
|
422
|
+
# Gem.extension_api_version.
|
423
|
+
#
|
424
|
+
# if RbConfig::CONFIG["ENABLE_SHARED"] == "no"
|
425
|
+
# "extensions/x86_64-linux/2.5.0-static"
|
426
|
+
# else
|
427
|
+
# "extensions/x86_64-linux/2.5.0"
|
428
|
+
# end
|
429
|
+
f.puts("require 'rbconfig'")
|
430
|
+
f.puts("original_enable_shared = RbConfig::CONFIG['ENABLE_SHARED']")
|
431
|
+
f.puts(fake_rb(for_platform, ruby_ver))
|
432
|
+
f.puts(File.read(t.prerequisites.first))
|
433
|
+
f.puts("RbConfig::CONFIG['ENABLE_SHARED'] = original_enable_shared")
|
421
434
|
end
|
422
435
|
end
|
423
436
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-12-
|
12
|
+
date: 2021-12-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|