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 +4 -4
- data/CHANGELOG.rst +6 -1
- data/lib/fpm/package/cpan.rb +1 -1
- data/lib/fpm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6cdc0fc9b8b38227b04610fd46c110032e0e831
|
4
|
+
data.tar.gz: 22cf17403749f15725369b5b4dc4680da0cd9980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f21a3b4a088e2944607cb2a07ebfef3fcaeae56cca1b6dce90b3f2c405960d7459638e9301c542123db79a560fc405c2ad953f8b853e0d60064defceb6ed4c4
|
7
|
+
data.tar.gz: 80a96d917176ea108c5afcf4e57ec7c22aa93625c9bb73e1868088a75b2d64774c8e048a817916ff4815b8b9998f5c69f5ac54c66e2c5d40ff6ab8c25787da76
|
data/CHANGELOG.rst
CHANGED
@@ -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
|
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)
|
data/lib/fpm/package/cpan.rb
CHANGED
@@ -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
|
data/lib/fpm/version.rb
CHANGED