rept 0.1.3 → 0.1.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.
- data/lib/init.yaml +1 -1
- data/lib/rept.rb +4 -4
- metadata +2 -2
data/lib/init.yaml
CHANGED
data/lib/rept.rb
CHANGED
@@ -159,7 +159,7 @@ class Creator
|
|
159
159
|
insertTexts << convertString(data.gsub(/^-->/, ""))
|
160
160
|
mode = :insert
|
161
161
|
else
|
162
|
-
markerText = convertString(data)
|
162
|
+
markerText = convertString(data).chomp
|
163
163
|
mode = :marker
|
164
164
|
end
|
165
165
|
end
|
@@ -198,12 +198,12 @@ class Creator
|
|
198
198
|
if (lineNo != -1)
|
199
199
|
if (!@testMode)
|
200
200
|
insertTexts.size.times do |index|
|
201
|
-
puts $text.get('real_insert', '"' + insertTexts[index].chomp + '"', '"' + markerText
|
201
|
+
puts $text.get('real_insert', '"' + insertTexts[index].chomp + '"', '"' + markerText + '"')
|
202
202
|
end
|
203
203
|
file_insert(@conv_file_name, lineNo + lineNoOffset, insertTexts.to_s)
|
204
204
|
end
|
205
205
|
else
|
206
|
-
puts $text.get('insert_not_found', '"' + insertTexts[0].chomp + '"', '"' + markerText
|
206
|
+
puts $text.get('insert_not_found', '"' + insertTexts[0].chomp + '"', '"' + markerText + '"')
|
207
207
|
raise
|
208
208
|
end
|
209
209
|
end
|
@@ -280,7 +280,7 @@ class Creator
|
|
280
280
|
|
281
281
|
if (success)
|
282
282
|
insertTexts.size.times do |index|
|
283
|
-
puts $text.get('real_delete_insert', '"' + insertTexts[index].chomp + '"', '"' + markerText
|
283
|
+
puts $text.get('real_delete_insert', '"' + insertTexts[index].chomp + '"', '"' + markerText + '"')
|
284
284
|
end
|
285
285
|
|
286
286
|
file_deleteline(@conv_file_name, startLineNo, insertTexts.size)
|
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.1.
|
4
|
+
version: 0.1.4
|
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-05-
|
12
|
+
date: 2009-05-31 00:00:00 +09:00
|
13
13
|
default_executable: rept
|
14
14
|
dependencies: []
|
15
15
|
|