File tree 5 files changed +12
-15
lines changed
5 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ Lint/AssignmentInCondition:
15
15
Lint/UnusedMethodArgument :
16
16
Enabled : false
17
17
18
- Lint/UriEscapeUnescape :
19
- Enabled : true
20
-
21
-
22
18
# Style
23
19
24
20
Layout/EndAlignment :
Original file line number Diff line number Diff line change @@ -221,10 +221,10 @@ Boolean values `true` or `false`
221
221
` :fetch_timeout`
222
222
223
223
This is the number of seconds to allow for fetching a gem from upstream.
224
- It covers establishing the connection and receiving the response. Fetching
225
- gems over a slow connection may cause timeout errors. If you experience
226
- timeout errors, you may want to increase this value. The default is `20`
227
- seconds.
224
+ It covers establishing the connection and receiving the response.
225
+ Fetching gems over a slow connection may cause timeout errors. If you
226
+ experience timeout errors, you may want to increase this value. The
227
+ default is `20` seconds.
228
228
229
229
# # Default value
230
230
@@ -239,10 +239,10 @@ Integer value with a minimum of `1`
239
239
` :open_timeout`
240
240
241
241
The timeout setting for opening the connection to an upstream gem
242
- server. On high-latency networks, even establishing the connection
243
- to an upstream gem server can take a while. If you experience
244
- connection failures instead of timeout errors, you may want to
245
- increase this value. The default is `2` seconds.
242
+ server. On high-latency networks, even establishing the connection to an
243
+ upstream gem server can take a while. If you experience connection
244
+ failures instead of timeout errors, you may want to increase this value.
245
+ The default is `2` seconds.
246
246
247
247
# # Default value
248
248
Original file line number Diff line number Diff line change 5
5
6
6
Stashing private gems in your Gemstash server requires a bit of
7
7
additional setup. If you haven’t read through the [ Quickstart
8
- Guide] ( ../README .md#quickstart-guide ) , you should do that first. By the
8
+ Guide] ( ../readme .md#quickstart-guide ) , you should do that first. By the
9
9
end of this guide, you will be able to interact with your Gemstash
10
10
server to store and retrieve your private gems.
11
11
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def db
129
129
db = if RUBY_PLATFORM == "java"
130
130
Sequel . connect ( "jdbc:sqlite:#{ db_path } " , config . database_connection_config )
131
131
else
132
- Sequel . connect ( "sqlite://#{ CGI . escape ( db_path ) } " , config . database_connection_config )
132
+ Sequel . connect ( "sqlite://#{ db_path } " , config . database_connection_config )
133
133
end
134
134
when "postgres" , "mysql" , "mysql2"
135
135
db_url = config [ :db_url ]
Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ class Doc
91
91
content = ::File . read ( to_file )
92
92
content . gsub! ( "](./" , "](docs/" )
93
93
content . gsub! ( /\A ---(.|\n )*?---/ , "" )
94
- ::File . write to_file , "<!-- Automatically generated by Pandoc -->\n #{ content } "
94
+ prefix = format == "man" ? "" : "<!-- Automatically generated by Pandoc -->\n "
95
+ ::File . write to_file , "#{ prefix } #{ content } "
95
96
end
96
97
97
98
def export_path ( dir , filename )
You can’t perform that action at this time.
0 commit comments