Open TobiasBales opened 4 years ago
@TobiasBales I'm also looking at this. Do you understand why bundle install
will install rugged 0.99.0
when poper.gemspec
contains the following line?
s.add_runtime_dependency('rugged', '~> 0.23', '>= 0.23.0') # line 23
To me, that says 0.23.0 <= RUGGED_VERSION < 0.24.0
... and 0.99.0
is out of that range...
I was getting that same error in the test suite with version 0.99.0
. When I pin rugged
to version 0.23.1
, the errors go away.
s.add_runtime_dependency('rugged', '0.23.1') # line 23
Looks like rugged 0.99.0
is incompatible with lib/poper/runner.rb
.
When 'any_gem', '~> 0.23'
is specified, the pessimistic operator will actually allow the final series of digits in the version string to climb as high as possible without bumping the major version.
Since rugged 0.99.0
is available, the 23
is incremented to 99
.
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. Please open issues.
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.