Update Ruby, Rails, and Minitest docs
Unified · Split
| @@ -242,11 +242,12 @@ done · 241 unmodified lines | ||
| 242 | 242 | ### Ruby / Minitest |
| 243 | 243 | ### Ruby on Rails |
| 244 | 244 | * Download a release at https://github.com/rails/rails/releases or clone https://github.com/rails/rails.git (checkout to the branch of the rails' version that is going to be scraped) |
| 245 | −* Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc") | |
| 246 | −* Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory) | |
| 247 | −* Run "cd guides && bundle exec rake guides:generate:html" | |
| 248 | −* Copy the "guides/output" directory to "html/guides" | |
| 249 | −* Copy the "html" directory to "docs/rails~[version]" | |
| 245 | +* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`) | |
| 246 | +* Run `bundle config set --local without 'db job'` (in the Rails directory) | |
| 247 | +* Run `bundle install && bundle exec rake rdoc` (in the Rails directory) | |
| 248 | +* Run `cd guides && bundle exec rake guides:generate:html` | |
| 249 | +* Copy the `guides/output` directory to `html/guides` | |
| 250 | +* Copy the `html` directory to `docs/rails~[version]` | |
| 250 | 251 | |
| 251 | 252 | ### Ruby |
| 252 | 253 | Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run |
| @@ -40,7 +40,7 @@ module Docs · 39 unmodified lines | ||
| 40 | 40 | |
| 41 | 41 | def get_name |
| 42 | 42 | if slug.start_with?('guides') |
| 43 | − name = at_css('#feature h2').content.strip | |
| 43 | + name = at_css('#mainCol h2').content.strip | |
| 44 | 44 | name.remove! %r{\s\(.+\)\z} |
| 45 | 45 | return name |
| 46 | 46 | end |
| @@ -8,7 +8,7 @@ module Docs · 7 unmodified lines | ||
| 8 | 8 | |
| 9 | 9 | self.name = 'Ruby / Minitest' |
| 10 | 10 | self.slug = 'minitest' |
| 11 | − self.release = '5.17.0' | |
| 11 | + self.release = '5.20.0' | |
| 12 | 12 | self.links = { |
| 13 | 13 | code: 'https://github.com/minitest/minitest' |
| 14 | 14 | } |
| @@ -75,8 +75,12 @@ module Docs · 74 unmodified lines | ||
| 75 | 75 | end |
| 76 | 76 | end |
| 77 | 77 | |
| 78 | + version '7.1' do | |
| 79 | + self.release = '7.1.2' | |
| 80 | + end | |
| 81 | + | |
| 78 | 82 | version '7.0' do |
| 79 | − self.release = '7.0.4' | |
| 83 | + self.release = '7.0.8' | |
| 80 | 84 | end |
| 81 | 85 | |
| 82 | 86 | version '6.1' do |
| @@ -69,16 +69,20 @@ module Docs · 68 unmodified lines | ||
| 69 | 69 | Licensed under their own licenses. |
| 70 | 70 | HTML |
| 71 | 71 | |
| 72 | + version '3.3' do | |
| 73 | + self.release = '3.3.0' | |
| 74 | + end | |
| 75 | + | |
| 72 | 76 | version '3.2' do |
| 73 | − self.release = '3.2.0' | |
| 77 | + self.release = '3.2.2' | |
| 74 | 78 | end |
| 75 | − | |
| 79 | + | |
| 76 | 80 | version '3.1' do |
| 77 | − self.release = '3.1.3' | |
| 81 | + self.release = '3.1.4' | |
| 78 | 82 | end |
| 79 | 83 | |
| 80 | 84 | version '3' do |
| 81 | − self.release = '3.0.0' | |
| 85 | + self.release = '3.0.6' | |
| 82 | 86 | end |
| 83 | 87 | |
| 84 | 88 | version '2.7' do |