dependabot-gradle 0.106.39 → 0.106.40

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: ba3c9aee7c676329427f3d630cfa6cd01e2d79eca2e34f59be33c06508cfd011
4
- data.tar.gz: 8fa8448640f019a16cc8af5e8633db1ff7c2d62b3d419ace9e9248c03094ad4d
3
+ metadata.gz: a2ef83b037d030e9b9dc3876a0d9dad1b2b4a365f44756eeeb66a3774dda45e3
4
+ data.tar.gz: 0d12a3ba78f1bbcc2e2f9ac2237e073160e6460fb3a1a388af08d686273b031d
5
5
  SHA512:
6
- metadata.gz: 7fad8c8bec4e3e5ac1a0602552d57e11af7594bbc76130a5a0b4bb59ca4f48cd530f7e93eaca25ac3564f177987b03e1c0dd44e993365be752df80e3093d4c75
7
- data.tar.gz: d7fc094cec4be56df1cc5cf71a801f2cbb6589ff7d7a1ce3377f4ea7d83db808cf133c6a69027e2c8cf425a63524210d02958393206282cf9f81fd014009cc2c
6
+ metadata.gz: 9266bbc67b5655475974d744fecb51c08a42d3f7d154fbb0ffb24b7d1592c7dd14e0dff01becd5ade7315174a724548b22a744e963df2154341affa3889c5826
7
+ data.tar.gz: d718fbb6bfd0f4d7030b055d6aff76c5caa165f9ce4e5acf02b65a71cfd1168c37c5febf92de1c2fd17dec891845cac8647b636543885d676da22f58a0082a37
@@ -131,7 +131,7 @@ module Dependabot
131
131
 
132
132
  def google_version_details
133
133
  url = GOOGLE_MAVEN_REPO
134
- group_id, artifact_id = dependency.name.split(":")
134
+ group_id, artifact_id = group_and_artifcat_ids
135
135
 
136
136
  dependency_metadata_url = "#{GOOGLE_MAVEN_REPO}/"\
137
137
  "#{group_id.tr('.', '/')}/"\
@@ -220,12 +220,7 @@ module Dependabot
220
220
  end
221
221
 
222
222
  def dependency_metadata_url(repository_url)
223
- group_id, artifact_id =
224
- if plugin?
225
- [dependency.name, "#{dependency.name}.gradle.plugin"]
226
- else
227
- dependency.name.split(":")
228
- end
223
+ group_id, artifact_id = group_and_artifcat_ids
229
224
 
230
225
  "#{repository_url}/"\
231
226
  "#{group_id.tr('.', '/')}/"\
@@ -233,6 +228,14 @@ module Dependabot
233
228
  "maven-metadata.xml"
234
229
  end
235
230
 
231
+ def group_and_artifcat_ids
232
+ if plugin?
233
+ [dependency.name, "#{dependency.name}.gradle.plugin"]
234
+ else
235
+ dependency.name.split(":")
236
+ end
237
+ end
238
+
236
239
  def plugin?
237
240
  dependency.requirements.any? { |r| r.fetch(:groups) == ["plugins"] }
238
241
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-gradle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.106.39
4
+ version: 0.106.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.106.39
19
+ version: 0.106.40
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.106.39
26
+ version: 0.106.40
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement