benry-cmdopt 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +29 -3
- data/MIT-LICENSE +21 -0
- data/README.md +445 -119
- data/Rakefile.rb +6 -87
- data/benry-cmdopt.gemspec +23 -21
- data/doc/benry-cmdopt.html +650 -0
- data/doc/css/style.css +160 -0
- data/lib/benry/cmdopt.rb +568 -439
- data/task/common-task.rb +138 -0
- data/task/package-task.rb +72 -0
- data/task/readme-task.rb +125 -0
- data/task/test-task.rb +81 -0
- data/test/cmdopt_test.rb +1361 -722
- metadata +22 -28
data/doc/css/style.css
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
body {
|
4
|
+
font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
|
5
|
+
color: #333;
|
6
|
+
line-height: 1.42857143;
|
7
|
+
background: #eef0f6;
|
8
|
+
margin-top: 0;
|
9
|
+
}
|
10
|
+
main {
|
11
|
+
max-width: 830px;
|
12
|
+
margin: 0 auto;
|
13
|
+
font-size: 16px;
|
14
|
+
color: #999;
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
h1 {
|
19
|
+
text-align: center;
|
20
|
+
margin: 0 0 30px 0;
|
21
|
+
padding: 50px 0 30px 0;
|
22
|
+
background: #39c;
|
23
|
+
color: #fff;
|
24
|
+
font-weight: normal;
|
25
|
+
font-size: 280%;
|
26
|
+
border-radius: 0 0 10px 10px;
|
27
|
+
}
|
28
|
+
h2 {
|
29
|
+
border: solid 0px #39c;
|
30
|
+
border-width: 0 0 0 15px;
|
31
|
+
padding: 20px 0 10px 15px;
|
32
|
+
font-size: 200%;
|
33
|
+
font-weight: normal;
|
34
|
+
color: #39c;
|
35
|
+
margin: 0 0 20px 0;
|
36
|
+
}
|
37
|
+
h3 {
|
38
|
+
color: #39c;
|
39
|
+
margin-top: 30px;
|
40
|
+
font-size: 180%;
|
41
|
+
font-weight: normal;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
section.section {
|
46
|
+
background: #fff;
|
47
|
+
border-radius: 10px;
|
48
|
+
padding: 30px 15px 30px 15px;
|
49
|
+
color: #333;
|
50
|
+
margin: 30px 0 30px 0;
|
51
|
+
}
|
52
|
+
section.subsection {
|
53
|
+
margin-top: 60px;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
pre, code, kbd, var, samp {
|
58
|
+
font-family: 'Courier New',Courier,Menlo,Monaco,Consolas,Meiryo,monospace,monospace;
|
59
|
+
}
|
60
|
+
pre {
|
61
|
+
border: solid 1px #ddd;
|
62
|
+
border-radius: 4px;
|
63
|
+
background: #eee;
|
64
|
+
Xbackground: #f6f6f6;
|
65
|
+
padding: 5px 10px;
|
66
|
+
color: #444;
|
67
|
+
word-break: break-all;
|
68
|
+
}
|
69
|
+
pre > strong {
|
70
|
+
font-weight: bold;
|
71
|
+
color: #900;
|
72
|
+
}
|
73
|
+
pre.language-terminal {
|
74
|
+
background: #333;
|
75
|
+
color: #fff;
|
76
|
+
border-color: #000;
|
77
|
+
}
|
78
|
+
pre.language-terminal > strong {
|
79
|
+
color: #f66;
|
80
|
+
}
|
81
|
+
code {
|
82
|
+
border: solid 1px #e9e9e9;
|
83
|
+
border-radius: 2px;
|
84
|
+
background: #f6f6f6;
|
85
|
+
padding: 1px 3px;
|
86
|
+
color: #444;
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
dt.bold {
|
91
|
+
font-weight: bold;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
/**
|
96
|
+
nav.nav {
|
97
|
+
}
|
98
|
+
ul.nav {
|
99
|
+
padding: 0;
|
100
|
+
border: solid 1px #39c;
|
101
|
+
border-width: 0 0 6px 0;
|
102
|
+
}
|
103
|
+
li.nav {
|
104
|
+
display: inline-block;
|
105
|
+
margin-left: 10px;
|
106
|
+
padding: 5px 30px;
|
107
|
+
font-size: large;
|
108
|
+
Xfont-weight: bold;
|
109
|
+
background: #fff;
|
110
|
+
border-radius: 5px 5px 0 0;
|
111
|
+
border: solid 1px #39c;
|
112
|
+
border-width: 1px 1px 0 1px;
|
113
|
+
}
|
114
|
+
li.nav > a {
|
115
|
+
color: #39c;
|
116
|
+
text-decoration: none;
|
117
|
+
}
|
118
|
+
li.nav > a:hover {
|
119
|
+
text-decoration: underline;
|
120
|
+
}
|
121
|
+
li.nav.curr {
|
122
|
+
background: #39c;
|
123
|
+
}
|
124
|
+
li.nav.curr > a {
|
125
|
+
color: #fff;
|
126
|
+
}
|
127
|
+
**/
|
128
|
+
nav.nav {
|
129
|
+
text-align: center;
|
130
|
+
}
|
131
|
+
ul.nav {
|
132
|
+
padding-left: 0;
|
133
|
+
display: inline-block;
|
134
|
+
margin: 0;
|
135
|
+
font-size: 0;
|
136
|
+
}
|
137
|
+
li.nav {
|
138
|
+
display: inline-block;
|
139
|
+
padding: 0 20px;
|
140
|
+
border: solid #39c;
|
141
|
+
border-width: 0 0 0 1px;
|
142
|
+
margin: 0;
|
143
|
+
background: #eef0f6;
|
144
|
+
}
|
145
|
+
li.nav:first-child {
|
146
|
+
border-width: 0 0 0 0;
|
147
|
+
}
|
148
|
+
li.nav > a {
|
149
|
+
font-size: large;
|
150
|
+
text-decoration: none;
|
151
|
+
color: #39c;
|
152
|
+
margin: 0;
|
153
|
+
}
|
154
|
+
li.nav > a:hover {
|
155
|
+
text-decoration: underline;
|
156
|
+
}
|
157
|
+
li.nav.curr > a {
|
158
|
+
font-weight: bold;
|
159
|
+
text-decoration: underline;
|
160
|
+
}
|