rept 0.1.4 → 0.1.5
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 +1 -0
- data/lib/rept4diff.rb +1 -0
- data/test/test4.diff +21 -0
- data/test/test4.rept +19 -0
- data/test/test_rept4diff.rb +6 -0
- metadata +4 -2
data/lib/init.yaml
CHANGED
data/lib/rept.rb
CHANGED
data/lib/rept4diff.rb
CHANGED
data/test/test4.diff
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Index: FooBar.cpp
|
2
|
+
===================================================================
|
3
|
+
--- FooBar.cpp (���r�W���� 0)
|
4
|
+
+++ FooBar.cpp (���r�W���� 242)
|
5
|
+
@@ -0,0 +1,16 @@
|
6
|
+
+// --------------------------------------------------------------------------
|
7
|
+
+/**
|
8
|
+
+ * FooBar�N���X�A����
|
9
|
+
+ */
|
10
|
+
+
|
11
|
+
+#include "FooBar.h"
|
12
|
+
+
|
13
|
+
+void FOO_BAR::method1()
|
14
|
+
+{
|
15
|
+
+}
|
16
|
+
+
|
17
|
+
+int FooBar::method2() const
|
18
|
+
+{
|
19
|
+
+ return 0
|
20
|
+
+}
|
21
|
+
+
|
data/test/test4.rept
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Args:
|
2
|
+
FooBar
|
3
|
+
Index: ReptName1.cpp
|
4
|
+
// --------------------------------------------------------------------------
|
5
|
+
/**
|
6
|
+
* ReptName1�N���X�A����
|
7
|
+
*/
|
8
|
+
|
9
|
+
#include "ReptName1.h"
|
10
|
+
|
11
|
+
void REPT_NAME1::method1()
|
12
|
+
{
|
13
|
+
}
|
14
|
+
|
15
|
+
int ReptName1::method2() const
|
16
|
+
{
|
17
|
+
return 0
|
18
|
+
}
|
19
|
+
|
data/test/test_rept4diff.rb
CHANGED
@@ -33,5 +33,11 @@ class TC_Rept4Diff < Test::Unit::TestCase
|
|
33
33
|
parser.parse
|
34
34
|
assert_equal(parser.result, readRept('test3.rept'))
|
35
35
|
end
|
36
|
+
|
37
|
+
def test_test4
|
38
|
+
parser = Parser.new('test4.diff', ['FooBar'])
|
39
|
+
parser.parse
|
40
|
+
assert_equal(parser.result, readRept('test4.rept'))
|
41
|
+
end
|
36
42
|
end
|
37
43
|
|
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.5
|
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-
|
12
|
+
date: 2009-06-24 00:00:00 +09:00
|
13
13
|
default_executable: rept
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -63,6 +63,8 @@ files:
|
|
63
63
|
- test/test2.rept
|
64
64
|
- test/test3.diff
|
65
65
|
- test/test3.rept
|
66
|
+
- test/test4.diff
|
67
|
+
- test/test4.rept
|
66
68
|
- test/test_fileinsert.rb
|
67
69
|
- test/test_rept4diff.rb
|
68
70
|
has_rdoc: true
|