Skip to content

Commit d413aab

Browse files
committed
(ramda) $ specify the only 2 versions that make sense
1 parent 3111ac2 commit d413aab

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/docs/scrapers/ramda.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module Docs
22
class Ramda < UrlScraper
33
self.type = 'ramda'
4-
self.release = '0.29.0'
5-
self.base_url = "https://ramdajs.com/#{release}/docs/"
64
self.links = {
75
home: 'http://ramdajs.com/',
86
code: 'https://github.com/ramda/ramda/'
@@ -16,6 +14,16 @@ class Ramda < UrlScraper
1614
Licensed under the MIT License.
1715
HTML
1816

17+
version '0.30' do
18+
self.release = '0.30.1'
19+
self.base_url = "https://ramdajs.com/#{release}/docs/"
20+
end
21+
22+
version '0.29' do
23+
self.release = '0.29.1'
24+
self.base_url = "https://ramdajs.com/#{release}/docs/"
25+
end
26+
1927
def get_latest_version(opts)
2028
get_npm_version('ramda', opts)
2129
end

0 commit comments

Comments
 (0)