yowl 0.4.pre

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.
Files changed (108) hide show
  1. data/CHANGES +15 -0
  2. data/INSTALL-MACOSX.md +107 -0
  3. data/README.md +92 -0
  4. data/Rakefile +76 -0
  5. data/bin/yowl +14 -0
  6. data/examples/introduction.html +5 -0
  7. data/lib/yowl/association.rb +66 -0
  8. data/lib/yowl/class.rb +296 -0
  9. data/lib/yowl/generator.rb +96 -0
  10. data/lib/yowl/import.rb +62 -0
  11. data/lib/yowl/individual.rb +398 -0
  12. data/lib/yowl/individual_association.rb +80 -0
  13. data/lib/yowl/ontology.rb +197 -0
  14. data/lib/yowl/options.rb +116 -0
  15. data/lib/yowl/optionsparser.rb +75 -0
  16. data/lib/yowl/person.rb +26 -0
  17. data/lib/yowl/property.rb +190 -0
  18. data/lib/yowl/repository.rb +100 -0
  19. data/lib/yowl/schema.rb +519 -0
  20. data/lib/yowl/template/css/jquery.ui.all.css +11 -0
  21. data/lib/yowl/template/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  22. data/lib/yowl/template/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  23. data/lib/yowl/template/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  24. data/lib/yowl/template/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  25. data/lib/yowl/template/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  26. data/lib/yowl/template/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  27. data/lib/yowl/template/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  28. data/lib/yowl/template/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  29. data/lib/yowl/template/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  30. data/lib/yowl/template/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  31. data/lib/yowl/template/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  32. data/lib/yowl/template/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  33. data/lib/yowl/template/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  34. data/lib/yowl/template/css/smoothness/jquery-ui-1.8.23.custom.css +563 -0
  35. data/lib/yowl/template/css/yowl.css +414 -0
  36. data/lib/yowl/template/import-diagram.erb +29 -0
  37. data/lib/yowl/template/index.erb +56 -0
  38. data/lib/yowl/template/js/jquery-1.7.2.min.js +4 -0
  39. data/lib/yowl/template/js/jquery-ui-1.8.23.custom.min.js +125 -0
  40. data/lib/yowl/template/js/jquery.ui.accordion.js +611 -0
  41. data/lib/yowl/template/js/yowl.js +72 -0
  42. data/lib/yowl/template/ontology.erb +598 -0
  43. data/lib/yowl/template/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  44. data/lib/yowl/template/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  45. data/lib/yowl/template/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  46. data/lib/yowl/template/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  47. data/lib/yowl/template/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  48. data/lib/yowl/template/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  49. data/lib/yowl/template/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  50. data/lib/yowl/template/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  51. data/lib/yowl/template/themes/base/images/ui-icons_222222_256x240.png +0 -0
  52. data/lib/yowl/template/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  53. data/lib/yowl/template/themes/base/images/ui-icons_454545_256x240.png +0 -0
  54. data/lib/yowl/template/themes/base/images/ui-icons_888888_256x240.png +0 -0
  55. data/lib/yowl/template/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  56. data/lib/yowl/template/themes/base/jquery.ui.accordion.css +19 -0
  57. data/lib/yowl/template/themes/base/jquery.ui.all.css +11 -0
  58. data/lib/yowl/template/themes/base/jquery.ui.autocomplete.css +53 -0
  59. data/lib/yowl/template/themes/base/jquery.ui.base.css +11 -0
  60. data/lib/yowl/template/themes/base/jquery.ui.button.css +38 -0
  61. data/lib/yowl/template/themes/base/jquery.ui.core.css +38 -0
  62. data/lib/yowl/template/themes/base/jquery.ui.datepicker.css +66 -0
  63. data/lib/yowl/template/themes/base/jquery.ui.dialog.css +21 -0
  64. data/lib/yowl/template/themes/base/jquery.ui.progressbar.css +11 -0
  65. data/lib/yowl/template/themes/base/jquery.ui.resizable.css +20 -0
  66. data/lib/yowl/template/themes/base/jquery.ui.selectable.css +10 -0
  67. data/lib/yowl/template/themes/base/jquery.ui.slider.css +24 -0
  68. data/lib/yowl/template/themes/base/jquery.ui.tabs.css +18 -0
  69. data/lib/yowl/template/themes/base/jquery.ui.theme.css +247 -0
  70. data/lib/yowl/template/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  71. data/lib/yowl/template/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  72. data/lib/yowl/template/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  73. data/lib/yowl/template/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  74. data/lib/yowl/template/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  75. data/lib/yowl/template/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  76. data/lib/yowl/template/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  77. data/lib/yowl/template/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  78. data/lib/yowl/template/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  79. data/lib/yowl/template/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  80. data/lib/yowl/template/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  81. data/lib/yowl/template/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  82. data/lib/yowl/template/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  83. data/lib/yowl/template/themes/smoothness/jquery-ui-1.8.23.custom.css +563 -0
  84. data/lib/yowl/template/themes/smoothness/jquery.ui.accordion.css +19 -0
  85. data/lib/yowl/template/themes/smoothness/jquery.ui.all.css +11 -0
  86. data/lib/yowl/template/themes/smoothness/jquery.ui.autocomplete.css +53 -0
  87. data/lib/yowl/template/themes/smoothness/jquery.ui.base.css +11 -0
  88. data/lib/yowl/template/themes/smoothness/jquery.ui.button.css +38 -0
  89. data/lib/yowl/template/themes/smoothness/jquery.ui.core.css +38 -0
  90. data/lib/yowl/template/themes/smoothness/jquery.ui.datepicker.css +66 -0
  91. data/lib/yowl/template/themes/smoothness/jquery.ui.dialog.css +21 -0
  92. data/lib/yowl/template/themes/smoothness/jquery.ui.progressbar.css +11 -0
  93. data/lib/yowl/template/themes/smoothness/jquery.ui.resizable.css +20 -0
  94. data/lib/yowl/template/themes/smoothness/jquery.ui.selectable.css +10 -0
  95. data/lib/yowl/template/themes/smoothness/jquery.ui.slider.css +24 -0
  96. data/lib/yowl/template/themes/smoothness/jquery.ui.tabs.css +18 -0
  97. data/lib/yowl/template/themes/smoothness/jquery.ui.theme.css +249 -0
  98. data/lib/yowl/util.rb +221 -0
  99. data/lib/yowl/version.rb +3 -0
  100. data/lib/yowl.rb +42 -0
  101. data/test/input/base-with-comments.ttl +163 -0
  102. data/test/input/base.ttl +221 -0
  103. data/test/input/empty.ttl +8 -0
  104. data/test/input/example.ttl +73 -0
  105. data/test/test_example_ttl.rb +62 -0
  106. data/test/test_yowl.rb +4 -0
  107. data/test/testcases.md +24 -0
  108. metadata +311 -0
metadata ADDED
@@ -0,0 +1,311 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yowl
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15384665
5
+ prerelease: 4
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - pre
10
+ version: 0.4.pre
11
+ platform: ruby
12
+ authors:
13
+ - Leigh Dodds
14
+ - Jacobus Geluk
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2012-11-25 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: ffi
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 25
30
+ segments:
31
+ - 1
32
+ - 1
33
+ - 5
34
+ version: 1.1.5
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: rdf
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ - 3
49
+ - 8
50
+ version: 0.3.8
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rdf-raptor
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 11
62
+ segments:
63
+ - 0
64
+ - 4
65
+ - 2
66
+ version: 0.4.2
67
+ type: :runtime
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ name: rdf-json
71
+ prerelease: false
72
+ requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 19
78
+ segments:
79
+ - 0
80
+ - 3
81
+ - 0
82
+ version: 0.3.0
83
+ type: :runtime
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ name: rdf-trix
87
+ prerelease: false
88
+ requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 19
94
+ segments:
95
+ - 0
96
+ - 3
97
+ - 0
98
+ version: 0.3.0
99
+ type: :runtime
100
+ version_requirements: *id005
101
+ - !ruby/object:Gem::Dependency
102
+ name: sxp
103
+ prerelease: false
104
+ requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ hash: 3
110
+ segments:
111
+ - 0
112
+ - 0
113
+ - 14
114
+ version: 0.0.14
115
+ type: :runtime
116
+ version_requirements: *id006
117
+ - !ruby/object:Gem::Dependency
118
+ name: sparql
119
+ prerelease: false
120
+ requirement: &id007 !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 17
126
+ segments:
127
+ - 0
128
+ - 3
129
+ - 1
130
+ version: 0.3.1
131
+ type: :runtime
132
+ version_requirements: *id007
133
+ - !ruby/object:Gem::Dependency
134
+ name: ruby-graphviz
135
+ prerelease: false
136
+ requirement: &id008 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ hash: 7
142
+ segments:
143
+ - 1
144
+ - 0
145
+ - 8
146
+ version: 1.0.8
147
+ type: :runtime
148
+ version_requirements: *id008
149
+ description: " Yet another OWL documentor. YOWL is a command line utility that can read a number of RDFS/OWL files, \n called the repository, and generate a documentation website from it, with visualisations like\n Class Diagrams (as SVG), Individuals Diagrams and Import Diagrams.\n"
150
+ email:
151
+ - leigh.dodds@talis.com
152
+ - jacobus.geluk@gmail.com
153
+ executables:
154
+ - yowl
155
+ extensions: []
156
+
157
+ extra_rdoc_files:
158
+ - README.md
159
+ - INSTALL-MACOSX.md
160
+ - CHANGES
161
+ files:
162
+ - README.md
163
+ - INSTALL-MACOSX.md
164
+ - Rakefile
165
+ - CHANGES
166
+ - bin/yowl
167
+ - test/input/base-with-comments.ttl
168
+ - test/input/base.ttl
169
+ - test/input/empty.ttl
170
+ - test/input/example.ttl
171
+ - test/test_example_ttl.rb
172
+ - test/test_yowl.rb
173
+ - test/testcases.md
174
+ - examples/introduction.html
175
+ - lib/yowl/association.rb
176
+ - lib/yowl/class.rb
177
+ - lib/yowl/generator.rb
178
+ - lib/yowl/import.rb
179
+ - lib/yowl/individual.rb
180
+ - lib/yowl/individual_association.rb
181
+ - lib/yowl/ontology.rb
182
+ - lib/yowl/options.rb
183
+ - lib/yowl/optionsparser.rb
184
+ - lib/yowl/person.rb
185
+ - lib/yowl/property.rb
186
+ - lib/yowl/repository.rb
187
+ - lib/yowl/schema.rb
188
+ - lib/yowl/template/css/jquery.ui.all.css
189
+ - lib/yowl/template/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
190
+ - lib/yowl/template/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
191
+ - lib/yowl/template/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
192
+ - lib/yowl/template/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
193
+ - lib/yowl/template/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
194
+ - lib/yowl/template/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
195
+ - lib/yowl/template/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
196
+ - lib/yowl/template/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
197
+ - lib/yowl/template/css/smoothness/images/ui-icons_222222_256x240.png
198
+ - lib/yowl/template/css/smoothness/images/ui-icons_2e83ff_256x240.png
199
+ - lib/yowl/template/css/smoothness/images/ui-icons_454545_256x240.png
200
+ - lib/yowl/template/css/smoothness/images/ui-icons_888888_256x240.png
201
+ - lib/yowl/template/css/smoothness/images/ui-icons_cd0a0a_256x240.png
202
+ - lib/yowl/template/css/smoothness/jquery-ui-1.8.23.custom.css
203
+ - lib/yowl/template/css/yowl.css
204
+ - lib/yowl/template/import-diagram.erb
205
+ - lib/yowl/template/index.erb
206
+ - lib/yowl/template/js/jquery-1.7.2.min.js
207
+ - lib/yowl/template/js/jquery-ui-1.8.23.custom.min.js
208
+ - lib/yowl/template/js/jquery.ui.accordion.js
209
+ - lib/yowl/template/js/yowl.js
210
+ - lib/yowl/template/ontology.erb
211
+ - lib/yowl/template/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
212
+ - lib/yowl/template/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
213
+ - lib/yowl/template/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
214
+ - lib/yowl/template/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
215
+ - lib/yowl/template/themes/base/images/ui-bg_glass_75_dadada_1x400.png
216
+ - lib/yowl/template/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
217
+ - lib/yowl/template/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
218
+ - lib/yowl/template/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
219
+ - lib/yowl/template/themes/base/images/ui-icons_222222_256x240.png
220
+ - lib/yowl/template/themes/base/images/ui-icons_2e83ff_256x240.png
221
+ - lib/yowl/template/themes/base/images/ui-icons_454545_256x240.png
222
+ - lib/yowl/template/themes/base/images/ui-icons_888888_256x240.png
223
+ - lib/yowl/template/themes/base/images/ui-icons_cd0a0a_256x240.png
224
+ - lib/yowl/template/themes/base/jquery.ui.accordion.css
225
+ - lib/yowl/template/themes/base/jquery.ui.all.css
226
+ - lib/yowl/template/themes/base/jquery.ui.autocomplete.css
227
+ - lib/yowl/template/themes/base/jquery.ui.base.css
228
+ - lib/yowl/template/themes/base/jquery.ui.button.css
229
+ - lib/yowl/template/themes/base/jquery.ui.core.css
230
+ - lib/yowl/template/themes/base/jquery.ui.datepicker.css
231
+ - lib/yowl/template/themes/base/jquery.ui.dialog.css
232
+ - lib/yowl/template/themes/base/jquery.ui.progressbar.css
233
+ - lib/yowl/template/themes/base/jquery.ui.resizable.css
234
+ - lib/yowl/template/themes/base/jquery.ui.selectable.css
235
+ - lib/yowl/template/themes/base/jquery.ui.slider.css
236
+ - lib/yowl/template/themes/base/jquery.ui.tabs.css
237
+ - lib/yowl/template/themes/base/jquery.ui.theme.css
238
+ - lib/yowl/template/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
239
+ - lib/yowl/template/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
240
+ - lib/yowl/template/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
241
+ - lib/yowl/template/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
242
+ - lib/yowl/template/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png
243
+ - lib/yowl/template/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
244
+ - lib/yowl/template/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
245
+ - lib/yowl/template/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
246
+ - lib/yowl/template/themes/smoothness/images/ui-icons_222222_256x240.png
247
+ - lib/yowl/template/themes/smoothness/images/ui-icons_2e83ff_256x240.png
248
+ - lib/yowl/template/themes/smoothness/images/ui-icons_454545_256x240.png
249
+ - lib/yowl/template/themes/smoothness/images/ui-icons_888888_256x240.png
250
+ - lib/yowl/template/themes/smoothness/images/ui-icons_cd0a0a_256x240.png
251
+ - lib/yowl/template/themes/smoothness/jquery-ui-1.8.23.custom.css
252
+ - lib/yowl/template/themes/smoothness/jquery.ui.accordion.css
253
+ - lib/yowl/template/themes/smoothness/jquery.ui.all.css
254
+ - lib/yowl/template/themes/smoothness/jquery.ui.autocomplete.css
255
+ - lib/yowl/template/themes/smoothness/jquery.ui.base.css
256
+ - lib/yowl/template/themes/smoothness/jquery.ui.button.css
257
+ - lib/yowl/template/themes/smoothness/jquery.ui.core.css
258
+ - lib/yowl/template/themes/smoothness/jquery.ui.datepicker.css
259
+ - lib/yowl/template/themes/smoothness/jquery.ui.dialog.css
260
+ - lib/yowl/template/themes/smoothness/jquery.ui.progressbar.css
261
+ - lib/yowl/template/themes/smoothness/jquery.ui.resizable.css
262
+ - lib/yowl/template/themes/smoothness/jquery.ui.selectable.css
263
+ - lib/yowl/template/themes/smoothness/jquery.ui.slider.css
264
+ - lib/yowl/template/themes/smoothness/jquery.ui.tabs.css
265
+ - lib/yowl/template/themes/smoothness/jquery.ui.theme.css
266
+ - lib/yowl/util.rb
267
+ - lib/yowl/version.rb
268
+ - lib/yowl.rb
269
+ homepage: http://github.com/jgeluk/yowl
270
+ licenses: []
271
+
272
+ post_install_message:
273
+ rdoc_options:
274
+ - --quiet
275
+ - --title
276
+ - yowl reference
277
+ - --main
278
+ - README.md
279
+ require_paths:
280
+ - lib
281
+ required_ruby_version: !ruby/object:Gem::Requirement
282
+ none: false
283
+ requirements:
284
+ - - ">="
285
+ - !ruby/object:Gem::Version
286
+ hash: 57
287
+ segments:
288
+ - 1
289
+ - 8
290
+ - 7
291
+ version: 1.8.7
292
+ required_rubygems_version: !ruby/object:Gem::Requirement
293
+ none: false
294
+ requirements:
295
+ - - ">"
296
+ - !ruby/object:Gem::Version
297
+ hash: 25
298
+ segments:
299
+ - 1
300
+ - 3
301
+ - 1
302
+ version: 1.3.1
303
+ requirements: []
304
+
305
+ rubyforge_project: nowarning
306
+ rubygems_version: 1.8.24
307
+ signing_key:
308
+ specification_version: 3
309
+ summary: OWL visualization and documentation generator
310
+ test_files:
311
+ - test/test_yowl.rb