licensed 2.15.1 → 2.15.2

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: fdbf2bbf20f191470109be01b9ae1e284d99d1f078005c13e4a188c3f202926e
4
- data.tar.gz: c32a7d0bc2488bd1f1217e3552268b96dc09c442195facf30378d0451f328145
3
+ metadata.gz: 13bec80f1d0dba11fc88692fe346f3dd1f2961ba79f21eb23d7c20e8e40df01b
4
+ data.tar.gz: bd4794c594cbe624ce18d0c3483d0ad05c3d37734b11eb376778a2f48fffd81a
5
5
  SHA512:
6
- metadata.gz: 84aec8c6f41dd9549d6e18239344b5927abdea80de9238aa493bf3af9e4b89714e321a684534aab1fe14b1e0636aad49b00356486a4eccfd05dcff2fd51a99ec
7
- data.tar.gz: 23f7f2b0f681e3f53ea56ae2b2e56306ca4beb377819e8ac5318f762147835c2c7eb6b24f844c03ebdb7598f4ba536da53b3c7707a01e898baf1d76b396c4dcb
6
+ metadata.gz: cb096d054153724f25b5dc7871131a6eb2b1a7d86360f40654af2f1f41ec62ae829e470d49818a8e943ee8d8d5b533e6407f3dc3dffe272a29c40ca7b0a03b75
7
+ data.tar.gz: a302d4ab4db6da100c861020527dedf4d1249f0edfbc31ffea9cef1137063e30cf51ca737f59cf90c100301748f14b84edfae61ee634d665f8fa008715257117
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 2.15.2
10
+
11
+ 2021-04-06
12
+
13
+ ### Fixed
14
+
15
+ - The pip source works with package names containing periods (:tada: @bcskda https://github.com/github/licensed/pull/350)
16
+
9
17
  ## 2.15.1
10
18
 
11
19
  2021-03-29
@@ -403,4 +411,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
403
411
 
404
412
  Initial release :tada:
405
413
 
406
- [Unreleased]: https://github.com/github/licensed/compare/2.15.1...HEAD
414
+ [Unreleased]: https://github.com/github/licensed/compare/2.15.2...HEAD
@@ -8,7 +8,7 @@ module Licensed
8
8
  module Sources
9
9
  class Pip < Source
10
10
  VERSION_OPERATORS = %w(< > <= >= == !=).freeze
11
- PACKAGE_REGEX = /^([\w-]+)(#{VERSION_OPERATORS.join("|")})?/
11
+ PACKAGE_REGEX = /^([\w\.-]+)(#{VERSION_OPERATORS.join("|")})?/
12
12
 
13
13
  def enabled?
14
14
  return unless virtual_env_pip && Licensed::Shell.tool_available?(virtual_env_pip)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Licensed
3
- VERSION = "2.15.1".freeze
3
+ VERSION = "2.15.2".freeze
4
4
 
5
5
  def self.previous_major_versions
6
6
  major_version = Gem::Version.new(Licensed::VERSION).segments.first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: licensed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.1
4
+ version: 2.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: licensee
@@ -348,7 +348,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
350
  requirements: []
351
- rubygems_version: 3.0.3
351
+ rubygems_version: 3.0.3.1
352
352
  signing_key:
353
353
  specification_version: 4
354
354
  summary: Extract and validate the licenses of dependencies.