Преглед на файлове

Merge pull request #1305 from simon04/nginx-1.19

nginx: update to 1.19.3
Simon Legner преди 5 години
родител
ревизия
e8f70676ce
променени са 2 файла, в които са добавени 5 реда и са изтрити 4 реда
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 4 3
      lib/docs/scrapers/nginx.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -508,7 +508,7 @@ credits = [
     'https://github.com/LearnBoost/mongoose/blob/master/README.md#license'
   ], [
     'nginx',
-    '2002-2019 Igor Sysoev<br>&copy; 2011-2019 Nginx, Inc.',
+    '2002-2020 Igor Sysoev<br>&copy; 2011-2020 Nginx, Inc.',
     'BSD',
     'http://nginx.org/LICENSE'
   ], [

+ 4 - 3
lib/docs/scrapers/nginx.rb

@@ -2,7 +2,7 @@ module Docs
   class Nginx < UrlScraper
     self.name = 'nginx'
     self.type = 'nginx'
-    self.release = '1.17.2'
+    self.release = '1.19.3'
     self.base_url = 'https://nginx.org/en/docs/'
     self.links = {
       home: 'https://nginx.org/',
@@ -20,9 +20,10 @@ module Docs
 
     options[:skip_patterns] = [/\/faq\//]
 
+    # http://nginx.org/LICENSE
     options[:attribution] = <<-HTML
-      &copy; 2002-2019 Igor Sysoev<br>
-      &copy; 2011-2019 Nginx, Inc.<br>
+      &copy; 2002-2020 Igor Sysoev<br>
+      &copy; 2011-2020 Nginx, Inc.<br>
       Licensed under the BSD License.
     HTML