Преглед на файлове

(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