betterdocs 0.12.1 → 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: 757a9d16bec936883eec375dd7174cd01d0be5a367a082742ea466992dd8c1cf
4
- data.tar.gz: 4f3fdf944921a32d8fae46f35f361b03c6e53e6053b72e079f2bef43a2cdfd24
3
+ metadata.gz: '09843f4452a097ec22304ec23e813656de04f1716ede9ea25106fb539c981e07'
4
+ data.tar.gz: 34da0046689ff95259b7b87ee7ff095be313a719d172ba1be5c2454affed8d76
5
5
  SHA512:
6
- metadata.gz: a343976b81bbc7388aad0bf35addee30860d41f65eca0f8aa4588567ed6e7318ec3a80da3e766211d535639910fe5c367892f020ede993feca1c18bd3054015e
7
- data.tar.gz: bd54ff6b0ea1339dfbad969588abf99596e8ba6154738a851f48cd309f3011982d9ef7736f8600bdce7b475d71caf1121768fb8c3c1971f12ecaad2e274ab6e2
6
+ metadata.gz: ede4fcf3be815102e61594cfe8f6e4f26eb5030ac6800f2684581559e46b924f2d5b22d43add42e3c49400c326f3aabd21951d497742c2d14bdd23ee7b0d9bbd
7
+ data.tar.gz: 4621fca772948c34d7bdb8888b3580e70199a1a9e3fa52e560b18d647ff121ad9229580daf2326d1c9068ac0b1c70bcc1063011013191e4583b802db3fc8da4c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.1
1
+ 0.12.3
data/betterdocs.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: betterdocs 0.12.1 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.1"
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('/')
@@ -2,6 +2,5 @@
2
2
  # should implement a #to_hash method.
3
3
  module Betterdocs
4
4
  module Responding
5
- implement :to_hash, :submodule
6
5
  end
7
6
  end
@@ -1,6 +1,6 @@
1
1
  module Betterdocs
2
2
  # Betterdocs version
3
- VERSION = '0.12.1'
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.1
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