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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c810891a4c040c41aef5ddee90d12d1b25f547e70d919bd9701a9825adb746b2
4
- data.tar.gz: d848a298782bb12b106ca65e8b837e8dc4c9005437de42827caee4d07515b70f
3
+ metadata.gz: e295e43c02134341f99e6df0d7962ca7c898df575fd87962d77e934b17b42d7d
4
+ data.tar.gz: 0d3360d2917b981d560724a4fc119672fa4efb7f12bc380a8f65d63d5dfc3628
5
5
  SHA512:
6
- metadata.gz: d7c54556fdd81b652471a3e15181e62572f55e76a40e7cbf372ceaae9d6e411e06714ac482ca72ce7d6a23167434daab93e8d7b4e9706b0956981ac32d3d6a09
7
- data.tar.gz: 587cc37eec2e8bd49ecf537182792d158143126146b2c579dc07ca16d0df5b3960c21e364bf4f4f3e691a948af3d6f8cc3a7cfc4787f1be3da15d2ce766acaca
6
+ metadata.gz: d3fac7d4e4284f665a317d9bac7584f4c49549eedfeb925d859465842d37ae015d960b6f800f897953e67c6c1870434618b483449f571604616da7cd07e87123
7
+ data.tar.gz: 538724bd1277ba9bab27e5b4060891b2bcf4c2e7a7f3422bc785affdadf86fac3aa750e964b0c83cf866eedc3de259445f0780dbf416d0b8407b9f3a3dd96267
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.3'
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.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-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