apidoco 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/views/layouts/apidoco/application.html.erb +1 -1
- data/lib/apidoco.rb +5 -1
- data/lib/apidoco/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 022b708782a65ee704f4d76320f4c6481a7579f2d103aaadd3f207e603e3d2d1
|
|
4
|
+
data.tar.gz: c6e3d5921c68096c2cc29c2577a7af9a6cc8c13200ac1faff92f64916154cf67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75898d778b57489579d43ee14532aaa79fdd16e0e4d9a7840c64dadc5ae02a5fa5ff5aa660ce6853c5f2cb5b27fcccdbd05f8521afbd759863d798f132956c6a
|
|
7
|
+
data.tar.gz: 1e89929d7179793a2c871f94a78e9b38e7e86a2c3bb9f8e4f5870efe31e71ae23e2ecb907860afb626766e188cdddd9681af2cccb11d835092b5c48311f67b50
|
data/README.md
CHANGED
|
@@ -35,6 +35,7 @@ Create a configuration file in initializers e.g. /config/initializers/apidoco.rb
|
|
|
35
35
|
```ruby
|
|
36
36
|
Apidoco.auth_name = 'authentication_name'
|
|
37
37
|
Apidoco.auth_password = 'authentication_password'
|
|
38
|
+
Apidoco.app_name = 'your app name' # This will appear as the HTML title for api_doco pages
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
## Generators
|
data/lib/apidoco.rb
CHANGED
|
@@ -6,6 +6,10 @@ require 'apidoco/version_documentation'
|
|
|
6
6
|
require 'apidoco/folder_parser'
|
|
7
7
|
require 'apidoco/file_parser'
|
|
8
8
|
|
|
9
|
+
APIDOCO_TITLE = 'ApiDoco'
|
|
10
|
+
|
|
9
11
|
module Apidoco
|
|
10
|
-
mattr_accessor :auth_name, :auth_password
|
|
12
|
+
mattr_accessor :app_name, :auth_name, :auth_password
|
|
13
|
+
|
|
14
|
+
self.app_name = APIDOCO_TITLE
|
|
11
15
|
end
|
data/lib/apidoco/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apidoco
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Al Ameen
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2018-
|
|
14
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rails
|