rspec_api_blueprint_2 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8dcee6e282d06bf85a17a533fe96bc7a1b673fe
4
- data.tar.gz: 24958466ed82e6ade35ef04f3091bfe4832286bd
3
+ metadata.gz: 2e28bf81e46fd62967a2b7b75b83cbd995a9c035
4
+ data.tar.gz: 91a3b6e01c038b886a32553c6e7840e6012978a1
5
5
  SHA512:
6
- metadata.gz: 990740141da9252f399be36bc17a76d4080dc54873c8c308ad85e9f8f22aa96bda98b5b7a26a1bb8ac2746c8b2a1c1fb3706597316f37e6d6e723871f3989f06
7
- data.tar.gz: 054ef58ad10d79032ef482e8176b3db583abe815761ec6fe5df51cfc5d1c42048b5191a062008c4bf4106b1977429206c07e1fa4d57212725c308cb39d2a0bbe
6
+ metadata.gz: 5a117cd1691699a8306f83922daf97947bf3e7bcda2e68f4b354938411d15540dc0e1a7af5c94e68a83b1aaaa3604e5b4f9bb70d9a841ffe7e59250ca63a32b4
7
+ data.tar.gz: 5169825fd179de63fd30660120b7ec1f96f8628ba22820bf26abdbe376875b69706a377ee72699e23db28df243e10155f15bad2d3301d7e4ef9446623904e812
@@ -1,3 +1,3 @@
1
1
  module RspecApiBlueprint
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -42,7 +42,7 @@ RSpec.configure do |config|
42
42
 
43
43
  # Request
44
44
  request_body = request.body.read
45
- authorization_header = request.env ? request.env['Authorization'] : request.headers['Authorization']
45
+ authorization_header = request.env ? request.env['HTTP_AUTHORIZATION'] : request.headers['Authorization']
46
46
 
47
47
  if request_body.present? || authorization_header.present?
48
48
  f.write "+ Request #{request.content_type}\n\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_api_blueprint_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dayvson Lima