ruby-plsql-spec icon indicating copy to clipboard operation
ruby-plsql-spec copied to clipboard

Nokogiri too old

Open LeandroPT opened this issue 6 years ago • 2 comments

Hello,

Nokogiri gem dependency too old.

When trying to integrate with other tools, i get a dependency problem.

s.add_dependency(%q.freeze, ["~> 1.6.0"]) ==> latest 1.8.2

is it possible to bump to latest and rebuild the gem?

LeandroPT avatar Apr 05 '18 08:04 LeandroPT

There's a PR to fix this but I think it might need some discussion/pushing along, see #47

heidar avatar Jan 24 '19 11:01 heidar

There's a PR to fix this but I think it might need some discussion/pushing along, see #47

The PR itself seems to fix the Nokogiri dependency problem. I am now able to run PL/SQL tests with ruby-plsql-spec in a standard manner. However, for some unknown reason, code coverage calculation with...

plsql-spec run --coverage

...stopped working. Here's the error...

❯ plsql-spec run --coverage

[...]

An error occurred while loading spec_helper.
Failure/Error: PLSQL::Coverage.start name

NoMethodError:
  undefined method `[]' for nil:NilClass
# ./spec/spec_helper.rb:35:in `block in <top (required)>'
# ./spec/spec_helper.rb:15:in `each'
# ./spec/spec_helper.rb:15:in `<top (required)>'
No examples found.

[...]

Any idea what might causing this ? I've rebuilt ruby-plsql-spec in version 0.5.1 (with the exact same changes as #47), then reinstalled, to no avail.

What do you think, @heidar ?

javs1979 avatar Jan 25 '24 16:01 javs1979