Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use native Ruby implementations in Yast::URL and Yast::IP #310

Closed
wants to merge 2 commits into from

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Dec 18, 2014

This is a continuation of #305, using a branch in the shared repo so that more people can contribute commits to the PR.

URLRecode.EscapeQuery(Ops.get_string(tokens, "query", ""))
)
end
uri = URI()
Copy link
Member Author

Choose a reason for hiding this comment

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

This does not work. It invokes the method Kernel.URI which needs one argument.

Copy link
Member

Choose a reason for hiding this comment

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

why tests doesn't failed? any bug that do not cause fail of tests show problem in test coverage.

Copy link
Member Author

Choose a reason for hiding this comment

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

@cwh42
Copy link
Contributor

cwh42 commented Dec 23, 2014

Trying to let all tests in the old testsuite pass is surprisingly quite complicated. There are more of thos tiny differences in behaviour than expected.

Actually this was done with
  git merge -X ours --no-commit master
and then
  for F in library/types/src/modules/URL.rb library/types/test/url_test.rb; do
    git show HEAD:$F > $F
    git add $F
  done
to recover from the revert of these two files in master.
This was trickier than I thought :-/
@mvidner
Copy link
Member Author

mvidner commented Apr 20, 2015

In this PR we have found that replacing the URL implementation is hard. If we don't have bugs/features to address then let's not continue in the refactoring.

@mvidner mvidner closed this Apr 20, 2015
@shundhammer shundhammer deleted the nativerubymethods branch January 3, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants