فهرست منبع

(ramda) $! correctly determine latest version

Alex Bepple 5 ماه پیش
والد
کامیت
3111ac2e10
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      lib/docs/scrapers/ramda.rb

+ 1 - 2
lib/docs/scrapers/ramda.rb

@@ -17,8 +17,7 @@ module Docs
     HTML
 
     def get_latest_version(opts)
-      doc = fetch_doc('https://ramdajs.com/docs/', opts)
-      doc.at_css('.navbar-brand > .version').content[1..-1]
+      get_npm_version('ramda', opts)
     end
   end
 end