-
Notifications
You must be signed in to change notification settings - Fork 11
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
Poper fails with wrong argument type Rugged::Commit (expected Data) (TypeError) #15
Comments
@TobiasBales I'm also looking at this. Do you understand why s.add_runtime_dependency('rugged', '~> 0.23', '>= 0.23.0') # line 23 To me, that says |
I was getting that same error in the test suite with version s.add_runtime_dependency('rugged', '0.23.1') # line 23 |
Looks like When Since |
Recent versions of rugged are not accepting Rugged::Commit as an argument to Rugged::Walker#push. We can workaround this by passing string oid. Closes mmozuras#15 Refs. libgit2/rugged#860
I have same issue |
We're on rugged 1.x. We could do with a relaxing of the pin on it too. |
I have the same problem, the PR we have open solves very well. Waiting for the merge. |
I created a gem called poper2 that solves this problem and that I will keep updated against bugs and improvements. |
Hey,
I just stumbled across this gem and like it a lot. So I tried to get started with it (in combination with pronto).
Sadly when running it manually (e.g.
poper run HEAD~2
it fails withwrong argument type Rugged::Commit (expected Data) (TypeError)
Stack trace:
Versions:
Ruby 2.6.3p62
rugged 0.99.0
poper 0.2.3
I noticed that there is a huge discrepancy between what poper expects in terms of rugged versions (~> 0.23, >= 0.23.0) vs 0.99.0
I have no idea what changed, given the not very high activity here at the moment I would be willing to have a look if that is wanted.
The text was updated successfully, but these errors were encountered: