History

redux: retain version 3 docs

Simon Legner committed 5 years ago

Commit 459db121 parent 49f83fd1 file · +8 −1Browse files

Unified · Split

lib/docs/scrapers/redux.rb+8−1
@@ -2,7 +2,6 @@ module Docs · 1 unmodified line
2 class Redux < UrlScraper2 class Redux < UrlScraper
3 3
4 self.type = 'simple'4 self.type = 'simple'
5 self.release = '4.0.5'
6 self.base_url = 'https://redux.js.org/api'5 self.base_url = 'https://redux.js.org/api'
7 self.root_path = 'index.html'6 self.root_path = 'index.html'
8 self.links = {7 self.links = {
@@ -19,6 +18,14 @@ module Docs · 10 unmodified lines
19 Licensed under the MIT License.18 Licensed under the MIT License.
20 HTML19 HTML
21 20
21 version do
22 self.release = '4.0.5'
23 end
24
25 version '3' do
26 self.release = '3.7.2'
27 end
28
22 def get_latest_version(opts)29 def get_latest_version(opts)
23 get_npm_version('redux', opts)30 get_npm_version('redux', opts)
24 end31 end