bibliothecary 8.3.0 → 8.3.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/maven.rb +2 -3
- data/lib/bibliothecary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca91a1e5491b7b57370221351c1c90631fd77c12a9687328eccb69b633b477c4
|
4
|
+
data.tar.gz: 9cdbb6238e28ac32d61c624f1d0a98f29939684fdbfe76b29f24b9fa1737c295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01295bf67f3ba73a4683b2fc39773d8ae53ac2b1a64ccf674bf8e93aa1cae2cdacb1575a0592f2c9fbb86ddf3cca7cd60475b12252976bad6eafc07514339b34'
|
7
|
+
data.tar.gz: 701ab67291c19f5e7e180beeaa0501050fd3a1726d8d02918b3e305969f70266377d1ad66c65d17517a171c24440df917d233420916bc4429780541bdd688b0f
|
@@ -23,9 +23,8 @@ module Bibliothecary
|
|
23
23
|
GRADLE_VAR_INTERPOLATION_REGEX = /\$\w+/ # e.g. '$myVersion'
|
24
24
|
GRADLE_CODE_INTERPOLATION_REGEX = /\$\{.*\}/ # e.g. '${my-project-settings["version"]}'
|
25
25
|
GRADLE_GAV_REGEX = /([\w.-]+)\:([\w.-]+)(?:\:(#{GRADLE_VERSION_REGEX}|#{GRADLE_VAR_INTERPOLATION_REGEX}|#{GRADLE_CODE_INTERPOLATION_REGEX}))?/ # e.g. "group:artifactId:1.2.3"
|
26
|
-
|
27
|
-
|
28
|
-
GRADLE_KOTLIN_SIMPLE_REGEX = /(#{GRADLE_DEPENDENCY_METHODS.join('|')})\s*\(\s*"#{GRADLE_GAV_REGEX}"\s*\)\s*(?:#{GRADLE_COMMENT_REGEX})*$/m
|
26
|
+
GRADLE_GROOVY_SIMPLE_REGEX = /(#{GRADLE_DEPENDENCY_METHODS.join('|')})\s*\(?\s*['"]#{GRADLE_GAV_REGEX}['"]/m
|
27
|
+
GRADLE_KOTLIN_SIMPLE_REGEX = /(#{GRADLE_DEPENDENCY_METHODS.join('|')})\s*\(\s*"#{GRADLE_GAV_REGEX}"/m
|
29
28
|
|
30
29
|
MAVEN_PROPERTY_REGEX = /\$\{(.+?)\}/
|
31
30
|
MAX_DEPTH = 5
|