瀏覽代碼

Update Ruby documentation (2.4.1, 2.3.4, 2.2.7)

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

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

@@ -510,7 +510,7 @@ credits = [
     'https://raw.githubusercontent.com/rethinkdb/docs/master/LICENSE'
   ], [
     'Ruby',
-    '1993-2016 Yukihiro Matsumoto',
+    '1993-2017 Yukihiro Matsumoto',
     'Ruby',
     'https://www.ruby-lang.org/en/about/license.txt'
   ], [

+ 4 - 7
lib/docs/scrapers/rdoc/ruby.rb

@@ -53,8 +53,6 @@ module Docs
       /\AIRB/,
       /\AMakeMakefile/i,
       /\ANQXML/,
-      /\AOptionParser\//,
-      /\APrettyPrint/,
       /\APride/,
       /\AProfiler__/,
       /\APsych\//,
@@ -65,7 +63,6 @@ module Docs
       /\AREXML/,
       /\ARSS/,
       /\AShell\//,
-      /\ASocket\//,
       /\ATest/,
       /\AWEBrick/,
       /win32/i,
@@ -73,24 +70,24 @@ module Docs
       /\AXMP/]
 
     options[:attribution] = <<-HTML
-      Ruby Core &copy; 1993&ndash;2016 Yukihiro Matsumoto<br>
+      Ruby Core &copy; 1993&ndash;2017 Yukihiro Matsumoto<br>
       Licensed under the Ruby License.<br>
       Ruby Standard Library &copy; contributors<br>
       Licensed under their own licenses.
     HTML
 
     version '2.4' do
-      self.release = '2.4.0'
+      self.release = '2.4.1'
       self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Ruby24'
     end
 
     version '2.3' do
-      self.release = '2.3.3'
+      self.release = '2.3.4'
       self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Ruby23'
     end
 
     version '2.2' do
-      self.release = '2.2.6'
+      self.release = '2.2.7'
       self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Ruby22'
     end
   end