rake-compiler 1.2.6 → 1.2.7

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: f243037733734893d8bfccf0e0ff1ec756a4c61337b2b5db1801661e1b1f3568
4
- data.tar.gz: 3865a0acf0c3d223bf0581619d91be63c60408835f315d1764a6633ec2dc70bd
3
+ metadata.gz: fdf6389e6b4169f65129558cec8a351d8f3e702334f6170008f4f03bf71e83fa
4
+ data.tar.gz: af37e1abf6acce78a1ab6d2e90dbcba3d187c6f7811e511129a324f8312e413f
5
5
  SHA512:
6
- metadata.gz: 88e96d4827f56313265d96945ddf5e26a1dd5551248af1726c72346d9d94545060efdb31044bab5e0149279d6830c8710167e6bfa82c56caf7458c0fe78f79c1
7
- data.tar.gz: 4e12dafaf79b2bcc148ee5e16284258caa411ede99d851936beb8a462dcaeeac0b2603a9397a135cabdc585b9f2ad7e6ada13b84eb695cd5788b7c1bcab41c38
6
+ metadata.gz: 8491fbca4836b966fc807c8b4d221f5957f1760ed8f659ec2cd627d2ec2c12630c29c664d6ec37bc8c4eda150ea909a5ccd226aaa28e2c9fedbd6a0864e0edf6
7
+ data.tar.gz: 263ad62cdf668c4e4d30abe607dbf26b0baf2a8d0cbcb7bfb67caba8937f415d3d85b71f6cca7e37b14722ea6bdac3595ac66d21b149b2715ac33c93f14819bb
data/History.md CHANGED
@@ -1,3 +1,13 @@
1
+ ### 1.2.7 / 2024-01-31
2
+
3
+ * Improvements:
4
+ * GH-236: Added support for setting `required_rubygems_version` for
5
+ fat-gems that specify the Linux libc.
6
+ [Patch by Mike Dalessio]
7
+
8
+ * Thanks:
9
+ * Mike Dalessio
10
+
1
11
  ### 1.2.6 / 2024-01-23
2
12
 
3
13
  * Improvements:
@@ -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
@@ -1,6 +1,6 @@
1
1
  begin
2
2
  require "rspec/core/rake_task"
3
- rescue LoadError => e
3
+ rescue LoadError
4
4
  warn "RSpec gem is required, please install it (gem install rspec)."
5
5
  end
6
6
 
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.6
4
+ version: 1.2.7
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: 2024-01-23 00:00:00.000000000 Z
12
+ date: 2024-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake