File tree Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ ruby '2.7.6'
44
55gem 'activesupport'
66gem "erector" , "~> 0.10.0"
7- gem "sinatra" , "~> 1.4.0 "
8- gem "sinatra-contrib" , "~> 1.4.0 "
7+ gem "sinatra" , "~> 3.0.3 "
8+ gem "sinatra-contrib" , "~> 3.0.3 "
99gem "nokogiri"
1010gem "thin" , "1.8.1"
1111gem 'rack-codehighlighter'
Original file line number Diff line number Diff line change 4444 ruby_dep (~> 1.2 )
4545 mini_portile2 (2.8.0 )
4646 minitest (5.15.0 )
47- multi_json (1.12.1 )
48- nokogiri (1.13.2 )
47+ multi_json (1.15.0 )
48+ mustermann (3.0.0 )
49+ ruby2_keywords (~> 0.0.1 )
50+ nokogiri (1.13.9 )
4951 mini_portile2 (~> 2.8.0 )
5052 racc (~> 1.4 )
5153 polyglot (0.3.5 )
5254 racc (1.6.0 )
53- rack (1.6.13 )
54- rack-codehighlighter (0.5.1 )
55+ rack (2.2.4 )
56+ rack-codehighlighter (0.6.0 )
5557 nokogiri (>= 1.4.1 )
56- rack (>= 1 .0.0 )
57- rack-protection (1.5.5 )
58+ rack (>= 2 .0.0 )
59+ rack-protection (3.0.3 )
5860 rack
5961 rack-test (0.6.3 )
6062 rack (>= 1.0 )
7880 diff-lcs (>= 1.2.0 , < 2.0 )
7981 rspec-support (~> 3.5.0 )
8082 rspec-support (3.5.0 )
83+ ruby2_keywords (0.0.5 )
8184 ruby_dep (1.5.0 )
8285 rubyzip (1.3.0 )
8386 sass (3.4.23 )
8487 sassc (2.4.0 )
8588 ffi (~> 1.9 )
86- sinatra (1.4.8 )
87- rack (~> 1.5 )
88- rack-protection (~> 1 .4 )
89- tilt ( >= 1.3 , < 3 )
90- sinatra-contrib ( 1.4.7 )
91- backports ( >= 2.0 )
89+ sinatra (3.0.3 )
90+ mustermann (~> 3.0 )
91+ rack (~> 2.2 , >= 2.2 .4 )
92+ rack-protection ( = 3.0. 3 )
93+ tilt ( ~> 2.0 )
94+ sinatra-contrib ( 3.0.3 )
9295 multi_json
93- rack-protection
94- rack-test
95- sinatra (~> 1.4.0 )
96- tilt (>= 1.3 , < 3 )
96+ mustermann ( ~> 3.0 )
97+ rack-protection ( = 3.0.3 )
98+ sinatra (= 3.0.3 )
99+ tilt (~> 2.0 )
97100 sprockets (3.7.2 )
98101 concurrent-ruby (~> 1.0 )
99102 rack (> 1 , < 3 )
102105 eventmachine (~> 1.0 , >= 1.0.4 )
103106 rack (>= 1 , < 3 )
104107 thread_safe (0.3.6 )
105- tilt (2.0.6 )
108+ tilt (2.0.11 )
106109 treetop (1.6.8 )
107110 polyglot (~> 0.3 )
108111 trollop (2.1.2 )
@@ -134,8 +137,8 @@ DEPENDENCIES
134137 rspec
135138 rubyzip
136139 sass
137- sinatra (~> 1.4.0 )
138- sinatra-contrib (~> 1.4.0 )
140+ sinatra (~> 3.0.3 )
141+ sinatra-contrib (~> 3.0.3 )
139142 sprockets
140143 thin (= 1.8.1 )
141144
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def doc_path
148148 end
149149
150150 def back_path
151- path_parts = cookies [ :docs_back_path ] . try ( : split, '/' )
151+ path_parts = cookies [ :docs_back_path ] &. split ( '/' )
152152 return unless path_parts && path_parts . length > 2
153153
154154 current_path_parts = request . fullpath . split ( '/' )
You can’t perform that action at this time.
0 commit comments