From 935b36dbb0e73ce0a81f2a43a7c667365308ba7b Mon Sep 17 00:00:00 2001 From: Francisco Zavala Date: Tue, 16 Apr 2019 21:22:46 -0500 Subject: [PATCH 1/2] Fixed place 'Added in' in header --- lib/docs/filters/ramda/clean_html.rb | 2 +- lib/docs/scrapers/ramda.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/docs/filters/ramda/clean_html.rb b/lib/docs/filters/ramda/clean_html.rb index fd9158f5..cd69a2ef 100644 --- a/lib/docs/filters/ramda/clean_html.rb +++ b/lib/docs/filters/ramda/clean_html.rb @@ -11,7 +11,7 @@ module Docs css('.card').each do |card| title = card.at_css('h2') added_in = card.at_css('small') - added_in.parent = title + added_in.parent = title if added_in.present? end css('.params').each do |node| diff --git a/lib/docs/scrapers/ramda.rb b/lib/docs/scrapers/ramda.rb index 09ff46c8..450ae481 100644 --- a/lib/docs/scrapers/ramda.rb +++ b/lib/docs/scrapers/ramda.rb @@ -1,7 +1,7 @@ module Docs class Ramda < UrlScraper self.type = 'ramda' - self.release = '0.25.0' + self.release = '0.26.1' self.base_url = "http://ramdajs.com/#{release}/docs/" self.links = { home: 'http://ramdajs.com/', @@ -17,4 +17,3 @@ module Docs HTML end end - From b38e396fe15d71ef9a5bf1ad302a00b16e9a7733 Mon Sep 17 00:00:00 2001 From: Jasper van Merle Date: Tue, 6 Aug 2019 01:14:26 +0200 Subject: [PATCH 2/2] Use https --- lib/docs/scrapers/ramda.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/ramda.rb b/lib/docs/scrapers/ramda.rb index 268bc2f8..993fd913 100644 --- a/lib/docs/scrapers/ramda.rb +++ b/lib/docs/scrapers/ramda.rb @@ -2,7 +2,7 @@ module Docs class Ramda < UrlScraper self.type = 'ramda' self.release = '0.26.1' - self.base_url = "http://ramdajs.com/#{release}/docs/" + self.base_url = "https://ramdajs.com/#{release}/docs/" self.links = { home: 'http://ramdajs.com/', code: 'https://github.com/ramda/ramda/'