readmeExtractor 0.1.1 → 0.1.3
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: e295e43c02134341f99e6df0d7962ca7c898df575fd87962d77e934b17b42d7d
|
4
|
+
data.tar.gz: 0d3360d2917b981d560724a4fc119672fa4efb7f12bc380a8f65d63d5dfc3628
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3fac7d4e4284f665a317d9bac7584f4c49549eedfeb925d859465842d37ae015d960b6f800f897953e67c6c1870434618b483449f571604616da7cd07e87123
|
7
|
+
data.tar.gz: 538724bd1277ba9bab27e5b4060891b2bcf4c2e7a7f3422bc785affdadf86fac3aa750e964b0c83cf866eedc3de259445f0780dbf416d0b8407b9f3a3dd96267
|
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.3
|
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
|