betterdocs 0.12.2 → 0.12.3

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: 7c41e8bef0ec8aa58b73c1c86d9233c8a7d2ca74951ef7d8a75aeb00f48c4f71
4
- data.tar.gz: 2038e6b7269a66207e929651210b5a02d6f1f5ab4cbe725d64c1efaa833042c5
3
+ metadata.gz: '09843f4452a097ec22304ec23e813656de04f1716ede9ea25106fb539c981e07'
4
+ data.tar.gz: 34da0046689ff95259b7b87ee7ff095be313a719d172ba1be5c2454affed8d76
5
5
  SHA512:
6
- metadata.gz: 02174520b69dc795550a516833b51bca7d3910b4fce705ae58401fad2676d21e88629738d698ee4f11ee313ca3512f2710b93da8057fcfda583a95713bcc2ab8
7
- data.tar.gz: ea7b023b448defbaf3effa6edfa3db1291a9ea441028772db4b83b70ad322246a662592fa712d5e915bb15a2ba96d64faacd5f26259b218676e78ea92d504b4e
6
+ metadata.gz: ede4fcf3be815102e61594cfe8f6e4f26eb5030ac6800f2684581559e46b924f2d5b22d43add42e3c49400c326f3aabd21951d497742c2d14bdd23ee7b0d9bbd
7
+ data.tar.gz: 4621fca772948c34d7bdb8888b3580e70199a1a9e3fa52e560b18d647ff121ad9229580daf2326d1c9068ac0b1c70bcc1063011013191e4583b802db3fc8da4c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.2
1
+ 0.12.3
data/betterdocs.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: betterdocs 0.12.2 ruby lib
2
+ # stub: betterdocs 0.12.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "betterdocs".freeze
6
- s.version = "0.12.2"
6
+ s.version = "0.12.3"
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 = "2022-12-09"
11
+ s.date = "2023-04-04"
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]
@@ -176,7 +176,7 @@ module Betterdocs
176
176
  (?<host>[a-z.]+)/
177
177
  (?<lang>[a-z]{2})/api_
178
178
  (?<ver>v[0-9]+)/
179
- (?<path>[\w/]+\.json?)
179
+ (?<path>[\w/-]+\.json?)
180
180
  }x.match(request).named_captures.transform_keys(&:to_sym)
181
181
  slugs[:params] = []
182
182
  split = slugs[:path].split('/')
@@ -1,6 +1,6 @@
1
1
  module Betterdocs
2
2
  # Betterdocs version
3
- VERSION = '0.12.2'
3
+ VERSION = '0.12.3'
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.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar