Sfoglia il codice sorgente

Version Rails documentation (4.2 and 4.1)

Thibaut Courouble 9 anni fa
parent
commit
793b079640

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

@@ -401,7 +401,7 @@ credits = [
     'https://www.ruby-lang.org/en/about/license.txt'
   ], [
     'Ruby on Rails',
-    '2004-2015 David Heinemeier Hansson<br>Rails, Ruby on Rails, and the Rails logo are trademarks of David Heinemeier Hansson.',
+    '2004-2016 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'
   ], [

+ 9 - 2
lib/docs/scrapers/rdoc/rails.rb

@@ -2,7 +2,6 @@ module Docs
   class Rails < Rdoc
     self.name = 'Ruby on Rails'
     self.slug = 'rails'
-    self.release = '4.2.3'
     self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Rails'
     self.links = {
       home: 'http://rubyonrails.org/',
@@ -58,8 +57,16 @@ module Docs
       /\ARails\/PluginBuilder/]
 
     options[:attribution] = <<-HTML
-      &copy; 2004&ndash;2015 David Heinemeier Hansson<br>
+      &copy; 2004&ndash;2016 David Heinemeier Hansson<br>
       Licensed under the MIT License.
     HTML
+
+    version '4.2' do
+      self.release = '4.2.6'
+    end
+
+    version '4.1' do
+      self.release = '4.1.15'
+    end
   end
 end