my_help 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.gitignore +1 -0
  4. data/.rspec +2 -0
  5. data/Gemfile +1 -0
  6. data/README.md +1 -1
  7. data/Rakefile +35 -12
  8. data/exe/{todo_help → my_todo} +1 -1
  9. data/hikis/diff_against_org-mode.hiki +34 -0
  10. data/hikis/tmp.org +20 -0
  11. data/lib/.emacs_help.rb.swp +0 -0
  12. data/lib/daddygongon/my_todo.yml +31 -0
  13. data/lib/emacs_help.rb +15 -0
  14. data/lib/emacs_help.rb~ +137 -0
  15. data/lib/my_help/test.rb +3 -0
  16. data/lib/my_help/version.rb +1 -1
  17. data/lib/my_help.rb +1 -1
  18. data/lib/my_todo/my_todo.rb +7 -0
  19. data/lib/my_todo/my_todo.rb~ +7 -0
  20. data/lib/specific_help.rb +42 -11
  21. data/lib/specific_help.rb~ +193 -0
  22. data/lib/todo.rb +1 -0
  23. data/lib/todo.rb~ +1 -0
  24. data/lor +0 -0
  25. data/my_help.gemspec +4 -2
  26. data/my_help.wiki/Home.md +1 -1
  27. data/my_help.wiki/README_ja.md +1 -1
  28. data/my_help_nasu/.DS_Store +0 -0
  29. data/my_help_nasu/.gitignore +1 -0
  30. data/my_help_nasu/Rakefile +422 -0
  31. data/my_help_nasu/code.hiki +285 -0
  32. data/my_help_nasu/consideration.hiki +8 -0
  33. data/my_help_nasu/features.hiki +185 -0
  34. data/my_help_nasu/figs/my_help_nasu.001.jpeg +0 -0
  35. data/my_help_nasu/figs/my_help_nasu.001.jpg +0 -0
  36. data/my_help_nasu/figs/my_help_nasu1.001.jpg +0 -0
  37. data/my_help_nasu/head2.tex +9 -0
  38. data/my_help_nasu/hiki_help.yml +53 -0
  39. data/my_help_nasu/introduction.hiki +29 -0
  40. data/my_help_nasu/key_bind_mi +1 -0
  41. data/my_help_nasu/latex_dir/.gitignore +1 -0
  42. data/my_help_nasu/latex_dir/Rakefile +420 -0
  43. data/my_help_nasu/latex_dir/code.aux +25 -0
  44. data/my_help_nasu/latex_dir/code.tex +271 -0
  45. data/my_help_nasu/latex_dir/consideration.aux +22 -0
  46. data/my_help_nasu/latex_dir/consideration.tex +9 -0
  47. data/my_help_nasu/latex_dir/features.aux +31 -0
  48. data/my_help_nasu/latex_dir/features.tex +173 -0
  49. data/my_help_nasu/latex_dir/head.tex +9 -0
  50. data/my_help_nasu/latex_dir/hiki_help.yml +53 -0
  51. data/my_help_nasu/latex_dir/introduction.aux +22 -0
  52. data/my_help_nasu/latex_dir/introduction.tex +23 -0
  53. data/my_help_nasu/latex_dir/jlisting.sty +216 -0
  54. data/my_help_nasu/latex_dir/jlisting.tex +216 -0
  55. data/my_help_nasu/latex_dir/latex_dir/head.tex +9 -0
  56. data/my_help_nasu/latex_dir/latex_dir/jlisting.tex +216 -0
  57. data/my_help_nasu/latex_dir/latex_dir/pre.tex +36 -0
  58. data/my_help_nasu/latex_dir/method_bdd.aux +26 -0
  59. data/my_help_nasu/latex_dir/method_bdd.tex +28 -0
  60. data/my_help_nasu/latex_dir/method_cucumber.aux +28 -0
  61. data/my_help_nasu/latex_dir/method_cucumber.log +28 -0
  62. data/my_help_nasu/latex_dir/method_cucumber.tex +205 -0
  63. data/my_help_nasu/latex_dir/method_usage.aux +28 -0
  64. data/my_help_nasu/latex_dir/method_usage.tex +76 -0
  65. data/my_help_nasu/latex_dir/my_help_nasu.aux +12 -0
  66. data/my_help_nasu/latex_dir/my_help_nasu.log +328 -0
  67. data/my_help_nasu/latex_dir/my_help_nasu.pdf +0 -0
  68. data/my_help_nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
  69. data/my_help_nasu/latex_dir/my_help_nasu.tex +74 -0
  70. data/my_help_nasu/latex_dir/my_help_nasu.toc +32 -0
  71. data/my_help_nasu/latex_dir/overview.aux +21 -0
  72. data/my_help_nasu/latex_dir/overview.tex +12 -0
  73. data/my_help_nasu/latex_dir/pre.tex +36 -0
  74. data/my_help_nasu/method_bdd.hiki +24 -0
  75. data/my_help_nasu/method_cucumber.hiki +184 -0
  76. data/my_help_nasu/method_usage.hiki +69 -0
  77. data/my_help_nasu/my_help_nasu/.DS_Store +0 -0
  78. data/my_help_nasu/my_help_nasu/my_help_nasu.001.jpeg +0 -0
  79. data/my_help_nasu/my_help_nasu.hiki +32 -0
  80. data/my_help_nasu/my_help_nasu.key +0 -0
  81. data/my_help_nasu/overview.hiki +11 -0
  82. data/tmp.txt +2 -0
  83. metadata +104 -10
  84. data/lib/daddygongon/git_help.yml +0 -30
  85. data/lib/daddygongon/todo_help.yml +0 -58
@@ -0,0 +1,328 @@
1
+ This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (utf8.euc) (TeX Live 2016) (preloaded format=platex 2017.1.26) 8 FEB 2017 11:38
2
+ entering extended mode
3
+ restricted \write18 enabled.
4
+ file:line:error style messages enabled.
5
+ %&-line parsing enabled.
6
+ **my_help_nasu.tex
7
+ (./my_help_nasu.tex
8
+ pLaTeX2e <2016/11/29> (based on LaTeX2e <2017/01/01>)
9
+ Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
10
+ (/usr/local/texlive/2016/texmf-dist/tex/platex/jsclasses/jsarticle.cls
11
+ Document Class: jsarticle 2017/01/13 okumura, texjporg
12
+ \jsc@mpt=\dimen118
13
+ \jsc@mmm=\dimen119
14
+ \jsc@smallskipamount=\skip41
15
+ LaTeX Info: Redefining \rmfamily on input line 468.
16
+ LaTeX Info: Redefining \sffamily on input line 471.
17
+ LaTeX Info: Redefining \ttfamily on input line 474.
18
+ LaTeX Info: Redefining \textmc on input line 477.
19
+ LaTeX Info: Redefining \textgt on input line 479.
20
+ \symmincho=\mathgroup4
21
+ LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'
22
+ (Font) JY1/mc/m/n --> JY1/gt/m/n on input line 540.
23
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
24
+ (Font) scaled to size 9.60999pt on input line 731.
25
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
26
+ (Font) scaled to size 9.60999pt on input line 731.
27
+ \fullwidth=\dimen120
28
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
29
+ (Font) scaled to size 7.68799pt on input line 883.
30
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
31
+ (Font) scaled to size 7.68799pt on input line 883.
32
+ \c@part=\count82
33
+ \c@section=\count83
34
+ \c@subsection=\count84
35
+ \c@subsubsection=\count85
36
+ \c@paragraph=\count86
37
+ \c@subparagraph=\count87
38
+ \@abstractbox=\box41
39
+ \c@figure=\count88
40
+ \c@table=\count89
41
+ \abovecaptionskip=\skip42
42
+ \belowcaptionskip=\skip43
43
+ \jsc@tocl@width=\dimen121
44
+ \@lnumwidth=\dimen122
45
+ \bibindent=\dimen123
46
+ (/usr/local/texlive/2016/texmf-dist/tex/platex/jsclasses/jslogo.sty
47
+ Package: jslogo 2016/07/14 okumura, texjporg
48
+ LaTeX Info: Redefining \TeX on input line 94.
49
+ LaTeX Info: Redefining \LaTeX on input line 147.
50
+ LaTeX Info: Redefining \LaTeXe on input line 200.
51
+ )
52
+ \heisei=\count90
53
+ )
54
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
55
+ Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
56
+
57
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty
58
+ Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
59
+ \KV@toks@=\toks15
60
+ )
61
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
62
+ Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)
63
+
64
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty
65
+ Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
66
+ )
67
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
68
+ File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
69
+ )
70
+ Package graphics Info: Driver file: dvipdfmx.def on input line 99.
71
+
72
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
73
+ File: dvipdfmx.def 2016/07/11 v4.12 LaTeX color/graphics driver for dvipdfmx (L
74
+ 3/ChoF)
75
+ ))
76
+ \Gin@req@height=\dimen124
77
+ \Gin@req@width=\dimen125
78
+ )
79
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/color.sty
80
+ Package: color 2016/07/10 v1.1e Standard LaTeX Color (DPC)
81
+
82
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg
83
+ File: color.cfg 2016/01/02 v1.6 sample color configuration
84
+ )
85
+ Package color Info: Driver file: dvipdfmx.def on input line 147.
86
+
87
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/dvipsnam.def
88
+ File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
89
+ ))
90
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/listings.sty
91
+ \lst@mode=\count91
92
+ \lst@gtempboxa=\box42
93
+ \lst@token=\toks16
94
+ \lst@length=\count92
95
+ \lst@currlwidth=\dimen126
96
+ \lst@column=\count93
97
+ \lst@pos=\count94
98
+ \lst@lostspace=\dimen127
99
+ \lst@width=\dimen128
100
+ \lst@newlines=\count95
101
+ \lst@lineno=\count96
102
+ \lst@maxwidth=\dimen129
103
+
104
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstmisc.sty
105
+ File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz)
106
+ \c@lstnumber=\count97
107
+ \lst@skipnumbers=\count98
108
+ \lst@framebox=\box43
109
+ )
110
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/listings.cfg
111
+ File: listings.cfg 2015/06/04 1.6 listings configuration
112
+ ))
113
+ Package: listings 2015/06/04 1.6 (Carsten Heinz)
114
+
115
+ (./jlisting.sty
116
+ Package: jlisting 2006/02/20 0.2 (Thor)
117
+ \lst@nextchar=\count99
118
+ \lst@inputfile=\read1
119
+ ) (./my_help_nasu.aux (./overview.aux) (./introduction.aux)
120
+ (./method_bdd.aux
121
+
122
+ LaTeX Warning: Label `default' multiply defined.
123
+
124
+ ) (./method_cucumber.aux
125
+
126
+ LaTeX Warning: Label `default' multiply defined.
127
+
128
+ ) (./method_usage.aux) (./code.aux) (./features.aux) (./consideration.aux))
129
+ \openout1 = `my_help_nasu.aux'.
130
+
131
+ LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 38.
132
+ LaTeX Font Info: ... okay on input line 38.
133
+ LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 38.
134
+ LaTeX Font Info: ... okay on input line 38.
135
+ LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 38.
136
+ LaTeX Font Info: ... okay on input line 38.
137
+ LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 38.
138
+ LaTeX Font Info: ... okay on input line 38.
139
+ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 38.
140
+ LaTeX Font Info: ... okay on input line 38.
141
+ LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 38.
142
+ LaTeX Font Info: ... okay on input line 38.
143
+ LaTeX Font Info: Checking defaults for JY1/mc/m/n on input line 38.
144
+ LaTeX Font Info: ... okay on input line 38.
145
+ LaTeX Font Info: Checking defaults for JT1/mc/m/n on input line 38.
146
+ LaTeX Font Info: ... okay on input line 38.
147
+ \c@lstlisting=\count100
148
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
149
+ (Font) scaled to size 16.60605pt on input line 44.
150
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
151
+ (Font) scaled to size 16.60605pt on input line 44.
152
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
153
+ (Font) scaled to size 11.53198pt on input line 44.
154
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
155
+ (Font) scaled to size 11.53198pt on input line 44.
156
+ LaTeX Font Info: External font `cmex10' loaded for size
157
+ (Font) <12> on input line 44.
158
+ LaTeX Font Info: External font `cmex10' loaded for size
159
+ (Font) <8> on input line 44.
160
+ LaTeX Font Info: External font `cmex10' loaded for size
161
+ (Font) <6> on input line 44.
162
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
163
+ (Font) scaled to size 5.76599pt on input line 44.
164
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
165
+ (Font) scaled to size 9.60999pt on input line 46.
166
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
167
+ (Font) scaled to size 9.60999pt on input line 46.
168
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
169
+ (Font) scaled to size 13.83836pt on input line 46.
170
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
171
+ (Font) scaled to size 13.83836pt on input line 46.
172
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
173
+ (Font) scaled to size 13.83836pt on input line 46.
174
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
175
+ (Font) scaled to size 13.83836pt on input line 46.
176
+
177
+ (./my_help_nasu.toc [1
178
+
179
+ ]
180
+ LaTeX Font Info: External font `cmex10' loaded for size
181
+ (Font) <7> on input line 3.
182
+ LaTeX Font Info: External font `cmex10' loaded for size
183
+ (Font) <5> on input line 3.
184
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
185
+ (Font) scaled to size 6.72699pt on input line 3.
186
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
187
+ (Font) scaled to size 4.805pt on input line 3.
188
+ [2])
189
+ \tf@toc=\write3
190
+ \openout3 = `my_help_nasu.toc'.
191
+
192
+ (./my_help_nasu.toc)
193
+ \tf@toc=\write4
194
+ \openout4 = `my_help_nasu.toc'.
195
+
196
+ [3]
197
+ \openout2 = `overview.aux'.
198
+
199
+ (./overview.tex) [4
200
+
201
+ ]
202
+ \openout2 = `introduction.aux'.
203
+
204
+
205
+ (./introduction.tex) [5
206
+
207
+
208
+ ] [6
209
+
210
+ ]
211
+ \openout2 = `method_bdd.aux'.
212
+
213
+ (./method_bdd.tex
214
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
215
+ (Font) scaled to size 11.53198pt on input line 2.
216
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
217
+ (Font) scaled to size 11.53198pt on input line 2.
218
+ File: ../figs/./my_help_nasu.001.jpg Graphic file (type eps)
219
+
220
+ <../figs/./my_help_nasu.001.jpg>
221
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
222
+ (Font) scaled to size 8.64899pt on input line 11.
223
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
224
+ (Font) scaled to size 8.64899pt on input line 11.
225
+ File: ../figs/./my_help_nasu1.001.jpg Graphic file (type eps)
226
+ <../figs/./my_help_nasu1.001.jpg> [7
227
+
228
+ ] [8])
229
+ [9]
230
+ \openout2 = `method_cucumber.aux'.
231
+
232
+ (./method_cucumber.tex
233
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
234
+ File: lstlang1.sty 2015/06/04 1.6 listings language file
235
+ )
236
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
237
+ File: lstlang2.sty 2015/06/04 1.6 listings language file
238
+ )
239
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
240
+ (Font) scaled to size 6.72699pt on input line 15.
241
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
242
+ (Font) scaled to size 6.72699pt on input line 15.
243
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
244
+ (Font) scaled to size 6.72699pt on input line 15.
245
+
246
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
247
+ File: lstlang1.sty 2015/06/04 1.6 listings language file
248
+ ) [10
249
+
250
+
251
+ ]
252
+ Overfull \hbox (14.18181pt too wide) in paragraph at lines 60--84
253
+ [][][]
254
+ []
255
+
256
+ [11] [12] [13]
257
+ LaTeX Font Info: Font shape `JT1/gt/bx/n' in size <7> not available
258
+ (Font) Font shape `JT1/gt/m/n' tried instead on input line 160.
259
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
260
+ (Font) scaled to size 6.72699pt on input line 160.
261
+ LaTeX Font Info: Font shape `JY1/gt/bx/n' in size <7> not available
262
+ (Font) Font shape `JY1/gt/m/n' tried instead on input line 160.
263
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
264
+ (Font) scaled to size 6.72699pt on input line 160.
265
+ LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <7> not available
266
+ (Font) Font shape `OT1/cmtt/m/n' tried instead on input line 160.
267
+ ) [14]
268
+ \openout2 = `method_usage.aux'.
269
+
270
+ (./method_usage.tex [15
271
+
272
+
273
+ ]
274
+ Overfull \hbox (21.92567pt too wide) in paragraph at lines 57--58
275
+ []\OT1/cmr/m/n/10 (upstream \JY1/mc/m/n/10 がなければ\OT1/cmr/m/n/10 )git re-mo
276
+ te add up-stream git@github.com:gitname/my[]help.git
277
+ []
278
+
279
+ ) [16]
280
+ \openout2 = `code.aux'.
281
+
282
+ (./code.tex [17
283
+
284
+
285
+ ] [18] [19] [20] [21]) [22]
286
+ \openout2 = `features.aux'.
287
+
288
+ (./features.tex
289
+ Underfull \hbox (badness 1072) in paragraph at lines 15--15
290
+ [] \OT1/cmtt/m/n/10 --remove [item] remove [item] back up
291
+ \JY1/gt/m/n/10 してる
292
+ []
293
+
294
+ [23
295
+
296
+
297
+ ] [24] [25]) [26]
298
+ \openout2 = `consideration.aux'.
299
+
300
+ (./consideration.tex) [27
301
+
302
+
303
+ ]
304
+ Overfull \hbox (71.53888pt too wide) in paragraph at lines 72--73
305
+ []\OT1/cmr/m/n/10 Shigeot R. Nishi-tani, my[]help \JY1/mc/m/n/10 の \OT1/cmr/m/
306
+ n/10 README, \OT1/cmtt/m/n/10 http://www.rubydoc.info/gems/my_help/0.4.3\OT1/cm
307
+ r/m/n/10 .
308
+ []
309
+
310
+ [28
311
+
312
+ ] (./my_help_nasu.aux (./overview.aux) (./introduction.aux)
313
+ (./method_bdd.aux) (./method_cucumber.aux) (./method_usage.aux) (./code.aux)
314
+ (./features.aux) (./consideration.aux))
315
+
316
+ LaTeX Warning: There were multiply-defined labels.
317
+
318
+ )
319
+ Here is how much of TeX's memory you used:
320
+ 2663 strings out of 493683
321
+ 37098 string characters out of 6149653
322
+ 224603 words of memory out of 5000000
323
+ 6179 multiletter control sequences out of 15000+600000
324
+ 15673 words of font info for 72 fonts, out of 8000000 for 9000
325
+ 934 hyphenation exceptions out of 8191
326
+ 35i,9n,51p,811b,1683s stack positions out of 5000i,500n,10000p,200000b,80000s
327
+
328
+ Output written on my_help_nasu.dvi (28 pages, 141132 bytes).
@@ -0,0 +1,74 @@
1
+ \documentclass[12pt,a4paper]{jsarticle}
2
+ \usepackage[dvipdfmx]{graphicx}
3
+ \usepackage[dvipdfmx]{color}
4
+ \usepackage{listings,jlisting}% to use japanese correctly, install jlistings.
5
+ \lstset{
6
+ basicstyle={\ttfamily},
7
+ identifierstyle={},
8
+ commentstyle={\color{red}},
9
+ keywordstyle={\bfseries\color{cyan}},
10
+ ndkeywordstyle={},
11
+ stringstyle={\color{blue}},
12
+ frame={tb},
13
+ breaklines=true,
14
+ numbers=left,
15
+ numberstyle={},
16
+ stepnumber=1,
17
+ numbersep=1zw,
18
+ xrightmargin=0zw,
19
+ xleftmargin=3zw,
20
+ lineskip=0.5ex
21
+ }
22
+ \lstdefinestyle{customCsh}{
23
+ language={csh},
24
+ numbers=none,
25
+ }
26
+ \lstdefinestyle{customRuby}{
27
+ language={ruby},
28
+ numbers=left,
29
+ }
30
+ \lstdefinestyle{customTex}{
31
+ language={tex},
32
+ numbers=none,
33
+ }
34
+ \lstdefinestyle{customJava}{
35
+ language={java},
36
+ numbers=left,
37
+ }
38
+ \begin{document}
39
+ \title{卒業論文\\
40
+ \vspace{4cm} ユーザメモソフトmy\_helpの開発}
41
+ \author{ 関西学院大学 理工学部 情報科学科\\\\2535 那須比呂貴}
42
+ \date{\vspace{3cm} 2017年 3月\\
43
+ \vspace{3cm} 指導教員  西谷 滋人 教授}
44
+ \maketitle
45
+ \setcounter{tocdepth}{4}
46
+ \tableofcontents
47
+
48
+ \tableofcontents
49
+ \include{overview}
50
+ \include{introduction}
51
+ \section{先行研究,方法}
52
+ ここでは、本研究で使用するcucumberの特徴について詳述する.
53
+ cucumberはビヘイビア駆動開発(bdd)を実現するフレームワークである.
54
+ まずはbddの現れた背景や現状を示した後、Cucumberの記述の具体例を示して,
55
+ その特徴を詳述する.
56
+ さらに,本研究の対象となるmy\_helpの振る舞いを使用法とともに示す.
57
+
58
+ \include{method_bdd}
59
+ \include{method_cucumber}
60
+ \include{method_usage}
61
+ \include{code}
62
+ \include{features}
63
+ \include{consideration}
64
+ \section{謝辞}
65
+  本研究を進めるにあたり,様々なご指導を頂きました西谷滋人教授先生に深く感謝いたします.
66
+ また,本研究の進行に伴い,様々な助力,知識の供給を頂きました西谷研究室の同輩,先輩方に心から感謝の意を示します.
67
+ 本当にありがとうございました.
68
+
69
+ \section{参考文献}
70
+ \begin{enumerate}
71
+ \item The RSpec Book 著者:David Chelimsky Dave Astels Zach Dennis ほか 翻訳:株式会社クイーブ 監修:株式会社クイーブ 角谷信太郎 豊田裕司.
72
+ \item Shigeot R. Nishitani, my\_helpのREADME, \verb|http://www.rubydoc.info/gems/my_help/0.4.3|.
73
+ \end{enumerate}
74
+ \end{document}
@@ -0,0 +1,32 @@
1
+ \contentsline {section}{\numberline {1}序論}{5}
2
+ \contentsline {section}{\numberline {2}先行研究,方法}{6}
3
+ \contentsline {subsection}{\numberline {2.1}RSpecとBDDについて}{7}
4
+ \contentsline {subsection}{\numberline {2.2}Cucumberについて}{10}
5
+ \contentsline {subsubsection}{\numberline {2.2.1}概要}{10}
6
+ \contentsline {subsubsection}{\numberline {2.2.2}features}{10}
7
+ \contentsline {subsubsection}{\numberline {2.2.3}Cucumber,RSpecインストール}{11}
8
+ \contentsline {subsubsection}{\numberline {2.2.4}ディレクトリー構造と使用手順}{12}
9
+ \contentsline {subsection}{\numberline {2.3}my\_helpについて}{15}
10
+ \contentsline {subsubsection}{\numberline {2.3.1}使用法}{15}
11
+ \contentsline {subsubsection}{\numberline {2.3.2}my\_helpのインストール}{15}
12
+ \contentsline {subsubsection}{\numberline {2.3.3}githubに行ってdaddygongonのmy\_helpをforkする}{15}
13
+ \contentsline {subsubsection}{\numberline {2.3.4}my\_helpの更新}{16}
14
+ \contentsline {paragraph}{gitを用いてmy\_helpを新しくする.}{16}
15
+ \contentsline {paragraph}{次にとってきた.ymlを\nobreakspace {}/.my\_helpにcpする.}{16}
16
+ \contentsline {section}{\numberline {3}結果}{17}
17
+ \contentsline {subsection}{\numberline {3.1}todoの更新マニュアル}{17}
18
+ \contentsline {subsection}{\numberline {3.2}Cucumber}{17}
19
+ \contentsline {subsection}{\numberline {3.3}RSpec}{21}
20
+ \contentsline {subsubsection}{\numberline {3.3.1}featuresでの記述とその意味}{23}
21
+ \contentsline {subsubsection}{\numberline {3.3.2}my\_helpのfeatures}{23}
22
+ \contentsline {paragraph}{--add [item]}{23}
23
+ \contentsline {paragraph}{全てのhelp画面の表示}{24}
24
+ \contentsline {paragraph}{過去にバックアップしてあるitemのリストの表示}{24}
25
+ \contentsline {paragraph}{helpコマンドの追加や削除,編集をするファイルの開示}{24}
26
+ \contentsline {paragraph}{specific\_helpのitemの消去}{25}
27
+ \contentsline {paragraph}{itemのバックアップ}{25}
28
+ \contentsline {paragraph}{hikiへのformatの変更}{25}
29
+ \contentsline {paragraph}{todoの更新}{25}
30
+ \contentsline {section}{\numberline {4}考察}{27}
31
+ \contentsline {section}{\numberline {5}謝辞}{28}
32
+ \contentsline {section}{\numberline {6}参考文献}{28}
@@ -0,0 +1,21 @@
1
+ \relax
2
+ \@setckpt{overview}{
3
+ \setcounter{page}{5}
4
+ \setcounter{equation}{0}
5
+ \setcounter{enumi}{0}
6
+ \setcounter{enumii}{0}
7
+ \setcounter{enumiii}{0}
8
+ \setcounter{enumiv}{0}
9
+ \setcounter{footnote}{0}
10
+ \setcounter{mpfootnote}{0}
11
+ \setcounter{part}{0}
12
+ \setcounter{section}{0}
13
+ \setcounter{subsection}{0}
14
+ \setcounter{subsubsection}{0}
15
+ \setcounter{paragraph}{0}
16
+ \setcounter{subparagraph}{0}
17
+ \setcounter{figure}{0}
18
+ \setcounter{table}{0}
19
+ \setcounter{lstnumber}{1}
20
+ \setcounter{lstlisting}{0}
21
+ }
@@ -0,0 +1,12 @@
1
+  本研究ではユーザメモソフトであるmy\_helpの開発において,BDDを取り入れることによりmy\_helpの向上を目指した.
2
+
3
+  my\_helpとは,ユーザメモソフトであり,user独自のhelpを作成・提供することができるgemである.
4
+ しかし,これらの仕様方法を初心者が理解すること自体に時間がかかってしまうという問題点がある.
5
+ そこで,cucumberを用いる.cucumberはRubyでBDDを実践するために用意された環境である.
6
+ したがって,cucumberは振る舞いをチェックするために記述するが,そこで日本語がそのまま用いることが可能であるため,その記述を読むだけで,my\_helpの振る舞いを理解することが可能となる.
7
+
8
+  cucumberは実際にソフトウェア開発の現場において,ユーザーとプログラマがお互いの意思疎通のために利用される.
9
+ テストはプログラムがチェックしてくれるが,記述は人間が理解できなければならない.
10
+ この二つの要求を同時に叶えようというのが,BDDの基本思想である.
11
+ これらは,研究室の知識を定着させることに有益であり,研究室の役に立つと考えた.
12
+
@@ -0,0 +1,36 @@
1
+ \documentclass[10pt,a4j]{article}
2
+
3
+ \def\Vec#1{\mbox{\boldmath $#1$}}
4
+ \usepackage[dvipdfmx]{graphicx}
5
+
6
+ \setlength{\textheight}{275mm}
7
+ \headheight 5mm
8
+ \topmargin -20mm
9
+ \textwidth 160mm
10
+ \textheight 250mm
11
+ \oddsidemargin -0mm
12
+ \evensidemargin -5mm
13
+
14
+ \pagestyle{empty}
15
+ \makeatletter
16
+ \def\@maketitle{%
17
+ \newpage\null
18
+ \vskip 2em%
19
+ \begin{center}%
20
+ \let\footnote\thanks
21
+ {\large\bf \@title \par}%
22
+ \vskip 1.5em%
23
+ {\large\bf \@author \par}%
24
+ \vskip 1.5em%
25
+ {\small \@date}%
26
+ \end{center}%
27
+ }
28
+ \makeatother
29
+
30
+ %\documentclass[10pt, a4j]{article}
31
+ %%\usepackage{citesort}
32
+ \usepackage{amssymb}
33
+ \usepackage[dvipdfmx]{graphicx}% 図を入れるときに使用
34
+ \usepackage{wrapfig}% 図の周りに本文を流し込みたいときに使用
35
+ \usepackage{subfigure}
36
+ \usepackage{here}
@@ -0,0 +1,24 @@
1
+ {{toc}}
2
+
3
+ !RSpecとBDDについて
4
+
5
+ ビヘイビア駆動開発(Behaviour-Driven Development : BDD)は,テスト駆動開発(Test-Driven Development : TDD)の工程への理解を深め,それをうまく説明しようとして始まりました.TDDの持つ単語のイメージが構造のテストを中心とするべしというのに対して,BDDはソフトの振る舞いに中心をおきなさいという意図があります.この違いが,初めに考えるべきテストの性質を変化させ,構造ではなく振る舞いを中心にテストを構築するという意識をもたせてくれます.
6
+
7
+ さらに,ソフトの中で,オブジェクト同士がコミュニケーションをとるように,実世界において開発チームやテストチーム,あるいはドキュメントチーム間のコミュニケーションの取り方をシステムで提供しようというのがBDDのフレームワークです.CucumberとRSpecはこれを実現する一つのシステムとして提供されています.
8
+
9
+ RSpecとCucumberの関係を図に示しました.これは,RSpec本から書き写した図です[1, pp.9].RSpecでテストを書くと一つ一つのfunctionあるいはmethodレベルでRed, Green, Refactoringを行うべしという意図があります.一方で,もっと大きな枠組み,つまりシステムレベルでもこれらのステップは必要です.ところが,それをRSpecで書くのには無理があります.このレベルのテスト記述をしやすくするのが,Cucumberです.そこでもRed, Green, Refactoringが必要で,そこでサイクルが回ることを意図しています.
10
+
11
+ !!!caption:RSpecとCucumberのRed-Green-Refactoringサイクル間の関係.
12
+ {{attach_view(my_help_nasu.001.jpg,my_help_nasu)}}
13
+
14
+ BDDの基本的な考え方は次の通りまとめられています.
15
+ ""BDDの目的は,ソフトウェアが使われる状況を説明するための言語を単純化することで,ソフトウェア開発チームのコミュニケーションを後押しすることです.つまり,あるコンテキストで(Given),あるイベントが発生すると(When),ある結果が期待されます(Then).BDDにおけるGiven, When, Thenの3つの単語は,アプリケーションやオブジェクトを,それらの振る舞いに関係なく表現するために使われる単純な単語です.ビジネスアナリスト,テスト担当者,開発者は皆,それらをすぐに理解します.これらの単語はCucumberの言語に直接埋め込まれています[1, pp.3-6].
16
+
17
+ 手順を書き直すと次の通りです.
18
+
19
+ !!!caption:RSpecとCucumberの手順.
20
+ {{attach_view(my_help_nasu1.001.jpg,my_help_nasu)}}
21
+
22
+ まずCucumberで一つのシナリオに焦点を当てて,その振る舞いを記述するfeatureを書きます.一つずつつぶしていくのがこつです.一つのfeatureが書けたら、次に,それぞれfeatureを実現するステップに分けて仕様を決めて行きます.これはTDDのred green refactoringの前に行う作業,「仕様をきめる」に対応しています.このプロセスが終了したら,RSpecに行きます.
23
+ RSpecでは実際にテストコードを書き,ここでもred, green, refactoringを行います.
24
+ RSpecが成功したら,Cucumberのrefactoringを行います.