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 @@
1module Docs1module Docs
2 class Ramda < UrlScraper2 class Ramda < UrlScraper
3 self.type = 'ramda'3 self.type = 'ramda'
4 self.release = '0.29.0'
5 self.base_url = "https://ramdajs.com/#{release}/docs/"
6 self.links = {4 self.links = {
7 home: 'http://ramdajs.com/',5 home: 'http://ramdajs.com/',
8 code: 'https://github.com/ramda/ramda/'6 code: 'https://github.com/ramda/ramda/'
@@ -16,6 +14,16 @@ module Docs · 7 unmodified lines
16 Licensed under the MIT License.14 Licensed under the MIT License.
17 HTML15 HTML
18 16
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
19 def get_latest_version(opts)27 def get_latest_version(opts)
20 get_npm_version('ramda', opts)28 get_npm_version('ramda', opts)
21 end29 end