[#73707] [Ruby trunk Misc#12004] Code of Conduct — hanmac@...
Issue #12004 has been updated by Hans Mackowiak.
3 messages
2016/02/05
[#73730] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/07
[#73746] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/09
[#73919] [Ruby trunk Feature#11262] Make more objects behave like "Functions" — Ruby-Lang@...
Issue #11262 has been updated by J旦rg W Mittag.
3 messages
2016/02/22
[#74019] [Ruby trunk Bug#12103][Rejected] ruby process hangs while executing regular expression. — duerst@...
Issue #12103 has been updated by Martin D端rst.
3 messages
2016/02/27
[ruby-core:74016] [Ruby trunk Feature#11666] IPAddr#private?
From:
ruby@...
Date:
2016-02-26 22:20:52 UTC
List:
ruby-core #74016
Issue #11666 has been updated by Herwin W.
IPv6 has a private range too: d00::/8 (RFC 4193)
Also, there are more IP ranges that have been reserved for special use (there's an overview on https://en.wikipedia.org/wiki/Reserved_IP_addresses). I think it would be better to make 1 method that can return a pre-defined symbol of that range if the IP address is in that range. Otherwise, there would be an explosion in the number of IP addresses.
----------------------------------------
Feature #11666: IPAddr#private?
https://bugs.ruby-lang.org/issues/11666#change-57166
* Author: Masaki Matsushita
* Status: Assigned
* Priority: Normal
* Assignee: Akinori MUSHA
----------------------------------------
I propose a new feature: IPAddr#private?.
Example:
```ruby
IPAddr.new("192.168.1.1").private? #=> true.
```
---Files--------------------------------
patch.diff (1.58 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>