From 9e6e937c54ea675456d23a38bebab1a07ea20d0f Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 18 Aug 2024 10:35:04 +0100 Subject: [PATCH 1/2] Update Git to 2.46.0 --- lib/docs/scrapers/git.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/docs/scrapers/git.rb b/lib/docs/scrapers/git.rb index 9380099e..de0320a7 100644 --- a/lib/docs/scrapers/git.rb +++ b/lib/docs/scrapers/git.rb @@ -1,7 +1,7 @@ module Docs class Git < UrlScraper self.type = 'git' - self.release = '2.43.1' + self.release = '2.46.0' self.base_url = 'https://git-scm.com/docs' self.initial_paths = %w(/git.html) self.links = { @@ -16,8 +16,8 @@ module Docs options[:skip] = %w(/howto-index.html) options[:attribution] = <<-HTML - © 2012–2024 Scott Chacon and others
- Licensed under the MIT License. + © 2005–2024 Linus Torvalds and others
+ Licensed under the GNU General Public License version 2. HTML def get_latest_version(opts) From 6e5dd89eb515fea6eec04f2859380cb67168b4c5 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 18 Aug 2024 11:58:26 +0200 Subject: [PATCH 2/2] git: fix license --- lib/docs/scrapers/git.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/docs/scrapers/git.rb b/lib/docs/scrapers/git.rb index de0320a7..a6eea120 100644 --- a/lib/docs/scrapers/git.rb +++ b/lib/docs/scrapers/git.rb @@ -15,9 +15,10 @@ module Docs options[:only_patterns] = [/\A\/[^\/]+\z/] options[:skip] = %w(/howto-index.html) + # https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt options[:attribution] = <<-HTML - © 2005–2024 Linus Torvalds and others
- Licensed under the GNU General Public License version 2. + © 2012–2024 Scott Chacon and others
+ Licensed under the MIT License. HTML def get_latest_version(opts)