History

(ramda) $ specify the only 2 versions that make sense

Alex Bepple committed 1 year ago

Commit d413aab1 parent 3111ac21 file · +10 −2Browse files

Unified · Split

lib/docs/scrapers/ramda.rb+10−2
@@ -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 @@ module Docs · 7 unmodified lines
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