Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zipmark/rspec_api_documentation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: crowd-ai/rspec_api_documentation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 14, 2017

  1. Copy the full SHA
    17c72ad View commit details

Commits on Jul 22, 2019

  1. Merge pull request #1 from zipmark/master

    update fork
    nicbor authored Jul 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    51b87d1 View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rspec_api_documentation/example.rb
1 change: 1 addition & 0 deletions lib/rspec_api_documentation/example.rb
Original file line number Diff line number Diff line change
@@ -67,6 +67,7 @@ def filter_headers(requests)
end

def remap_headers(requests, key, headers_to_include)
requests = requests || []
return requests unless headers_to_include
requests.each.with_index do |request_hash, index|
next unless request_hash.key?(key)