betterdocs 0.12.3 → 0.12.4

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: '09843f4452a097ec22304ec23e813656de04f1716ede9ea25106fb539c981e07'
4
- data.tar.gz: 34da0046689ff95259b7b87ee7ff095be313a719d172ba1be5c2454affed8d76
3
+ metadata.gz: 746d6266c0a5707b6ddfb4996fb9681b03a2884cb882ed25a0bcae0c06b13555
4
+ data.tar.gz: 988cec2e0eaa6dd53a665b115ceca1f922dab009f01fd5064f9d0efc95a8f515
5
5
  SHA512:
6
- metadata.gz: ede4fcf3be815102e61594cfe8f6e4f26eb5030ac6800f2684581559e46b924f2d5b22d43add42e3c49400c326f3aabd21951d497742c2d14bdd23ee7b0d9bbd
7
- data.tar.gz: 4621fca772948c34d7bdb8888b3580e70199a1a9e3fa52e560b18d647ff121ad9229580daf2326d1c9068ac0b1c70bcc1063011013191e4583b802db3fc8da4c
6
+ metadata.gz: 10e8511696e26e6da499d2e96cb4214bd2260160deace428d6c389e6ad87b069b8b810431c71f7ff678e417377318a412baeb20c9a3cd85d786aa7a689baab52
7
+ data.tar.gz: 7ac44e9444d02c4b6b3dc02fdac8bcfbc8f57251de17b96008502e6c7c0c72152c235cc512ca3465586b44ec34f5420da4ad2edbc718cf35e92d0e5a93751e3a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.3
1
+ 0.12.4
data/betterdocs.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: betterdocs 0.12.3 ruby lib
2
+ # stub: betterdocs 0.12.4 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "betterdocs".freeze
6
- s.version = "0.12.3"
6
+ s.version = "0.12.4"
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 = "2023-04-04"
11
+ s.date = "2023-04-06"
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/generator/swagger.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/responding.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]
@@ -367,7 +367,7 @@ module Betterdocs
367
367
  end
368
368
  ok = { schema: schema }
369
369
  unless action.response.nil?
370
- add_example(ok, 'example', JSON.parse(JSON.pretty_generate(action.response, quirks_mode: true)))
370
+ add_example(ok, 'example', JSON.parse(JSON.pretty_generate(action.response.to_json, quirks_mode: true)))
371
371
  end
372
372
  p[:responses] =
373
373
  { "200": wrap_content_object(ok, 'OK'),
@@ -1,6 +1,6 @@
1
1
  module Betterdocs
2
2
  # Betterdocs version
3
- VERSION = '0.12.3'
3
+ VERSION = '0.12.4'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
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.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-04 00:00:00.000000000 Z
11
+ date: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar