rept 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/init.yaml +1 -1
- data/lib/rept4diff.rb +1 -1
- data/test/test3.diff +20 -0
- data/test/test3.rept +18 -0
- data/test/test_rept4diff.rb +6 -0
- metadata +4 -2
data/lib/init.yaml
CHANGED
data/lib/rept4diff.rb
CHANGED
data/test/test3.diff
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Index: makefile
|
2
|
+
===================================================================
|
3
|
+
--- makefile (���r�W���� 241)
|
4
|
+
+++ makefile (���r�W���� 242)
|
5
|
+
@@ -4,6 +4,14 @@
|
6
|
+
+ Bar.cpp \
|
7
|
+
Foo.cpp \
|
8
|
+
Foo.cpp \
|
9
|
+
+ Bar.cpp \
|
10
|
+
Foo.cpp \
|
11
|
+
Foo.cpp \
|
12
|
+
+ Bar.cpp \
|
13
|
+
- Bewasa.cpp \
|
14
|
+
+ Bar.cpp \
|
15
|
+
+ Bar.cpp \
|
16
|
+
+ Bar.cpp \
|
17
|
+
+ Bar.cpp \
|
18
|
+
Foo.cpp \
|
19
|
+
+ Bar.cpp \
|
20
|
+
+ Bar.cpp \
|
data/test/test3.rept
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Args:
|
2
|
+
Bar
|
3
|
+
Index: makefile
|
4
|
+
--> ReptName1.cpp \
|
5
|
+
Foo.cpp \
|
6
|
+
|
7
|
+
--> ReptName1.cpp \
|
8
|
+
Foo.cpp \
|
9
|
+
|
10
|
+
--> ReptName1.cpp \
|
11
|
+
--> ReptName1.cpp \
|
12
|
+
--> ReptName1.cpp \
|
13
|
+
--> ReptName1.cpp \
|
14
|
+
--> ReptName1.cpp \
|
15
|
+
Foo.cpp \
|
16
|
+
|
17
|
+
--> ReptName1.cpp \
|
18
|
+
--> ReptName1.cpp \
|
data/test/test_rept4diff.rb
CHANGED
@@ -27,5 +27,11 @@ class TC_Rept4Diff < Test::Unit::TestCase
|
|
27
27
|
parser.parse
|
28
28
|
assert_equal(parser.result, readRept('test2.rept'))
|
29
29
|
end
|
30
|
+
|
31
|
+
def test_test3
|
32
|
+
parser = Parser.new('test3.diff', ['Bar'])
|
33
|
+
parser.parse
|
34
|
+
assert_equal(parser.result, readRept('test3.rept'))
|
35
|
+
end
|
30
36
|
end
|
31
37
|
|
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.3
|
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-28 00:00:00 +09:00
|
13
13
|
default_executable: rept
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -61,6 +61,8 @@ files:
|
|
61
61
|
- test/test1.rept
|
62
62
|
- test/test2.diff
|
63
63
|
- test/test2.rept
|
64
|
+
- test/test3.diff
|
65
|
+
- test/test3.rept
|
64
66
|
- test/test_fileinsert.rb
|
65
67
|
- test/test_rept4diff.rb
|
66
68
|
has_rdoc: true
|