rspec_api_docs 0.1.0 → 0.2.0

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: 3307d9a8dec9bbf62b57f816c027680e758970e8
4
- data.tar.gz: 6eaddd4848a28727d6c657d1b2e3f6dec0aef0c4
3
+ metadata.gz: 7ce20a3a723a208098abb0c4a8fa188281097892
4
+ data.tar.gz: 49a7abd2d8a068bad4557d17afce34f25e199d15
5
5
  SHA512:
6
- metadata.gz: 3b844cc304af39e66a3ac7b25a6d8b44b43f1df0d1adaabcf4ba6fe4c95740cf2e37286ed3e4a96cdee4d4392d0856dda2d1144da20bde252edeee9b8af299e7
7
- data.tar.gz: 4a6692e901e27bb292c21a5b4989e66b6b449c11fb26595d7450d83248ad9010a12af47c2f9c10e1d90a93118a9bc0c76600ece40e73afff5add33f8a12726a5
6
+ metadata.gz: 8cf2776787063db78c086a0838b1826799f2d1c351ef4cb08ef1d4ef12ae5228a1271fb64aaf48fd2b47a98650f05291c354705038c819843e293fe458c62d1a
7
+ data.tar.gz: 61955f7a1aa76a0852050e48847b768bd8226f96f41aeeb42b868ddca1f7cd6c27e5e390c6d04fafb049276e2f00c91488e9ed5c3932672ffab7ead4f7caac54
@@ -1,3 +1,3 @@
1
1
  module RspecApiDocs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -1,3 +1,4 @@
1
+ require 'rspec/core'
1
2
  require "rspec_api_docs/version"
2
3
 
3
4
  RSpec.configure do |config|
@@ -77,12 +78,6 @@ RSpec.configure do |config|
77
78
  if request_body.present? || authorization_header.present?
78
79
  f.write "+ Request #{request.content_type}\n\n"
79
80
 
80
- # Request Headers
81
- # if authorization_header.present?
82
- # f.write "+ Headers\n\n".indent(4)
83
- # f.write "Authorization: #{authorization_header}\n\n".indent(12)
84
- # end
85
-
86
81
  # Request Body
87
82
  if request_body.present?# && request.content_type == 'application/json'
88
83
  f.write "+ Body\n\n".indent(4)# if authorization_header
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_api_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Kadwill
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler