gemstash 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/lib/gemstash.rb +0 -1
  4. data/lib/gemstash/authorization.rb +1 -5
  5. data/lib/gemstash/cli.rb +4 -4
  6. data/lib/gemstash/cli/authorize.rb +4 -2
  7. data/lib/gemstash/cli/base.rb +5 -4
  8. data/lib/gemstash/cli/setup.rb +2 -2
  9. data/lib/gemstash/cli/status.rb +1 -1
  10. data/lib/gemstash/cli/stop.rb +1 -1
  11. data/lib/gemstash/configuration.rb +3 -2
  12. data/lib/gemstash/gem_pusher.rb +7 -0
  13. data/lib/gemstash/gem_source/private_source.rb +0 -4
  14. data/lib/gemstash/gem_source/upstream_source.rb +0 -4
  15. data/lib/gemstash/health.rb +3 -3
  16. data/lib/gemstash/logging.rb +2 -4
  17. data/lib/gemstash/man/gemstash-authorize.1.txt +53 -33
  18. data/lib/gemstash/man/gemstash-configuration.5.txt +10 -141
  19. data/lib/gemstash/man/gemstash-customize.7.txt +66 -175
  20. data/lib/gemstash/man/gemstash-debugging.7.txt +54 -17
  21. data/lib/gemstash/man/gemstash-deploy.7.txt +51 -44
  22. data/lib/gemstash/man/gemstash-mirror.7.txt +53 -20
  23. data/lib/gemstash/man/gemstash-multiple-sources.7.txt +48 -53
  24. data/lib/gemstash/man/gemstash-private-gems.7.txt +15 -117
  25. data/lib/gemstash/man/gemstash-readme.7.txt +10 -126
  26. data/lib/gemstash/man/gemstash-setup.1.txt +54 -28
  27. data/lib/gemstash/man/gemstash-start.1.txt +56 -16
  28. data/lib/gemstash/man/gemstash-status.1.txt +57 -13
  29. data/lib/gemstash/man/gemstash-stop.1.txt +57 -13
  30. data/lib/gemstash/man/gemstash-version.1.txt +57 -12
  31. data/lib/gemstash/migrations/01_gem_dependencies.rb +2 -2
  32. data/lib/gemstash/migrations/03_cached_gems.rb +1 -1
  33. data/lib/gemstash/migrations/04_health_tests.rb +8 -0
  34. data/lib/gemstash/puma.rb +1 -1
  35. data/lib/gemstash/storage.rb +1 -0
  36. data/lib/gemstash/upstream.rb +2 -2
  37. data/lib/gemstash/version.rb +1 -1
  38. data/lib/gemstash/web.rb +5 -4
  39. metadata +20 -28
  40. data/lib/gemstash/gem_unyanker.rb +0 -67
  41. data/lib/gemstash/man/gemstash-authorize.1 +0 -51
  42. data/lib/gemstash/man/gemstash-configuration.5 +0 -215
  43. data/lib/gemstash/man/gemstash-customize.7 +0 -280
  44. data/lib/gemstash/man/gemstash-debugging.7 +0 -34
  45. data/lib/gemstash/man/gemstash-deploy.7 +0 -72
  46. data/lib/gemstash/man/gemstash-mirror.7 +0 -40
  47. data/lib/gemstash/man/gemstash-multiple-sources.7 +0 -89
  48. data/lib/gemstash/man/gemstash-private-gems.7 +0 -244
  49. data/lib/gemstash/man/gemstash-readme.7 +0 -234
  50. data/lib/gemstash/man/gemstash-setup.1 +0 -43
  51. data/lib/gemstash/man/gemstash-start.1 +0 -26
  52. data/lib/gemstash/man/gemstash-status.1 +0 -20
  53. data/lib/gemstash/man/gemstash-stop.1 +0 -20
  54. data/lib/gemstash/man/gemstash-version.1 +0 -22
@@ -1,43 +0,0 @@
1
- .\" Automatically generated by Pandoc 1.19.2.1
2
- .\"
3
- .TH "gemstash\-setup" "1" "October 9, 2015" "" ""
4
- .hy
5
- .SH NAME
6
- .PP
7
- gemstash\-setup \- Customize your Gemstash configuration interactively
8
- .SH SYNOPSIS
9
- .PP
10
- \f[C]gemstash\ setup\ [\-\-redo]\ [\-\-debug]\ [\-\-config\-file\ FILE]\f[]
11
- .SH DESCRIPTION
12
- .PP
13
- Customize your Gemstash configuration interactively.
14
- This will save your config file, but only if a few checks pass after
15
- you\[aq]ve provided your answers.
16
- .SS USAGE
17
- .IP
18
- .nf
19
- \f[C]
20
- gemstash\ setup
21
- gemstash\ setup\ \-\-redo
22
- gemstash\ setup\ \-\-config\-file\ <file>
23
- \f[]
24
- .fi
25
- .SH OPTIONS
26
- .IP \[bu] 2
27
- \f[C]\-\-redo\f[]: Redo the configuration.
28
- This does nothing the first time \f[C]gemstash\ setup\f[] is run.
29
- If you want to change your configuration using \f[C]gemstash\ setup\f[]
30
- after you\[aq]ve run it before, you must provide this option, otherwise
31
- Gemstash will simply indicate your setup is complete.
32
- .IP \[bu] 2
33
- \f[C]\-\-debug\f[]: Output additional information if one of the checks
34
- at the end of setup fails.
35
- This will do nothing if all checks pass.
36
- .IP \[bu] 2
37
- \f[C]\-\-config\-file\ FILE\f[]: Specify the config file to write to.
38
- Without this option, your configuration will be written to
39
- \f[C]~/.gemstash/config.yml\f[].
40
- If you write to a custom location, you will need to pass the
41
- \f[C]\-\-config\-file\f[] option to all Gemstash commands.
42
- If you plan to use ERB in your config file (gemstash help customize.7),
43
- you might want to use \f[C]~/.gemstash/config.yml.erb\f[].
@@ -1,26 +0,0 @@
1
- .\" Automatically generated by Pandoc 1.19.2.1
2
- .\"
3
- .TH "gemstash\-start" "1" "October 9, 2015" "" ""
4
- .hy
5
- .SH NAME
6
- .PP
7
- gemstash\-start \- Starts the Gemstash server
8
- .SH SYNOPSIS
9
- .PP
10
- \f[C]gemstash\ start\ [\-\-no\-daemonize]\ [\-\-config\-file\ FILE]\f[]
11
- .SH DESCRIPTION
12
- .PP
13
- Starts the Gemstash server.
14
- .SH OPTIONS
15
- .IP \[bu] 2
16
- \f[C]\-\-config\-file\ FILE\f[]: Specify the config file to use.
17
- If you aren\[aq]t using the default config file at
18
- \f[C]~/.gemstash/config.yml\f[] or
19
- \f[C]~/.gemstash/config.yml.erb\f[] (gemstash help customize.7), then
20
- you must specify the config file via this option.
21
- .IP \[bu] 2
22
- \f[C]\-\-no\-daemonize\f[]: The Gemstash server daemonizes itself by
23
- default.
24
- Provide this option to instead run the server until \f[C]Ctrl\-C\f[] is
25
- typed.
26
- When not daemonized, the log will be output to standard out.
@@ -1,20 +0,0 @@
1
- .\" Automatically generated by Pandoc 1.19.2.1
2
- .\"
3
- .TH "gemstash\-status" "1" "October 28, 2015" "" ""
4
- .hy
5
- .SH NAME
6
- .PP
7
- gemstash\-status \- Checks status of the Gemstash server
8
- .SH SYNOPSIS
9
- .PP
10
- \f[C]gemstash\ status\ [\-\-config\-file\ FILE]\f[]
11
- .SH DESCRIPTION
12
- .PP
13
- Checks status of the Gemstash server.
14
- .SH OPTIONS
15
- .IP \[bu] 2
16
- \f[C]\-\-config\-file\ FILE\f[]: Specify the config file to use.
17
- If you aren\[aq]t using the default config file at
18
- \f[C]~/.gemstash/config.yml\f[] or
19
- \f[C]~/.gemstash/config.yml.erb\f[] (gemstash help customize.7), then
20
- you must specify the config file via this option.
@@ -1,20 +0,0 @@
1
- .\" Automatically generated by Pandoc 1.19.2.1
2
- .\"
3
- .TH "gemstash\-stop" "1" "October 9, 2015" "" ""
4
- .hy
5
- .SH NAME
6
- .PP
7
- gemstash\-stop \- Stops the Gemstash server
8
- .SH SYNOPSIS
9
- .PP
10
- \f[C]gemstash\ stop\ [\-\-config\-file\ FILE]\f[]
11
- .SH DESCRIPTION
12
- .PP
13
- Stops the Gemstash server.
14
- .SH OPTIONS
15
- .IP \[bu] 2
16
- \f[C]\-\-config\-file\ FILE\f[]: Specify the config file to use.
17
- If you aren\[aq]t using the default config file at
18
- \f[C]~/.gemstash/config.yml\f[] or
19
- \f[C]~/.gemstash/config.yml.erb\f[] (gemstash help customize.7), then
20
- you must specify the config file via this option.
@@ -1,22 +0,0 @@
1
- .\" Automatically generated by Pandoc 1.19.2.1
2
- .\"
3
- .TH "gemstash\-version" "1" "December 14, 2015" "" ""
4
- .hy
5
- .SH NAME
6
- .PP
7
- gemstash\-version \- Show what version of Gemstash you are using
8
- .SH SYNOPSIS
9
- .PP
10
- \f[C]gemstash\ version\f[]
11
- .SH DESCRIPTION
12
- .PP
13
- Show what version of Gemstash you are using.
14
- .SS USAGE
15
- .IP
16
- .nf
17
- \f[C]
18
- gemstash\ version
19
- gemstash\ \-\-version
20
- gemstash\ \-v
21
- \f[]
22
- .fi