bibliothecary 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bibliothecary/parsers/pypi.rb +1 -1
- data/lib/bibliothecary/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: 18fae2bfc18aec0a8be387c9eaac1ace0d0726ac
|
4
|
+
data.tar.gz: 4cc0a7b7d2d5a4a15658baa0a2f81ff13125c909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb1081367661853f58591b2e0d0acf9a108c264883fb3d0be2ce6f02ba19d7d0cb4813de5a9f77e4dcbfb206d7a41560dc870110ae1d6b2cf3b56e6240f697b6
|
7
|
+
data.tar.gz: b1d881b5f2937a1cedc7e9e3646e460e09434891b40764a66cc10e07a0f47bac8a693c85523f1d9b241675c378dcc137e944310f72c0b487aa8d526799b1578b
|
@@ -3,7 +3,7 @@ module Bibliothecary
|
|
3
3
|
class Pypi
|
4
4
|
PLATFORM_NAME = 'pypi'
|
5
5
|
INSTALL_REGEXP = /install_requires\s*=\s*\[([\s\S]*?)\]/
|
6
|
-
REQUIRE_REGEXP = /([a-zA-Z0-9]+[a-zA-Z0-9
|
6
|
+
REQUIRE_REGEXP = /([a-zA-Z0-9]+[a-zA-Z0-9\-_\.]+)([><=\d\.,]+)?/
|
7
7
|
REQUIREMENTS_REGEXP = /^#{REQUIRE_REGEXP}/
|
8
8
|
|
9
9
|
def self.parse(filename, file_contents)
|