readmeExtractor 0.1.1 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Dockerfile +5 -0
- data/lib/readmeExtractor/version.rb +1 -1
- data/lib/readmeExtractor.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe1eec33917a48bea92ce1eaec0bba75306af70273d917e335b5b56e580fd2e
|
4
|
+
data.tar.gz: '086e1ac026b5417984ae236709b56a20b31926bb452137fe405d79ce58ee9d01'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8342f04f0cbc1527f8beb7805a766cb127960b245d62ed9ed90dba7a07196c706729cfc65acb18fb42bd8b4728cd05e4333383b80f5e15935089bf95b1d789a
|
7
|
+
data.tar.gz: a12ffc6db89c37de43c8d26c4d3f87f9dc34318aaa91f461ab5662978bfac8d958413bd1d845b5b6aab3197055d946cf8372ee5a124b78103bce3d5a7c2d0bfb
|
data/CHANGELOG.md
CHANGED
data/Dockerfile
ADDED
data/lib/readmeExtractor.rb
CHANGED
@@ -27,7 +27,7 @@ class ReadmeExtractor
|
|
27
27
|
gems = {}
|
28
28
|
gem_paths.each do |gem_path|
|
29
29
|
basename = File.basename gem_path
|
30
|
-
match = basename.match(/(?<name>.*?)-(?<version>\d+(?:\.\d+)*)(
|
30
|
+
match = basename.match(/(?<name>.*?)-(?<version>\d+(?:\.\d+)*)(?:-?(?<platform>[^.]+))?.gem/)
|
31
31
|
raise GemFileNameError, "#{basename} does not match the expected format." unless match && match[:name] && match[:version]
|
32
32
|
|
33
33
|
name = match[:name]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readmeExtractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Viktor C
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Simple gem to extract md and rdoc files from .gem
|
14
14
|
email:
|
@@ -23,6 +23,7 @@ files:
|
|
23
23
|
- ".ruby-version"
|
24
24
|
- CHANGELOG.md
|
25
25
|
- CODE_OF_CONDUCT.md
|
26
|
+
- Dockerfile
|
26
27
|
- LICENSE.txt
|
27
28
|
- README.md
|
28
29
|
- Rakefile
|