mkmf-lite 0.7.0 → 0.7.1

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: 72c07ed9aa3d8aef12735ec24829df062a4e0461251cbc756f1b45e4e7db0c84
4
- data.tar.gz: '04393aeb022d6686e32406dc15f0370ca128ca65508ef11d07c477c1049a3728'
3
+ metadata.gz: 55c14044604c5889a36d8d2fee0ae1112c35297201f9727cf7568630cd735bfc
4
+ data.tar.gz: 4eecbb5306d00f09742f1969fcb30d14703f6730c9b5c9067ac9eb319a784d19
5
5
  SHA512:
6
- metadata.gz: 69323d948af2a1c02bdb3b2189b083f66a19438c6ecfa142414b25f46465aa2c5e1860c3993d6dbac69eb337de939ef80defce1caa65267c25db6a9a5f1b9148
7
- data.tar.gz: cd7610faf9fcc1638980e4938b87fa73a9beb6376e291c51ba4fdc79e616a01e4db2493211d55ccf07d1f58c94b077e15c573a403bc363f42c657b4005f347b9
6
+ metadata.gz: 70a74c5abed4b1efb35eea74d866ab7eee463f52dea3eefbeb6d10b81cbdcbb21661413b5b31879c4c3cdca3cb655a94ee2f0332c1e782979b11db7922ab3285
7
+ data.tar.gz: 3cbac4e68dbdede43b083a20713f4dc81a10ba351dd0842d9768f75218637a825e1526f43fabd5b8ea8721f79c4ee799e85994a8216716e27bbafe3d111ad3d4
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGES.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.7.1 - 29-Sep-2024
2
+ * Skip adding compiler switches for JRuby, which chokes on them for some reason.
3
+
1
4
  ## 0.7.0 - 13-Sep-2024
2
5
  * Append typical library switches to the compiler command. There was a private
3
6
  method already in the code but I wasn't using it.
data/README.md CHANGED
@@ -48,13 +48,13 @@ since they wouldn't ever change without requiring a reboot/restart of your
48
48
  server, container, etc, anyway.
49
49
 
50
50
  ## Known Issues
51
- Very old versions of JRuby will emit a warning. You should upgrade.
51
+ JRuby may emit warnings on some platforms.
52
52
 
53
53
  ## License
54
54
  Apache-2.0
55
55
 
56
56
  ## Copyright
57
- (C) 2010-2023 Daniel J. Berger
57
+ (C) 2010-2024 Daniel J. Berger
58
58
  All Rights Reserved
59
59
 
60
60
  ## Warranty
data/lib/mkmf/lite.rb CHANGED
@@ -16,7 +16,7 @@ module Mkmf
16
16
  extend Memoist
17
17
 
18
18
  # The version of the mkmf-lite library
19
- MKMF_LITE_VERSION = '0.7.0'
19
+ MKMF_LITE_VERSION = '0.7.1'
20
20
 
21
21
  private
22
22
 
@@ -24,6 +24,12 @@ module Mkmf
24
24
  RbConfig::CONFIG['DEFS']
25
25
  end
26
26
 
27
+ def jruby?
28
+ defined?(JRUBY_VERSION) ? true : false
29
+ end
30
+
31
+ memoize :jruby?
32
+
27
33
  # rubocop:disable Layout/LineLength
28
34
  def cpp_command
29
35
  command = RbConfig::CONFIG['CC'] || RbConfig::CONFIG['CPP'] || File.which('cc') || File.which('gcc') || File.which('cl')
@@ -50,6 +56,7 @@ module Mkmf
50
56
 
51
57
  def cpp_libraries
52
58
  return if File::ALT_SEPARATOR && RbConfig::CONFIG['CPP'] =~ /^cl/
59
+ return if jruby?
53
60
 
54
61
  if cpp_command =~ /clang/i
55
62
  '-Lrt -Ldl -Lcrypt -Lm'
data/mkmf-lite.gemspec CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'mkmf-lite'
5
5
  spec.summary = 'A lighter version of mkmf designed for use as a library'
6
- spec.version = '0.7.0'
6
+ spec.version = '0.7.1'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.license = 'Apache-2.0'
9
9
  spec.email = 'djberg96@gmail.com'
@@ -20,7 +20,7 @@ RSpec.describe Mkmf::Lite do
20
20
 
21
21
  describe 'constants' do
22
22
  example 'version information' do
23
- expect(described_class::MKMF_LITE_VERSION).to eq('0.7.0')
23
+ expect(described_class::MKMF_LITE_VERSION).to eq('0.7.1')
24
24
  expect(described_class::MKMF_LITE_VERSION).to be_frozen
25
25
  end
26
26
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkmf-lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
@@ -35,7 +35,7 @@ cert_chain:
35
35
  ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
36
  WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
37
  -----END CERTIFICATE-----
38
- date: 2024-09-14 00:00:00.000000000 Z
38
+ date: 2024-09-29 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: ptools
@@ -160,7 +160,7 @@ metadata:
160
160
  source_code_uri: https://github.com/djberg96/mkmf-lite
161
161
  wiki_uri: https://github.com/djberg96/mkmf-lite/wiki
162
162
  rubygems_mfa_required: 'true'
163
- post_install_message:
163
+ post_install_message:
164
164
  rdoc_options: []
165
165
  require_paths:
166
166
  - lib
@@ -175,8 +175,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []
178
- rubygems_version: 3.5.11
179
- signing_key:
178
+ rubygems_version: 3.5.16
179
+ signing_key:
180
180
  specification_version: 4
181
181
  summary: A lighter version of mkmf designed for use as a library
182
182
  test_files:
metadata.gz.sig CHANGED
Binary file