瀏覽代碼

Update Chai documentation (4.0.1)

Thibaut Courouble 8 年之前
父節點
當前提交
7a882107f0
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 2 2
      lib/docs/scrapers/chai.rb

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

@@ -140,9 +140,9 @@ credits = [
     'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE.txt'
   ], [
     'Chai',
-    '2011-2015 Jake Luer',
+    '2016 Chai.js Assertion Library',
     'MIT',
-    'https://github.com/chaijs/chai/blob/master/README.md#license'
+    'https://raw.githubusercontent.com/chaijs/chai/master/LICENSE'
   ], [
     'Chef™',
     'Chef Software, Inc.',

+ 2 - 2
lib/docs/scrapers/chai.rb

@@ -2,7 +2,7 @@ module Docs
   class Chai < UrlScraper
     self.name = 'Chai'
     self.type = 'chai'
-    self.release = '3.5.0'
+    self.release = '4.0.1'
     self.base_url = 'http://chaijs.com'
     self.root_path = '/api/'
     self.initial_paths = %w(/guide/installation/)
@@ -20,7 +20,7 @@ module Docs
     options[:skip] = %w(/api/test/ /guide/ /guide/resources/)
 
     options[:attribution] = <<-HTML
-      &copy; 2011&ndash;2015 Jake Luer<br>
+      &copy; 2016 Chai.js Assertion Library<br>
       Licensed under the MIT License.
     HTML
   end