dependabot-common 0.97.0 → 0.97.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c95d5c4705ad29999f510d8930edb9bb05341c6e03f4ea07fe0b1a2c4c55a627
4
- data.tar.gz: b72b6703fae9a5a04dc99937821218fd18fd15572306a97fd62fb7e0e4edbcfb
3
+ metadata.gz: 3928c23abd33385766f49cc0f84023f06ecc1154aaf2100b72e462953e62ca47
4
+ data.tar.gz: b1c1d83ba07e313d66119f95fad68e36676606dbe57c56fcda9587aba21ee455
5
5
  SHA512:
6
- metadata.gz: 1972d0879c832200ea93df31465fbaeed61025b5c10d8c74c20ad231c2d39eefeb2410cbeb7dbbe2006ec9315300305f6253378ea4f950eb11d6711a63a0ba2f
7
- data.tar.gz: 0b8c178983e40c046a3364a616d24b26336c2b50286933f73bf08c2b5b3e82db8aafd380b56082ffdce86a99e5414a03b62b61e567d1596c0617ecf4dc982cab
6
+ metadata.gz: c6c44c53283fcc7cc3f5c53738f88830c4d573253e4fe3b3e76e2494f207c175da4aa9c283d1bcb50104ef488b5e9f4c9316bdfbfd138bf948071aa81459aa64
7
+ data.tar.gz: 99eb2d290f8c97dc06c57e42ada815a8be8bc6c4e9172810482570b21726a6bdb15107e1b2397b2b3631598680972fe759de23573e7300ad95e83a4b91223209
@@ -168,6 +168,7 @@ module Dependabot
168
168
  return false unless tag.match?(version_regex)
169
169
 
170
170
  tag_version = tag.match(version_regex).named_captures.fetch("version")
171
+ return false unless version_class.correct?(tag_version)
171
172
 
172
173
  version_class.new(tag_version) == version_class.new(version)
173
174
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.97.0"
4
+ VERSION = "0.97.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.97.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot