summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #77 from smortex/eqlMarco Ceresa2022-01-082-0/+2
|\ | | | | Make eql? behare like ==.
| * Alias eql? and ==Romain Tartière2016-03-192-0/+2
| | | | | | | | | | | | | | ~~~ IPAddress.parse('::1') == IPAddress.parse('::1') #=> true IPAddress.parse('::1').eql? IPAddress.parse('::1') #=> true ~~~
* | remove potential for creating base-ambiguous octets of three digits or lesskaoudis2021-07-171-22/+22
| |
* | s/adress/addressPedro don't want to be here2018-08-201-6/+6
| | | | | | fix typos
* | Merge pull request #84 from garo/feature/allocateFrancis Luong (Franco)2017-09-012-0/+62
|\ \ | | | | | | Add allocate() method
| * | Add allocate() methodJuho Mäkinen2017-08-302-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The allocate() method allows to use an IPAddress::IPv4 or ::IPv6 object to allocate individual host addresses so that the IPAddress object tracks the state of which address was previously allocated. Example: ip = IPAddress("10.0.0.0/24") ip.allocate #=> "10.0.0.1/24" ip.allocate #=> "10.0.0.2/24" There is support for both IPv4 and IPv6 with full test coverage.
* | | Merge pull request #83 from icy-arctic-fox/link-localFrancis Luong (Franco)2017-09-012-0/+42
|\ \ \ | | | | | | | | Add detection of link-local addresses
| * | | Implement unique_local? methodMichael Miller2017-08-301-0/+14
| | | |
| * | | Doc fix - copy/paste failMichael Miller2017-08-301-1/+1
| | | |
| * | | Implement #link_local? methodsMichael Miller2017-08-302-0/+28
| |/ /
* | | Add IPv6 subnet validationRomain Tartière2017-09-011-2/+26
| | |
* | | Add IPv4 subnet validationPaulius Dambravičius2017-09-011-3/+45
| | |
* | | Merge pull request #94 from ipaddress-gem/improve-remove_warningsFrancis Luong (Franco)2017-08-302-9/+9
|\ \ \ | | | | | | | | Improve remove warnings
| * \ \ Merge branch 'master' into improve-remove_warningsimprove-remove_warningsFrancis Luong (Franco)2017-08-302-0/+4
| |\ \ \
| * | | | fixed another indentation mismatchMichael Rodrigues2017-08-301-8/+8
| | | | |
| * | | | Fixed indentationKenichi Kamiya2017-08-301-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | It removes below ruby's warning. * "mismatched indentations"
* | | | Merge pull request #35 from havenwood/patch-1Francis Luong (Franco)2017-08-301-1/+1
|\ \ \ \ | |_|/ / |/| | | Fix method name typo in `#subnet` docs example.
| * | | Fix method name typo in `#subnet` docs example.Shannon Skipper2013-11-211-1/+1
| | | |
* | | | Merge pull request #64 from ghg/return_argument_error_for_nilFrancis Luong (Franco)2017-08-302-0/+2
|\ \ \ \ | | | | | | | | | | Raise ArgumentError if IP address is nil
| * | | | Raise ArgumentError if IP address is nilGregory Graf2015-05-312-0/+2
| | | | |
* | | | | Merge pull request #76 from smortex/spaceship_compareFrancis Luong (Franco)2017-08-302-0/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Fix <=> for IPv4 and IPv6.
| * | | | Fix <=> for IPv4 and IPv6.Romain Tartière2016-03-162-0/+2
| | |_|/ | |/| |
* | | | Merge pull request #86 from koic/integer_unificationFrancis Luong (Franco)2017-08-291-4/+4
|\ \ \ \ | | | | | | | | | | Integer Unification for Ruby 2.4.0+
| * | | | Integer Unification for Ruby 2.4.0+Koichi ITO2017-08-291-4/+4
| | | | |
* | | | | Add IPv6#link_local?Alan Somers2017-08-291-0/+7
|/ / / /
* | | | Remove duplicate multicast? methodvanderhoorn2016-03-151-14/+0
|/ / / | | | | | | The ```multicast?``` method was defined twice.
* | | Bump to 0.8.3v0.8.3bluemonk2016-02-171-1/+1
| | |
* | | Avoid Ruby 1.8 compatibility when using Ruby 2.1.8Wojciech Piekutowski2016-02-171-1/+1
|/ / | | | | | | [#67]
* | added IPv6#[]= to fix #24Mike Mackintosh2015-03-231-0/+9
| |
* | added IPv4#[]= to fix #24Mike Mackintosh2015-03-231-0/+15
| |
* | Merge branch 'fix-first-last' of https://github.com/mikerodrigues/ipaddress ↵Mike Mackintosh2015-03-231-3/+24
|\ \ | | | | | | | | | into mikerodrigues-fix-first-last
| * | broadcast for /32 now returns selfMichael Rodrigues2015-02-101-1/+1
| | |
| * | undeleting whitespaceMichael Rodrigues2014-07-011-2/+2
| | |
| * | #first, #last, #network, and #broadcast properly handle /31 (RFC3021) and /32Michael Rodrigues2014-07-011-5/+26
| |/
* | cleaned up rdoc consistencyMike Mackintosh2015-03-231-9/+9
| |
* | updating version to 0.8.2Mike Mackintosh2015-03-231-1/+1
| |
* | merging in bundler, because it's 2015Mike Mackintosh2015-03-231-0/+3
|\ \
| * | Version file adjusted to 0.8.0bundlerbluemonk2014-07-271-1/+1
| | |
| * | Bump to 0.1.0bluemonk2014-07-271-1/+1
| | |
| * | Bundler clean up: .gemspec file, update LICENSE and change version track filebluemonk2014-07-271-0/+3
| |/
* | added #to range and fixed #40Mike Mackintosh2015-03-221-1/+21
| |
* | added bugfix/40 fix with testMike Mackintosh2015-03-221-5/+2
| |
* | add multicast and loopback checksMike Mackintosh2015-03-221-0/+28
| |
* | added multicastMike Mackintosh2015-03-221-0/+14
| |
* | updated remaining tests for minitestMike Mackintosh2015-02-091-1/+1
| |
* | Merge pull request #57 from mikemackintosh/uint32-parseMarco Ceresa2015-02-021-0/+25
|\ \ | | | | | | added #ntoa unint32 -> ip and tests
| * | added #ntoa unint32 -> ip and testsMike Mackintosh2015-01-261-0/+25
| | |
* | | use the #to_ipv6 method, fasterMike Mackintosh2015-01-261-3/+2
| | |
* | | added ipv4 to_h methodMike Mackintosh2015-01-261-0/+16
|/ /
* | Merge pull request #52 from gauthier-delacroix/Mongoid-fieldMarco Ceresa2014-12-212-0/+76
|\ \ | | | | | | Add Mongoid support