gemstash 2.2.2 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -17
  3. data/lib/gemstash/authorization.rb +5 -2
  4. data/lib/gemstash/cli/authorize.rb +42 -1
  5. data/lib/gemstash/cli/setup.rb +2 -2
  6. data/lib/gemstash/cli/start.rb +5 -25
  7. data/lib/gemstash/cli.rb +6 -2
  8. data/lib/gemstash/config.ru +0 -2
  9. data/lib/gemstash/configuration.rb +5 -0
  10. data/lib/gemstash/db/authorization.rb +3 -3
  11. data/lib/gemstash/env.rb +0 -11
  12. data/lib/gemstash/gem_source/upstream_source.rb +15 -0
  13. data/lib/gemstash/logging.rb +14 -2
  14. data/lib/gemstash/man/gemstash-authorize.1 +21 -33
  15. data/lib/gemstash/man/gemstash-authorize.1.txt +20 -16
  16. data/lib/gemstash/man/gemstash-configuration.5 +61 -119
  17. data/lib/gemstash/man/gemstash-configuration.5.txt +58 -65
  18. data/lib/gemstash/man/gemstash-customize.7 +60 -103
  19. data/lib/gemstash/man/gemstash-customize.7.txt +52 -56
  20. data/lib/gemstash/man/gemstash-debugging.7 +11 -31
  21. data/lib/gemstash/man/gemstash-debugging.7.txt +8 -13
  22. data/lib/gemstash/man/gemstash-deploy.7 +15 -39
  23. data/lib/gemstash/man/gemstash-deploy.7.txt +18 -22
  24. data/lib/gemstash/man/gemstash-mirror.7 +10 -31
  25. data/lib/gemstash/man/gemstash-mirror.7.txt +6 -10
  26. data/lib/gemstash/man/gemstash-multiple-sources.7 +72 -44
  27. data/lib/gemstash/man/gemstash-multiple-sources.7.txt +66 -22
  28. data/lib/gemstash/man/gemstash-private-gems.7 +51 -102
  29. data/lib/gemstash/man/gemstash-private-gems.7.txt +35 -39
  30. data/lib/gemstash/man/gemstash-readme.7 +42 -88
  31. data/lib/gemstash/man/gemstash-readme.7.txt +43 -48
  32. data/lib/gemstash/man/gemstash-setup.1 +13 -33
  33. data/lib/gemstash/man/gemstash-setup.1.txt +13 -17
  34. data/lib/gemstash/man/gemstash-start.1 +5 -29
  35. data/lib/gemstash/man/gemstash-start.1.txt +6 -14
  36. data/lib/gemstash/man/gemstash-status.1 +5 -23
  37. data/lib/gemstash/man/gemstash-status.1.txt +6 -10
  38. data/lib/gemstash/man/gemstash-stop.1 +5 -23
  39. data/lib/gemstash/man/gemstash-stop.1.txt +6 -10
  40. data/lib/gemstash/man/gemstash-version.1 +4 -24
  41. data/lib/gemstash/man/gemstash-version.1.txt +3 -7
  42. data/lib/gemstash/migrations/05_authorization_names.rb +10 -0
  43. data/lib/gemstash/upstream.rb +33 -2
  44. data/lib/gemstash/version.rb +1 -1
  45. data/lib/gemstash.rb +1 -0
  46. metadata +35 -14
@@ -1,29 +1,12 @@
1
1
  <!-- Automatically generated by Pandoc -->
2
- .\" Automatically generated by Pandoc 3.1
2
+ .\" Automatically generated by Pandoc 3.1.8
3
3
  .\"
4
- .\" Define V font for inline verbatim, using C font in formats
5
- .\" that render this, and otherwise B font.
6
- .ie "\f[CB]x\f[]"x" \{\
7
- . ftr V B
8
- . ftr VI BI
9
- . ftr VB B
10
- . ftr VBI BI
11
- .\}
12
- .el \{\
13
- . ftr V CR
14
- . ftr VI CI
15
- . ftr VB CB
16
- . ftr VBI CBI
17
- .\}
18
4
  .TH "gemstash-configuration" "5" "October 13, 2015" "" ""
19
- .hy
20
5
  .SH Name
21
- .PP
22
6
  gemstash-configuration
23
7
  .SH Synopsis
24
8
  .IP
25
- .nf
26
- \f[C]
9
+ .EX
27
10
  # \[ti]/.gemstash/config.yml
28
11
  ---
29
12
  :base_path: \[dq]/var/gemstash\[dq]
@@ -41,11 +24,9 @@ gemstash-configuration
41
24
  :protected_fetch: true
42
25
  :fetch_timeout: 10
43
26
  :log_file: gemstash.log
44
- \f[R]
45
- .fi
27
+ .EE
46
28
  .SH Base Path
47
- .PP
48
- \f[V]:base_path\f[R]
29
+ \f[CR]:base_path\f[R]
49
30
  .PP
50
31
  Specifies where to store local files like the server log, cached gem
51
32
  files, and the database (when using SQLite).
@@ -53,136 +34,111 @@ If the default is being used, the directory will be created if it does
53
34
  not exist.
54
35
  Any other directory needs to be created ahead of time and be writable to
55
36
  the Gemstash server process.
56
- Specifying the \f[V]:base_path\f[R] via \f[V]gemstash setup\f[R] will
37
+ Specifying the \f[CR]:base_path\f[R] via \f[CR]gemstash setup\f[R] will
57
38
  create the directory for you.
58
39
  .SS Default value
59
- .PP
60
- \f[V]\[ti]/.gemstash\f[R]
40
+ \f[CR]\[ti]/.gemstash\f[R]
61
41
  .SS Valid values
62
- .PP
63
42
  Any valid path
64
43
  .SH Cache Type
65
- .PP
66
- \f[V]:cache_type\f[R]
44
+ \f[CR]:cache_type\f[R]
67
45
  .PP
68
46
  Specifies how to cache values other than gem files (such as gem
69
47
  dependencies).
70
- \f[V]memory\f[R] will use an in memory cache while \f[V]memcached\f[R]
48
+ \f[CR]memory\f[R] will use an in memory cache while \f[CR]memcached\f[R]
71
49
  will point to 1 or more Memcached servers.
72
- Use the \f[V]:memcached_servers\f[R] configuration key for specifying
50
+ Use the \f[CR]:memcached_servers\f[R] configuration key for specifying
73
51
  where the Memcached server(s) are.
74
52
  .SS Default value
75
- .PP
76
- \f[V]memory\f[R]
53
+ \f[CR]memory\f[R]
77
54
  .SS Valid values
78
- .PP
79
- \f[V]memory\f[R], \f[V]memcached\f[R]
55
+ \f[CR]memory\f[R], \f[CR]memcached\f[R]
80
56
  .SH Memcached Servers
81
- .PP
82
- \f[V]:memcached_servers\f[R]
57
+ \f[CR]:memcached_servers\f[R]
83
58
  .PP
84
59
  Specifies the Memcached servers to connect to when using
85
- \f[V]memcached\f[R] for the \f[V]:cache_type\f[R].
86
- Only used when \f[V]memcached\f[R] is used for \f[V]:cache_type\f[R].
60
+ \f[CR]memcached\f[R] for the \f[CR]:cache_type\f[R].
61
+ Only used when \f[CR]memcached\f[R] is used for \f[CR]:cache_type\f[R].
87
62
  .SS Default value
88
- .PP
89
- \f[V]localhost:11211\f[R]
63
+ \f[CR]localhost:11211\f[R]
90
64
  .SS Valid values
91
- .PP
92
65
  A comma delimited list of Memcached servers
93
66
  .SH DB Adapter
94
- .PP
95
- \f[V]:db_adapter\f[R]
67
+ \f[CR]:db_adapter\f[R]
96
68
  .PP
97
69
  Specifies what database adapter to use.
98
- When \f[V]sqlite3\f[R] is used, the database will be located at
99
- \f[V]gemstash.db\f[R] within the directory specified by
100
- \f[V]:base_path\f[R].
101
- The database will automatically be created when using \f[V]sqlite3\f[R].
102
- When \f[V]postgres\f[R], \f[V]mysql\f[R], or \f[V]mysql2\f[R] is used,
103
- the database to connect to must be specified in the \f[V]:db_url\f[R]
104
- configuration key.
70
+ When \f[CR]sqlite3\f[R] is used, the database will be located at
71
+ \f[CR]gemstash.db\f[R] within the directory specified by
72
+ \f[CR]:base_path\f[R].
73
+ The database will automatically be created when using
74
+ \f[CR]sqlite3\f[R].
75
+ When \f[CR]postgres\f[R], \f[CR]mysql\f[R], or \f[CR]mysql2\f[R] is
76
+ used, the database to connect to must be specified in the
77
+ \f[CR]:db_url\f[R] configuration key.
105
78
  The database must already be created when using anything other than
106
- \f[V]sqlite3\f[R].
79
+ \f[CR]sqlite3\f[R].
107
80
  .SS Default value
108
- .PP
109
- \f[V]sqlite3\f[R]
81
+ \f[CR]sqlite3\f[R]
110
82
  .SS Valid values
111
- .PP
112
- \f[V]sqlite3\f[R], \f[V]postgres\f[R], \f[V]mysql\f[R], \f[V]mysql2\f[R]
83
+ \f[CR]sqlite3\f[R], \f[CR]postgres\f[R], \f[CR]mysql\f[R],
84
+ \f[CR]mysql2\f[R]
113
85
  .SH DB URL
86
+ \f[CR]:db_url\f[R]
114
87
  .PP
115
- \f[V]:db_url\f[R]
116
- .PP
117
- Specifies the database to connect to when using \f[V]postgres\f[R],
118
- \f[V]mysql\f[R], or \f[V]mysql2\f[R] for the \f[V]:db_adapter\f[R].
119
- Only used when the \f[V]:db_adapter\f[R] is not \f[V]sqlite3\f[R].
88
+ Specifies the database to connect to when using \f[CR]postgres\f[R],
89
+ \f[CR]mysql\f[R], or \f[CR]mysql2\f[R] for the \f[CR]:db_adapter\f[R].
90
+ Only used when the \f[CR]:db_adapter\f[R] is not \f[CR]sqlite3\f[R].
120
91
  .SS Default value
121
- .PP
122
92
  None
123
93
  .SS Valid values
124
- .PP
125
94
  A valid database URL for the Sequel gem (http://sequel.jeremyevans.net/)
126
95
  .SH DB Connection Options
96
+ \f[CR]:db_connection_options\f[R]
127
97
  .PP
128
- \f[V]:db_connection_options\f[R]
129
- .PP
130
- Specifies additional \f[V]Sequel.connect\f[R] options to use.
98
+ Specifies additional \f[CR]Sequel.connect\f[R] options to use.
131
99
  Note that any options here are merged in with the default options, so
132
- you need not specify the \f[V]max_connections\f[R] if you customize this
133
- option.
100
+ you need not specify the \f[CR]max_connections\f[R] if you customize
101
+ this option.
134
102
  .SS Default value
135
- .PP
136
- \f[V]{ max_connections: 1 }\f[R] for \f[V]sqlite3\f[R] adapter,
137
- \f[V]{ max_connections: config[:puma_threads] + 1 }\f[R] for any other
103
+ \f[CR]{ max_connections: 1 }\f[R] for \f[CR]sqlite3\f[R] adapter,
104
+ \f[CR]{ max_connections: config[:puma_threads] + 1 }\f[R] for any other
138
105
  adapter.
139
106
  .SS Valid values
140
- .PP
141
107
  A valid connection options Hash for the
142
108
  Sequel.connect (http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html#label-General+connection+options)
143
109
  method.
144
110
  .SH Rubygems URL
145
- .PP
146
- \f[V]:rubygems_url\f[R]
111
+ \f[CR]:rubygems_url\f[R]
147
112
  .PP
148
113
  Specifies the default gem source URL.
149
- When any API endpoint is called without a \f[V]/private\f[R] or
150
- \f[V]/upstream/<url>\f[R] prefix, this URL will be used to fetch the
114
+ When any API endpoint is called without a \f[CR]/private\f[R] or
115
+ \f[CR]/upstream/<url>\f[R] prefix, this URL will be used to fetch the
151
116
  result.
152
117
  This value can be safely changed even if there are already gems stashed
153
118
  for the previous value.
154
119
  .SS Default value
155
- .PP
156
- \f[V]https://rubygems.org\f[R]
120
+ \f[CR]https://rubygems.org\f[R]
157
121
  .SS Valid values
158
- .PP
159
122
  A valid gem source URL
160
123
  .SH Ignore Gemfile source
161
- .PP
162
- \f[V]:ignore_gemfile_source\f[R]
124
+ \f[CR]:ignore_gemfile_source\f[R]
163
125
  .PP
164
126
  Ignore the source specified in Gemfile and always use
165
- \f[V]:rubygems_url\f[R] as gems upstream.
127
+ \f[CR]:rubygems_url\f[R] as gems upstream.
166
128
  .SS Default value
167
- .PP
168
- \f[V]false\f[R]
129
+ \f[CR]false\f[R]
169
130
  .SS Valid values
170
- .PP
171
- Boolean: \f[V]true\f[R] or \f[V]false\f[R]
131
+ Boolean: \f[CR]true\f[R] or \f[CR]false\f[R]
172
132
  .SH Puma Threads
173
- .PP
174
- \f[V]:puma_threads\f[R]
133
+ \f[CR]:puma_threads\f[R]
175
134
  .PP
176
135
  Specifies the number of threads used for the Gemstash server.
177
136
  .SS Default value
178
- .PP
179
- \f[V]16\f[R]
137
+ \f[CR]16\f[R]
180
138
  .SS Valid values
181
- .PP
182
- Integer value with a minimum of \f[V]1\f[R]
139
+ Integer value with a minimum of \f[CR]1\f[R]
183
140
  .SH Bind Address
184
- .PP
185
- \f[V]:bind\f[R]
141
+ \f[CR]:bind\f[R]
186
142
  .PP
187
143
  Specifies the binding used to start the Gemstash server.
188
144
  Keep in mind the user starting Gemstash needs to have access to bind in
@@ -190,52 +146,38 @@ this manner.
190
146
  For example, if you use a port below 1024, you will need to run Gemstash
191
147
  as the root user.
192
148
  .SS Default value
193
- .PP
194
- \f[V]tcp://0.0.0.0:9292\f[R]
149
+ \f[CR]tcp://0.0.0.0:9292\f[R]
195
150
  .SS Valid values
196
- .PP
197
151
  Any valid binding that is supported by
198
152
  Puma (https://github.com/puma/puma#binding-tcp--sockets)
199
153
  .SH Protected Fetch
200
- .PP
201
- \f[V]:protected_fetch\f[R]
154
+ \f[CR]:protected_fetch\f[R]
202
155
  .PP
203
156
  Tells Gemstash to authenticate via an API key before allowing the
204
157
  fetching of private gems and specs.
205
158
  The default behavior is to allow unauthenticated download of private
206
159
  gems and specs.
207
160
  .SS Default value
208
- .PP
209
- \f[V]false\f[R]
161
+ \f[CR]false\f[R]
210
162
  .SS Valid values
211
- .PP
212
- Boolean values \f[V]true\f[R] or \f[V]false\f[R]
163
+ Boolean values \f[CR]true\f[R] or \f[CR]false\f[R]
213
164
  .SH Fetch Timeout
214
- .PP
215
- \f[V]:fetch_timeout\f[R]
165
+ \f[CR]:fetch_timeout\f[R]
216
166
  .PP
217
167
  The timeout setting for fetching gems.
218
168
  Fetching gems over a slow connection may cause timeout errors.
219
169
  If you experience timeout errors, you may want to increase this value.
220
- The default is \f[V]20\f[R] seconds.
170
+ The default is \f[CR]20\f[R] seconds.
221
171
  .SS Default value
222
- .PP
223
- \f[V]20\f[R]
172
+ \f[CR]20\f[R]
224
173
  .SS Valid values
225
- .PP
226
- Integer value with a minimum of \f[V]1\f[R]
174
+ Integer value with a minimum of \f[CR]1\f[R]
227
175
  .SH Log File
228
- .PP
229
- \f[V]:log_file\f[R]
176
+ \f[CR]:log_file\f[R]
230
177
  .PP
231
178
  Indicates the name of the file to use for logging.
232
179
  The file will be placed in the base path.
233
180
  .SS Default value
234
- .PP
235
- \f[V]server.log\f[R]
181
+ \f[CR]server.log\f[R]
236
182
  .SS Valid values
237
- .PP
238
- Any valid file name, or \f[V]:stdout\f[R] to log to \f[V]$stdout\f[R]
239
- .PP
240
- \f[I]Note: Using \f[VI]:stdout\f[I] for the \f[VI]:log_file\f[I]
241
- requires running with \f[VI]--no-daemonize\f[I].\f[R]
183
+ Any valid file name, or \f[CR]:stdout\f[R] to log to \f[CR]$stdout\f[R]
@@ -1,6 +1,4 @@
1
- gemstash-configuration(5) gemstash-configuration(5)
2
-
3
-
1
+ 4mgemstash-configuration24m(5) 4mgemstash-configuration24m(5)
4
2
 
5
3
  <!-- Automatically generated by Pandoc -->
6
4
 
@@ -27,69 +25,69 @@ gemstash-configuration(5) gemstash-configuration(5)
27
25
  :log_file: gemstash.log
28
26
 
29
27
  1mBase Path0m
30
- 1m:base_path0m
28
+ :base_path
31
29
 
32
30
  Specifies where to store local files like the server log, cached gem
33
31
  files, and the database (when using SQLite). If the default is being
34
32
  used, the directory will be created if it does not exist. Any other
35
33
  directory needs to be created ahead of time and be writable to the Gem-
36
- stash server process. Specifying the 1m:base_path 22mvia 1mgemstash setup0m
34
+ stash server process. Specifying the :base_path via gemstash setup
37
35
  will create the directory for you.
38
36
 
39
37
  1mDefault value0m
40
- 1m~/.gemstash0m
38
+ ~/.gemstash
41
39
 
42
40
  1mValid values0m
43
41
  Any valid path
44
42
 
45
43
  1mCache Type0m
46
- 1m:cache_type0m
44
+ :cache_type
47
45
 
48
- Specifies how to cache values other than gem files (such as gem depen-
49
- dencies). 1mmemory 22mwill use an in memory cache while 1mmemcached 22mwill
50
- point to 1 or more Memcached servers. Use the 1m:memcached_servers 22mcon-
46
+ Specifies how to cache values other than gem files (such as gem depen-
47
+ dencies). memory will use an in memory cache while memcached will
48
+ point to 1 or more Memcached servers. Use the :memcached_servers con-
51
49
  figuration key for specifying where the Memcached server(s) are.
52
50
 
53
51
  1mDefault value0m
54
- 1mmemory0m
52
+ memory
55
53
 
56
54
  1mValid values0m
57
- 1mmemory22m, 1mmemcached0m
55
+ memory, memcached
58
56
 
59
57
  1mMemcached Servers0m
60
- 1m:memcached_servers0m
58
+ :memcached_servers
61
59
 
62
- Specifies the Memcached servers to connect to when using 1mmemcached 22mfor
63
- the 1m:cache_type22m. Only used when 1mmemcached 22mis used for 1m:cache_type22m.
60
+ Specifies the Memcached servers to connect to when using memcached for
61
+ the :cache_type. Only used when memcached is used for :cache_type.
64
62
 
65
63
  1mDefault value0m
66
- 1mlocalhost:112110m
64
+ localhost:11211
67
65
 
68
66
  1mValid values0m
69
67
  A comma delimited list of Memcached servers
70
68
 
71
69
  1mDB Adapter0m
72
- 1m:db_adapter0m
70
+ :db_adapter
73
71
 
74
- Specifies what database adapter to use. When 1msqlite3 22mis used, the
75
- database will be located at 1mgemstash.db 22mwithin the directory specified
76
- by 1m:base_path22m. The database will automatically be created when using
77
- 1msqlite322m. When 1mpostgres22m, 1mmysql22m, or 1mmysql2 22mis used, the database to con-
78
- nect to must be specified in the 1m:db_url 22mconfiguration key. The data-
79
- base must already be created when using anything other than 1msqlite322m.
72
+ Specifies what database adapter to use. When sqlite3 is used, the
73
+ database will be located at gemstash.db within the directory specified
74
+ by :base_path. The database will automatically be created when using
75
+ sqlite3. When postgres, mysql, or mysql2 is used, the database to con-
76
+ nect to must be specified in the :db_url configuration key. The data-
77
+ base must already be created when using anything other than sqlite3.
80
78
 
81
79
  1mDefault value0m
82
- 1msqlite30m
80
+ sqlite3
83
81
 
84
82
  1mValid values0m
85
- 1msqlite322m, 1mpostgres22m, 1mmysql22m, 1mmysql20m
83
+ sqlite3, postgres, mysql, mysql2
86
84
 
87
85
  1mDB URL0m
88
- 1m:db_url0m
86
+ :db_url
89
87
 
90
- Specifies the database to connect to when using 1mpostgres22m, 1mmysql22m, or
91
- 1mmysql2 22mfor the 1m:db_adapter22m. Only used when the 1m:db_adapter 22mis not
92
- 1msqlite322m.
88
+ Specifies the database to connect to when using postgres, mysql, or
89
+ mysql2 for the :db_adapter. Only used when the :db_adapter is not
90
+ sqlite3.
93
91
 
94
92
  1mDefault value0m
95
93
  None
@@ -99,15 +97,15 @@ gemstash-configuration(5) gemstash-configuration(5)
99
97
  vans.net/)
100
98
 
101
99
  1mDB Connection Options0m
102
- 1m:db_connection_options0m
100
+ :db_connection_options
103
101
 
104
- Specifies additional 1mSequel.connect 22moptions to use. Note that any op-
102
+ Specifies additional Sequel.connect options to use. Note that any op-
105
103
  tions here are merged in with the default options, so you need not
106
- specify the 1mmax_connections 22mif you customize this option.
104
+ specify the max_connections if you customize this option.
107
105
 
108
106
  1mDefault value0m
109
- 1m{ max_connections: 1 } 22mfor 1msqlite3 22madapter, 1m{ max_connections: con-0m
110
- 1mfig[:puma_threads] + 1 } 22mfor any other adapter.
107
+ { max_connections: 1 } for sqlite3 adapter, { max_connections: con-
108
+ fig[:puma_threads] + 1 } for any other adapter.
111
109
 
112
110
  1mValid values0m
113
111
  A valid connection options Hash for the Sequel.connect (http://se-
@@ -115,98 +113,93 @@ gemstash-configuration(5) gemstash-configuration(5)
115
113
  General+connection+options) method.
116
114
 
117
115
  1mRubygems URL0m
118
- 1m:rubygems_url0m
116
+ :rubygems_url
119
117
 
120
- Specifies the default gem source URL. When any API endpoint is called
121
- without a 1m/private 22mor 1m/upstream/<url> 22mprefix, this URL will be used to
122
- fetch the result. This value can be safely changed even if there are
118
+ Specifies the default gem source URL. When any API endpoint is called
119
+ without a /private or /upstream/<url> prefix, this URL will be used to
120
+ fetch the result. This value can be safely changed even if there are
123
121
  already gems stashed for the previous value.
124
122
 
125
123
  1mDefault value0m
126
- 1mhttps://rubygems.org0m
124
+ https://rubygems.org
127
125
 
128
126
  1mValid values0m
129
127
  A valid gem source URL
130
128
 
131
129
  1mIgnore Gemfile source0m
132
- 1m:ignore_gemfile_source0m
130
+ :ignore_gemfile_source
133
131
 
134
- Ignore the source specified in Gemfile and always use 1m:rubygems_url 22mas
132
+ Ignore the source specified in Gemfile and always use :rubygems_url as
135
133
  gems upstream.
136
134
 
137
135
  1mDefault value0m
138
- 1mfalse0m
136
+ false
139
137
 
140
138
  1mValid values0m
141
- Boolean: 1mtrue 22mor 1mfalse0m
139
+ Boolean: true or false
142
140
 
143
141
  1mPuma Threads0m
144
- 1m:puma_threads0m
142
+ :puma_threads
145
143
 
146
144
  Specifies the number of threads used for the Gemstash server.
147
145
 
148
146
  1mDefault value0m
149
- 1m160m
147
+ 16
150
148
 
151
149
  1mValid values0m
152
- Integer value with a minimum of 1m10m
150
+ Integer value with a minimum of 1
153
151
 
154
152
  1mBind Address0m
155
- 1m:bind0m
153
+ :bind
156
154
 
157
- Specifies the binding used to start the Gemstash server. Keep in mind
155
+ Specifies the binding used to start the Gemstash server. Keep in mind
158
156
  the user starting Gemstash needs to have access to bind in this manner.
159
157
  For example, if you use a port below 1024, you will need to run Gem-
160
158
  stash as the root user.
161
159
 
162
160
  1mDefault value0m
163
- 1mtcp://0.0.0.0:92920m
161
+ tcp://0.0.0.0:9292
164
162
 
165
163
  1mValid values0m
166
164
  Any valid binding that is supported by Puma
167
165
  (https://github.com/puma/puma#binding-tcp--sockets)
168
166
 
169
167
  1mProtected Fetch0m
170
- 1m:protected_fetch0m
168
+ :protected_fetch
171
169
 
172
170
  Tells Gemstash to authenticate via an API key before allowing the
173
171
  fetching of private gems and specs. The default behavior is to allow
174
172
  unauthenticated download of private gems and specs.
175
173
 
176
174
  1mDefault value0m
177
- 1mfalse0m
175
+ false
178
176
 
179
177
  1mValid values0m
180
- Boolean values 1mtrue 22mor 1mfalse0m
178
+ Boolean values true or false
181
179
 
182
180
  1mFetch Timeout0m
183
- 1m:fetch_timeout0m
181
+ :fetch_timeout
184
182
 
185
183
  The timeout setting for fetching gems. Fetching gems over a slow con-
186
184
  nection may cause timeout errors. If you experience timeout errors,
187
- you may want to increase this value. The default is 1m20 22mseconds.
185
+ you may want to increase this value. The default is 20 seconds.
188
186
 
189
187
  1mDefault value0m
190
- 1m200m
188
+ 20
191
189
 
192
190
  1mValid values0m
193
- Integer value with a minimum of 1m10m
191
+ Integer value with a minimum of 1
194
192
 
195
193
  1mLog File0m
196
- 1m:log_file0m
194
+ :log_file
197
195
 
198
196
  Indicates the name of the file to use for logging. The file will be
199
197
  placed in the base path.
200
198
 
201
199
  1mDefault value0m
202
- 1mserver.log0m
200
+ server.log
203
201
 
204
202
  1mValid values0m
205
- Any valid file name, or 1m:stdout 22mto log to 1m$stdout0m
206
-
207
- 4mNote:24m 4mUsing24m 4m1m:stdout24m 4m22mfor24m 4mthe24m 4m1m:log_file24m 4m22mrequires24m 4mrunning24m 4mwith24m 4m1m--no-daemo-0m
208
- 4m1mnize22m.0m
209
-
210
-
203
+ Any valid file name, or :stdout to log to $stdout
211
204
 
212
- October 13, 2015 gemstash-configuration(5)
205
+ October 13, 2015 4mgemstash-configuration24m(5)