From b46b4d1ab6b4caa7ac7e17edc0151dc89ba94146 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 4 Nov 2018 18:41:01 -0500 Subject: [PATCH] Update Sinon.JS documentation (7.1.1) --- lib/docs/scrapers/sinon.rb | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/lib/docs/scrapers/sinon.rb b/lib/docs/scrapers/sinon.rb index 00362b11..9e81cba9 100644 --- a/lib/docs/scrapers/sinon.rb +++ b/lib/docs/scrapers/sinon.rb @@ -4,7 +4,7 @@ module Docs self.slug = 'sinon' self.type = 'sinon' self.links = { - home: 'http://sinonjs.org/', + home: 'https://sinonjs.org/', code: 'https://github.com/sinonjs/sinon' } @@ -18,34 +18,39 @@ module Docs Licensed under the BSD License. HTML + version '7' do + self.release = '7.1.1' + self.base_url = "https://sinonjs.org/releases/v#{release}/" + end + version '6' do - self.release = '6.1.3' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.release = '6.3.5' + self.base_url = "https://sinonjs.org/releases/v#{release}/" end version '5' do self.release = '5.1.0' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.base_url = "https://sinonjs.org/releases/v#{release}/" end version '4' do self.release = '4.5.0' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.base_url = "https://sinonjs.org/releases/v#{release}/" end version '3' do self.release = '3.3.0' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.base_url = "https://sinonjs.org/releases/v#{release}/" end version '2' do self.release = '2.4.1' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.base_url = "https://sinonjs.org/releases/v#{release}/" end version '1' do self.release = '1.17.7' - self.base_url = "http://sinonjs.org/releases/v#{release}/" + self.base_url = "https://sinonjs.org/releases/v#{release}/" end end end