History

(ramda) $! correctly determine latest version

Alex Bepple committed 1 year ago

Commit 3111ac21 parent 2b035801 file · +1 −2Browse files

Unified · Split

lib/docs/scrapers/ramda.rb+1−2
@@ -17,8 +17,7 @@ module Docs · 16 unmodified lines
17 HTML17 HTML
18 18
19 def get_latest_version(opts)19 def get_latest_version(opts)
20 doc = fetch_doc('https://ramdajs.com/docs/', opts)20 get_npm_version('ramda', opts)
21 doc.at_css('.navbar-brand > .version').content[1..-1]
22 end21 end
23 end22 end
24end23end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t