betterdocs 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +4 -4
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/betterdocs.gemspec +10 -10
- data/lib/betterdocs/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8527389ee2c2b754b5dbf040996de15a7baa223bd38665b2c7e91fa616030b03
|
4
|
+
data.tar.gz: 34588636b79189afea291df30d9802b49329d0656e9bce284bd8207514396d9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b502b731de212b26d03b08382cde05159f72f62fdf71911103bce8f964324b293eabf5a6fe000c43ec653d97a15286655cd1be745c12373e0c209059554821c1
|
7
|
+
data.tar.gz: e39e34105a751d60f8801170536d6813afd87a4354013c4ddaa9b8a5e586d2cc8d265e7189331610762c47a9e264989b47a6dae6421d59db2982eac7c57e6b82
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Betterdocs API Documentation
|
|
6
6
|
DESCRIPTION
|
7
7
|
-----------
|
8
8
|
|
9
|
-
This library can be used to document a
|
9
|
+
This library can be used to document a Rails-based API.
|
10
10
|
|
11
11
|
LICENSE
|
12
12
|
-------
|
@@ -40,12 +40,12 @@ This api generator requires that you follow the [representer pattern](http://nic
|
|
40
40
|
end
|
41
41
|
|
42
42
|
response do
|
43
|
-
generate_fake_result_with_representer
|
43
|
+
generate_fake_result_with_representer
|
44
44
|
end
|
45
45
|
end
|
46
46
|
# :nocov:
|
47
47
|
def index
|
48
|
-
render json: real_result_with_representer
|
48
|
+
render json: real_result_with_representer
|
49
49
|
end
|
50
50
|
|
51
51
|
# :nocov: Documentation
|
@@ -68,7 +68,7 @@ This api generator requires that you follow the [representer pattern](http://nic
|
|
68
68
|
end
|
69
69
|
# :nocov:
|
70
70
|
def show
|
71
|
-
render json: real_result_with_representer
|
71
|
+
render json: real_result_with_representer
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.7
|
data/betterdocs.gemspec
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: betterdocs 0.6.
|
2
|
+
# stub: betterdocs 0.6.7 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "betterdocs".freeze
|
6
|
-
s.version = "0.6.
|
6
|
+
s.version = "0.6.7"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["betterplace Developers".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2019-08-23"
|
12
12
|
s.description = "This library provides tools to generate API documention for a web site's REST-ful JSON API.".freeze
|
13
13
|
s.email = "developers@betterplace.org".freeze
|
14
14
|
s.extra_rdoc_files = ["README.md".freeze, "lib/betterdocs.rb".freeze, "lib/betterdocs/controller_collector.rb".freeze, "lib/betterdocs/dsl.rb".freeze, "lib/betterdocs/dsl/common.rb".freeze, "lib/betterdocs/dsl/controller.rb".freeze, "lib/betterdocs/dsl/controller/action.rb".freeze, "lib/betterdocs/dsl/controller/action/param.rb".freeze, "lib/betterdocs/dsl/controller/action/response.rb".freeze, "lib/betterdocs/dsl/controller/controller.rb".freeze, "lib/betterdocs/dsl/controller/controller_base.rb".freeze, "lib/betterdocs/dsl/json_params.rb".freeze, "lib/betterdocs/dsl/json_params/param.rb".freeze, "lib/betterdocs/dsl/json_type_mapper.rb".freeze, "lib/betterdocs/dsl/naming.rb".freeze, "lib/betterdocs/dsl/representer.rb".freeze, "lib/betterdocs/dsl/result.rb".freeze, "lib/betterdocs/dsl/result/collection_property.rb".freeze, "lib/betterdocs/dsl/result/link.rb".freeze, "lib/betterdocs/dsl/result/property.rb".freeze, "lib/betterdocs/generator/config_shortcuts.rb".freeze, "lib/betterdocs/generator/markdown.rb".freeze, "lib/betterdocs/global.rb".freeze, "lib/betterdocs/json_params_representer.rb".freeze, "lib/betterdocs/json_params_representer_collector.rb".freeze, "lib/betterdocs/json_time_with_zone.rb".freeze, "lib/betterdocs/mix_into_controller.rb".freeze, "lib/betterdocs/railtie.rb".freeze, "lib/betterdocs/rake_tasks.rb".freeze, "lib/betterdocs/representer.rb".freeze, "lib/betterdocs/result_representer.rb".freeze, "lib/betterdocs/result_representer_collector.rb".freeze, "lib/betterdocs/sanitizer.rb".freeze, "lib/betterdocs/section.rb".freeze, "lib/betterdocs/version.rb".freeze]
|
15
15
|
s.files = [".codeclimate.yml".freeze, ".gitignore".freeze, ".rspec".freeze, ".travis.yml".freeze, "COPYING".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "betterdocs.gemspec".freeze, "lib/betterdocs.rb".freeze, "lib/betterdocs/controller_collector.rb".freeze, "lib/betterdocs/dsl.rb".freeze, "lib/betterdocs/dsl/common.rb".freeze, "lib/betterdocs/dsl/controller.rb".freeze, "lib/betterdocs/dsl/controller/action.rb".freeze, "lib/betterdocs/dsl/controller/action/param.rb".freeze, "lib/betterdocs/dsl/controller/action/response.rb".freeze, "lib/betterdocs/dsl/controller/controller.rb".freeze, "lib/betterdocs/dsl/controller/controller_base.rb".freeze, "lib/betterdocs/dsl/json_params.rb".freeze, "lib/betterdocs/dsl/json_params/param.rb".freeze, "lib/betterdocs/dsl/json_type_mapper.rb".freeze, "lib/betterdocs/dsl/naming.rb".freeze, "lib/betterdocs/dsl/representer.rb".freeze, "lib/betterdocs/dsl/result.rb".freeze, "lib/betterdocs/dsl/result/collection_property.rb".freeze, "lib/betterdocs/dsl/result/link.rb".freeze, "lib/betterdocs/dsl/result/property.rb".freeze, "lib/betterdocs/generator/config_shortcuts.rb".freeze, "lib/betterdocs/generator/markdown.rb".freeze, "lib/betterdocs/generator/markdown/templates/README.md.erb".freeze, "lib/betterdocs/generator/markdown/templates/section.md.erb".freeze, "lib/betterdocs/global.rb".freeze, "lib/betterdocs/json_params_representer.rb".freeze, "lib/betterdocs/json_params_representer_collector.rb".freeze, "lib/betterdocs/json_time_with_zone.rb".freeze, "lib/betterdocs/mix_into_controller.rb".freeze, "lib/betterdocs/railtie.rb".freeze, "lib/betterdocs/rake_tasks.rb".freeze, "lib/betterdocs/representer.rb".freeze, "lib/betterdocs/result_representer.rb".freeze, "lib/betterdocs/result_representer_collector.rb".freeze, "lib/betterdocs/sanitizer.rb".freeze, "lib/betterdocs/section.rb".freeze, "lib/betterdocs/tasks/doc.rake".freeze, "lib/betterdocs/version.rb".freeze, "spec/assets/app/assets/images/logos/logo.png".freeze, "spec/assets/app/controllers/api/foos_controller.rb".freeze, "spec/assets/app/views/api_v4/documentation/assets/CHANGELOG.md".freeze, "spec/assets/config/betterdocs.yml".freeze, "spec/betterdocs/dsl/controller/action/param_spec.rb".freeze, "spec/betterdocs/dsl/controller/action/response_spec.rb".freeze, "spec/betterdocs/dsl/json_type_mapper_spec.rb".freeze, "spec/betterdocs/dsl/result/collection_property_spec.rb".freeze, "spec/betterdocs/dsl/result/link_spec.rb".freeze, "spec/betterdocs/dsl/result/property_spec.rb".freeze, "spec/betterdocs/generator/markdown_spec.rb".freeze, "spec/betterdocs/global_spec.rb".freeze, "spec/betterdocs/json_params_representer_spec.rb".freeze, "spec/betterdocs/result_representer_spec.rb".freeze, "spec/betterdocs/sanitizer_spec.rb".freeze, "spec/controller_dsl_spec.rb".freeze, "spec/result_representer_dsl_spec.rb".freeze, "spec/spec_helper.rb".freeze]
|
16
16
|
s.homepage = "http://github.com/betterplace/betterdocs".freeze
|
17
17
|
s.rdoc_options = ["--title".freeze, "Betterdocs".freeze, "--main".freeze, "README.md".freeze]
|
18
|
-
s.rubygems_version = "
|
18
|
+
s.rubygems_version = "3.0.3".freeze
|
19
19
|
s.summary = "Betterplace API documentation library".freeze
|
20
20
|
s.test_files = ["spec/assets/app/controllers/api/foos_controller.rb".freeze, "spec/betterdocs/dsl/controller/action/param_spec.rb".freeze, "spec/betterdocs/dsl/controller/action/response_spec.rb".freeze, "spec/betterdocs/dsl/json_type_mapper_spec.rb".freeze, "spec/betterdocs/dsl/result/collection_property_spec.rb".freeze, "spec/betterdocs/dsl/result/link_spec.rb".freeze, "spec/betterdocs/dsl/result/property_spec.rb".freeze, "spec/betterdocs/generator/markdown_spec.rb".freeze, "spec/betterdocs/global_spec.rb".freeze, "spec/betterdocs/json_params_representer_spec.rb".freeze, "spec/betterdocs/result_representer_spec.rb".freeze, "spec/betterdocs/sanitizer_spec.rb".freeze, "spec/controller_dsl_spec.rb".freeze, "spec/result_representer_dsl_spec.rb".freeze, "spec/spec_helper.rb".freeze]
|
21
21
|
|
@@ -27,8 +27,8 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
|
28
28
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
29
29
|
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
30
|
-
s.add_runtime_dependency(%q<tins>.freeze, ["
|
31
|
-
s.add_runtime_dependency(%q<rails>.freeze, ["
|
30
|
+
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.3", ">= 1.3.5"])
|
31
|
+
s.add_runtime_dependency(%q<rails>.freeze, [">= 3", "< 7"])
|
32
32
|
s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
|
33
33
|
s.add_runtime_dependency(%q<complex_config>.freeze, ["~> 0.5"])
|
34
34
|
s.add_runtime_dependency(%q<infobar>.freeze, [">= 0"])
|
@@ -38,8 +38,8 @@ Gem::Specification.new do |s|
|
|
38
38
|
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
39
39
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
40
40
|
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
41
|
-
s.add_dependency(%q<tins>.freeze, ["
|
42
|
-
s.add_dependency(%q<rails>.freeze, ["
|
41
|
+
s.add_dependency(%q<tins>.freeze, ["~> 1.3", ">= 1.3.5"])
|
42
|
+
s.add_dependency(%q<rails>.freeze, [">= 3", "< 7"])
|
43
43
|
s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
|
44
44
|
s.add_dependency(%q<complex_config>.freeze, ["~> 0.5"])
|
45
45
|
s.add_dependency(%q<infobar>.freeze, [">= 0"])
|
@@ -50,8 +50,8 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
51
51
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
52
52
|
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
53
|
-
s.add_dependency(%q<tins>.freeze, ["
|
54
|
-
s.add_dependency(%q<rails>.freeze, ["
|
53
|
+
s.add_dependency(%q<tins>.freeze, ["~> 1.3", ">= 1.3.5"])
|
54
|
+
s.add_dependency(%q<rails>.freeze, [">= 3", "< 7"])
|
55
55
|
s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
|
56
56
|
s.add_dependency(%q<complex_config>.freeze, ["~> 0.5"])
|
57
57
|
s.add_dependency(%q<infobar>.freeze, [">= 0"])
|
data/lib/betterdocs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betterdocs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- betterplace Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
version: '3'
|
96
96
|
- - "<"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
98
|
+
version: '7'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
101
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -105,7 +105,7 @@ dependencies:
|
|
105
105
|
version: '3'
|
106
106
|
- - "<"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
108
|
+
version: '7'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: term-ansicolor
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,8 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
292
|
- !ruby/object:Gem::Version
|
293
293
|
version: '0'
|
294
294
|
requirements: []
|
295
|
-
|
296
|
-
rubygems_version: 2.7.6
|
295
|
+
rubygems_version: 3.0.3
|
297
296
|
signing_key:
|
298
297
|
specification_version: 4
|
299
298
|
summary: Betterplace API documentation library
|