fpm 1.10.1 → 1.10.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
  SHA1:
3
- metadata.gz: 628976fa0ada7a760e93bb6caa541529fe23221c
4
- data.tar.gz: 3612ee1afeddbc8a971afb25b8da61f20c311e69
3
+ metadata.gz: b6cdc0fc9b8b38227b04610fd46c110032e0e831
4
+ data.tar.gz: 22cf17403749f15725369b5b4dc4680da0cd9980
5
5
  SHA512:
6
- metadata.gz: 4c068d932e567f422e367fd0e7e6d508a9d2d4eaf71d6a7d44c0b4dad1b722932a7d4645193f5bcf2d737f48a0aa91ba419afc7a2fde4aa3522d927c274dfa90
7
- data.tar.gz: 2835d7a4611aabd05a9db4cb416e70d9238583ecc8c6e00155fc01ed9f1532d779e1f2d0b13ec6aef59f1cdc0db2e8c05c4ba3c570ae3baf7aa27475c61e3dae
6
+ metadata.gz: 2f21a3b4a088e2944607cb2a07ebfef3fcaeae56cca1b6dce90b3f2c405960d7459638e9301c542123db79a560fc405c2ad953f8b853e0d60064defceb6ed4c4
7
+ data.tar.gz: 80a96d917176ea108c5afcf4e57ec7c22aa93625c9bb73e1868088a75b2d64774c8e048a817916ff4815b8b9998f5c69f5ac54c66e2c5d40ff6ab8c25787da76
@@ -1,6 +1,11 @@
1
1
  Release Notes and Change Log
2
2
  ============================
3
3
 
4
+ 1.10.2 (July 3, 2018)
5
+ ^^^^^^^^^^^^^^^^^^^^^
6
+
7
+ * cpan: Fix a crash where fpm would crash trying to parse a perl version string (`#1515`_, `#1514`; Jordan Sissel, William N. Braswell, Jr)
8
+
4
9
  1.10.1 (July 3, 2018)
5
10
  ^^^^^^^^^^^^^^^^^^^^^
6
11
 
@@ -42,7 +47,7 @@ Release Notes and Change Log
42
47
  * Fix bug so fpm can now copy symlinks correctly (`#1348`_; ServiusHack)
43
48
  * apk: Improve performance (`#1358`_; Jan Delgado)
44
49
  * cpan: Fix crash when CPAN query returns a version value that was a number and fpm was expecting a string. (`#1344`_, `#1343`_; liger1978)
45
- * cpan: Fix MetaCPAN searches to use v1 of MetaCPAN's API. The v0 API is no longer provided by MetaCPAN. (`#1341`_, `#1339`; Bob Bell)
50
+ * cpan: Fix MetaCPAN searches to use v1 of MetaCPAN's API. The v0 API is no longer provided by MetaCPAN. (`#1341`_, `#1339`_; Bob Bell)
46
51
  * cpan: Have perl modules implicitly "provide" (`--provides`) capabilities. (`#1340`_; Bob Bell. `#1345`_; liger1978)
47
52
  * cpan: Now transforms perl version values like "5.008001" to "5.8.1" (`#1342`_; Bob Bell)
48
53
  * cpan: Use `>=` ("this version or newer") for package dependencies instead of `=` ("exactly this version"). (`#1338`_; Bob Bell)
@@ -160,7 +160,7 @@ class FPM::Package::CPAN < FPM::Package
160
160
  found_dependencies.each do |dep_name, version|
161
161
  # Special case for representing perl core as a version.
162
162
  if dep_name == "perl"
163
- m = version.match(/^(\d)\.(\d{3})(\d{3})$/)
163
+ m = version.to_s.match(/^(\d)\.(\d{3})(\d{3})$/)
164
164
  if m
165
165
  version = m[1] + '.' + m[2].sub(/^0*/, '') + '.' + m[3].sub(/^0*/, '')
166
166
  end
@@ -1,3 +1,3 @@
1
1
  module FPM
2
- VERSION = "1.10.1"
2
+ VERSION = "1.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Sissel