Skip to content

Commit 935b36d

Browse files
committed
Fixed place 'Added in' in header
1 parent 51d4b67 commit 935b36d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/docs/filters/ramda/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def call
1111
css('.card').each do |card|
1212
title = card.at_css('h2')
1313
added_in = card.at_css('small')
14-
added_in.parent = title
14+
added_in.parent = title if added_in.present?
1515
end
1616

1717
css('.params').each do |node|

lib/docs/scrapers/ramda.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Docs
22
class Ramda < UrlScraper
33
self.type = 'ramda'
4-
self.release = '0.25.0'
4+
self.release = '0.26.1'
55
self.base_url = "http://ramdajs.com/#{release}/docs/"
66
self.links = {
77
home: 'http://ramdajs.com/',
@@ -17,4 +17,3 @@ class Ramda < UrlScraper
1717
HTML
1818
end
1919
end
20-

0 commit comments

Comments
 (0)