docrb 0.3.3 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -10
- data/bin/console +3 -1
- data/docrb.gemspec +2 -2
- data/exe/docrb +13 -1
- data/lib/docrb/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 730221837abc7b3de03049c772883ff7faa567097630fbba03a82931aee012bd
|
4
|
+
data.tar.gz: 15e8d1d85e9fc45f11dab128b95786c2212732e5e545de76ee7f57ed17ecfcc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7201adcc743ba1169e1990c4253efcc924abb48a4bdcd9a5d9f4605855cdd304a417da6cb8b9412222660b6d3983940f5f1ad9d6b922689e2387338b0caaab32
|
7
|
+
data.tar.gz: 1e7a20c39850bbafc08001dce51a49155e009758dfb0ae7cc1c982e2c8fc3393f8cd25c57a9d996c3630e1edefe446f8b15d8e7b12390318223c6727d3060a4b
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../docrb-html
|
3
3
|
specs:
|
4
|
-
docrb-html (0.3.
|
4
|
+
docrb-html (0.3.3)
|
5
5
|
nokogiri (~> 1.14)
|
6
6
|
redcarpet (~> 3.6)
|
7
7
|
rouge (~> 4.1)
|
@@ -10,13 +10,13 @@ PATH
|
|
10
10
|
PATH
|
11
11
|
remote: ../docrb-parser
|
12
12
|
specs:
|
13
|
-
docrb-parser (0.1.
|
14
|
-
prism (~>
|
13
|
+
docrb-parser (0.1.2)
|
14
|
+
prism (~> 1)
|
15
15
|
|
16
16
|
PATH
|
17
17
|
remote: .
|
18
18
|
specs:
|
19
|
-
docrb (0.3.
|
19
|
+
docrb (0.3.5)
|
20
20
|
docrb-html (~> 0.3)
|
21
21
|
docrb-parser (~> 0.1)
|
22
22
|
|
@@ -27,23 +27,27 @@ GEM
|
|
27
27
|
awesome_print (1.9.2)
|
28
28
|
byebug (11.1.3)
|
29
29
|
diff-lcs (1.5.0)
|
30
|
-
ffi (1.
|
30
|
+
ffi (1.17.0-aarch64-linux-gnu)
|
31
|
+
ffi (1.17.0-arm64-darwin)
|
32
|
+
ffi (1.17.0-x86_64-darwin)
|
31
33
|
json (2.6.3)
|
32
|
-
nokogiri (1.
|
34
|
+
nokogiri (1.16.7-aarch64-linux)
|
33
35
|
racc (~> 1.4)
|
34
|
-
nokogiri (1.
|
36
|
+
nokogiri (1.16.7-arm64-darwin)
|
37
|
+
racc (~> 1.4)
|
38
|
+
nokogiri (1.16.7-x86_64-darwin)
|
35
39
|
racc (~> 1.4)
|
36
40
|
parallel (1.22.1)
|
37
41
|
parser (3.2.1.0)
|
38
42
|
ast (~> 2.4.1)
|
39
|
-
prism (0.
|
40
|
-
racc (1.
|
43
|
+
prism (1.0.0)
|
44
|
+
racc (1.8.1)
|
41
45
|
rainbow (3.1.1)
|
42
46
|
rake (13.0.6)
|
43
47
|
redcarpet (3.6.0)
|
44
48
|
regexp_parser (2.7.0)
|
45
49
|
rexml (3.2.5)
|
46
|
-
rouge (4.
|
50
|
+
rouge (4.4.0)
|
47
51
|
rspec (3.12.0)
|
48
52
|
rspec-core (~> 3.12.0)
|
49
53
|
rspec-expectations (~> 3.12.0)
|
@@ -75,6 +79,7 @@ GEM
|
|
75
79
|
unicode-display_width (2.4.2)
|
76
80
|
|
77
81
|
PLATFORMS
|
82
|
+
aarch64-linux
|
78
83
|
arm64-darwin-22
|
79
84
|
arm64-darwin-23
|
80
85
|
x86_64-darwin-20
|
data/bin/console
CHANGED
data/docrb.gemspec
CHANGED
@@ -5,7 +5,7 @@ require_relative "lib/docrb/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "docrb"
|
7
7
|
spec.version = Docrb::VERSION
|
8
|
-
spec.authors = ["
|
8
|
+
spec.authors = ["Vito Sartori"]
|
9
9
|
spec.email = ["hey@vito.io"]
|
10
10
|
|
11
11
|
spec.summary = "An opinionated documentation parser"
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.required_ruby_version = ">= 3.2"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/
|
18
|
+
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/master/lib/docrb"
|
19
19
|
spec.metadata["changelog_uri"] = spec.homepage
|
20
20
|
spec.metadata["rubygems_mfa_required"] = "true"
|
21
21
|
|
data/exe/docrb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
require "bundler
|
4
|
+
require "bundler"
|
5
|
+
Bundler.setup
|
6
|
+
|
5
7
|
require "json"
|
6
8
|
require "fileutils"
|
7
9
|
require "optparse"
|
@@ -70,6 +72,10 @@ def run
|
|
70
72
|
opt.on("-lLICENSE", "--license=LICENSE", "The project's license. #{gemspec_info}") do |license|
|
71
73
|
options[:license] = license
|
72
74
|
end
|
75
|
+
|
76
|
+
opt.on("-pPATH", "--path=PATH", "The base URL to use for generated links.") do |path|
|
77
|
+
options[:path] = path
|
78
|
+
end
|
73
79
|
end
|
74
80
|
|
75
81
|
opts.parse!
|
@@ -127,6 +133,12 @@ def run
|
|
127
133
|
spec[k] = options[k] if options.key? k
|
128
134
|
end
|
129
135
|
|
136
|
+
spec[:base_path] = if options.key? :path
|
137
|
+
options[:path]
|
138
|
+
else
|
139
|
+
"/"
|
140
|
+
end
|
141
|
+
|
130
142
|
if spec[:name] == "" || spec[:name].nil?
|
131
143
|
puts "Docrb could not detect the project name. Please check your .gemspec, or provide one manually using --name."
|
132
144
|
exit(1)
|
data/lib/docrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Vito Sartori
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docrb-html
|
@@ -67,7 +67,7 @@ licenses:
|
|
67
67
|
- MIT
|
68
68
|
metadata:
|
69
69
|
homepage_uri: https://github.com/heyvito/docrb
|
70
|
-
source_code_uri: https://github.com/heyvito/docrb/tree/
|
70
|
+
source_code_uri: https://github.com/heyvito/docrb/tree/master/lib/docrb
|
71
71
|
changelog_uri: https://github.com/heyvito/docrb
|
72
72
|
rubygems_mfa_required: 'true'
|
73
73
|
post_install_message:
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.5.18
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: An opinionated documentation parser
|