readmeExtractor 0.1.6 → 0.1.8

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: '04296589cd4760782d477b7baa4905c56e93d6aebb0ee31996f7c27b502304b6'
4
- data.tar.gz: 89d07a6cb62dc5ed649e8c5ff2692c56751e38b593a7d4da00186860d3991f02
3
+ metadata.gz: cd9b0cae6d7cad56797c0c120a5a384ed512a22d2aa44038a81b9f028af849c6
4
+ data.tar.gz: 6f887f45dde6cb7e1cd5c74d3efbf61e2da8513f4f8388d423a986a5ca7b0fa0
5
5
  SHA512:
6
- metadata.gz: eb452189e1eafe43562b27d21cdecb1108753ff8d4916aae5609a8bc5a26c5ee33ce8f429412012308a1a193d781567678a6a3551ab6c893a00f436b420201ac
7
- data.tar.gz: c0d7b01c49013e31968f4ea1822346f0afc1592c46b39614d97c3d9fdb1cf40721d191cec26a9f093c217e7b2eebf0ed2cbd32b7b68cc76c3435380462cf68e0
6
+ metadata.gz: 8b007a30430cb30a7b6010ad7df9cf543cabf29648292219f3eed47636ae3cd1607e0e3ec7da52cc7e05b181384ab35ad708f267d6db13fbd448283b7ae22782
7
+ data.tar.gz: 0b6baa6c1781c849321754955fb9cb13be9f218a4a4a35e1cb0662b9e4faa6c65a989d215e47fbff0ea35938ec897848054d83443b12a63b86f6887073303c4d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ReadmeExtractor
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.8'
5
5
  end
@@ -28,7 +28,7 @@ class ReadmeExtractor
28
28
  gems = {}
29
29
  gem_paths.each do |gem_path|
30
30
  basename = File.basename gem_path
31
- match = basename.match(/(?<name>.*?)-(?<version>\d+(?:\.\d+)*)(?:-?(?<platform>[^.]+))?.gem/)
31
+ match = basename.match(/(?<name>.*?)-(?<version>\d+(?:\.\d+)*).*?.gem/)
32
32
  raise GemFileNameError, "#{basename} does not match the expected format." unless match && match[:name] && match[:version]
33
33
 
34
34
  name = match[:name]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readmeExtractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktor C