my_help 0.4.3 → 0.4.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.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/Rakefile +35 -12
- data/exe/{todo_help → my_todo} +1 -1
- data/hikis/diff_against_org-mode.hiki +34 -0
- data/hikis/tmp.org +20 -0
- data/lib/.emacs_help.rb.swp +0 -0
- data/lib/daddygongon/my_todo.yml +31 -0
- data/lib/emacs_help.rb +15 -0
- data/lib/emacs_help.rb~ +137 -0
- data/lib/my_help/test.rb +3 -0
- data/lib/my_help/version.rb +1 -1
- data/lib/my_help.rb +1 -1
- data/lib/my_todo/my_todo.rb +7 -0
- data/lib/my_todo/my_todo.rb~ +7 -0
- data/lib/specific_help.rb +42 -11
- data/lib/specific_help.rb~ +193 -0
- data/lib/todo.rb +1 -0
- data/lib/todo.rb~ +1 -0
- data/lor +0 -0
- data/my_help.gemspec +4 -2
- data/my_help.wiki/Home.md +1 -1
- data/my_help.wiki/README_ja.md +1 -1
- data/my_help_nasu/.DS_Store +0 -0
- data/my_help_nasu/.gitignore +1 -0
- data/my_help_nasu/Rakefile +422 -0
- data/my_help_nasu/code.hiki +285 -0
- data/my_help_nasu/consideration.hiki +8 -0
- data/my_help_nasu/features.hiki +185 -0
- data/my_help_nasu/figs/my_help_nasu.001.jpeg +0 -0
- data/my_help_nasu/figs/my_help_nasu.001.jpg +0 -0
- data/my_help_nasu/figs/my_help_nasu1.001.jpg +0 -0
- data/my_help_nasu/head2.tex +9 -0
- data/my_help_nasu/hiki_help.yml +53 -0
- data/my_help_nasu/introduction.hiki +29 -0
- data/my_help_nasu/key_bind_mi +1 -0
- data/my_help_nasu/latex_dir/.gitignore +1 -0
- data/my_help_nasu/latex_dir/Rakefile +420 -0
- data/my_help_nasu/latex_dir/code.aux +25 -0
- data/my_help_nasu/latex_dir/code.tex +271 -0
- data/my_help_nasu/latex_dir/consideration.aux +22 -0
- data/my_help_nasu/latex_dir/consideration.tex +9 -0
- data/my_help_nasu/latex_dir/features.aux +31 -0
- data/my_help_nasu/latex_dir/features.tex +173 -0
- data/my_help_nasu/latex_dir/head.tex +9 -0
- data/my_help_nasu/latex_dir/hiki_help.yml +53 -0
- data/my_help_nasu/latex_dir/introduction.aux +22 -0
- data/my_help_nasu/latex_dir/introduction.tex +23 -0
- data/my_help_nasu/latex_dir/jlisting.sty +216 -0
- data/my_help_nasu/latex_dir/jlisting.tex +216 -0
- data/my_help_nasu/latex_dir/latex_dir/head.tex +9 -0
- data/my_help_nasu/latex_dir/latex_dir/jlisting.tex +216 -0
- data/my_help_nasu/latex_dir/latex_dir/pre.tex +36 -0
- data/my_help_nasu/latex_dir/method_bdd.aux +26 -0
- data/my_help_nasu/latex_dir/method_bdd.tex +28 -0
- data/my_help_nasu/latex_dir/method_cucumber.aux +28 -0
- data/my_help_nasu/latex_dir/method_cucumber.log +28 -0
- data/my_help_nasu/latex_dir/method_cucumber.tex +205 -0
- data/my_help_nasu/latex_dir/method_usage.aux +28 -0
- data/my_help_nasu/latex_dir/method_usage.tex +76 -0
- data/my_help_nasu/latex_dir/my_help_nasu.aux +12 -0
- data/my_help_nasu/latex_dir/my_help_nasu.log +328 -0
- data/my_help_nasu/latex_dir/my_help_nasu.pdf +0 -0
- data/my_help_nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
- data/my_help_nasu/latex_dir/my_help_nasu.tex +74 -0
- data/my_help_nasu/latex_dir/my_help_nasu.toc +32 -0
- data/my_help_nasu/latex_dir/overview.aux +21 -0
- data/my_help_nasu/latex_dir/overview.tex +12 -0
- data/my_help_nasu/latex_dir/pre.tex +36 -0
- data/my_help_nasu/method_bdd.hiki +24 -0
- data/my_help_nasu/method_cucumber.hiki +184 -0
- data/my_help_nasu/method_usage.hiki +69 -0
- data/my_help_nasu/my_help_nasu/.DS_Store +0 -0
- data/my_help_nasu/my_help_nasu/my_help_nasu.001.jpeg +0 -0
- data/my_help_nasu/my_help_nasu.hiki +32 -0
- data/my_help_nasu/my_help_nasu.key +0 -0
- data/my_help_nasu/overview.hiki +11 -0
- data/tmp.txt +2 -0
- metadata +104 -10
- data/lib/daddygongon/git_help.yml +0 -30
- data/lib/daddygongon/todo_help.yml +0 -58
@@ -0,0 +1,184 @@
|
|
1
|
+
{{toc}}
|
2
|
+
!Cucumberについて
|
3
|
+
!!概要
|
4
|
+
Cucumberが提供するBDDの内容をまとめると
|
5
|
+
""BDDはフルスタックのアジャイル開発技法です.BDDはATDP(Acceptance Test-Driven Planning)と呼ばれるAcceptance TDDの一種を含め,エクストリームプログラミングからヒントを得ています.ATDPでは,顧客受け入れテストを導入し,それを主体にコードの開発を進めて行きます.それらは顧客と開発チームによる共同作業の結果であることが理想的です.開発チームによってテストが書かれた後,顧客がレビューと承認を行うこともあります.いずれにしても,それらのテストは顧客と向き合うものなので,顧客が理解できる言語とフォーマットで表現されていなければなりません.Cucumberを利用すれば,そのための言語とフォーマットを手に入れることができます.Cucumberは,アプリケーションの機能とサンプルシナリオを説明するテキストを読み取り,そのシナリオの手順に従って開発中のコードとのやり取りを自動化します[1, 7pp.].
|
6
|
+
と記されている.
|
7
|
+
|
8
|
+
!!features
|
9
|
+
Cucumberでは先の引用にある通り、振る舞いをシナリオとしてまず記述します.
|
10
|
+
次に,英語のfeaturesのひな形を示します.
|
11
|
+
<<< ruby
|
12
|
+
% cat ./featrues/sample_e.feature
|
13
|
+
Feature: Description of feature
|
14
|
+
|
15
|
+
Scenario: Description of scenario
|
16
|
+
Given I want to explain scenario
|
17
|
+
Then I investigate
|
18
|
+
When I know the meaning
|
19
|
+
>>>
|
20
|
+
|
21
|
+
ファイルの先頭で,
|
22
|
+
# language: ja
|
23
|
+
と記すと日本語でのkeywordが認識されます.下記にmy_todoに対するfeaturesファイルの具体例を示します.
|
24
|
+
<<< tcsh
|
25
|
+
# language: ja
|
26
|
+
|
27
|
+
機能: todoの更新を行う
|
28
|
+
todoは更新していくものであり,新しく書いたり終わったものを消したいので
|
29
|
+
バックアップをとって,過去のtodoを残しておく
|
30
|
+
|
31
|
+
シナリオ: コマンドを入力してtodoを更新していく
|
32
|
+
前提 todoを編集したい
|
33
|
+
もし "my_todo --edit"と入力する
|
34
|
+
ならば editが開かれる
|
35
|
+
かつ 自分のtodoを書き込む
|
36
|
+
|
37
|
+
シナリオ: コマンドを入力してバックアップをとる
|
38
|
+
前提 todoの編集が終わった
|
39
|
+
もし "my_todo --store [item]"と入力する
|
40
|
+
ならば itemのバックアップを取る
|
41
|
+
>>>
|
42
|
+
このようにFeature, Scenario, Given, Then, Whenなどのcucumberが解釈する大文字で始まる
|
43
|
+
keywordsに対して,それぞれ機能,シナリオ,前提,もし,ならばなどの単語があてられています.
|
44
|
+
この機能により,より自然な日本語でfeaturesを書くことができ,
|
45
|
+
顧客にもわかりやすく,開発者も書きやすくなっています。
|
46
|
+
|
47
|
+
featureファイルで用意されているkeywordは
|
48
|
+
cucumber --i18n LANG
|
49
|
+
によって表示される.LANG=ja, enに対しては下記の通りになっています.
|
50
|
+
|
51
|
+
|| keyword || ja(japanese) || en(english)
|
52
|
+
||^ feature||^ "フィーチャ", "機能" ||"Feature", "Business Need",
|
53
|
+
||"Ability" ||
|
54
|
+
|| background|| "背景"|| "Background" ||
|
55
|
+
|| scenario|| "シナリオ" || "Scenario" ||
|
56
|
+
||^^ scenario_outline || "シナリオアウトライン",||"Scenario Outline",
|
57
|
+
|| "シナリオテンプレート","テンプレ",||^ "Scenario Template" ||
|
58
|
+
|| "シナリオテンプレ"
|
59
|
+
|| examples|| "例", "サンプル" || "Examples", "Scenarios" ||
|
60
|
+
|| given ||"* ", "前提" || "* ", "Given " ||
|
61
|
+
|| when ||"* ", "もし" || "* ", "When "||
|
62
|
+
|| then || "* ", "ならば" || "* ", "Then "||
|
63
|
+
|| and || "* ", "かつ" || "* ", "And " ||
|
64
|
+
|| but || "* ", "しかし", "但し", "ただし"|| "* ", "But " ||
|
65
|
+
|| given (code) || "前提" || "Given" ||
|
66
|
+
|| when (code) || "もし" || "When" ||
|
67
|
+
|| then (code) || "ならば" || "Then" ||
|
68
|
+
|| and (code) || "かつ" || "And" ||
|
69
|
+
|| but (code) || "しかし", "但し","ただし" || "But" ||
|
70
|
+
|
71
|
+
!!Cucumber,RSpecインストール
|
72
|
+
まずrspecをgemでinstallする.
|
73
|
+
#gem install rspec --version 2.0.0
|
74
|
+
#rspec --help
|
75
|
+
と入力して
|
76
|
+
<<< tcsh
|
77
|
+
/Users/nasubi/nasu% rspec --help
|
78
|
+
Usage: rspec [options] [files or directories]
|
79
|
+
>>>
|
80
|
+
のような表示がされていればinstallができている.次に,cucumberをinstallする
|
81
|
+
#gem install cucumber --version 0.9.2
|
82
|
+
#cucumber --help
|
83
|
+
と入力して
|
84
|
+
<<< tcsh
|
85
|
+
cucumber --help
|
86
|
+
Usage: cucumber [options] [ [FILE|DIR|URL][:LINE[:LINE]*] ]+
|
87
|
+
>>>
|
88
|
+
のような表示がされていればinstallできている.
|
89
|
+
|
90
|
+
!!ディレクトリー構造と使用手順
|
91
|
+
cucumberはRubygemsの提供する基本directory構造での作業を前提としています.
|
92
|
+
その構造を表示すると次のようになります.
|
93
|
+
<<<
|
94
|
+
bob% tree .
|
95
|
+
.
|
96
|
+
├── Gemfile
|
97
|
+
├── Rakefile
|
98
|
+
├── features
|
99
|
+
│ ├── hogehoge.feature
|
100
|
+
│ ├── step_definitions
|
101
|
+
│ │ └── hogehoge_step.rb
|
102
|
+
│ ├── support
|
103
|
+
│ ├── env.rb
|
104
|
+
├── lib
|
105
|
+
│ ├── daddygongon
|
106
|
+
│ │ ├── emacs_help.yml
|
107
|
+
│ │ ├── my_todo.yml
|
108
|
+
├── pkg
|
109
|
+
├── spec
|
110
|
+
│ ├── my_help_spec.rb
|
111
|
+
│ ├── my_todo
|
112
|
+
│ │ ├── todo_spec.rb
|
113
|
+
│ ├── spec_helper.rb
|
114
|
+
│ └── support
|
115
|
+
│ └── aruba.rb
|
116
|
+
>>>
|
117
|
+
|
118
|
+
カレントディレクトリ(.)の中にfeaturesというサブディレクトリを作成します.
|
119
|
+
そのfeaturesの中に書きたいシナリオを書いた,hogehoge.featureを作成します.
|
120
|
+
featureの具体例は上記に示してします.
|
121
|
+
|
122
|
+
次にシェルを開いて,カレントディレクトリで,
|
123
|
+
cucumber features hogehoge.feature
|
124
|
+
と入力します.そうすると以下のような出力が得られます.
|
125
|
+
<<< ruby
|
126
|
+
Feature: Description of feature
|
127
|
+
|
128
|
+
Scenario: Description of scenario # features/hogehoge.feature:3
|
129
|
+
Given I want to explain scenario # features/hogehoge.feature:4
|
130
|
+
Then I investigate # features/hogehoge.feature:5
|
131
|
+
When I know the meaning # features/hogehoge.feature:6
|
132
|
+
|
133
|
+
1 scenario (1 undefined)
|
134
|
+
3 steps (3 undefined)
|
135
|
+
0m0.066s
|
136
|
+
|
137
|
+
You can implement step definitions for undefined steps with these snippets:
|
138
|
+
|
139
|
+
Given(/^I want to explain scenario$/) do
|
140
|
+
pending # Write code here that turns the phrase above into concrete actions
|
141
|
+
end
|
142
|
+
|
143
|
+
Then(/^I investigate$/) do
|
144
|
+
pending # Write code here that turns the phrase above into concrete actions
|
145
|
+
end
|
146
|
+
|
147
|
+
When(/^I know the meaning$/) do
|
148
|
+
pending # Write code here that turns the phrase above into concrete actions
|
149
|
+
end
|
150
|
+
|
151
|
+
>>>
|
152
|
+
|
153
|
+
ここではステップ定義に使用することができるコードブロックが表示されています.
|
154
|
+
ステップ定義はステップを作成するための方法です.このサンプルでは,Giver(), When(), Then()の
|
155
|
+
3つのメソッドを使ってステップを記述します.
|
156
|
+
これらのメソッドはそれぞれ\/\/で囲まれたRegexp(正規表現)とブロックを受け取ります.
|
157
|
+
Cucumberはシナリオの最初のステップを読み取り,そのステップにマッチする正規表現を持つステップ定義を探します.
|
158
|
+
その中の対応するステップ定義のブロックを実行します.
|
159
|
+
|
160
|
+
これはfeaturesディレクトリの下にstep_definitionsディレクトリーにあることになっています.
|
161
|
+
このシナリオを成功させるには,Cucumberが読み込めるファイルにステップ定義を保存する必要があります[1, pp15.].
|
162
|
+
その内容は次の通りcucumberから自動生成されます.
|
163
|
+
|
164
|
+
<<< ruby
|
165
|
+
|
166
|
+
Given(/^I want to explain scenario$/) do
|
167
|
+
pending # Write code here that turns the phrase above into concrete actio\
|
168
|
+
ns
|
169
|
+
end
|
170
|
+
|
171
|
+
Then(/^I investigate$/) do
|
172
|
+
pending # Write code here that turns the phrase above into concrete actio\
|
173
|
+
ns
|
174
|
+
end
|
175
|
+
|
176
|
+
When(/^I know the meaning$/) do
|
177
|
+
pending # Write code here that turns the phrase above into concrete actio\
|
178
|
+
ns
|
179
|
+
end
|
180
|
+
|
181
|
+
>>>
|
182
|
+
|
183
|
+
pendingを削除して,そこにあれば良いなと思うコードを記述していきます.
|
184
|
+
ここまでがCucumberの使用方法のテンプレートです.
|
@@ -0,0 +1,69 @@
|
|
1
|
+
{{toc}}
|
2
|
+
!my_helpについて
|
3
|
+
!!使用法
|
4
|
+
my_helpは本研究室の西谷が開発したものです.
|
5
|
+
|
6
|
+
以下はmy_helpのREADMEです[2].
|
7
|
+
|
8
|
+
CUI(CLI)ヘルプのUsage出力を真似て,user独自のhelpを作成・提供するgem.
|
9
|
+
|
10
|
+
# 問題点
|
11
|
+
CUIやshell, 何かのプログラミング言語などを習得しようとする初心者は,
|
12
|
+
commandや文法を覚えるのに苦労します.少しのkey(とっかかり)があると
|
13
|
+
思い出すんですが,うろ覚えでは間違えて路頭に迷います.問題点は,
|
14
|
+
- manは基本的に英語
|
15
|
+
- manualでは重たい
|
16
|
+
- いつもおなじことをwebで検索して
|
17
|
+
- 同じとこ見ている
|
18
|
+
- memoしても,どこへ置いたか忘れる
|
19
|
+
|
20
|
+
などです.
|
21
|
+
|
22
|
+
# 特徴
|
23
|
+
これらをgem環境として提供しようというのが,このgemの目的です.
|
24
|
+
仕様としては,
|
25
|
+
- userが自分にあったmanを作成
|
26
|
+
- 雛形を提供
|
27
|
+
- おなじformat, looks, 操作, 階層構造
|
28
|
+
- すぐに手が届く
|
29
|
+
- それらを追加・修正・削除できる
|
30
|
+
|
31
|
+
hikiでやろうとしていることの半分くらいはこのあたりのことなの
|
32
|
+
かもしれません.memoソフトでは,検索が必要となりますが,my_helpは
|
33
|
+
key(記憶のとっかかり)を提供することが目的です.
|
34
|
+
|
35
|
+
!!my_helpのインストール
|
36
|
+
!!githubに行ってdaddygongonのmy_helpをforkする
|
37
|
+
#git clone git@github.com:daddygongon/my_help.git
|
38
|
+
#cd my_help
|
39
|
+
#rake to_yml
|
40
|
+
#rake clean_exe
|
41
|
+
#[sudo] bundle exec exe/my_help -m
|
42
|
+
#source ~/.zshrc or source ~/.cshrc
|
43
|
+
#my_help -l
|
44
|
+
#rake add_yml
|
45
|
+
|
46
|
+
!!my_helpの更新
|
47
|
+
|
48
|
+
!!!gitを用いてmy_helpを新しくする.
|
49
|
+
#git remote -vをする(remoteの確認).
|
50
|
+
#(upstreamがなければ)git remote add upstream git@github.com:gitname/my_help.git
|
51
|
+
#git add -A
|
52
|
+
#git commit -m 'hogehoge'
|
53
|
+
#git push upstream master(ここで自分のmy_helpをupstreamに送っとく)
|
54
|
+
#git pull origin master(新しいmy_helpを取ってくる)
|
55
|
+
|
56
|
+
!!!次にとってきた.ymlを~/.my_helpにcpする.
|
57
|
+
#cd my_helpでmy_helpに移動.
|
58
|
+
#cp hogehoge.yml ~/.my_help
|
59
|
+
|
60
|
+
それを動かすために
|
61
|
+
(sudo)bundle exec ruby exe/my_help -mをする.
|
62
|
+
|
63
|
+
ここで過去にsudoをした人はpermissionがrootになっているので,sudoをつけないとerrorが出る.
|
64
|
+
|
65
|
+
(sudoで実行していたら権限がrootに移行される)
|
66
|
+
|
67
|
+
新しいターミナルを開いて動くかチェックする.
|
68
|
+
|
69
|
+
|
Binary file
|
Binary file
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{{toc}}
|
2
|
+
|
3
|
+
!title:ユーザメモソフトmy_helpの開発
|
4
|
+
!author:2535 那須比呂貴
|
5
|
+
![[概要|my_help_nasu_overview]]
|
6
|
+
|
7
|
+
![[序論|my_help_nasu_introduction]]
|
8
|
+
!先行研究,方法
|
9
|
+
ここでは、本研究で使用するcucumberの特徴について詳述する.
|
10
|
+
cucumberはビヘイビア駆動開発(bdd)を実現するフレームワークである.
|
11
|
+
まずはbddの現れた背景や現状を示した後、Cucumberの記述の具体例を示して,
|
12
|
+
その特徴を詳述する.
|
13
|
+
さらに,本研究の対象となるmy_helpの振る舞いを使用法とともに示す.
|
14
|
+
|
15
|
+
!![[my_help_nasu_method_bdd]]
|
16
|
+
!![[my_help_nasu_method_cucumber]]
|
17
|
+
!![[my_help_nasu_method_usage]]
|
18
|
+
|
19
|
+
![[本論|my_help_nasu_code]]
|
20
|
+
!![[my_help_nasu_features]]
|
21
|
+
![[結論,考察|my_help_nasu_consideration]]
|
22
|
+
|
23
|
+
|
24
|
+
!謝辞
|
25
|
+
本研究を進めるにあたり,様々なご指導を頂きました西谷滋人教授先生に深く感謝いたします.
|
26
|
+
また,本研究の進行に伴い,様々な助力,知識の供給を頂きました西谷研究室の同輩,先輩方に心から感謝の意を示します.
|
27
|
+
本当にありがとうございました.
|
28
|
+
|
29
|
+
!参考文献
|
30
|
+
|
31
|
+
# The RSpec Book 著者:David Chelimsky Dave Astels Zach Dennis ほか 翻訳:株式会社クイーブ 監修:株式会社クイーブ 角谷信太郎 豊田裕司.
|
32
|
+
# Shigeot R. Nishitani, my_helpのREADME, [[http://www.rubydoc.info/gems/my_help/0.4.3]].
|
Binary file
|
@@ -0,0 +1,11 @@
|
|
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
|
+
これらは,研究室の知識を定着させることに有益であり,研究室の役に立つと考えた.
|
data/tmp.txt
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeto R. Nishitani
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -81,7 +81,21 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aruba
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
@@ -95,13 +109,13 @@ dependencies:
|
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: systemu
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
|
-
type: :
|
118
|
+
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
@@ -109,7 +123,21 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: coderay
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: colorize
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
114
142
|
requirements:
|
115
143
|
- - ">="
|
@@ -129,11 +157,13 @@ executables:
|
|
129
157
|
- e_h
|
130
158
|
- emacs_help
|
131
159
|
- my_help
|
132
|
-
-
|
160
|
+
- my_todo
|
133
161
|
extensions: []
|
134
162
|
extra_rdoc_files: []
|
135
163
|
files:
|
164
|
+
- ".DS_Store"
|
136
165
|
- ".gitignore"
|
166
|
+
- ".rspec"
|
137
167
|
- ".travis.yml"
|
138
168
|
- ".yardopts"
|
139
169
|
- CODE_OF_CONDUCT.md
|
@@ -147,27 +177,91 @@ files:
|
|
147
177
|
- exe/e_h
|
148
178
|
- exe/emacs_help
|
149
179
|
- exe/my_help
|
150
|
-
- exe/
|
180
|
+
- exe/my_todo
|
151
181
|
- hikis/README_en.hiki
|
152
182
|
- hikis/README_ja.hiki
|
183
|
+
- hikis/diff_against_org-mode.hiki
|
153
184
|
- hikis/emacs_help.hiki
|
154
185
|
- hikis/template_help.hiki
|
186
|
+
- hikis/tmp.org
|
155
187
|
- latexes/handout_pre.tex
|
188
|
+
- lib/.emacs_help.rb.swp
|
156
189
|
- lib/daddygongon/emacs_help.yml
|
157
|
-
- lib/daddygongon/
|
190
|
+
- lib/daddygongon/my_todo.yml
|
158
191
|
- lib/daddygongon/template_help.yml
|
159
|
-
- lib/daddygongon/todo_help.yml
|
160
192
|
- lib/emacs_help.rb
|
193
|
+
- lib/emacs_help.rb~
|
161
194
|
- lib/my_help.rb
|
162
195
|
- lib/my_help/test.rb
|
163
196
|
- lib/my_help/version.rb
|
197
|
+
- lib/my_todo/my_todo.rb
|
198
|
+
- lib/my_todo/my_todo.rb~
|
164
199
|
- lib/specific_help.rb
|
200
|
+
- lib/specific_help.rb~
|
201
|
+
- lib/todo.rb
|
202
|
+
- lib/todo.rb~
|
203
|
+
- lor
|
165
204
|
- my_help.gemspec
|
166
205
|
- my_help.wiki/Home.md
|
167
206
|
- my_help.wiki/README_en.md
|
168
207
|
- my_help.wiki/README_ja.md
|
169
208
|
- my_help.wiki/emacs_help.md
|
170
209
|
- my_help.wiki/template_help.md
|
210
|
+
- my_help_nasu/.DS_Store
|
211
|
+
- my_help_nasu/.gitignore
|
212
|
+
- my_help_nasu/Rakefile
|
213
|
+
- my_help_nasu/code.hiki
|
214
|
+
- my_help_nasu/consideration.hiki
|
215
|
+
- my_help_nasu/features.hiki
|
216
|
+
- my_help_nasu/figs/my_help_nasu.001.jpeg
|
217
|
+
- my_help_nasu/figs/my_help_nasu.001.jpg
|
218
|
+
- my_help_nasu/figs/my_help_nasu1.001.jpg
|
219
|
+
- my_help_nasu/head2.tex
|
220
|
+
- my_help_nasu/hiki_help.yml
|
221
|
+
- my_help_nasu/introduction.hiki
|
222
|
+
- my_help_nasu/key_bind_mi
|
223
|
+
- my_help_nasu/latex_dir/.gitignore
|
224
|
+
- my_help_nasu/latex_dir/Rakefile
|
225
|
+
- my_help_nasu/latex_dir/code.aux
|
226
|
+
- my_help_nasu/latex_dir/code.tex
|
227
|
+
- my_help_nasu/latex_dir/consideration.aux
|
228
|
+
- my_help_nasu/latex_dir/consideration.tex
|
229
|
+
- my_help_nasu/latex_dir/features.aux
|
230
|
+
- my_help_nasu/latex_dir/features.tex
|
231
|
+
- my_help_nasu/latex_dir/head.tex
|
232
|
+
- my_help_nasu/latex_dir/hiki_help.yml
|
233
|
+
- my_help_nasu/latex_dir/introduction.aux
|
234
|
+
- my_help_nasu/latex_dir/introduction.tex
|
235
|
+
- my_help_nasu/latex_dir/jlisting.sty
|
236
|
+
- my_help_nasu/latex_dir/jlisting.tex
|
237
|
+
- my_help_nasu/latex_dir/latex_dir/head.tex
|
238
|
+
- my_help_nasu/latex_dir/latex_dir/jlisting.tex
|
239
|
+
- my_help_nasu/latex_dir/latex_dir/pre.tex
|
240
|
+
- my_help_nasu/latex_dir/method_bdd.aux
|
241
|
+
- my_help_nasu/latex_dir/method_bdd.tex
|
242
|
+
- my_help_nasu/latex_dir/method_cucumber.aux
|
243
|
+
- my_help_nasu/latex_dir/method_cucumber.log
|
244
|
+
- my_help_nasu/latex_dir/method_cucumber.tex
|
245
|
+
- my_help_nasu/latex_dir/method_usage.aux
|
246
|
+
- my_help_nasu/latex_dir/method_usage.tex
|
247
|
+
- my_help_nasu/latex_dir/my_help_nasu.aux
|
248
|
+
- my_help_nasu/latex_dir/my_help_nasu.log
|
249
|
+
- my_help_nasu/latex_dir/my_help_nasu.pdf
|
250
|
+
- my_help_nasu/latex_dir/my_help_nasu.synctex.gz
|
251
|
+
- my_help_nasu/latex_dir/my_help_nasu.tex
|
252
|
+
- my_help_nasu/latex_dir/my_help_nasu.toc
|
253
|
+
- my_help_nasu/latex_dir/overview.aux
|
254
|
+
- my_help_nasu/latex_dir/overview.tex
|
255
|
+
- my_help_nasu/latex_dir/pre.tex
|
256
|
+
- my_help_nasu/method_bdd.hiki
|
257
|
+
- my_help_nasu/method_cucumber.hiki
|
258
|
+
- my_help_nasu/method_usage.hiki
|
259
|
+
- my_help_nasu/my_help_nasu.hiki
|
260
|
+
- my_help_nasu/my_help_nasu.key
|
261
|
+
- my_help_nasu/my_help_nasu/.DS_Store
|
262
|
+
- my_help_nasu/my_help_nasu/my_help_nasu.001.jpeg
|
263
|
+
- my_help_nasu/overview.hiki
|
264
|
+
- tmp.txt
|
171
265
|
homepage: https://github.com/daddygongon/my_help
|
172
266
|
licenses:
|
173
267
|
- MIT
|
@@ -1,30 +0,0 @@
|
|
1
|
-
---
|
2
|
-
:head:
|
3
|
-
- git help
|
4
|
-
:license:
|
5
|
-
- " cc by Shigeto R. Nishitani, 2016"
|
6
|
-
:proxy:
|
7
|
-
:opts:
|
8
|
-
:short: "-p"
|
9
|
-
:long: "--proxy"
|
10
|
-
:desc: proxy
|
11
|
-
:title: proxy
|
12
|
-
:cont:
|
13
|
-
- 'tsch: setenv http_proxy http://proxy.kwansei.ac.jp:8080'
|
14
|
-
- 'tsch: setenv https_proxy http://proxy.kwansei.ac.jp:8080'
|
15
|
-
- 'zch: export http_proxy=http://proxy.kwansei.ac.jp:8080'
|
16
|
-
- 'zch: export https_proxy=http://proxy.kwansei.ac.jp:8080'
|
17
|
-
:basic:
|
18
|
-
:opts:
|
19
|
-
:short: "-b"
|
20
|
-
:long: "--basic"
|
21
|
-
:desc: basic
|
22
|
-
:title: basic
|
23
|
-
:cont:
|
24
|
-
- Fork from https://github.com/daddygongon/my_help
|
25
|
-
- "git clone git@github.com:[hogehoge]/my_help.git"
|
26
|
-
- cd my_help
|
27
|
-
- git add -A
|
28
|
-
- git commit -m 'first commit'
|
29
|
-
- git push origin master
|
30
|
-
- git pull origin master
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
---
|
3
|
-
#start header, which appears every time.
|
4
|
-
:head: #never change
|
5
|
-
- todoを作るhelp
|
6
|
-
:license:
|
7
|
-
- " cc by Shigeto R. Nishitani, 2016"
|
8
|
-
|
9
|
-
:install: #text here too
|
10
|
-
:opts:
|
11
|
-
:short: -i
|
12
|
-
:long: --install
|
13
|
-
:desc: "my_helpのinstall"
|
14
|
-
:title: "my_helpのinstall"
|
15
|
-
:cont:
|
16
|
-
- "[sudo] gem uninstall my_help"
|
17
|
-
- "自分[hogehoge]のgithubにある古いmy_helpをdelete"
|
18
|
-
- "Fork from https://github.com/daddygongon/my_help"
|
19
|
-
- "[sudo] rm -rf my_help"
|
20
|
-
- "git clone git@github.com:[hogehoge]/my_help.git"
|
21
|
-
- "cd my_help"
|
22
|
-
- "rake to_yml"
|
23
|
-
- "[sudo] bundle exec exe/my_help -c"
|
24
|
-
- "[sudo] bundle exec exe/my_help -m"
|
25
|
-
- "新しいterminalを開ける"
|
26
|
-
- "my_help -l"
|
27
|
-
- "rake add_yml"
|
28
|
-
- "--editで編集画面を開けてみて,色が付いてなかったら,"
|
29
|
-
- "mv ~/.emacs ~/.emacs.d/init.elを試してみる"
|
30
|
-
|
31
|
-
:make: #text here too
|
32
|
-
:opts:
|
33
|
-
:short: -m
|
34
|
-
:long: --make
|
35
|
-
:desc: 新しいhelpをmake
|
36
|
-
:title: 新しいhelpをmake
|
37
|
-
:cont:
|
38
|
-
- "cd my_help"
|
39
|
-
- "bundle exec exe/my_help -i ruby_help"
|
40
|
-
- "bundle exec exe/my_help -e ruby_help"
|
41
|
-
- "[sudo] bundle exec exe/my_help -m"
|
42
|
-
|
43
|
-
:todo2hiki:
|
44
|
-
:opts:
|
45
|
-
:short: -t
|
46
|
-
:long: --todo
|
47
|
-
:desc: todoの内容をhikiに移す
|
48
|
-
:title: todoの内容をhikiに移す
|
49
|
-
:cont:
|
50
|
-
- hikiにlogin
|
51
|
-
- Seminar2016fを編集
|
52
|
-
- "*[[seminar_2016_11_25]]を入力"
|
53
|
-
- そこのlinkを選ぶ
|
54
|
-
- "{{toc}} {{bbs}を入力して保存"
|
55
|
-
- "todo_help --to_hiki"
|
56
|
-
- weeklyをcopy
|
57
|
-
- pasteしていく
|
58
|
-
|