pkg-config 1.1.7 → 1.1.8

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
  SHA1:
3
- metadata.gz: e4a93be0df4539aa25924bde2ea4e424d03586bb
4
- data.tar.gz: 23956703f9d489a287f02f11aeb165321f2d3350
3
+ metadata.gz: 0a7c4ec331b2b0293a30e1d5497b09ca7b06da48
4
+ data.tar.gz: 66b5acb2cf69fd056d21e621ece1f7fcda559741
5
5
  SHA512:
6
- metadata.gz: 671a47f3789dd0f06bab32548d46366fa6129144250f42e5900abf7666e5185b0ca8b62f1a94ede73463c6a2bb15a9368c7209a8ecb048dc22b454293a7b835e
7
- data.tar.gz: 3631f35e443768572477871e2d8106a4ef72cfe02067989c2c2087f9002d104c9a83f2c25d63d346aeab025b1007a4b93fa0f30d2c77d75ddb1ec85a64abf142
6
+ metadata.gz: 73e101114e72022c6d1f7f2ab7c6ce0ad9543ec2d664f284bad719aadbe219e7c5b68f9f0d71679de73ad7f6cbaf767502fb10ddd1af1807165259e000a53b30
7
+ data.tar.gz: 64270b4fc5c89ab9171138715ec29cdb3aebf732bbea06c925538a243eee1ac967edd390eb41d26e46d394c4d2a7298e38dfaa158548c2ae7534596901e1ff48
data/NEWS CHANGED
@@ -1,5 +1,9 @@
1
1
  = NEWS
2
2
 
3
+ == 1.1.8 - 2017-04-19
4
+
5
+ * Stopped to require mkmf.
6
+
3
7
  == 1.1.7 - 2015-01-16
4
8
 
5
9
  * Added path for FreeBSD to default paths.
data/lib/pkg-config.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2008-2016 Kouhei Sutou <kou@cozmixng.org>
1
+ # Copyright 2008-2017 Kouhei Sutou <kou@cozmixng.org>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -21,7 +21,6 @@ end
21
21
 
22
22
  require "rbconfig"
23
23
 
24
- require 'mkmf'
25
24
  require 'shellwords'
26
25
  require 'English'
27
26
  require 'pathname'
@@ -46,6 +45,14 @@ class PackageConfig
46
45
  end
47
46
 
48
47
  private
48
+ def with_config(config, default=nil)
49
+ if defined?(super)
50
+ super
51
+ else
52
+ default
53
+ end
54
+ end
55
+
49
56
  def guess_native_pkg_config
50
57
  pkg_config = with_config("pkg-config", ENV["PKG_CONFIG"] || "pkg-config")
51
58
  pkg_config = Pathname.new(pkg_config)
@@ -1,4 +1,4 @@
1
- # Copyright 2012-2013 Kouhei Sutou <kou@cozmixng.org>
1
+ # Copyright 2012-2016 Kouhei Sutou <kou@cozmixng.org>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module PKGConfig
18
- VERSION = "1.1.7"
18
+ VERSION = "1.1.8"
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-06 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -89,11 +89,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project: cairo
92
- rubygems_version: 2.4.5.1
92
+ rubygems_version: 2.5.2
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: A pkg-config implementation for Ruby
96
96
  test_files:
97
97
  - test/run-test.rb
98
98
  - test/test_pkg_config.rb
99
- has_rdoc: