grape-markdown 0.0.6 → 0.0.7

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
- SHA1:
3
- metadata.gz: fd6795347e2d992cc9afb0cff433233546c37c85
4
- data.tar.gz: 2ae1d275b9041fb8156b00fa03e0dba70771a152
2
+ SHA256:
3
+ metadata.gz: fad2d95102ccd08211b6b9480baf46c7752fe4879ba1f3c9c977d4a983f36460
4
+ data.tar.gz: c8b13453a61502541bd5a02e91f47a291dc7526fc7bde4ee50ca3212fdf6f777
5
5
  SHA512:
6
- metadata.gz: 0a932d99462ca9b8730897151b20876612919d4107a349851a3ee30a01902e11f6243a65f8039c0d87798e404ff5095d90b257240bd3fd5084414dbdff41b71b
7
- data.tar.gz: 507427675239837beb66161070d93ecacf44fefa80348f951596444b0a4fd1136fa77d39221ff3dc3f3786b1a297984cf463f5af51022c29af512183ca00399d
6
+ metadata.gz: '09ef287f763ae561735f4ea622f70ce0194ee72a70fc3779384d66c0fb223e52c86b6a9e9ba58250ffc2f0fac56a9e836933cf6094b38f37fc0d941d0456c8b6'
7
+ data.tar.gz: 8fc77e96d6566ab94a645d8edf5bb3497b5a51c7bdb81397212b0d09a8996bdedbb88813d4fcee26eafa87a6b24ace29ada1d32fe47bda9e18e828be052aff07
@@ -1,7 +1,7 @@
1
1
  AllCops:
2
+ TargetRubyVersion: 2.2
2
3
  Excludes:
3
- - Rakefile
4
- - vendor/**
4
+ - vendor/**/*
5
5
  - bin/**
6
6
 
7
7
  Documentation:
@@ -12,7 +12,23 @@ Encoding:
12
12
  # no need to always specify encoding
13
13
  Enabled: false
14
14
 
15
- LineLength:
16
- # just one more character please
17
- Max: 80
15
+ Metrics/BlockLength:
16
+ Exclude:
17
+ - grape-markdown.gemspec
18
+ - spec/**/*
18
19
 
20
+ Naming/FileName:
21
+ Exclude:
22
+ - lib/grape-markdown.rb
23
+
24
+ Performance/StringReplacement:
25
+ Enabled: false
26
+
27
+ Style/FrozenStringLiteralComment:
28
+ Enabled: false
29
+
30
+ Style/PercentLiteralDelimiters:
31
+ PreferredDelimiters:
32
+ default: ()
33
+ "%i": ()
34
+ "%w": ()
@@ -1,10 +1,11 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.1.0
5
- - 2.0.0
6
- - 1.9.3
4
+ - 2.2
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5
7
8
  - jruby
8
9
  addons:
9
10
  code_climate:
10
- repo_token:
11
+ repo_token:
data/Gemfile CHANGED
@@ -2,17 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in grape-markdown.gemspec
4
4
  gemspec
5
-
6
- gem 'grape', github: 'intridea/grape'
7
-
8
- group :development, :test do
9
- gem 'coveralls', '~> 0.7'
10
- gem 'rspec', '~> 2.14'
11
- gem 'bundler', '~> 1.5'
12
- gem 'rake', '~> 10.0'
13
- gem 'rubocop', '~> 0.18'
14
- gem 'pry', '~> 0.9'
15
- gem 'guard', '~> 2.4'
16
- gem 'guard-rspec', '~> 4.2'
17
- gem 'guard-bundler', '~> 2.0'
18
- end
data/Guardfile CHANGED
@@ -1,9 +1,9 @@
1
1
  # More info at https://github.com/guard/guard#readme
2
2
 
3
- guard 'rspec', :version => 2 do
3
+ guard 'rspec', version: 2 do
4
4
  watch(%r{^spec/.+_spec\.rb$})
5
5
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
6
- watch('spec/spec_helper.rb') { "spec/" }
6
+ watch('spec/spec_helper.rb') { 'spec/' }
7
7
  end
8
8
 
9
9
  guard 'bundler' do
data/Rakefile CHANGED
@@ -11,9 +11,9 @@ end
11
11
 
12
12
  require 'rainbow/ext/string' unless String.respond_to?(:color)
13
13
  require 'rubocop/rake_task'
14
- Rubocop::RakeTask.new(:rubocop)
14
+ RuboCop::RakeTask.new(:rubocop)
15
15
 
16
- task default: [:rubocop, :spec]
16
+ task default: %i(rubocop spec)
17
17
 
18
18
  task :console do
19
19
  require 'pry'
@@ -1,5 +1,6 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'grape-markdown/version'
5
6
 
@@ -8,25 +9,31 @@ Gem::Specification.new do |spec|
8
9
  spec.version = GrapeMarkdown::VERSION
9
10
  spec.authors = ['John Allen']
10
11
  spec.email = ['john@threedogconsulting.com']
11
- spec.summary = %q{Allows for generating a Markdown document from you Grape API}
12
- spec.description = %q{Auto generates Markdown from the docuementation that is created by your Grape API}
13
12
  spec.homepage = 'https://github.com/connexio-labs/grape-markdown'
14
13
  spec.license = 'MIT'
15
14
 
15
+ spec.summary = <<-SUMMARY
16
+ Allows for generating a Markdown document from you Grape API
17
+ SUMMARY
18
+
19
+ spec.description = <<-DESCRIPTION
20
+ Auto generates Markdown from the docuementation that is created by your Grape API}
21
+ DESCRIPTION
22
+
16
23
  spec.files = `git ls-files -z`.split("\x0")
17
24
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
25
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
26
  spec.require_paths = ['lib']
20
27
 
21
- spec.add_runtime_dependency 'grape', '~> 0.6'
28
+ spec.add_runtime_dependency 'grape', '>= 1.1.0'
22
29
 
23
- spec.add_development_dependency 'coveralls', '~> 0.7'
24
- spec.add_development_dependency 'rspec', '~> 2.14'
25
30
  spec.add_development_dependency 'bundler', '~> 1.5'
26
- spec.add_development_dependency 'rake', '~> 10.0'
27
- spec.add_development_dependency 'rubocop', '~> 0.18'
28
- spec.add_development_dependency 'pry', '~> 0.9'
31
+ spec.add_development_dependency 'coveralls', '~> 0.7'
29
32
  spec.add_development_dependency 'guard', '~> 2.4'
30
- spec.add_development_dependency 'guard-rspec', '~> 4.2'
31
33
  spec.add_development_dependency 'guard-bundler', '~> 2.0'
34
+ spec.add_development_dependency 'guard-rspec', '~> 4.2'
35
+ spec.add_development_dependency 'pry', '~> 0.9'
36
+ spec.add_development_dependency 'rake', '~> 10.0'
37
+ spec.add_development_dependency 'rspec', '~> 2.14'
38
+ spec.add_development_dependency 'rubocop', '~> 0.60.0'
32
39
  end
@@ -1,14 +1,14 @@
1
1
  module GrapeMarkdown
2
2
  class Configuration
3
- SETTINGS = [
4
- :name,
5
- :description,
6
- :request_headers,
7
- :response_headers,
8
- :example_id_type,
9
- :resource_exclusion,
10
- :include_root
11
- ]
3
+ SETTINGS = %i(
4
+ name
5
+ description
6
+ request_headers
7
+ response_headers
8
+ example_id_type
9
+ resource_exclusion
10
+ include_root
11
+ ).freeze
12
12
 
13
13
  class << self
14
14
  attr_accessor(*SETTINGS)
@@ -34,14 +34,14 @@ module GrapeMarkdown
34
34
  end
35
35
 
36
36
  def supported_id_types
37
- [:integer, :uuid, :bson]
37
+ %i(integer uuid bson)
38
38
  end
39
39
 
40
40
  def example_id_type=(value)
41
- fail UnsupportedIDType unless supported_id_types.include?(value)
41
+ raise UnsupportedIDType unless supported_id_types.include?(value)
42
42
 
43
43
  if value.to_sym == :bson && !Object.const_defined?('BSON')
44
- fail BSONNotDefinied
44
+ raise BSONNotDefinied
45
45
  end
46
46
 
47
47
  @example_id_type = value
@@ -18,7 +18,7 @@ module GrapeMarkdown
18
18
  end
19
19
 
20
20
  def write
21
- fail 'Not yet supported'
21
+ raise 'Not yet supported'
22
22
  end
23
23
 
24
24
  def routes
@@ -29,8 +29,8 @@ module GrapeMarkdown
29
29
 
30
30
  def resources
31
31
  @resources ||= begin
32
- grouped_routes = routes.group_by(&:route_name).reject do |name, routes|
33
- resource_exclusion.include?(name.parameterize('_').to_sym)
32
+ grouped_routes = routes.group_by(&:route_name).reject do |name, _routes|
33
+ resource_exclusion.include?(name.parameterize.underscore.to_sym)
34
34
  end
35
35
 
36
36
  grouped_routes.map { |name, routes| Resource.new(name, routes) }
@@ -38,7 +38,7 @@ module GrapeMarkdown
38
38
  end
39
39
 
40
40
  def properties_table(resource)
41
- render(properties_template, resource.resource_binding)
41
+ render(properties_template, resource.route_binding)
42
42
  end
43
43
 
44
44
  def formatted_request_headers
@@ -50,7 +50,7 @@ module GrapeMarkdown
50
50
  end
51
51
 
52
52
  def show_request_sample?(route)
53
- %w(PUT POST).include?(route.route_method)
53
+ %w(PUT POST).include?(route.request_method)
54
54
  end
55
55
 
56
56
  private
@@ -2,7 +2,7 @@ module GrapeMarkdown
2
2
  class Parameter
3
3
  attr_reader :route, :full_name, :name, :settings
4
4
 
5
- delegate :route_name, :route_namespace, to: :route
5
+ delegate :route_name, :namespace, to: :route
6
6
  delegate :requirement, :type, :documentation, :desc, to: :settings
7
7
  delegate :example, to: :documentation, allow_nil: true
8
8
 
@@ -25,20 +25,18 @@ module GrapeMarkdown
25
25
 
26
26
  options[:requirement] = options[:required] ? 'required' : 'optional'
27
27
 
28
- Hashie::Mash.new(options)
28
+ JSON.parse(options.to_json, object_class: OpenStruct)
29
29
  end
30
30
 
31
- def default_options(options)
31
+ def default_options(_options)
32
32
  model = name.include?('_id') ? name.gsub('_id', '') : route.route_name
33
33
 
34
34
  {
35
- required: true,
36
- requirement: 'required',
37
- type: 'uuid',
38
- desc: "the `id` of the `#{model}`",
39
- documentation: {
40
- example: GrapeMarkdown::Configuration.generate_id
41
- }
35
+ required: true,
36
+ requirement: 'required',
37
+ type: 'uuid',
38
+ desc: "the `id` of the `#{model}`",
39
+ documentation: { example: GrapeMarkdown::Configuration.generate_id }
42
40
  }
43
41
  end
44
42
  end
@@ -14,13 +14,13 @@ module GrapeMarkdown
14
14
  end
15
15
 
16
16
  def namespaced
17
- @namespaced ||= routes.group_by(&:route_namespace).map do |_, routes|
17
+ @namespaced ||= routes.group_by(&:namespace).map do |_, routes|
18
18
  Resource.new(name, routes)
19
19
  end
20
20
  end
21
21
 
22
22
  def paths
23
- @paths ||= routes.group_by(&:route_path_without_format).map do |n, routes|
23
+ @paths ||= routes.group_by(&:route_path_without_format).map do |_, routes|
24
24
  Resource.new(name, routes)
25
25
  end
26
26
  end
@@ -46,7 +46,7 @@ module GrapeMarkdown
46
46
  methods = %w(POST PUT)
47
47
 
48
48
  potential = routes.select do |route|
49
- methods.include?(route.route_method) && route.route_params.present?
49
+ methods.include?(route.request_method) && route.route_params.present?
50
50
  end
51
51
 
52
52
  if potential.present?
@@ -2,14 +2,16 @@ module GrapeMarkdown
2
2
  class Route < SimpleDelegator
3
3
  # would like to rely on SimpleDelegator but Grape::Route uses
4
4
  # method_missing for these methods :'(
5
- delegate :route_namespace,
6
- :route_path,
7
- :route_method,
8
- :route_description,
9
- to: '__getobj__'
5
+ delegate(
6
+ :namespace,
7
+ :path,
8
+ :request_method,
9
+ :route_description,
10
+ to: '__getobj__'
11
+ )
10
12
 
11
13
  def root_resource
12
- route_namespace.split('/').reject(&:empty?).first
14
+ namespace.split('/').reject(&:empty?).first
13
15
  end
14
16
 
15
17
  def root_resource_title
@@ -17,13 +19,13 @@ module GrapeMarkdown
17
19
  end
18
20
 
19
21
  def route_params
20
- @route_params ||= __getobj__.route_params.sort.map do |param|
22
+ @route_params ||= __getobj__.params.sort.map do |param|
21
23
  Parameter.new(self, *param)
22
24
  end
23
25
  end
24
26
 
25
27
  def route_name
26
- route_namespace.split('/').last ||
28
+ namespace.split('/').last ||
27
29
  route_path.match('\/(\w*?)[\.\/\(]').captures.first
28
30
  end
29
31
 
@@ -33,7 +35,7 @@ module GrapeMarkdown
33
35
 
34
36
  def route_short_description
35
37
  description = <<-DESCRIPTION.gsub(/^\s*/, '').gsub(/\n/, ' ').squeeze
36
- #{route_method.titleize} a
38
+ #{request_method.titleize} a
37
39
  #{list? ? 'list of ' : ' '}
38
40
  #{list? ? route_title : route_title.singularize}
39
41
  DESCRIPTION
@@ -44,7 +46,7 @@ module GrapeMarkdown
44
46
  end
45
47
 
46
48
  def route_path_without_format
47
- route_path.gsub(/\((.*?)\)/, '')
49
+ path.gsub(/\((.*?)\)/, '')
48
50
  end
49
51
 
50
52
  def route_type
@@ -52,7 +54,7 @@ module GrapeMarkdown
52
54
  end
53
55
 
54
56
  def list?
55
- route_method == 'GET' && !route_path.include?(':id')
57
+ request_method == 'GET' && !path.include?(':id')
56
58
  end
57
59
 
58
60
  def route_binding
@@ -62,7 +64,7 @@ module GrapeMarkdown
62
64
  private
63
65
 
64
66
  def request_body?
65
- !%w(GET DELETE).include?(route_method)
67
+ !%w(GET DELETE).include?(request_method)
66
68
  end
67
69
 
68
70
  def parent?
@@ -4,11 +4,11 @@
4
4
 
5
5
  <% resources.each do |resource| %>
6
6
  # <%= resource.title %>
7
- <%= properties_table(resource) %>
8
7
  <% resource.namespaced.each do |grouped_resource| %>
9
8
  <% grouped_resource.paths.each do |resource_by_path| %>
10
9
  <% resource_by_path.routes.each do |route| %>
11
10
  ## <%= route.route_short_description %>
11
+ <%= properties_table(route) %>
12
12
  <% end %>
13
13
  <% end %>
14
14
  <% end %>
@@ -2,6 +2,6 @@ Properties
2
2
 
3
3
  | Name | Type | Description |
4
4
  |:-----|:-----|:------------|
5
- <% unique_params.each do |param| -%>
5
+ <% route_params.each do |param| -%>
6
6
  | <%= param.full_name %> | <%= param.type %> | <%= param.desc %> |
7
7
  <% end -%>
@@ -1,3 +1,3 @@
1
1
  module GrapeMarkdown
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'.freeze
3
3
  end
@@ -42,7 +42,7 @@ describe GrapeMarkdown::Configuration do
42
42
  end
43
43
 
44
44
  context 'headers' do
45
- [:request_headers, :response_headers].each do |type|
45
+ %i(request_headers response_headers).each do |type|
46
46
  context type do
47
47
  it 'is an array' do
48
48
  expect(subject.send(type)).to be_a(Array)
@@ -15,7 +15,9 @@ describe GrapeMarkdown::Resource do
15
15
  it 'response generation is delegated to a generator' do
16
16
  expect(subject.sample_generator).to receive(:response)
17
17
 
18
- subject.sample_response(GrapeMarkdown::Route.new(Grape::Route.new))
18
+ subject.sample_response(
19
+ GrapeMarkdown::Route.new(Grape::Router::Route.new('GET', '/'))
20
+ )
19
21
  end
20
22
  end
21
23
  end
@@ -1,7 +1,7 @@
1
1
  shared_context 'configuration' do
2
2
  let(:name) { 'some api v1' }
3
3
  let(:description) { 'some blueprint description' }
4
- let(:resource_exclusion) { [:admin, :swagger_docs] }
4
+ let(:resource_exclusion) { %i(admin swagger_docs) }
5
5
 
6
6
  let(:request_headers) do
7
7
  [{ 'Accept-Charset' => 'utf-8' }]
@@ -11,11 +11,11 @@ class SampleApi < Grape::API
11
11
  desc 'create a widget'
12
12
  params do
13
13
  requires :name,
14
- type: 'string',
14
+ type: String,
15
15
  desc: 'the widgets name',
16
16
  documentation: { example: 'super widget' }
17
17
  optional :description,
18
- type: 'string',
18
+ type: String,
19
19
  desc: 'the widgets name',
20
20
  documentation: { example: 'the best widget ever made' }
21
21
  end
@@ -24,10 +24,10 @@ class SampleApi < Grape::API
24
24
 
25
25
  desc 'update a widget'
26
26
  params do
27
- optional :name, type: 'string', desc: 'the widgets name'
28
- optional :description, type: 'string', desc: 'the widgets name'
27
+ optional :name, type: String, desc: 'the widgets name'
28
+ optional :description, type: String, desc: 'the widgets name'
29
29
  end
30
- put ':id' do
30
+ put ':id' do
31
31
  end
32
32
  end
33
33
 
@@ -35,7 +35,7 @@ class SampleApi < Grape::API
35
35
  desc 'create a sprocket for a specific widget'
36
36
  params do
37
37
  requires :name,
38
- type: 'string',
38
+ type: String,
39
39
  desc: 'the widgets name',
40
40
  documentation: { example: 'super widget' }
41
41
  end
@@ -45,7 +45,7 @@ class SampleApi < Grape::API
45
45
  desc 'updates a sprocket for a specific widget'
46
46
  params do
47
47
  requires :name,
48
- type: 'string',
48
+ type: String,
49
49
  desc: 'the widgets name',
50
50
  documentation: { example: 'super widget' }
51
51
  end
metadata CHANGED
@@ -1,99 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-27 00:00:00.000000000 Z
11
+ date: 2018-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: 1.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.6'
26
+ version: 1.1.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: coveralls
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.7'
33
+ version: '1.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.7'
40
+ version: '1.5'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: coveralls
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.14'
47
+ version: '0.7'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.14'
54
+ version: '0.7'
55
55
  - !ruby/object:Gem::Dependency
56
- name: bundler
56
+ name: guard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.5'
61
+ version: '2.4'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.5'
68
+ version: '2.4'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rake
70
+ name: guard-bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '2.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rubocop
84
+ name: guard-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.18'
89
+ version: '4.2'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.18'
96
+ version: '4.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -109,49 +109,49 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.9'
111
111
  - !ruby/object:Gem::Dependency
112
- name: guard
112
+ name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.4'
117
+ version: '10.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.4'
124
+ version: '10.0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: guard-rspec
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '4.2'
131
+ version: '2.14'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '4.2'
138
+ version: '2.14'
139
139
  - !ruby/object:Gem::Dependency
140
- name: guard-bundler
140
+ name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '2.0'
145
+ version: 0.60.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '2.0'
153
- description: Auto generates Markdown from the docuementation that is created by your
154
- Grape API
152
+ version: 0.60.0
153
+ description: " Auto generates Markdown from the docuementation that is created
154
+ by your Grape API}\n"
155
155
  email:
156
156
  - john@threedogconsulting.com
157
157
  executables: []
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.2.2
210
+ rubygems_version: 2.7.6
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: Allows for generating a Markdown document from you Grape API
@@ -220,4 +220,3 @@ test_files:
220
220
  - spec/spec_helper.rb
221
221
  - spec/support/config_context.rb
222
222
  - spec/support/sample_api.rb
223
- has_rdoc: