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
208 'https://creativecommons.org/licenses/by-sa/2.5/'208 'https://creativecommons.org/licenses/by-sa/2.5/'
209 ], [209 ], [
210 'Crystal',210 'Crystal',
211 '2012-2019 Manas Technology Solutions',211 '2012-2020 Manas Technology Solutions',
212 'Apache',212 'Apache',
213 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'213 'https://raw.githubusercontent.com/crystal-lang/crystal/master/LICENSE'
214 ], [214 ], [
lib/docs/filters/crystal/entries.rb+1−1
@@ -14,7 +14,7 @@ module Docs · 13 unmodified lines
14 14
15 name15 name
16 else16 else
17 name = at_css('h1').children.last.content.strip17 name = at_css('.type-name').children.last.content.strip
18 name.remove! %r{\(.*\)}18 name.remove! %r{\(.*\)}
19 name19 name
20 end20 end
lib/docs/scrapers/crystal.rb+3−16
@@ -19,27 +19,14 @@ module Docs · 18 unmodified lines
19 HTML19 HTML
20 else20 else
21 <<-HTML21 <<-HTML
22 &copy; 2012&ndash;2019 Manas Technology Solutions.<br>22 &copy; 2012&ndash;2020 Manas Technology Solutions.<br>
23 Licensed under the Apache License, Version 2.0.23 Licensed under the Apache License, Version 2.0.
24 HTML24 HTML
25 end25 end
26 }26 }
27 27
28 version '0.31' do28 version do
29 self.release = '0.31.1'29 self.release = '0.35.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'
43 self.root_path = "api/#{release}/index.html"30 self.root_path = "api/#{release}/index.html"
44 31
45 options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]32 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