dependabot-bundler 0.216.0 → 0.216.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/bundler/file_parser/file_preparer.rb +2 -2
- data/lib/dependabot/bundler/file_parser/gemfile_declaration_finder.rb +2 -2
- data/lib/dependabot/bundler/file_parser/gemspec_declaration_finder.rb +2 -1
- data/lib/dependabot/bundler/file_updater/lockfile_updater.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0131aa08a04131b4b53141d847592072a75f02ad7aa2e8561f1cebba421a518b
|
4
|
+
data.tar.gz: 27685ff6d09394763cd4d11e13e165e30aeb67749a25764888f4421da70516de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c38423ddc8dae44e4d5c2c0886fc8add448d1d43ab17d3c0e399f8144b4d0732e89c49983d4d7a9d29badb68d4c26afc7056d2821f62bbc29e3010153deacabc
|
7
|
+
data.tar.gz: 903621e164f0362d34894926abf09c67549de9caefa86587c59b388d612a646e782912bf9507aa4908ad37109ebca6957afbc74d9bdf2960914b068e8426a0fb
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "dependabot/dependency_file"
|
4
|
-
require "dependabot/
|
4
|
+
require "dependabot/file_parsers/base"
|
5
5
|
require "dependabot/bundler/file_updater/gemspec_sanitizer"
|
6
6
|
|
7
7
|
module Dependabot
|
8
8
|
module Bundler
|
9
|
-
class FileParser
|
9
|
+
class FileParser < Dependabot::FileParsers::Base
|
10
10
|
class FilePreparer
|
11
11
|
def initialize(dependency_files:)
|
12
12
|
@dependency_files = dependency_files
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "parser/current"
|
4
|
-
require "dependabot/
|
4
|
+
require "dependabot/file_parsers/base"
|
5
5
|
|
6
6
|
module Dependabot
|
7
7
|
module Bundler
|
8
|
-
class FileParser
|
8
|
+
class FileParser < Dependabot::FileParsers::Base
|
9
9
|
# Checks whether a dependency is declared in a Gemfile
|
10
10
|
class GemfileDeclarationFinder
|
11
11
|
def initialize(gemfile:)
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "parser/current"
|
4
|
+
require "dependabot/file_parsers/base"
|
4
5
|
|
5
6
|
module Dependabot
|
6
7
|
module Bundler
|
7
|
-
class FileParser
|
8
|
+
class FileParser < Dependabot::FileParsers::Base
|
8
9
|
# Checks whether a dependency is declared in a gemspec file
|
9
10
|
class GemspecDeclarationFinder
|
10
11
|
def initialize(gemspec:)
|
@@ -146,7 +146,7 @@ module Dependabot
|
|
146
146
|
|
147
147
|
def top_level_gemspecs
|
148
148
|
dependency_files.
|
149
|
-
select { |file| file.name.end_with?(".gemspec") }
|
149
|
+
select { |file| file.name.end_with?(".gemspec") && Pathname.new(file.name).dirname.to_s == "." }
|
150
150
|
end
|
151
151
|
|
152
152
|
def ruby_version_file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.216.
|
4
|
+
version: 0.216.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-14 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.216.
|
19
|
+
version: 0.216.1
|
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.216.
|
26
|
+
version: 0.216.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.50.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.50.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-performance
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|