betterdocs 0.6.2 → 0.6.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
  SHA1:
3
- metadata.gz: f09ba8dc874c81f5a14f6d2a1ea7c8f105c1ab90
4
- data.tar.gz: 3671a7e87e55430b0e1aa189af70e8cb971dea24
3
+ metadata.gz: 216f75ecf87c41da9ec13bb62a946de65839a77a
4
+ data.tar.gz: 2f2244e06ddc76639ec03c0ecc33b5fb5751a6ab
5
5
  SHA512:
6
- metadata.gz: 93540ef8d63dc0cbf87744db1c19fffd8b4475278e70daa75bc99c52e9163de3cef528ec4665aa6eb4b05baf5ca7b2a84cd8f15d139f88f7be368c6a9d699c5f
7
- data.tar.gz: 6e4ede730e767af398854ac675e773effa7fbb1f5e7055b91619373543447a277f164d9a6df73da2a94f9d0d51e81904dd7e71f2d47ce67972f07d8a64f4bcb2
6
+ metadata.gz: 883f75f2f66a58bea23eb4ec1335c94f83d81c2af3d98a59be59e98bbbb277a5d5f240ef9e270c0feb1972018af45214107962dbae45b18565840894081ece01
7
+ data.tar.gz: 3bbc6ad20711efa84664cbf4194e5fc17d811b3d19257c23a1f79b65eafce54b2ccedf13c08e6608c832f6a6eec56d253921452a385b6a924938c4633b0913dc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.6.3
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: betterdocs 0.6.2 ruby lib
2
+ # stub: betterdocs 0.6.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "betterdocs".freeze
6
- s.version = "0.6.2"
6
+ s.version = "0.6.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 = "2017-03-30"
11
+ s.date = "2017-08-18"
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]
@@ -75,6 +75,7 @@ are optional.
75
75
 
76
76
  <%- if properties = action.response.full?(:properties) -%>
77
77
  <%- for (representer, properties) in properties.group_by(&:nesting_name) -%>
78
+
78
79
  <%- if properties.first.nesting_name.blank? -%>
79
80
  ### Root Attributes
80
81
  <%- else -%>
@@ -1,6 +1,6 @@
1
1
  module Betterdocs
2
2
  # Betterdocs version
3
- VERSION = '0.6.2'
3
+ VERSION = '0.6.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.6.2
4
+ version: 0.6.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: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar