Skip to content

Commit

Permalink
[Truffle] Add ipaddr to stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 16, 2015
1 parent 1638c2f commit 6e305af
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/ruby/truffle/mri/ipaddr.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require_relative '../../stdlib/ipaddr'
2 changes: 2 additions & 0 deletions spec/truffle/tags/library/ipaddr/ipv4_conversion_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:IPAddr#ipv4_compat should ipv4_compat?
fails:IPAddr#ipv4_mapped should ipv4_mapped
1 change: 1 addition & 0 deletions spec/truffle/tags/library/ipaddr/new_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:IPAddr#new initializes IPAddr ipv4 mapped address with subnet mask
1 change: 1 addition & 0 deletions spec/truffle/tags/library/ipaddr/operator_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:IPAddr Operator bitwises or
1 change: 1 addition & 0 deletions spec/truffle/tags/library/ipaddr/reverse_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:IPAddr#reverse generates the reverse DNS lookup entry
2 changes: 1 addition & 1 deletion spec/truffle/truffle.mspec
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class MSpecScript
"spec/ruby/library/cgi",
"spec/ruby/library/erb",
"spec/ruby/library/getoptlong",
"spec/ruby/library/ipaddr",
"spec/ruby/library/matrix",
"spec/ruby/library/logger",
"spec/ruby/library/observer",
Expand Down Expand Up @@ -124,7 +125,6 @@ class MSpecScript
"^spec/ruby/library/etc",
"^spec/ruby/library/expect",
"^spec/ruby/library/fiber",
"^spec/ruby/library/ipaddr",
"^spec/ruby/library/mathn",
"^spec/ruby/library/net",
"^spec/ruby/library/openssl",
Expand Down

3 comments on commit 6e305af

@chrisseaton
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this as always.

I get these failures on our Linux CI system. You might be able to add the specialisations needed just from the error report, or you may need to tag.

https://gist.github.com/chrisseaton/9e9f3344aa9fdd8c7b39

@chrisseaton
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bjfish
Copy link
Contributor Author

@bjfish bjfish commented on 6e305af May 17, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisseaton Thanks for letting me know, I've added the tags so I hope the build passes now.

Please sign in to comment.