rails_api_documentation 0.1.7 → 0.1.8

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: 7536a83956fb84f99bafaaedd7b342bb31e55452
4
- data.tar.gz: 4cfb6323f7122a800f0bc20672fddd4038819141
3
+ metadata.gz: e1afeaa5bfc004cbd8b336ee5e519c68370e93a9
4
+ data.tar.gz: 62bc79580e467745d34c3d09ea163e01447937d2
5
5
  SHA512:
6
- metadata.gz: 99461d810397dea52c9f97712a0d616461bc299d45ebbc72fbfc09cbf260f9be69d12a021dff392adc6164eb9a0e70f4f2d12c5c3eb16a31047106cbf033c5af
7
- data.tar.gz: cb592b3ef29c0c8c704e4795a02d481935c8f996062c4b4dbb2be51ddae9b043a54e7c9f3e4001a0dab9a06f101bc6bd9efeea1dcad470f0ea219c5f29caa4f1
6
+ metadata.gz: 2f375d2f59a0760eed8126def0aaf1a13e47d69c3e5b1843607c4bf8aa19d05c48c92b114ad4a478daa0d5404362a9ce78e3e6b8057ad7a8441627bb197f5af6
7
+ data.tar.gz: e0dc7b4fa38831dfee6e4f9246d94b00f6d05587d15fd00c2fb87980d72fa0755e4f0f19474ac949c7f0853c6c1fb86380e2b09e11bf9f6fecfd219e46d00e53
@@ -2,7 +2,7 @@
2
2
  # author: Vadim Shaveiko <@vshaveyko>
3
3
  class RailsApiDoc::Controller::Parameter::Repository::Param
4
4
 
5
- ACCEPTED_TYPES = [Bool, String, Integer, Object, Array, DateTime, :enum, :model].freeze
5
+ ACCEPTED_TYPES = [::Bool, String, Integer, Object, Array, DateTime, :enum, :model].freeze
6
6
 
7
7
  # @type - type to check
8
8
  def self.accepted_nested_type?(type)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # author: Vadim Shaveiko <@vshaveyko>
3
3
  module RailsApiDoc
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
data/lib/rails_api_doc.rb CHANGED
@@ -27,6 +27,13 @@ end
27
27
  require 'rails_api_doc/version'
28
28
  require 'rails_api_doc/engine'
29
29
 
30
- # constant for defining in controllers
30
+ # constants for defining in controllers
31
+ # TODO: move to namespace ?
31
32
  class Bool
32
33
  end
34
+
35
+ class Enum
36
+ end
37
+
38
+ class Nested
39
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_api_documentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - vs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-22 00:00:00.000000000 Z
11
+ date: 2016-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler