Skip to content

Commit 413dccf

Browse files
authored
Merge pull request #295 from packrat386/update_gems
Update gems and bundler
2 parents 9ab38e4 + 06373a2 commit 413dccf

59 files changed

Lines changed: 1130 additions & 29799 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ source "https://rubygems.org"
22

33
gem "kramdown"
44
gem "nokogiri", '>= 1.5.9'
5-
gem "jekyll", '>= 1.1.0'
6-
gem "rdoc", '~> 6.3.1'
5+
gem "jekyll"
6+
gem "rdoc"
77
gem "haml"
88
gem "thor"
99
gem 'bourbon'
1010
gem 'neat'
1111
gem 'sass'
1212
gem 'rake'
13+
gem 'webrick'

Gemfile.lock

Lines changed: 76 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,106 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.0)
5-
public_suffix (>= 2.0.2, < 5.0)
6-
bourbon (4.3.4)
7-
sass (~> 3.4)
8-
thor (~> 0.19)
4+
addressable (2.8.1)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
bourbon (7.2.0)
7+
thor (~> 1.0)
98
colorator (1.1.0)
10-
ffi (1.11.3)
9+
concurrent-ruby (1.1.10)
10+
em-websocket (0.5.3)
11+
eventmachine (>= 0.12.9)
12+
http_parser.rb (~> 0)
13+
eventmachine (1.2.7)
14+
ffi (1.15.5)
1115
forwardable-extended (2.6.0)
12-
haml (5.0.1)
13-
temple (>= 0.8.0)
16+
haml (6.0.6)
17+
temple (>= 0.8.2)
18+
thor
1419
tilt
15-
jekyll (3.4.3)
20+
http_parser.rb (0.8.0)
21+
i18n (1.12.0)
22+
concurrent-ruby (~> 1.0)
23+
jekyll (4.2.2)
1624
addressable (~> 2.4)
1725
colorator (~> 1.0)
18-
jekyll-sass-converter (~> 1.0)
19-
jekyll-watch (~> 1.1)
20-
kramdown (~> 1.3)
21-
liquid (~> 3.0)
22-
mercenary (~> 0.3.3)
26+
em-websocket (~> 0.5)
27+
i18n (~> 1.0)
28+
jekyll-sass-converter (~> 2.0)
29+
jekyll-watch (~> 2.0)
30+
kramdown (~> 2.3)
31+
kramdown-parser-gfm (~> 1.0)
32+
liquid (~> 4.0)
33+
mercenary (~> 0.4.0)
2334
pathutil (~> 0.9)
24-
rouge (~> 1.7)
35+
rouge (~> 3.0)
2536
safe_yaml (~> 1.0)
26-
jekyll-sass-converter (1.5.0)
27-
sass (~> 3.4)
28-
jekyll-watch (1.5.0)
29-
listen (~> 3.0, < 3.1)
30-
kramdown (1.13.2)
31-
liquid (3.0.6)
32-
listen (3.0.8)
33-
rb-fsevent (~> 0.9, >= 0.9.4)
34-
rb-inotify (~> 0.9, >= 0.9.7)
35-
mercenary (0.3.6)
37+
terminal-table (~> 2.0)
38+
jekyll-sass-converter (2.2.0)
39+
sassc (> 2.0.1, < 3.0)
40+
jekyll-watch (2.2.1)
41+
listen (~> 3.0)
42+
kramdown (2.4.0)
43+
rexml
44+
kramdown-parser-gfm (1.1.0)
45+
kramdown (~> 2.0)
46+
liquid (4.0.3)
47+
listen (3.7.1)
48+
rb-fsevent (~> 0.10, >= 0.10.3)
49+
rb-inotify (~> 0.9, >= 0.9.10)
50+
mercenary (0.4.0)
3651
mini_portile2 (2.8.0)
37-
neat (2.0.0)
38-
sass (~> 3.4)
39-
thor (~> 0.19)
40-
nokogiri (1.13.6)
52+
neat (1.7.4)
53+
bourbon (>= 4.0)
54+
sass (>= 3.3)
55+
nokogiri (1.13.8)
4156
mini_portile2 (~> 2.8.0)
4257
racc (~> 1.4)
43-
pathutil (0.14.0)
58+
pathutil (0.16.2)
4459
forwardable-extended (~> 2.6)
45-
public_suffix (4.0.7)
60+
psych (4.0.6)
61+
stringio
62+
public_suffix (5.0.0)
4663
racc (1.6.0)
47-
rake (12.3.3)
48-
rb-fsevent (0.9.8)
49-
rb-inotify (0.9.8)
50-
ffi (>= 0.5.0)
51-
rdoc (6.3.1)
52-
rouge (1.11.1)
53-
safe_yaml (1.0.4)
54-
sass (3.4.23)
55-
temple (0.8.0)
56-
thor (0.19.4)
57-
tilt (2.0.7)
64+
rake (13.0.6)
65+
rb-fsevent (0.11.2)
66+
rb-inotify (0.10.1)
67+
ffi (~> 1.0)
68+
rdoc (6.4.0)
69+
psych (>= 4.0.0)
70+
rexml (3.2.5)
71+
rouge (3.30.0)
72+
safe_yaml (1.0.5)
73+
sass (3.7.4)
74+
sass-listen (~> 4.0.0)
75+
sass-listen (4.0.0)
76+
rb-fsevent (~> 0.9, >= 0.9.4)
77+
rb-inotify (~> 0.9, >= 0.9.7)
78+
sassc (2.4.0)
79+
ffi (~> 1.9)
80+
stringio (3.0.2)
81+
temple (0.8.2)
82+
terminal-table (2.0.0)
83+
unicode-display_width (~> 1.1, >= 1.1.1)
84+
thor (1.2.1)
85+
tilt (2.0.11)
86+
unicode-display_width (1.8.0)
87+
webrick (1.7.0)
5888

5989
PLATFORMS
6090
ruby
6191

6292
DEPENDENCIES
6393
bourbon
6494
haml
65-
jekyll (>= 1.1.0)
95+
jekyll
6696
kramdown
6797
neat
6898
nokogiri (>= 1.5.9)
6999
rake
70-
rdoc (~> 6.3.1)
100+
rdoc
71101
sass
72102
thor
103+
webrick
73104

74105
BUNDLED WITH
75-
1.14.6
106+
2.3.22

Rakefile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ end
2828

2929
def readme(pattern = "%s", &block)
3030
return readme(pattern).each(&block) if block_given?
31-
%w[en de es fr hu ja zh ru ko pt-br pt-pt].map do |lang|
32-
pattern % "README#{lang == "en" ? "" : ".#{lang}"}"
31+
32+
%w[
33+
README
34+
].map do |extension|
35+
pattern % extension
3336
end
3437
end
3538

@@ -126,13 +129,13 @@ task :pull => ['pull:sinatra']
126129

127130
directory "_sinatra" do
128131
puts 'Cloning sinatra repo'
129-
sh "git clone git://github.com/sinatra/sinatra.git _sinatra"
132+
sh "git clone git@github.com:sinatra/sinatra.git _sinatra"
130133
end
131134

132135
desc 'Pull in the latest from the sinatra repo'
133136
task 'pull:sinatra' => "_sinatra" do
134137
puts 'Pulling sinatra.git'
135-
sh "cd _sinatra && git pull &>/dev/null"
138+
sh "cd _sinatra && git pull &>/dev/null || true"
136139
end
137140

138141
readme("_sinatra/%s.md") { |fn| file fn => '_sinatra' }
@@ -193,7 +196,7 @@ protection do |fn|
193196
file_to_convert = File.read(path_to_file + ".md")
194197
end
195198

196-
html = RDoc::Markup::ToHtml.new.convert(file_to_convert)
199+
html = RDoc::Markup::ToHtml.new(RDoc::Options.new).convert(file_to_convert)
197200
File.open(f.name, 'wb') { |io| io.write html }
198201
end
199202
end
@@ -216,7 +219,7 @@ contrib do |fn|
216219
file_to_convert = File.read(path_to_file + ".md")
217220
end
218221

219-
html = RDoc::Markup::ToHtml.new.convert(file_to_convert)
222+
html = RDoc::Markup::ToHtml.new(RDoc::Options.new).convert(file_to_convert)
220223
File.open(f.name, 'wb') { |io| io.write html }
221224
end
222225
end
@@ -234,5 +237,5 @@ task :server do
234237
exec 'jekyll serve --watch'
235238
end
236239

237-
CLEAN.include '_site', "_includes/*.html"
240+
CLEAN.include('_site', "_includes/*.html").exclude('_includes/navbar.html', '_includes/head.html')
238241
CLOBBER.include "_sinatra/sinatra-contrib", "_sinatra/rack-protection", "_sinatra"

0 commit comments

Comments
 (0)