pkg-config 1.3.1 → 1.3.2

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: db4835eebdf83c72212bbcf6c63df7899e04a35ed61a913068776d316b830ad2
4
- data.tar.gz: 117d37fd2cbe8e63506e4fb3770e34f9baeee0636285149573d7feab2377feec
3
+ metadata.gz: 441b9cf21eb18bc90c0afc04f13d21a66c0590a6604cb7356bc3b62e4c7ed2e8
4
+ data.tar.gz: 4842d8905c8773c40ce6bf16528d7755eee1adbef1e29c44261252ea9118ba7a
5
5
  SHA512:
6
- metadata.gz: a76103a8ae5240ffec45866955b9dc66c77ba7a57a98f2d4a49d6d8d3024d434c09f0f3e10923f1b68d6be53cff6d8f9673f617a56bf9123488d00bd0221d4d9
7
- data.tar.gz: b9a6a6f20cd5b296f5a68b43f8d8fee603357b3f901bfe048879e976ea175c8484a69d7c7dde81da23a268af37e4f9a0c7a32b07262bcdb18cca2b168804e215
6
+ metadata.gz: bd40dbd62152b99a5f4ddea34f3e7c852e2cf8d6cc79511239397b364554bd709ec3c5404b521030ae47d7fa4683f2da846a8f5cc848ced8d4a97de5cda8085a
7
+ data.tar.gz: 28728ed76bfe8cc3c0582b8bbaac2df884124e1e8e4e30d951442be7ae28a45ac4c8982e67ecba0cf814ec1445a24416aba8d17600b12b00a7e2b3f1cb6776e8
data/NEWS CHANGED
@@ -1,5 +1,12 @@
1
1
  = NEWS
2
2
 
3
+ == 1.3.2 - 2018-11-03
4
+
5
+ === Improvements
6
+
7
+ * Added support for Ruby installed by RubyInstaller for Windows with
8
+ MSYS2-Devkit.
9
+
3
10
  == 1.3.1 - 2018-04-28
4
11
 
5
12
  === Improvements
@@ -235,9 +235,15 @@ class PackageConfig
235
235
  prefix = ""
236
236
  case RUBY_PLATFORM
237
237
  when "x86-mingw32"
238
- prefix = Dir.glob("c:/msys{32,64,*}").first
238
+ ruby_prefix = RbConfig::CONFIG["prefix"]
239
+ candidates = Dir.glob("#{ruby_prefix}/msys{32,64,*}")
240
+ candidates.concat(Dir.glob("c:/msys{32,64,*}"))
241
+ prefix = candidates.first
239
242
  when "x64-mingw32"
240
- prefix = Dir.glob("c:/msys{64,*}").first
243
+ ruby_prefix = RbConfig::CONFIG["prefix"]
244
+ candidates = Dir.glob("#{ruby_prefix}/msys{64,*}")
245
+ candidates.concat(Dir.glob("c:/msys{64,*}"))
246
+ prefix = candidates.first
241
247
  end
242
248
  if /\A[a-z]:/i === path
243
249
  "#{flag_option}#{path}"
@@ -357,8 +363,12 @@ class PackageConfig
357
363
  ]
358
364
  case RUBY_PLATFORM
359
365
  when "x86-mingw32"
366
+ prefix = RbConfig::CONFIG["prefix"]
367
+ default_paths.concat(Dir.glob("#{prefix}/msys*/mingw32/lib/pkgconfig"))
360
368
  default_paths.concat(Dir.glob("c:/msys*/mingw32/lib/pkgconfig"))
361
369
  when "x64-mingw32"
370
+ prefix = RbConfig::CONFIG["prefix"]
371
+ default_paths.concat(Dir.glob("#{prefix}/msys*/mingw64/lib/pkgconfig"))
362
372
  default_paths.concat(Dir.glob("c:/msys*/mingw64/lib/pkgconfig"))
363
373
  end
364
374
  libdir = ENV["PKG_CONFIG_LIBDIR"]
@@ -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.3.1"
18
+ VERSION = "1.3.2"
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-28 00:00:00.000000000 Z
11
+ date: 2018-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit