rbgccxml 0.1.1 → 0.8
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/Rakefile +19 -9
- data/lib/rbgccxml/node.rb +81 -30
- data/lib/rbgccxml/nodes/argument.rb +1 -1
- data/lib/rbgccxml/nodes/class.rb +4 -8
- data/lib/rbgccxml/nodes/constructor.rb +2 -5
- data/lib/rbgccxml/nodes/enum_value.rb +20 -0
- data/lib/rbgccxml/nodes/enumeration.rb +10 -0
- data/lib/rbgccxml/nodes/file.rb +1 -2
- data/lib/rbgccxml/nodes/function.rb +1 -2
- data/lib/rbgccxml/nodes/method.rb +11 -1
- data/lib/rbgccxml/nodes/namespace.rb +1 -1
- data/lib/rbgccxml/nodes/struct.rb +2 -2
- data/lib/rbgccxml/nodes/type.rb +28 -1
- data/lib/rbgccxml/nodes/types/cv_qualified_type.rb +20 -0
- data/lib/rbgccxml/nodes/types/fundamental_type.rb +8 -2
- data/lib/rbgccxml/nodes/types/pointer_type.rb +6 -8
- data/lib/rbgccxml/nodes/types/reference_type.rb +14 -0
- data/lib/rbgccxml/nodes/types/typedef.rb +0 -1
- data/lib/rbgccxml/parser.rb +1 -1
- data/lib/rbgccxml/query_result.rb +51 -19
- data/lib/rbgccxml/rbgccxml.rb +1 -1
- data/lib/rbgccxml/xml_parsing.rb +109 -14
- data/lib/rbgccxml.rb +4 -0
- data/test/classes_test.rb +2 -2
- data/test/enumerations_test.rb +44 -0
- data/test/functions_test.rb +1 -59
- data/test/methods_test.rb +11 -0
- data/test/node_test.rb +19 -0
- data/test/query_results_test.rb +228 -0
- data/test/test_helper.rb +4 -0
- data/test/types_test.rb +78 -0
- metadata +11 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbgccxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.8"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Roelofs
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-07-22 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hpricot
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -23,6 +24,7 @@ dependencies:
|
|
23
24
|
version:
|
24
25
|
- !ruby/object:Gem::Dependency
|
25
26
|
name: gccxml_gem
|
27
|
+
type: :runtime
|
26
28
|
version_requirement:
|
27
29
|
version_requirements: !ruby/object:Gem::Requirement
|
28
30
|
requirements:
|
@@ -42,18 +44,22 @@ files:
|
|
42
44
|
- TODO
|
43
45
|
- Rakefile
|
44
46
|
- lib/rbgccxml/parser.rb
|
47
|
+
- lib/rbgccxml/nodes/types/reference_type.rb
|
48
|
+
- lib/rbgccxml/nodes/types/cv_qualified_type.rb
|
45
49
|
- lib/rbgccxml/nodes/types/fundamental_type.rb
|
46
50
|
- lib/rbgccxml/nodes/types/pointer_type.rb
|
47
51
|
- lib/rbgccxml/nodes/types/typedef.rb
|
48
52
|
- lib/rbgccxml/nodes/struct.rb
|
49
53
|
- lib/rbgccxml/nodes/function.rb
|
50
54
|
- lib/rbgccxml/nodes/file.rb
|
55
|
+
- lib/rbgccxml/nodes/enumeration.rb
|
51
56
|
- lib/rbgccxml/nodes/namespace.rb
|
52
57
|
- lib/rbgccxml/nodes/argument.rb
|
53
58
|
- lib/rbgccxml/nodes/type.rb
|
54
59
|
- lib/rbgccxml/nodes/constructor.rb
|
55
60
|
- lib/rbgccxml/nodes/method.rb
|
56
61
|
- lib/rbgccxml/nodes/class.rb
|
62
|
+
- lib/rbgccxml/nodes/enum_value.rb
|
57
63
|
- lib/rbgccxml/query_result.rb
|
58
64
|
- lib/rbgccxml/xml_parsing.rb
|
59
65
|
- lib/rbgccxml/node.rb
|
@@ -82,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
88
|
requirements: []
|
83
89
|
|
84
90
|
rubyforge_project: rbplusplus
|
85
|
-
rubygems_version: 1.
|
91
|
+
rubygems_version: 1.2.0
|
86
92
|
signing_key:
|
87
93
|
specification_version: 2
|
88
94
|
summary: Ruby interface to GCCXML
|
@@ -92,7 +98,9 @@ test_files:
|
|
92
98
|
- test/methods_test.rb
|
93
99
|
- test/structs_test.rb
|
94
100
|
- test/parser_test.rb
|
101
|
+
- test/enumerations_test.rb
|
95
102
|
- test/functions_test.rb
|
96
103
|
- test/test_helper.rb
|
97
104
|
- test/types_test.rb
|
105
|
+
- test/query_results_test.rb
|
98
106
|
- test/namespaces_test.rb
|