mkmf-lite 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b09c774e9b8a62f9c17fc3bddb1a3f5031aec85456258ff557dbd7945897a029
4
- data.tar.gz: 1f278b056338594d68a3bcc6d3a2b61730fc91acca58826335119c34d9736298
3
+ metadata.gz: c947061b06ef0a542f1dfdb1658b1d13fadf607dfbb56e6483447e25949641ea
4
+ data.tar.gz: 1691ad33a45b080a430656cdfef9a714370fcd19915ec9a1607107c10529352b
5
5
  SHA512:
6
- metadata.gz: 05766eb2658383495265b925361943902dacdab84e8fd88c514ec1b4797f0deb3569e9f82462a8f84ddcd42bd90a0840e0c4384d8f1e60a0403fa10d376d3ab5
7
- data.tar.gz: b919b4924fd50ac8137c1d76bbb613c3c66f243f9c51c162473377c9b790a66aa263ef86662e87740c59a99fa08d853c3ddb701e41dde438503e972cc445ff14
6
+ metadata.gz: 95cd4d638127ed7d7868a70fba690d103be76ba5b5a24461c214d8b78077cc27f5994709a52c6fc9d52b6d7e72c6e2cdd8989075803bd10db1f4081b2ea20f1a
7
+ data.tar.gz: 62f6b553d0d8891b5d4adcccc5333e4fc1385dbab58ca704a71bfc24d9c5ed59d637030605ca5a3dd3c65c62005e805b2190b53d7d2c1adb4cef4f05346c0733
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,22 +1,26 @@
1
- = 0.3.0 - 6-Jan-2019
1
+ == 0.3.1 - 11-Dec-2019
2
+ * Added .rdoc extension to various text files so that they render more nicely
3
+ on github.
4
+
5
+ == 0.3.0 - 6-Jan-2019
2
6
  * Changed license to Apache-2.0.
3
7
  * Replaced class variables with methods.
4
8
  * Updated cert.
5
9
 
6
- = 0.2.6 - 6-Sep-2015
10
+ == 0.2.6 - 6-Sep-2015
7
11
  * Added an mkmf-lite.rb file for convenience.
8
12
  * Assume Rubygems 2.x.
9
13
  * This gem is now signed.
10
14
 
11
- = 0.2.5 - 2-Oct-2014
15
+ == 0.2.5 - 2-Oct-2014
12
16
  * The CC command for mingw now defaults to searching your path rather than
13
17
  relying on an environment variable because it wasn't trustworthy.
14
18
  * Updated the gem:install task for Rubygems 2.x.
15
19
 
16
- = 0.2.4 - 7-Mar-2013
20
+ == 0.2.4 - 7-Mar-2013
17
21
  * The have_header method now accepts an optional list of directories to search.
18
22
 
19
- = 0.2.3 - 25-Apr-2012
23
+ == 0.2.3 - 25-Apr-2012
20
24
  * No longer assumes mingw/gcc on Windows. Now passes all tests with a
21
25
  version of Ruby compiled with MSVC++.
22
26
  * Eliminate Config vs RbConfig warnings in 1.9.3.
@@ -24,17 +28,17 @@
24
28
  result in unwanted output.
25
29
  * Upgraded test-unit prerequisite to 2.4.0 or later.
26
30
 
27
- = 0.2.2 - 6-Dec-2011
31
+ == 0.2.2 - 6-Dec-2011
28
32
  * Added the check_sizeof method.
29
33
  * If CONFIG['COMMON_HEADERS'] is blank then stdio.h and stdlib.h are
30
34
  used instead. On MS Windows the windows.h header is also used.
31
35
 
32
- = 0.2.1 - 21-Jan-2011
36
+ == 0.2.1 - 21-Jan-2011
33
37
  * Minor platform detection adjustments for MS Windows.
34
38
 
35
- = 0.2.0 - 8-Jun-2010
39
+ == 0.2.0 - 8-Jun-2010
36
40
  * Now works properly with JRuby (though it still requires a compiler
37
41
  somewhere on your system).
38
42
 
39
- = 0.1.0 - 24-May-2010
43
+ == 0.1.0 - 24-May-2010
40
44
  * Initial release.
@@ -1,5 +1,6 @@
1
- * CHANGES
2
- * MANIFEST
1
+ * CHANGES.rdoc
2
+ * MANIFEST.rdoc
3
+ * README.rdoc
3
4
  * Rakefile
4
5
  * mkmf-lite.gemspec
5
6
  * certs/djberg96_pub.pem
@@ -0,0 +1,59 @@
1
+ == Summary
2
+ A light version of mkmf designed for use within programs.
3
+
4
+ == Installation
5
+ gem install mkmf-lite
6
+
7
+ == Prerequisites
8
+ A C compiler somewhere on your system.
9
+
10
+ == Synopsis
11
+ require 'mkmf/lite'
12
+
13
+ class System
14
+ extend Mkmf::Lite
15
+
16
+ HAVE_PW_NAME = have_struct_member('struct passwd', 'pw_name', 'pwd.h')
17
+
18
+ def some_method
19
+ if HAVE_PW_NAME
20
+ # Do something
21
+ end
22
+ end
23
+ end
24
+
25
+ == Description
26
+ The mkmf library that ships as part of the Ruby standard library is not
27
+ meant for use as an internal library. It's strictly designed for building
28
+ C extensions. It's huge, its methods sit in a global namespace, it contains
29
+ many methods you don't care about, and it emits stuff to $stdout that cannot
30
+ easily be disabled. Also, the source code is monstrous.
31
+
32
+ The mkmf-lite library is a module, it's small, and it's designed to be mixed
33
+ into classes. It contains a handful of methods that, most likely, will be
34
+ used in conjunction with FFI. Also, the source code is quite readable.
35
+
36
+ It does not package C extensions, nor generate a log file or a Makefile. It
37
+ does, however, require that you have a C compiler somewhere on your system.
38
+
39
+ == Known Issues
40
+ You may see this warning from JRuby 1.4.x and earlier:
41
+
42
+ warning: Useless use of a variable in void context.
43
+
44
+ You can ignore these (or, upgrade your Jruby).
45
+
46
+ == License
47
+ Apache-2.0
48
+
49
+ == Copyright
50
+ (C) 2010-2019 Daniel J. Berger
51
+ All Rights Reserved
52
+
53
+ == Warranty
54
+ This library is provided "as is" and without any express or
55
+ implied warranties, including, without limitation, the implied
56
+ warranties of merchantability and fitness for a particular purpose.
57
+
58
+ == Author
59
+ Daniel Berger
@@ -7,7 +7,7 @@ require 'open3'
7
7
  module Mkmf
8
8
  module Lite
9
9
  # The version of the mkmf-lite library
10
- MKMF_LITE_VERSION = '0.3.0'.freeze
10
+ MKMF_LITE_VERSION = '0.3.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.3.0'
6
+ spec.version = '0.3.1'
7
7
  spec.author = 'Daniel J. Berger'
8
8
  spec.license = 'Apache-2.0'
9
9
  spec.email = 'djberg96@gmail.com'
@@ -12,7 +12,7 @@ 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 = ['CHANGES', 'README', 'MANIFEST']
15
+ spec.extra_rdoc_files = Dir['*.rdoc']
16
16
 
17
17
  spec.add_dependency('ptools')
18
18
  spec.add_development_dependency('test-unit', '>= 2.4.0')
@@ -21,7 +21,7 @@ class TC_Mkmf_Lite < Test::Unit::TestCase
21
21
  end
22
22
 
23
23
  test "version information" do
24
- assert_equal('0.3.0', MKMF_LITE_VERSION)
24
+ assert_equal('0.3.1', MKMF_LITE_VERSION)
25
25
  assert_true(MKMF_LITE_VERSION.frozen?)
26
26
  end
27
27
 
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.3.0
4
+ version: 0.3.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: 2019-01-08 00:00:00.000000000 Z
38
+ date: 2019-12-11 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: ptools
@@ -75,13 +75,13 @@ email: djberg96@gmail.com
75
75
  executables: []
76
76
  extensions: []
77
77
  extra_rdoc_files:
78
- - CHANGES
79
- - README
80
- - MANIFEST
78
+ - CHANGES.rdoc
79
+ - MANIFEST.rdoc
80
+ - README.rdoc
81
81
  files:
82
- - CHANGES
83
- - MANIFEST
84
- - README
82
+ - CHANGES.rdoc
83
+ - MANIFEST.rdoc
84
+ - README.rdoc
85
85
  - Rakefile
86
86
  - certs/djberg96_pub.pem
87
87
  - lib/mkmf-lite.rb
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.7.6
122
+ rubygems_version: 2.7.6.2
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: A lighter version of mkmf designed for use as a library
metadata.gz.sig CHANGED
Binary file
data/README DELETED
@@ -1,59 +0,0 @@
1
- == Summary
2
- A light version of mkmf designed for use within programs.
3
-
4
- == Installation
5
- gem install mkmf-lite
6
-
7
- == Prerequisites
8
- A C compiler somewhere on your system.
9
-
10
- == Synopsis
11
- require 'mkmf/lite'
12
-
13
- class System
14
- extend Mkmf::Lite
15
-
16
- HAVE_PW_NAME = have_struct_member('struct passwd', 'pw_name', 'pwd.h')
17
-
18
- def some_method
19
- if HAVE_PW_NAME
20
- # Do something
21
- end
22
- end
23
- end
24
-
25
- == Description
26
- The mkmf library that ships as part of the Ruby standard library is not
27
- meant for use as an internal library. It's strictly designed for building
28
- C extensions. It's huge, its methods sit in a global namespace, it contains
29
- many methods you don't care about, and it emits stuff to $stdout that cannot
30
- easily be disabled. Also, the source code is monstrous.
31
-
32
- The mkmf-lite library is a module, it's small, and it's designed to be mixed
33
- into classes. It contains a handful of methods that, most likely, will be
34
- used in conjunction with FFI. Also, the source code is quite readable.
35
-
36
- It does not package C extensions, nor generate a log file or a Makefile. It
37
- does, however, require that you have a C compiler somewhere on your system.
38
-
39
- == Known Issues
40
- You may see this warning from JRuby 1.4.x and earlier:
41
-
42
- warning: Useless use of a variable in void context.
43
-
44
- You can ignore these (or, upgrade your Jruby).
45
-
46
- == License
47
- Apache-2.0
48
-
49
- == Copyright
50
- (C) 2010-2019 Daniel J. Berger
51
- All Rights Reserved
52
-
53
- == Warranty
54
- This library is provided "as is" and without any express or
55
- implied warranties, including, without limitation, the implied
56
- warranties of merchantability and fitness for a particular purpose.
57
-
58
- == Author
59
- Daniel Berger