rake-compiler 1.2.4 → 1.2.5
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 +15 -0
- data/lib/rake/extensiontask.rb +6 -3
- 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: 7a79867d000ebf722309c4b0573deda2d27364421729666fa2df74c0876daceb
|
4
|
+
data.tar.gz: e6ba055360cad7bde216401588647bfc1cca2319fb32e404430a98ecf0a26e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f234853779e19b35542456e590c32fefbc177d0124e4420ce2eeb109e6dd68c3b6f7f2ec1fb23540011e16fd3bbee913575ec3fd66691327f2c4f16386a4e40
|
7
|
+
data.tar.gz: ebce66c281af8bb6d6602bdd811b74ed57a4f56ff0542d648f21adb92c989e2f9cbd3afb25cb85aa3118f4f8cbd7c8ce80c7a701788e52986f0928b22fabdd9f
|
data/History.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
### 1.2.5 / 2023-08-03
|
2
|
+
|
3
|
+
* Fixes:
|
4
|
+
* GH-225: Fixed a bug that `rake compile` may not work on Windows.
|
5
|
+
[Reported by Lukasz Suleja]
|
6
|
+
* GH-224 GH-226: Fixed a bug that 1.2.4 doesn't work on Ruby < 2.6.
|
7
|
+
[Reported by Ivo Anjo]
|
8
|
+
[Patch by Mike Dalessio and Akira Matsuda separately]
|
9
|
+
|
10
|
+
* Thanks:
|
11
|
+
* Lukasz Suleja
|
12
|
+
* Ivo Anjo
|
13
|
+
* Mike Dalessio
|
14
|
+
* Akira Matsuda
|
15
|
+
|
1
16
|
### 1.2.4 / 2023-08-01
|
2
17
|
|
3
18
|
* Enhancements:
|
data/lib/rake/extensiontask.rb
CHANGED
@@ -163,7 +163,7 @@ module Rake
|
|
163
163
|
task "copy:#{@name}:#{platf}:#{ruby_ver}" => [lib_path, tmp_binary_path, "#{tmp_path}/Makefile"] do
|
164
164
|
# install in lib for native platform only
|
165
165
|
unless for_platform
|
166
|
-
relative_lib_path = Pathname(lib_path).relative_path_from(tmp_path)
|
166
|
+
relative_lib_path = Pathname(lib_path).relative_path_from(Pathname.new(tmp_path))
|
167
167
|
|
168
168
|
make_command_line = Shellwords.shellsplit(make)
|
169
169
|
make_command_line << "install"
|
@@ -513,12 +513,15 @@ Java extension should be preferred.
|
|
513
513
|
def find_make
|
514
514
|
candidates = ["gmake", "make"]
|
515
515
|
paths = (ENV["PATH"] || "").split(File::PATH_SEPARATOR)
|
516
|
+
paths = paths.collect do |path|
|
517
|
+
Pathname(path).cleanpath
|
518
|
+
end
|
516
519
|
|
517
520
|
exeext = RbConfig::CONFIG["EXEEXT"]
|
518
521
|
candidates.each do |candidate|
|
519
522
|
paths.each do |path|
|
520
|
-
make =
|
521
|
-
return make if
|
523
|
+
make = path + "#{candidate}#{exeext}"
|
524
|
+
return make.to_s if make.executable?
|
522
525
|
end
|
523
526
|
end
|
524
527
|
|
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.2.
|
4
|
+
version: 1.2.5
|
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: 2023-08-
|
12
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|