Skip to content

Commit 3111ac2

Browse files
committed
(ramda) $! correctly determine latest version
1 parent 2b03580 commit 3111ac2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/docs/scrapers/ramda.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class Ramda < UrlScraper
1717
HTML
1818

1919
def get_latest_version(opts)
20-
doc = fetch_doc('https://ramdajs.com/docs/', opts)
21-
doc.at_css('.navbar-brand > .version').content[1..-1]
20+
get_npm_version('ramda', opts)
2221
end
2322
end
2423
end

0 commit comments

Comments
 (0)