History

Merge pull request #1196 from Daniel-Worrall/crystal-0.33

Update crystal 0.35

Simon Legner committed 6 years ago

Commit 8d30b7d2 parents 98fda38 4288fe53 files · +5 −18Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/crystal/entries.rb +1 −1
  3. lib/docs/scrapers/crystal.rb +3 −16
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -208,7 +208,7 @@ credits = [ · 207 unmodified lines
208208 'https://creativecommons.org/licenses/by-sa/2.5/'
209209 ], [
210210 'Crystal',
211− '2012-2019 Manas Technology Solutions',
211+ '2012-2020 Manas Technology Solutions',
212212 'Apache',
213213 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'
214214 ], [
lib/docs/filters/crystal/entries.rb+1−1
@@ -14,7 +14,7 @@ module Docs · 13 unmodified lines
1414
1515 name
1616 else
17− name = at_css('h1').children.last.content.strip
17+ name = at_css('.type-name').children.last.content.strip
1818 name.remove! %r{\(.*\)}
1919 name
2020 end
lib/docs/scrapers/crystal.rb+3−16
@@ -19,27 +19,14 @@ module Docs · 18 unmodified lines
1919 HTML
2020 else
2121 <<-HTML
22− &copy; 2012&ndash;2019 Manas Technology Solutions.<br>
22+ &copy; 2012&ndash;2020 Manas Technology Solutions.<br>
2323 Licensed under the Apache License, Version 2.0.
2424 HTML
2525 end
2626 }
2727
28− version '0.31' do
29− self.release = '0.31.1'
30− self.root_path = "api/#{release}/index.html"
31−
32− options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
33− options[:skip_patterns] = [/debug/i]
34−
35− options[:replace_paths] = {
36− "api/#{release}/" => "api/#{release}/index.html",
37− 'docs/' => 'docs/index.html'
38− }
39− end
40−
41− version '0.30' do
42− self.release = '0.30.1'
28+ version do
29+ self.release = '0.35.1'
4330 self.root_path = "api/#{release}/index.html"
4431
4532 options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t