rake-compiler 1.2.6 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +19 -0
- data/lib/rake/extensiontask.rb +12 -2
- data/tasks/rspec.rake +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d4560884ec49a0f783395d6211cb99c7403a9ce454b787b512d5aba0a843e96
|
4
|
+
data.tar.gz: a85881febefd60aef5d36e093ed46646a35bb9cdd827cb96b1fdd226b58e0ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd726a0b3c0b146329e28e099d789e5fd9375b8e02a0519983850dca66bc073f507279b82b95e168d8be82830f33e93c14ce298a7163ba84ee82eccd53bc3fa0
|
7
|
+
data.tar.gz: f3ad7d4dceebb3c01c5d3143047b28437172ba41199c0df35c280ad47652c7426ae5e01e944a8a8241b809db002ea96143a6eeba48f1756721cc3d915abd8949
|
data/History.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
### 1.2.8 / 2024-10-04
|
2
|
+
|
3
|
+
* Improvements:
|
4
|
+
* GH-240: Stopped to generate tasks for nonexistent files.
|
5
|
+
* Patch by y-yagi
|
6
|
+
|
7
|
+
* Thanks:
|
8
|
+
* y-yagi
|
9
|
+
|
10
|
+
### 1.2.7 / 2024-01-31
|
11
|
+
|
12
|
+
* Improvements:
|
13
|
+
* GH-236: Added support for setting `required_rubygems_version` for
|
14
|
+
fat-gems that specify the Linux libc.
|
15
|
+
[Patch by Mike Dalessio]
|
16
|
+
|
17
|
+
* Thanks:
|
18
|
+
* Mike Dalessio
|
19
|
+
|
1
20
|
### 1.2.6 / 2024-01-23
|
2
21
|
|
3
22
|
* Improvements:
|
data/lib/rake/extensiontask.rb
CHANGED
@@ -107,8 +107,8 @@ module Rake
|
|
107
107
|
lib_binary_path = "#{lib_path}/#{File.basename(binary(platf))}"
|
108
108
|
|
109
109
|
files.each do |gem_file|
|
110
|
-
# ignore directories
|
111
|
-
next if File.directory?(gem_file) || gem_file == lib_binary_path
|
110
|
+
# ignore directories, the binary extension and non-existent files
|
111
|
+
next if File.directory?(gem_file) || gem_file == lib_binary_path || !File.exist?(gem_file)
|
112
112
|
stage_file = "#{stage_path}/#{gem_file}"
|
113
113
|
|
114
114
|
# copy each file from base to stage directory
|
@@ -278,6 +278,16 @@ Java extension should be preferred.
|
|
278
278
|
"< #{ruby_api_version(sorted_ruby_versions.last).succ}.dev"
|
279
279
|
]
|
280
280
|
|
281
|
+
# set rubygems version constraints
|
282
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("3.3.22") &&
|
283
|
+
spec.platform.os == "linux" && !spec.platform.version.nil?
|
284
|
+
spec.required_rubygems_version = if spec.required_rubygems_version == Gem::Requirement.default
|
285
|
+
[">= 3.3.22"]
|
286
|
+
else
|
287
|
+
Gem::Requirement.new(gem_spec.required_rubygems_version, ">= 3.3.22")
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
281
291
|
# clear the extensions defined in the specs
|
282
292
|
spec.extensions.clear
|
283
293
|
|
data/tasks/rspec.rake
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
- Luis Lavena
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2024-
|
11
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
@@ -122,7 +121,6 @@ homepage: https://github.com/rake-compiler/rake-compiler
|
|
122
121
|
licenses:
|
123
122
|
- MIT
|
124
123
|
metadata: {}
|
125
|
-
post_install_message:
|
126
124
|
rdoc_options:
|
127
125
|
- "--main"
|
128
126
|
- README.md
|
@@ -141,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
139
|
- !ruby/object:Gem::Version
|
142
140
|
version: 1.8.23
|
143
141
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
145
|
-
signing_key:
|
142
|
+
rubygems_version: 3.6.0.dev
|
146
143
|
specification_version: 4
|
147
144
|
summary: Rake-based Ruby Extension (C, Java) task generator.
|
148
145
|
test_files: []
|