dependabot-python 0.107.19 → 0.107.20

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: 0d9267289b728b5142a9dec10f830de8b0568b4204f1d88b1b09e8f55bf61ac5
4
- data.tar.gz: ea5b345fd88ba0d254f7286f5b004b25b919bea4294b53285737492bbd9bd839
3
+ metadata.gz: 4b9d84df98343502c47ab84ddf0dedf7b08e5339551a3f20b9510136b2ce6390
4
+ data.tar.gz: 9ba0f0349b9c4e05991cec50b518cd6d6f38fe0076234653f9eb1c22d080c73e
5
5
  SHA512:
6
- metadata.gz: e6bdc8b19d1d2f50a86c9939a1a331f34db1e0e160d02a0952d1ea7eed98bf4ef5fe7d7d93d9eb02404f4258b78d5c9270f1a315a65c47d83b164d295a68679e
7
- data.tar.gz: 56896fd771f07805f8c163d93f14edf3c68b64110871cef1dc2308fb53bd7437ea55a58b8d41538c327a0d9b81674c5789971fe4abaa40e9a3e0f34427c3f980
6
+ metadata.gz: 3243e53611d53ac5b7538ad7587d0a94c2f16c6e418887101f18379032ac7f53ca11c213b9f13daf2bfa633665cda9eeb3611ac81c3b7786c55ea28a4756ee23
7
+ data.tar.gz: 68a089715fea98b5ef2efe3c3832684055bf8f64893838263efbbeafb073296708526d77e5ac87e3ee59eef6cb5e3cf2aa0c519a3808eda34b04a258e7ed28d0
@@ -85,7 +85,7 @@ module Dependabot
85
85
  requirement: dep["requirement"],
86
86
  file: Pathname.new(dep["file"]).cleanpath.to_path,
87
87
  source: nil,
88
- groups: []
88
+ groups: group_from_filename(dep["file"])
89
89
  }]
90
90
  end
91
91
 
@@ -100,6 +100,12 @@ module Dependabot
100
100
  dependencies
101
101
  end
102
102
 
103
+ def group_from_filename(filename)
104
+ if filename.include?("dev") then ["dev-dependencies"]
105
+ else ["dependencies"]
106
+ end
107
+ end
108
+
103
109
  def included_in_pipenv_deps?(dep_name)
104
110
  return false unless pipfile
105
111
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.19
4
+ version: 0.107.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-25 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.107.19
19
+ version: 0.107.20
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.107.19
26
+ version: 0.107.20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement