mkmf-lite 0.5.0 → 0.5.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: 88d355dec9e35c8aeb5f4a8b4d4dd7a9fbcb5cd9b1e0c8bb834c145614da101a
4
- data.tar.gz: c17345e5ad9278f73c30cd7ed8b9f71541eae5bd86626de21136dade61948e50
3
+ metadata.gz: 7bb580c0250d33fdbd926c5f85c792e13015866a0c4d18e67aa4acf6b16491f9
4
+ data.tar.gz: 23d85c79fcb12a6030b812653e78fce81ed7d33fcfe1a4ef4d2200b919e26bfe
5
5
  SHA512:
6
- metadata.gz: 66a36e2889bc69802560be194ee77d5f4bde94302efa7f3db16ee60b335ddc7aa6a401ecc9b3486de803f1247b53868baea5b018192ab06211d1f232858d332d
7
- data.tar.gz: 0e11e957998ef6870ce0dcfb2ac3440822311cb05912630f3559a1cbe70844fca48e89594d492f694fffc82def4b74e8afe645cfa6b131181da3996d955773bf
6
+ metadata.gz: 73afcb819c629c2d88eb46aa52bdaab5dd43ebdd148259f3b72291490c0ddf311af9525d1dfabeb5d530e23576bb2161074964275689fe6f77193b706a863dd5
7
+ data.tar.gz: fa5c1b19b4697cb5481fcac641ae4ae86eb0b3a3b19f623f8336b251f6dd3962f78d96582952f687c1af4522dad0c59824c2adf1aea966da86d94969dc467ffe
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,43 +1,46 @@
1
- == 0.5.0 - 6-Dec-2020
1
+ ## 0.5.1 - 18-Dec-2020
2
+ * Switch docs to markdown format because github isn't rendering rdoc properly.
3
+
4
+ ## 0.5.0 - 6-Dec-2020
2
5
  * Added the check_valueof method.
3
6
 
4
- == 0.4.2 - 31-Aug-2020
7
+ ## 0.4.2 - 31-Aug-2020
5
8
  * Did I say I didn't need ptools? Well I was wrong. It's back.
6
9
 
7
- == 0.4.1 - 31-Aug-2020
10
+ ## 0.4.1 - 31-Aug-2020
8
11
  * Removed the ptools dependency, just use IO::NULL.
9
12
 
10
- == 0.4.0 - 4-Jul-2020
13
+ ## 0.4.0 - 4-Jul-2020
11
14
  * Replaced test-unit with rspec, rewrote the tests, and made relevant
12
15
  changes to the gemspec, etc.
13
16
  * Pinned the ptools version to 1.3.x.
14
17
 
15
- == 0.3.2 - 19-Mar-2020
18
+ ## 0.3.2 - 19-Mar-2020
16
19
  * Properly include a LICENSE file as per the Apache-2.0 license.
17
20
 
18
- == 0.3.1 - 11-Dec-2019
21
+ ## 0.3.1 - 11-Dec-2019
19
22
  * Added .rdoc extension to various text files so that they render more nicely
20
23
  on github.
21
24
 
22
- == 0.3.0 - 6-Jan-2019
25
+ ## 0.3.0 - 6-Jan-2019
23
26
  * Changed license to Apache-2.0.
24
27
  * Replaced class variables with methods.
25
28
  * Updated cert.
26
29
 
27
- == 0.2.6 - 6-Sep-2015
30
+ ## 0.2.6 - 6-Sep-2015
28
31
  * Added an mkmf-lite.rb file for convenience.
29
32
  * Assume Rubygems 2.x.
30
33
  * This gem is now signed.
31
34
 
32
- == 0.2.5 - 2-Oct-2014
35
+ ## 0.2.5 - 2-Oct-2014
33
36
  * The CC command for mingw now defaults to searching your path rather than
34
37
  relying on an environment variable because it wasn't trustworthy.
35
38
  * Updated the gem:install task for Rubygems 2.x.
36
39
 
37
- == 0.2.4 - 7-Mar-2013
40
+ ## 0.2.4 - 7-Mar-2013
38
41
  * The have_header method now accepts an optional list of directories to search.
39
42
 
40
- == 0.2.3 - 25-Apr-2012
43
+ ## 0.2.3 - 25-Apr-2012
41
44
  * No longer assumes mingw/gcc on Windows. Now passes all tests with a
42
45
  version of Ruby compiled with MSVC++.
43
46
  * Eliminate Config vs RbConfig warnings in 1.9.3.
@@ -45,17 +48,17 @@
45
48
  result in unwanted output.
46
49
  * Upgraded test-unit prerequisite to 2.4.0 or later.
47
50
 
48
- == 0.2.2 - 6-Dec-2011
51
+ ## 0.2.2 - 6-Dec-2011
49
52
  * Added the check_sizeof method.
50
53
  * If CONFIG['COMMON_HEADERS'] is blank then stdio.h and stdlib.h are
51
54
  used instead. On MS Windows the windows.h header is also used.
52
55
 
53
- == 0.2.1 - 21-Jan-2011
56
+ ## 0.2.1 - 21-Jan-2011
54
57
  * Minor platform detection adjustments for MS Windows.
55
58
 
56
- == 0.2.0 - 8-Jun-2010
59
+ ## 0.2.0 - 8-Jun-2010
57
60
  * Now works properly with JRuby (though it still requires a compiler
58
61
  somewhere on your system).
59
62
 
60
- == 0.1.0 - 24-May-2010
63
+ ## 0.1.0 - 24-May-2010
61
64
  * Initial release.
File without changes
@@ -1,28 +1,30 @@
1
- == Summary
1
+ ## Summary
2
2
  A light version of mkmf designed for use within programs.
3
3
 
4
- == Installation
5
- gem install mkmf-lite
4
+ ## Installation
5
+ `gem install mkmf-lite`
6
6
 
7
- == Prerequisites
7
+ ## Prerequisites
8
8
  A C compiler somewhere on your system.
9
9
 
10
- == Synopsis
11
- require 'mkmf/lite'
10
+ ## Synopsis
11
+ ```
12
+ require 'mkmf/lite'
12
13
 
13
- class System
14
- extend Mkmf::Lite
14
+ class System
15
+ extend Mkmf::Lite
15
16
 
16
- HAVE_PW_NAME = have_struct_member('struct passwd', 'pw_name', 'pwd.h')
17
+ HAVE_PW_NAME = have_struct_member('struct passwd', 'pw_name', 'pwd.h')
17
18
 
18
- def some_method
19
- if HAVE_PW_NAME
20
- # Do something
21
- end
19
+ def some_method
20
+ if HAVE_PW_NAME
21
+ # Do something
22
22
  end
23
23
  end
24
+ end
25
+ ```
24
26
 
25
- == Description
27
+ ## Description
26
28
  The mkmf library that ships as part of the Ruby standard library is not
27
29
  meant for use as an internal library. It's strictly designed for building
28
30
  C extensions. It's huge, its methods sit in a global namespace, it contains
@@ -36,24 +38,24 @@ used in conjunction with FFI. Also, the source code is quite readable.
36
38
  It does not package C extensions, nor generate a log file or a Makefile. It
37
39
  does, however, require that you have a C compiler somewhere on your system.
38
40
 
39
- == Known Issues
41
+ ## Known Issues
40
42
  You may see this warning from JRuby 1.4.x and earlier:
41
43
 
42
44
  warning: Useless use of a variable in void context.
43
45
 
44
46
  You can ignore these (or, upgrade your Jruby).
45
47
 
46
- == License
48
+ ## License
47
49
  Apache-2.0
48
50
 
49
- == Copyright
51
+ ## Copyright
50
52
  (C) 2010-2020 Daniel J. Berger
51
53
  All Rights Reserved
52
54
 
53
- == Warranty
55
+ ## Warranty
54
56
  This library is provided "as is" and without any express or
55
57
  implied warranties, including, without limitation, the implied
56
58
  warranties of merchantability and fitness for a particular purpose.
57
59
 
58
- == Author
59
- Daniel Berger
60
+ ## Author
61
+ Daniel J. Berger
@@ -7,7 +7,7 @@ require 'ptools'
7
7
  module Mkmf
8
8
  module Lite
9
9
  # The version of the mkmf-lite library
10
- MKMF_LITE_VERSION = '0.5.0'.freeze
10
+ MKMF_LITE_VERSION = '0.5.1'.freeze
11
11
 
12
12
  private
13
13
 
@@ -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.5.0'
6
+ spec.version = '0.5.1'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.license = 'Apache-2.0'
9
9
  spec.email = 'djberg96@gmail.com'
@@ -12,8 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
  spec.cert_chain = ['certs/djberg96_pub.pem']
14
14
 
15
- spec.extra_rdoc_files = Dir['*.rdoc']
16
-
17
15
  spec.add_dependency('ptools', '~> 1.4')
18
16
  spec.add_development_dependency('rspec', '~> 3.9')
19
17
 
@@ -17,7 +17,7 @@ describe Mkmf::Lite do
17
17
 
18
18
  describe "constants" do
19
19
  example "version information" do
20
- expect(described_class::MKMF_LITE_VERSION).to eq('0.5.0')
20
+ expect(described_class::MKMF_LITE_VERSION).to eq('0.5.1')
21
21
  expect(described_class::MKMF_LITE_VERSION).to be_frozen
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkmf-lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -35,7 +35,7 @@ cert_chain:
35
35
  ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
36
  WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
37
  -----END CERTIFICATE-----
38
- date: 2020-12-06 00:00:00.000000000 Z
38
+ date: 2020-12-18 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: ptools
@@ -74,16 +74,13 @@ description: |2
74
74
  email: djberg96@gmail.com
75
75
  executables: []
76
76
  extensions: []
77
- extra_rdoc_files:
78
- - CHANGES.rdoc
79
- - MANIFEST.rdoc
80
- - README.rdoc
77
+ extra_rdoc_files: []
81
78
  files:
82
- - CHANGES.rdoc
79
+ - CHANGES.md
83
80
  - Gemfile
84
81
  - LICENSE
85
- - MANIFEST.rdoc
86
- - README.rdoc
82
+ - MANIFEST.md
83
+ - README.md
87
84
  - Rakefile
88
85
  - certs/djberg96_pub.pem
89
86
  - lib/mkmf-lite.rb
@@ -121,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
118
  - !ruby/object:Gem::Version
122
119
  version: '0'
123
120
  requirements: []
124
- rubygems_version: 3.1.4
121
+ rubygems_version: 3.0.3
125
122
  signing_key:
126
123
  specification_version: 4
127
124
  summary: A lighter version of mkmf designed for use as a library
metadata.gz.sig CHANGED
Binary file