History

Merge pull request #1109 from TheWillGabriel/rails-6.0

Update Rails documentation (6.0.0)

Jasper van Merle committed 7 years ago

Commit 9b63f462 parents 399387f 2fe67052 files · +16 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/rdoc/rails.rb +15 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -668,7 +668,7 @@ credits = [ · 667 unmodified lines
668668 'https://www.ruby-lang.org/en/about/license.txt'
669669 ], [
670670 'Ruby on Rails',
671− '2004-2017 David Heinemeier Hansson<br>Rails, Ruby on Rails, and the Rails logo are trademarks of David Heinemeier Hansson.',
671+ '2004-2019 David Heinemeier Hansson<br>Rails, Ruby on Rails, and the Rails logo are trademarks of David Heinemeier Hansson.',
672672 'MIT',
673673 'https://raw.githubusercontent.com/rails/rails/master/activerecord/MIT-LICENSE'
674674 ], [
lib/docs/scrapers/rdoc/rails.rb+15−2
@@ -45,6 +45,15 @@ module Docs · 44 unmodified lines
4545 ActiveSupport/Dependencies/WatchStack.html
4646 ActiveSupport/Notifications/Fanout.html)
4747
48+ # False positives found by docs:generate
49+ options[:skip].concat %w(
50+ ActionDispatch/www.example.com
51+ ActionDispatch/Http/www.rubyonrails.org
52+ ActionDispatch/Http/www.rubyonrails.co.uk
53+ 'TZ'
54+ active_record_migrations.html
55+ association_basics.html)
56+
4857 options[:skip_patterns] += [
4958 /release_notes/,
5059 /\AActionController\/Testing/,
@@ -63,17 +72,21 @@ module Docs · 12 unmodified lines
6372 options[:attribution] = ->(filter) do
6473 if filter.slug.start_with?('guides')
6574 <<-HTML
66− &copy; 2004&ndash;2018 David Heinemeier Hansson<br>
75+ &copy; 2004&ndash;2019 David Heinemeier Hansson<br>
6776 Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
6877 HTML
6978 else
7079 <<-HTML
71− &copy; 2004&ndash;2018 David Heinemeier Hansson<br>
80+ &copy; 2004&ndash;2019 David Heinemeier Hansson<br>
7281 Licensed under the MIT License.
7382 HTML
7483 end
7584 end
7685
86+ version '6.0' do
87+ self.release = '6.0.0'
88+ end
89+
7790 version '5.2' do
7891 self.release = '5.2.2'
7992 end