autodoc 0.7.7 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +7 -7
- data/lib/autodoc/document.rb +4 -0
- data/lib/autodoc/documents.rb +1 -1
- data/lib/autodoc/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50536334ac5d6f900f9fced708be9ad367e3fe1eddaa00bac5293da40e431e54
|
4
|
+
data.tar.gz: 13466a0fcf42bc05cb62f58db8f25da29cad54b4542b8f119fcd16834e326532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d06e79f180dee1d1f52618b867b575a689efbc8f01b950f3dbdbeee5dabb3ada471f0a1d61faf26b4853d8777be2f874592b7a1792a7125ec1e6a32866dba2b
|
7
|
+
data.tar.gz: 281b298e0ae036992b5b36718c2f9bf71bbe3ca47de3edb744c67cc8c1d33856630a041dd7165faf3094ab9e49abd159c6bf0ebd9d899b49395460a379be63ae
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -61,7 +61,7 @@ GEM
|
|
61
61
|
activesupport (>= 5.0)
|
62
62
|
i18n (1.10.0)
|
63
63
|
concurrent-ruby (~> 1.0)
|
64
|
-
loofah (2.
|
64
|
+
loofah (2.19.1)
|
65
65
|
crass (~> 1.0.2)
|
66
66
|
nokogiri (>= 1.5.9)
|
67
67
|
mail (2.7.1)
|
@@ -76,7 +76,7 @@ GEM
|
|
76
76
|
mini_portile2 (2.8.0)
|
77
77
|
minitest (5.15.0)
|
78
78
|
nio4r (2.5.8)
|
79
|
-
nokogiri (1.13.
|
79
|
+
nokogiri (1.13.10)
|
80
80
|
mini_portile2 (~> 2.8.0)
|
81
81
|
racc (~> 1.4)
|
82
82
|
pry (0.14.1)
|
@@ -84,8 +84,8 @@ GEM
|
|
84
84
|
method_source (~> 1.0)
|
85
85
|
pry-rails (0.3.9)
|
86
86
|
pry (>= 0.10.4)
|
87
|
-
racc (1.6.
|
88
|
-
rack (2.2.3)
|
87
|
+
racc (1.6.1)
|
88
|
+
rack (2.2.3.1)
|
89
89
|
rack-test (1.1.0)
|
90
90
|
rack (>= 1.0, < 3)
|
91
91
|
rails (5.2.2)
|
@@ -104,8 +104,8 @@ GEM
|
|
104
104
|
rails-dom-testing (2.0.3)
|
105
105
|
activesupport (>= 4.2.0)
|
106
106
|
nokogiri (>= 1.6)
|
107
|
-
rails-html-sanitizer (1.4.
|
108
|
-
loofah (~> 2.
|
107
|
+
rails-html-sanitizer (1.4.4)
|
108
|
+
loofah (~> 2.19, >= 2.19.1)
|
109
109
|
railties (5.2.2)
|
110
110
|
actionpack (= 5.2.2)
|
111
111
|
activesupport (= 5.2.2)
|
@@ -148,7 +148,7 @@ GEM
|
|
148
148
|
sqlite3 (1.3.13)
|
149
149
|
thor (1.2.1)
|
150
150
|
thread_safe (0.3.6)
|
151
|
-
tzinfo (1.2.
|
151
|
+
tzinfo (1.2.10)
|
152
152
|
thread_safe (~> 0.1)
|
153
153
|
weak_parameters (0.5.0)
|
154
154
|
rails (>= 4.0.0)
|
data/lib/autodoc/document.rb
CHANGED
data/lib/autodoc/documents.rb
CHANGED
@@ -23,7 +23,7 @@ module Autodoc
|
|
23
23
|
def write_documents
|
24
24
|
@table.each do |pathname, documents|
|
25
25
|
pathname.parent.mkpath
|
26
|
-
pathname.open("w") {|file| file << documents.map(&:render).join("\n").rstrip + "\n" }
|
26
|
+
pathname.open("w") {|file| file << documents.sort_by(&:line_number).map(&:render).join("\n").rstrip + "\n" }
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
data/lib/autodoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autodoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.3.13
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- r7kamura@gmail.com
|
114
114
|
executables: []
|
@@ -186,7 +186,7 @@ homepage: https://github.com/r7kamura/autodoc
|
|
186
186
|
licenses:
|
187
187
|
- MIT
|
188
188
|
metadata: {}
|
189
|
-
post_install_message:
|
189
|
+
post_install_message:
|
190
190
|
rdoc_options: []
|
191
191
|
require_paths:
|
192
192
|
- lib
|
@@ -201,8 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
|
-
rubygems_version: 3.
|
205
|
-
signing_key:
|
204
|
+
rubygems_version: 3.3.7
|
205
|
+
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: Auto-generate JSON API documents from your request-specs.
|
208
208
|
test_files:
|