rept 0.2.1 → 0.2.2
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.
- data/lib/init.yaml +1 -1
- data/lib/rept.rb +9 -2
- metadata +2 -2
data/lib/init.yaml
CHANGED
data/lib/rept.rb
CHANGED
@@ -180,8 +180,13 @@ class Creator
|
|
180
180
|
end
|
181
181
|
|
182
182
|
def insertFromMode(mode, markerTexts, insertTexts)
|
183
|
+
# �}�������������������H(�}�����Ȃ��ꍇ�������ƌ��Ȃ�)
|
184
|
+
success = true
|
185
|
+
|
183
186
|
# �}������
|
184
|
-
|
187
|
+
if (mode != :none)
|
188
|
+
success = insertText(markerTexts, insertTexts, headOrTail(mode))
|
189
|
+
end
|
185
190
|
|
186
191
|
# �����A���s�Ɋւ�炸�}���Ώۂ��N���A
|
187
192
|
insertTexts.clear
|
@@ -252,7 +257,9 @@ class Creator
|
|
252
257
|
|
253
258
|
def deleteInsertFromMode(mode, markerTexts, insertTexts)
|
254
259
|
# �}���폜
|
255
|
-
|
260
|
+
if (mode != :none)
|
261
|
+
deleteInsertText(markerTexts, insertTexts, headOrTail(mode))
|
262
|
+
end
|
256
263
|
|
257
264
|
# �㏈��
|
258
265
|
insertTexts.clear
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rept
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ongaeshi
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-25 00:00:00 +09:00
|
13
13
|
default_executable: rept
|
14
14
|
dependencies: []
|
15
15
|
|