mkmf-lite 0.7.0 → 0.7.1
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGES.md +3 -0
- data/README.md +2 -2
- data/lib/mkmf/lite.rb +8 -1
- data/mkmf-lite.gemspec +1 -1
- data/spec/mkmf_lite_spec.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c14044604c5889a36d8d2fee0ae1112c35297201f9727cf7568630cd735bfc
|
4
|
+
data.tar.gz: 4eecbb5306d00f09742f1969fcb30d14703f6730c9b5c9067ac9eb319a784d19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70a74c5abed4b1efb35eea74d866ab7eee463f52dea3eefbeb6d10b81cbdcbb21661413b5b31879c4c3cdca3cb655a94ee2f0332c1e782979b11db7922ab3285
|
7
|
+
data.tar.gz: 3cbac4e68dbdede43b083a20713f4dc81a10ba351dd0842d9768f75218637a825e1526f43fabd5b8ea8721f79c4ee799e85994a8216716e27bbafe3d111ad3d4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGES.md
CHANGED
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
|
-
|
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-
|
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.
|
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.
|
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'
|
data/spec/mkmf_lite_spec.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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
|