http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e
Implement File.chown. It is a nop (on Windows)
ObjectSpace.each_byte:
It was not throwing an exception for the unsupported cases.
Also, the unsupported cases should throw RuntimeError to match
ActiveSupport/JRuby conventions
The return value was also incorrect
NameError should call #inspect on self, not #to_s
#instance_method on singleton classes behaves a bit differently - it puts a
contraint of the nominal type.
UnboundMethod#bind was doing an incorrect type check and not dealing with
singleton classes. Factored out RubyContext.IsKindOf for this
Files changed:
*
Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/core/file/chown_tags.txt
*
Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/exception/name_error_spec.rb<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-1>
*
Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/module/fixtures/classes.rb<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-2>
*
Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/module/instance_method_spec.rb<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-3>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/Errno.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-4>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/FileOps.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-5>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/KernelOps.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-6>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/ModuleOps.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-7>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/ObjectSpace.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-8>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/UnboundMethod.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-9>
*
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-10>
*
Merlin/Main/Languages/Ruby/Ruby/Builtins/RubyClass.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-11>
*
Merlin/Main/Languages/Ruby/Ruby/Runtime/Calls/ProtocolConversionAction.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-12>
*
Merlin/Main/Languages/Ruby/Ruby/Runtime/RubyContext.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-13>
*
Merlin/Main/Languages/Ruby/Ruby/Runtime/RubyExceptions.cs<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-14>
*
Merlin/Main/Languages/Ruby/Tests/Interop/uncategorized_spec.rb<http://github.com/shri/ironruby/commit/31d3ab9297eac7ac61dd9cee8fd98558d509886e#diff-15>
Also added mocha gem :
http://github.com/shri/ironruby/commit/bdaf0adb28e0a075e5632e3930feaa4bcee1ad30
Thanks,
Shri
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core