cabbage_doc 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cabbage_doc.rb +2 -0
  3. data/lib/cabbage_doc/action.rb +14 -3
  4. data/lib/cabbage_doc/authentication.rb +8 -2
  5. data/lib/cabbage_doc/configuration.rb +10 -1
  6. data/lib/cabbage_doc/controller.rb +41 -9
  7. data/lib/cabbage_doc/version.rb +1 -1
  8. data/lib/cabbage_doc/web_helper.rb +8 -0
  9. data/web/public/css/application.css +16 -1
  10. data/web/views/action.haml +1 -0
  11. data/web/views/controller.haml +4 -1
  12. data/web/views/documentation.haml +2 -1
  13. metadata +2 -41
  14. data/web/public/css/highlight/atelier-cave-dark.css +0 -83
  15. data/web/public/css/highlight/atelier-cave-light.css +0 -85
  16. data/web/public/css/highlight/atelier-dune-dark.css +0 -69
  17. data/web/public/css/highlight/atelier-dune-light.css +0 -69
  18. data/web/public/css/highlight/atelier-estuary-dark.css +0 -84
  19. data/web/public/css/highlight/atelier-estuary-light.css +0 -84
  20. data/web/public/css/highlight/atelier-forest-dark.css +0 -69
  21. data/web/public/css/highlight/atelier-forest-light.css +0 -69
  22. data/web/public/css/highlight/atelier-heath-dark.css +0 -69
  23. data/web/public/css/highlight/atelier-heath-light.css +0 -69
  24. data/web/public/css/highlight/atelier-lakeside-dark.css +0 -69
  25. data/web/public/css/highlight/atelier-lakeside-light.css +0 -69
  26. data/web/public/css/highlight/atelier-plateau-dark.css +0 -84
  27. data/web/public/css/highlight/atelier-plateau-light.css +0 -84
  28. data/web/public/css/highlight/atelier-savanna-dark.css +0 -84
  29. data/web/public/css/highlight/atelier-savanna-light.css +0 -84
  30. data/web/public/css/highlight/atelier-seaside-dark.css +0 -69
  31. data/web/public/css/highlight/atelier-seaside-light.css +0 -69
  32. data/web/public/css/highlight/atelier-sulphurpool-dark.css +0 -69
  33. data/web/public/css/highlight/atelier-sulphurpool-light.css +0 -69
  34. data/web/public/css/highlight/brown-paper.css +0 -64
  35. data/web/public/css/highlight/color-brewer.css +0 -71
  36. data/web/public/css/highlight/dark.css +0 -63
  37. data/web/public/css/highlight/far.css +0 -71
  38. data/web/public/css/highlight/gruvbox-dark.css +0 -108
  39. data/web/public/css/highlight/gruvbox-light.css +0 -108
  40. data/web/public/css/highlight/hopscotch.css +0 -83
  41. data/web/public/css/highlight/kimbie.dark.css +0 -74
  42. data/web/public/css/highlight/kimbie.light.css +0 -74
  43. data/web/public/css/highlight/ocean.css +0 -74
  44. data/web/public/css/highlight/paraiso-dark.css +0 -72
  45. data/web/public/css/highlight/paraiso-light.css +0 -72
  46. data/web/public/css/highlight/pojoaque.css +0 -83
  47. data/web/public/css/highlight/tomorrow-night-blue.css +0 -75
  48. data/web/public/css/highlight/tomorrow-night-bright.css +0 -74
  49. data/web/public/css/highlight/tomorrow-night-eighties.css +0 -74
  50. data/web/public/css/highlight/tomorrow-night.css +0 -75
  51. data/web/public/css/highlight/tomorrow.css +0 -72
  52. data/web/public/css/highlight/xt256.css +0 -92
@@ -1,85 +0,0 @@
1
- /* Base16 Atelier Cave Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Cave Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #655f6d;
9
- }
10
-
11
- /* Atelier-Cave Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-name,
21
- .hljs-selector-id,
22
- .hljs-selector-class {
23
- color: #be4678;
24
- }
25
-
26
- /* Atelier-Cave Orange */
27
- .hljs-number,
28
- .hljs-meta,
29
- .hljs-built_in,
30
- .hljs-builtin-name,
31
- .hljs-literal,
32
- .hljs-type,
33
- .hljs-params {
34
- color: #aa573c;
35
- }
36
-
37
- /* Atelier-Cave Green */
38
- .hljs-string,
39
- .hljs-symbol,
40
- .hljs-bullet {
41
- color: #2a9292;
42
- }
43
-
44
- /* Atelier-Cave Blue */
45
- .hljs-title,
46
- .hljs-section {
47
- color: #576ddb;
48
- }
49
-
50
- /* Atelier-Cave Purple */
51
- .hljs-keyword,
52
- .hljs-selector-tag {
53
- color: #955ae7;
54
- }
55
-
56
- .hljs-deletion,
57
- .hljs-addition {
58
- color: #19171c;
59
- display: inline-block;
60
- width: 100%;
61
- }
62
-
63
- .hljs-deletion {
64
- background-color: #be4678;
65
- }
66
-
67
- .hljs-addition {
68
- background-color: #2a9292;
69
- }
70
-
71
- .hljs {
72
- display: block;
73
- overflow-x: auto;
74
- background: #efecf4;
75
- color: #585260;
76
- padding: 0.5em;
77
- }
78
-
79
- .hljs-emphasis {
80
- font-style: italic;
81
- }
82
-
83
- .hljs-strong {
84
- font-weight: bold;
85
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Dune Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Dune Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #999580;
9
- }
10
-
11
- /* Atelier-Dune Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #d73737;
23
- }
24
-
25
- /* Atelier-Dune Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #b65611;
34
- }
35
-
36
- /* Atelier-Dune Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #60ac39;
41
- }
42
-
43
- /* Atelier-Dune Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #6684e1;
47
- }
48
-
49
- /* Atelier-Dune Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #b854d4;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #20201d;
59
- color: #a6a28c;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Dune Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Dune Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #7d7a68;
9
- }
10
-
11
- /* Atelier-Dune Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #d73737;
23
- }
24
-
25
- /* Atelier-Dune Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #b65611;
34
- }
35
-
36
- /* Atelier-Dune Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #60ac39;
41
- }
42
-
43
- /* Atelier-Dune Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #6684e1;
47
- }
48
-
49
- /* Atelier-Dune Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #b854d4;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #fefbec;
59
- color: #6e6b5e;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,84 +0,0 @@
1
- /* Base16 Atelier Estuary Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Estuary Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #878573;
9
- }
10
-
11
- /* Atelier-Estuary Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ba6236;
23
- }
24
-
25
- /* Atelier-Estuary Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #ae7313;
34
- }
35
-
36
- /* Atelier-Estuary Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #7d9726;
41
- }
42
-
43
- /* Atelier-Estuary Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #36a166;
47
- }
48
-
49
- /* Atelier-Estuary Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #5f9182;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #22221b;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #ba6236;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #7d9726;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #22221b;
74
- color: #929181;
75
- padding: 0.5em;
76
- }
77
-
78
- .hljs-emphasis {
79
- font-style: italic;
80
- }
81
-
82
- .hljs-strong {
83
- font-weight: bold;
84
- }
@@ -1,84 +0,0 @@
1
- /* Base16 Atelier Estuary Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Estuary Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #6c6b5a;
9
- }
10
-
11
- /* Atelier-Estuary Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ba6236;
23
- }
24
-
25
- /* Atelier-Estuary Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #ae7313;
34
- }
35
-
36
- /* Atelier-Estuary Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #7d9726;
41
- }
42
-
43
- /* Atelier-Estuary Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #36a166;
47
- }
48
-
49
- /* Atelier-Estuary Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #5f9182;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #22221b;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #ba6236;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #7d9726;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #f4f3ec;
74
- color: #5f5e4e;
75
- padding: 0.5em;
76
- }
77
-
78
- .hljs-emphasis {
79
- font-style: italic;
80
- }
81
-
82
- .hljs-strong {
83
- font-weight: bold;
84
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Forest Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Forest Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #9c9491;
9
- }
10
-
11
- /* Atelier-Forest Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #f22c40;
23
- }
24
-
25
- /* Atelier-Forest Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #df5320;
34
- }
35
-
36
- /* Atelier-Forest Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #7b9726;
41
- }
42
-
43
- /* Atelier-Forest Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #407ee7;
47
- }
48
-
49
- /* Atelier-Forest Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6666ea;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #1b1918;
59
- color: #a8a19f;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }