[devdocsgjs/main: 85/239] Update Rails documentation 7.0.0




commit 214079848b61f346c5bcf85ead4680b3253aaa9e
Author: Ahmed Kamal <ahmed kamal200 yahoo com>
Date:   Tue Dec 28 17:15:58 2021 +0200

    Update Rails documentation 7.0.0

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/rdoc/rails.rb                      | 18 +++++++++++-------
 2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 97a24878..ec1b8ff3 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -754,7 +754,7 @@ credits = [
     'https://www.ruby-lang.org/en/about/license.txt'
   ], [
     'Ruby on Rails',
-    '2004-2020 David Heinemeier Hansson<br>Rails, Ruby on Rails, and the Rails logo are trademarks of David 
Heinemeier Hansson.',
+    '2004-2021 David Heinemeier Hansson<br>Rails, Ruby on Rails, and the Rails logo are trademarks of David 
Heinemeier Hansson.',
     'MIT',
     'https://raw.githubusercontent.com/rails/rails/master/activerecord/MIT-LICENSE'
   ], [
diff --git a/lib/docs/scrapers/rdoc/rails.rb b/lib/docs/scrapers/rdoc/rails.rb
index 907deed3..40baecb9 100644
--- a/lib/docs/scrapers/rdoc/rails.rb
+++ b/lib/docs/scrapers/rdoc/rails.rb
@@ -14,7 +14,7 @@ module Docs
     self.slug = 'rails'
     self.initial_paths = %w(guides/index.html)
     self.links = {
-      home: 'http://rubyonrails.org/',
+      home: 'https://rubyonrails.org/',
       code: 'https://github.com/rails/rails'
     }
 
@@ -72,31 +72,35 @@ module Docs
     options[:attribution] = ->(filter) do
       if filter.slug.start_with?('guides')
         <<-HTML
-          &copy; 2004&ndash;2020 David Heinemeier Hansson<br>
+          &copy; 2004&ndash;2021 David Heinemeier Hansson<br>
           Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
         HTML
       else
         <<-HTML
-          &copy; 2004&ndash;2020 David Heinemeier Hansson<br>
+          &copy; 2004&ndash;2021 David Heinemeier Hansson<br>
           Licensed under the MIT License.
         HTML
       end
     end
 
+    version '7.0' do
+      self.release = '7.0.0'
+    end
+
     version '6.1' do
-      self.release = '6.1.1'
+      self.release = '6.1.4'
     end
 
     version '6.0' do
-      self.release = '6.0.0'
+      self.release = '6.0.4'
     end
 
     version '5.2' do
-      self.release = '5.2.2'
+      self.release = '5.2.6'
     end
 
     version '5.1' do
-      self.release = '5.1.6'
+      self.release = '5.1.7'
     end
 
     version '5.0' do


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]