Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #77 from smortex/eql | Marco Ceresa | 2022-01-08 | 2 | -0/+7 |
|\ | | | | | Make eql? behare like ==. | ||||
| * | Highlight bug: eql? is not aliased to the overridden ==. | Romain Tartière | 2016-03-19 | 2 | -0/+7 |
| | | | | | | | | | | | | | | ~~~ IPAddress.parse('::1') == IPAddress.parse('::1') #=> true IPAddress.parse('::1').eql? IPAddress.parse('::1') #=> false ~~~ | ||||
* | | remove potential for creating base-ambiguous octets of three digits or less | kaoudis | 2021-07-17 | 1 | -9/+24 |
| | | |||||
* | | Merge pull request #84 from garo/feature/allocate | Francis Luong (Franco) | 2017-09-01 | 2 | -0/+48 |
|\ \ | | | | | | | Add allocate() method | ||||
| * | | Add allocate() method | Juho Mäkinen | 2017-08-30 | 2 | -0/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-local | Francis Luong (Franco) | 2017-09-01 | 2 | -0/+74 |
|\ \ \ | | | | | | | | | Add detection of link-local addresses | ||||
| * | | | Add tests for unique_local? | Michael Miller | 2017-08-30 | 1 | -0/+25 |
| | | | | |||||
| * | | | Add tests for #link_local? | Michael Miller | 2017-08-30 | 2 | -0/+49 |
| |/ / | |||||
* | | | Add IPv6 subnet validation | Romain Tartière | 2017-09-01 | 1 | -0/+10 |
| | | | |||||
* | | | Add IPv4 subnet validation | Paulius Dambravičius | 2017-09-01 | 1 | -2/+19 |
| | | | |||||
* | | | Merge branch 'master' into improve-remove_warningsimprove-remove_warnings | Francis Luong (Franco) | 2017-08-30 | 2 | -1/+15 |
|\ \ \ | |||||
| * \ \ | Merge pull request #64 from ghg/return_argument_error_for_nil | Francis Luong (Franco) | 2017-08-30 | 2 | -0/+2 |
| |\ \ \ | | | | | | | | | | | Raise ArgumentError if IP address is nil | ||||
| | * | | | Raise ArgumentError if IP address is nil | Gregory Graf | 2015-05-31 | 2 | -0/+2 |
| | | |/ | | |/| | |||||
| * | | | Merge pull request #76 from smortex/spaceship_compare | Francis Luong (Franco) | 2017-08-30 | 2 | -0/+12 |
| |\ \ \ | | |_|/ | |/| | | Fix <=> for IPv4 and IPv6. | ||||
| | * | | Fix <=> for IPv4 and IPv6. | Romain Tartière | 2016-03-16 | 2 | -0/+12 |
| | |/ | |||||
* | | | Fix more warning messages | Romain Tartière | 2017-08-30 | 1 | -3/+3 |
| | | | |||||
* | | | removed duplicated ipv6 addreses from tests to silence warnings | Michael Rodrigues | 2017-08-30 | 1 | -3/+1 |
| | | | |||||
* | | | Adjusted indentation in test | Kenichi Kamiya | 2017-08-30 | 2 | -3/+3 |
|/ / | | | | | | | | | | | It removes below ruby's warning when running test. * "(...) interpreted as grouped expression" | ||||
* | | Add IPv6#link_local? | Alan Somers | 2017-08-29 | 1 | -0/+6 |
| | | |||||
* | | Switch to newer Code Climiate reporting | Michael Miller | 2016-11-16 | 1 | -2/+2 |
| | | | | | | | | See https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md#upgrading-from-pre-10-versions for details. | ||||
* | | add code climate test reporter | Francis Luong (Franco) | 2016-03-23 | 1 | -0/+2 |
|/ | |||||
* | added IPv6#[]= to fix #24 | Mike Mackintosh | 2015-03-23 | 1 | -1/+7 |
| | |||||
* | added IPv4#[]= to fix #24 | Mike Mackintosh | 2015-03-23 | 1 | -0/+14 |
| | |||||
* | Merge branch 'fix-first-last' of https://github.com/mikerodrigues/ipaddress ↵ | Mike Mackintosh | 2015-03-23 | 1 | -3/+20 |
|\ | | | | | | | into mikerodrigues-fix-first-last | ||||
| * | broadcast for /32 now returns self | Michael Rodrigues | 2015-02-10 | 1 | -1/+1 |
| | | |||||
| * | removing accidentally added newline in tests | Michael Rodrigues | 2014-07-01 | 1 | -1/+0 |
| | | |||||
| * | #first, #last, #network, and #broadcast properly handle /31 (RFC3021) and /32 | Michael Rodrigues | 2014-07-01 | 1 | -3/+14 |
| | | |||||
| * | added tests for /32 | Michael Rodrigues | 2014-01-01 | 1 | -0/+7 |
| | | |||||
* | | added #to range and fixed #40 | Mike Mackintosh | 2015-03-22 | 1 | -0/+13 |
| | | |||||
* | | added bugfix/40 fix with test | Mike Mackintosh | 2015-03-22 | 1 | -0/+9 |
| | | |||||
* | | updated remaining tests for minitest | Mike Mackintosh | 2015-02-09 | 2 | -11/+5 |
| | | |||||
* | | Convert to Minitest. | Julian C. Dunn | 2015-02-09 | 5 | -58/+40 |
| | | |||||
* | | Merge pull request #57 from mikemackintosh/uint32-parse | Marco Ceresa | 2015-02-02 | 2 | -0/+29 |
|\ \ | | | | | | | added #ntoa unint32 -> ip and tests | ||||
| * | | added #ntoa unint32 -> ip and tests | Mike Mackintosh | 2015-01-26 | 2 | -0/+29 |
| | | | |||||
* | | | added #to_h tests | Mike Mackintosh | 2015-01-26 | 1 | -1/+14 |
|/ / | |||||
* | | Merge pull request #52 from gauthier-delacroix/Mongoid-field | Marco Ceresa | 2014-12-21 | 1 | -0/+76 |
|\ \ | | | | | | | Add Mongoid support | ||||
| * | | Add Mongoid support | Gauthier Delacroix | 2014-09-15 | 1 | -0/+76 |
| |/ | |||||
* | | Merge pull request #16 from schmurfy/master | Marco Ceresa | 2014-10-06 | 1 | -0/+5 |
|\ \ | |/ |/| | | | | | bugfix: do not consider /32 addresses as network adresses Thanks Julien Ammous! | ||||
| * | do not consider /32 address as being a network address | Julien Ammous | 2011-06-28 | 1 | -0/+5 |
| | | |||||
* | | Add ipv6 test on 'dd', fixes #34 | bluemonk | 2013-10-27 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'develop', fixes #32 | bluemonk | 2013-10-26 | 2 | -3/+6 |
|\ \ | |||||
| * | | Fixed + Added Test Cases | Bronislav Robenek | 2013-09-02 | 2 | -3/+6 |
| |/ | |||||
* | | Add RUBY_VERSION conditional test for UTF-8 encoded strings in ruby >= 2.0 | bluemonk | 2013-10-26 | 2 | -2/+10 |
|/ | |||||
* | Added IPv4#split and reworked IPv4#subnet as per RFC3531 (closes #14) | bluemonk | 2011-05-15 | 1 | -36/+51 |
| | |||||
* | Added IPv6#<=>, changed IPv4#<=> and IPv4#supernet (closes #13) | bluemonk | 2011-05-14 | 2 | -10/+45 |
| | |||||
* | Removed extension methods and extension directory | bluemonk | 2011-05-12 | 1 | -18/+0 |
| | |||||
* | Added IPv6#each, IPv6#broadcast_u128 and Prefix128#host_prefix | bluemonk | 2011-05-10 | 1 | -1/+26 |
| | |||||
* | Added IPv6#network method, thanks to Leif Gensert (closes #12) | bluemonk | 2011-05-10 | 1 | -0/+13 |
| | |||||
* | Added a few more tests for IPv4::summarize | bluemonk | 2011-03-29 | 1 | -4/+13 |
| | |||||
* | Added #ipv4? and #ipv6? methods | bluemonk | 2011-03-27 | 2 | -17/+29 |
| |