dependabot-terraform 0.246.0 → 0.247.0

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: b56cdbf299d9887e1561c3eefc7c762929621993c08c42a368c924e4465a76f8
4
- data.tar.gz: fbe5874992b2bf262180fe6d27fb76623e320dc2d26fc94418f3d79093d40774
3
+ metadata.gz: 0717dcf04109e759a934ede1c370f8a59939c17abf139a856d93750239e476ee
4
+ data.tar.gz: e50583a614a9fce754a983cb3e23669d8b462ec1ee1426e7b2a031c420ef65ee
5
5
  SHA512:
6
- metadata.gz: 39742f74418d2611a7610e6d5834608b85a111742dd73bcc94958998d818e993baddce47bd384e6995de8259db7ccf41e61a3c35758d683b34d51b9971fe4b79
7
- data.tar.gz: bf935eff682ea1b905464c24aea764fc32f6ed66aab7da82ad2ab3edc06eea98a6a2a33d2d8cf991adcdf73267e700bc6b8d9f6230feeae08d5a456eaf454d1c
6
+ metadata.gz: 22871f315ce012d45e0015a101a27f726b6b942897e385c8ed76586ce15a0c906396f274b3f6c80b64ba8f814865fc9f91d33d8dee93670f7ea378befd482d4d
7
+ data.tar.gz: 26e975c032fd3222a2882bf08c70413867d5e86bf9bb799b7ca246be5afbc9650f49b40f15694dcbf4930311a4ea74f9a2a05a2bead6df0ace64e1c83a566711
@@ -14,25 +14,17 @@ module Dependabot
14
14
  class Version < Dependabot::Version
15
15
  extend T::Sig
16
16
 
17
- sig do
18
- override
19
- .overridable
20
- .params(
21
- version: T.any(
22
- String,
23
- Integer,
24
- Float,
25
- Gem::Version,
26
- NilClass
27
- )
28
- )
29
- .void
30
- end
17
+ sig { override.params(version: VersionParameter).void }
31
18
  def initialize(version)
32
19
  @version_string = T.let(version.to_s, String)
33
20
  super
34
21
  end
35
22
 
23
+ sig { override.params(version: VersionParameter).returns(Dependabot::Terraform::Version) }
24
+ def self.new(version)
25
+ T.cast(super, Dependabot::Terraform::Version)
26
+ end
27
+
36
28
  sig { override.returns(String) }
37
29
  def to_s
38
30
  @version_string
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.246.0
4
+ version: 0.247.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-01 00:00:00.000000000 Z
11
+ date: 2024-03-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.246.0
19
+ version: 0.247.0
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.246.0
26
+ version: 0.247.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.19.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 2.27.1
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 2.27.1
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rubocop-sorbet
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -245,7 +259,7 @@ licenses:
245
259
  - Nonstandard
246
260
  metadata:
247
261
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
248
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.246.0
262
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.247.0
249
263
  post_install_message:
250
264
  rdoc_options: []
251
265
  require_paths: