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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c810891a4c040c41aef5ddee90d12d1b25f547e70d919bd9701a9825adb746b2
4
- data.tar.gz: d848a298782bb12b106ca65e8b837e8dc4c9005437de42827caee4d07515b70f
3
+ metadata.gz: abe1eec33917a48bea92ce1eaec0bba75306af70273d917e335b5b56e580fd2e
4
+ data.tar.gz: '086e1ac026b5417984ae236709b56a20b31926bb452137fe405d79ce58ee9d01'
5
5
  SHA512:
6
- metadata.gz: d7c54556fdd81b652471a3e15181e62572f55e76a40e7cbf372ceaae9d6e411e06714ac482ca72ce7d6a23167434daab93e8d7b4e9706b0956981ac32d3d6a09
7
- data.tar.gz: 587cc37eec2e8bd49ecf537182792d158143126146b2c579dc07ca16d0df5b3960c21e364bf4f4f3e691a948af3d6f8cc3a7cfc4787f1be3da15d2ce766acaca
6
+ metadata.gz: c8342f04f0cbc1527f8beb7805a766cb127960b245d62ed9ed90dba7a07196c706729cfc65acb18fb42bd8b4728cd05e4333383b80f5e15935089bf95b1d789a
7
+ data.tar.gz: a12ffc6db89c37de43c8d26c4d3f87f9dc34318aaa91f461ab5662978bfac8d958413bd1d845b5b6aab3197055d946cf8372ee5a124b78103bce3d5a7c2d0bfb
data/CHANGELOG.md CHANGED
@@ -3,3 +3,7 @@
3
3
  ## [0.1.0] - 2024-03-31
4
4
 
5
5
  - Initial release
6
+
7
+ ## [0.1.3] - 2024-04-09
8
+
9
+ - added alpha version support
data/Dockerfile ADDED
@@ -0,0 +1,5 @@
1
+ ARG RUBY_VERSION=3.3.0
2
+ FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
3
+ RUN gem install readmeExtractor
4
+ RUN mkdir -p /data/rubygems
5
+ CMD ["readmeExtractor", "start", "--from", "/data/rubygems/gems", "--to", "/data/rubygems/readmes"]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ReadmeExtractor
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.4'
5
5
  end
@@ -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+)*)(?:-(?<platform>[^.]+))?.gem/)
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.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-04 00:00:00.000000000 Z
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