Parcourir la source

Update CakePHP documentation (3.6.2)

Thibaut Courouble il y a 7 ans
Parent
commit
587124a0b2

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

@@ -142,9 +142,9 @@ credits = [
     'http://en.cppreference.com/w/Cppreference:Copyright/CC-BY-SA'
   ], [
     'CakePHP',
-    '2005-2017 The Cake Software Foundation, Inc.',
+    '2005-2018 The Cake Software Foundation, Inc.',
     'MIT',
-    'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE.txt'
+    'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE'
   ], [
     'Chai',
     '2016 Chai.js Assertion Library',

+ 7 - 2
lib/docs/scrapers/cakephp.rb

@@ -15,14 +15,19 @@ module Docs
     options[:skip_patterns] = [/\Asource-/]
 
     options[:attribution] = <<-HTML
-      &copy; 2005&ndash;2017 The Cake Software Foundation, Inc.<br>
+      &copy; 2005&ndash;2018 The Cake Software Foundation, Inc.<br>
       Licensed under the MIT License.<br>
       CakePHP is a registered trademark of Cake Software Foundation, Inc.<br>
       We are not endorsed by or affiliated with CakePHP.
     HTML
 
+    version '3.6' do
+      self.release = '3.6.2'
+      self.base_url = 'https://api.cakephp.org/3.6/'
+    end
+
     version '3.5' do
-      self.release = '3.5.2'
+      self.release = '3.5.15'
       self.base_url = 'https://api.cakephp.org/3.5/'
     end