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

Merge pull request #1080 from filalex77/postgresql-11

Update PostgreSQL to version 11 (release 11.5)
Jasper van Merle преди 6 години
родител
ревизия
c4fcad217f
променени са 2 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 6 1
      lib/docs/scrapers/postgresql.rb

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

@@ -593,7 +593,7 @@ credits = [
     'https://raw.githubusercontent.com/ponylang/ponyc/master/LICENSE'
   ], [
     'PostgreSQL',
-    '1996-2018 The PostgreSQL Global Development Group<br>&copy; 1994 The Regents of the University of California',
+    '1996-2019 The PostgreSQL Global Development Group<br>&copy; 1994 The Regents of the University of California',
     'PostgreSQL',
     'https://www.postgresql.org/about/licence/'
   ], [

+ 6 - 1
lib/docs/scrapers/postgresql.rb

@@ -51,10 +51,15 @@ module Docs
       /\Aunsupported-features/ ]
 
     options[:attribution] = <<-HTML
-      &copy; 1996&ndash;2018 The PostgreSQL Global Development Group<br>
+      &copy; 1996&ndash;2019 The PostgreSQL Global Development Group<br>
       Licensed under the PostgreSQL License.
     HTML
 
+    version '11' do
+      self.release = '11.5'
+      self.base_url = 'https://www.postgresql.org/docs/11/'
+    end
+
     version '10' do
       self.release = '10.3'
       self.base_url = 'https://www.postgresql.org/docs/10/static/'