浏览代码

nginx: update to 1.17.2

Simon Legner 6 年之前
父节点
当前提交
d370aacca0
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 3 3
      lib/docs/scrapers/nginx.rb

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

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

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

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