This repository has been archived by the owner. It is now read-only.

cidrmerge 1.5.3 (new formula) #38332

Closed
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@blackgear
Copy link
Contributor

blackgear commented Apr 3, 2015

The program implements the CIDR merging with white listing (network exclusion). Output will be summarized to be as small as possible.

@xu-cheng xu-cheng added the new formula label Apr 3, 2015

stdin.write("192.1.4.4/32\n")
stdin.close
assert_equal "10.1.1.0/24\n192.1.4.4/31\n", stdout.read
end

This comment has been minimized.

@xu-cheng

xu-cheng Apr 3, 2015

Contributor

Please use pipe_output like:

input = <<-EOS.undent
 10.1.1.0/24
 ...
EOS
assert_equal "10.1.1.0/24\n192.1.4.4/31\n", pipe_output("#{bin}/cidrmerge", input)
end

test do
system "cidrmerge", "-v"

This comment has been minimized.

@xu-cheng

xu-cheng Apr 3, 2015

Contributor

This won't be necessary. Test in below should be sufficient enough.

@xu-cheng

This comment has been minimized.

Copy link
Contributor

xu-cheng commented Apr 3, 2015

Thanks for the pull request! 🎉 Homebrew depends on contributions from community members like you and we're grateful for your support.

@xu-cheng xu-cheng closed this in 0510791 Apr 3, 2015

@blackgear blackgear deleted the blackgear:cidrmerge branch May 16, 2015

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.