[devdocsgjs/main: 46/239] Unwrap "" version
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 46/239] Unwrap "" version
- Date: Fri, 8 Apr 2022 07:47:34 +0000 (UTC)
commit 6bb9114a50157e0cdab0fda596747e7bcdc13bbc
Author: Simon Legner <Simon Legner gmail com>
Date: Sun Dec 5 01:21:59 2021 +0100
Unwrap "" version
lib/docs/scrapers/esbuild.rb | 8 +++-----
lib/docs/scrapers/vite.rb | 10 ++++------
2 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/lib/docs/scrapers/esbuild.rb b/lib/docs/scrapers/esbuild.rb
index c495518e..5484f155 100644
--- a/lib/docs/scrapers/esbuild.rb
+++ b/lib/docs/scrapers/esbuild.rb
@@ -16,11 +16,9 @@ module Docs
Licensed under the MIT License.
HTML
- version do
- self.release = '0.14.2'
- self.base_url = 'https://esbuild.github.io/'
- html_filters.push 'esbuild/clean_html', 'esbuild/entries'
- end
+ self.release = '0.14.2'
+ self.base_url = 'https://esbuild.github.io/'
+ html_filters.push 'esbuild/clean_html', 'esbuild/entries'
def get_latest_version(opts)
get_npm_version('esbuild', opts)
diff --git a/lib/docs/scrapers/vite.rb b/lib/docs/scrapers/vite.rb
index 4af8b895..c6514e65 100644
--- a/lib/docs/scrapers/vite.rb
+++ b/lib/docs/scrapers/vite.rb
@@ -16,12 +16,10 @@ module Docs
Licensed under the MIT License.
HTML
- version do
- self.release = '2.6.14'
- self.base_url = 'https://vitejs.dev/'
- self.initial_paths = %w(guide/)
- html_filters.push 'vue/entries_v3', 'vue/clean_html'
- end
+ self.release = '2.6.14'
+ self.base_url = 'https://vitejs.dev/'
+ self.initial_paths = %w(guide/)
+ html_filters.push 'vue/entries_v3', 'vue/clean_html'
def get_latest_version(opts)
get_npm_version('vite', opts)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]