citeproc-ruby 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +78 -0
- data/lib/citeproc.rb +100 -0
- data/lib/citeproc/bibliography.rb +57 -0
- data/lib/citeproc/data.rb +149 -0
- data/lib/citeproc/date.rb +133 -0
- data/lib/citeproc/formatter.rb +38 -0
- data/lib/citeproc/item.rb +53 -0
- data/lib/citeproc/name.rb +284 -0
- data/lib/citeproc/processor.rb +166 -0
- data/lib/citeproc/selector.rb +61 -0
- data/lib/citeproc/variable.rb +82 -0
- data/lib/citeproc/version.rb +3 -0
- data/lib/csl/locale.rb +223 -0
- data/lib/csl/node.rb +72 -0
- data/lib/csl/nodes.rb +1364 -0
- data/lib/csl/renderer.rb +88 -0
- data/lib/csl/sort.rb +53 -0
- data/lib/csl/style.rb +110 -0
- data/lib/csl/term.rb +124 -0
- data/lib/extensions/core.rb +43 -0
- data/lib/plugins/filters/bibtex.rb +12 -0
- data/lib/plugins/formats/default.rb +134 -0
- data/lib/plugins/formats/html.rb +67 -0
- data/lib/support/attributes.rb +99 -0
- data/lib/support/tree.rb +80 -0
- data/resource/locale/locales-af-ZA.xml +304 -0
- data/resource/locale/locales-ar-AR.xml +304 -0
- data/resource/locale/locales-bg-BG.xml +304 -0
- data/resource/locale/locales-ca-AD.xml +304 -0
- data/resource/locale/locales-cs-CZ.xml +304 -0
- data/resource/locale/locales-da-DK.xml +304 -0
- data/resource/locale/locales-de-AT.xml +304 -0
- data/resource/locale/locales-de-CH.xml +304 -0
- data/resource/locale/locales-de-DE.xml +332 -0
- data/resource/locale/locales-el-GR.xml +303 -0
- data/resource/locale/locales-en-US.xml +313 -0
- data/resource/locale/locales-es-ES.xml +304 -0
- data/resource/locale/locales-et-EE.xml +304 -0
- data/resource/locale/locales-fr-FR.xml +304 -0
- data/resource/locale/locales-he-IL.xml +304 -0
- data/resource/locale/locales-hu-HU.xml +304 -0
- data/resource/locale/locales-is-IS.xml +304 -0
- data/resource/locale/locales-it-IT.xml +304 -0
- data/resource/locale/locales-ja-JP.xml +304 -0
- data/resource/locale/locales-kh-KH.xml +303 -0
- data/resource/locale/locales-ko-KR.xml +304 -0
- data/resource/locale/locales-mn-MN.xml +304 -0
- data/resource/locale/locales-nb-NO.xml +304 -0
- data/resource/locale/locales-nl-NL.xml +304 -0
- data/resource/locale/locales-nn-NO.xml +304 -0
- data/resource/locale/locales-pl-PL.xml +304 -0
- data/resource/locale/locales-pt-BR.xml +304 -0
- data/resource/locale/locales-pt-PT.xml +304 -0
- data/resource/locale/locales-ro-RO.xml +304 -0
- data/resource/locale/locales-ru-RU.xml +304 -0
- data/resource/locale/locales-sk-SK.xml +304 -0
- data/resource/locale/locales-sl-SI.xml +304 -0
- data/resource/locale/locales-sr-RS.xml +304 -0
- data/resource/locale/locales-sv-SE.xml +304 -0
- data/resource/locale/locales-th-TH.xml +304 -0
- data/resource/locale/locales-tr-TR.xml +304 -0
- data/resource/locale/locales-uk-UA.xml +304 -0
- data/resource/locale/locales-vi-VN.xml +304 -0
- data/resource/locale/locales-zh-CN.xml +304 -0
- data/resource/locale/locales-zh-TW.xml +304 -0
- data/resource/schema/csl-categories.rnc +39 -0
- data/resource/schema/csl-data.rnc +98 -0
- data/resource/schema/csl-terms.rnc +106 -0
- data/resource/schema/csl-types.rnc +39 -0
- data/resource/schema/csl-variables.rnc +182 -0
- data/resource/schema/csl.rnc +941 -0
- data/resource/style/acta-materialia-x.csl +128 -0
- data/resource/style/advanced-engineering-materials-x.csl +121 -0
- data/resource/style/ama.csl +185 -0
- data/resource/style/ama2-x.csl +179 -0
- data/resource/style/apa-x.csl +324 -0
- data/resource/style/apa.csl +254 -0
- data/resource/style/apsa-x.csl +163 -0
- data/resource/style/apsa.csl +176 -0
- data/resource/style/asa-x.csl +203 -0
- data/resource/style/asa.csl +216 -0
- data/resource/style/asm-journals-x.csl +131 -0
- data/resource/style/bibtex-x2.csl +175 -0
- data/resource/style/bluebook-demo-x.csl +392 -0
- data/resource/style/bluebook-demo.csl +942 -0
- data/resource/style/chicago-author-date-listing.csl +434 -0
- data/resource/style/chicago-author-date.csl +369 -0
- data/resource/style/chicago-fullnote-bibliography-bb.csl +928 -0
- data/resource/style/chicago-fullnote-bibliography.csl +695 -0
- data/resource/style/chicago-note-bibliography.csl +446 -0
- data/resource/style/chicago-note.csl +388 -0
- data/resource/style/greek-chicago-x.csl +1182 -0
- data/resource/style/harvard1-institution-italic.csl +190 -0
- data/resource/style/harvard1.csl +181 -0
- data/resource/style/ieee.csl +129 -0
- data/resource/style/mhra-x.csl +312 -0
- data/resource/style/mhra.csl +390 -0
- data/resource/style/mhra_note_without_bibliography-x.csl +330 -0
- data/resource/style/mhra_note_without_bibliography.csl +338 -0
- data/resource/style/mla-x.csl +178 -0
- data/resource/style/mla.csl +189 -0
- data/resource/style/nature-x.csl +81 -0
- data/resource/style/nature.csl +88 -0
- data/resource/style/nlm.csl +117 -0
- data/spec/citeproc/bibliography_spec.rb +45 -0
- data/spec/citeproc/citeproc_spec.rb +76 -0
- data/spec/citeproc/date_spec.rb +85 -0
- data/spec/citeproc/formatter_spec.rb +101 -0
- data/spec/citeproc/item_spec.rb +71 -0
- data/spec/citeproc/name_spec.rb +30 -0
- data/spec/citeproc/processor_spec.rb +61 -0
- data/spec/citeproc/selector_spec.rb +82 -0
- data/spec/citeproc/variable_spec.rb +69 -0
- data/spec/csl/locale_spec.rb +208 -0
- data/spec/csl/node_spec.rb +25 -0
- data/spec/csl/nodes_spec.rb +140 -0
- data/spec/csl/style_spec.rb +62 -0
- data/spec/csl/term_spec.rb +56 -0
- data/spec/fixtures/dates.yaml +80 -0
- data/spec/fixtures/names.yaml +115 -0
- data/spec/fixtures/nodes.yaml +245 -0
- data/spec/spec_helper.rb +18 -0
- data/spec/support/attributes_spec.rb +39 -0
- data/spec/support/tree_spec.rb +163 -0
- metadata +264 -0
metadata
ADDED
@@ -0,0 +1,264 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: citeproc-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Sylvester Keil
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-04-06 00:00:00 +02:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: logging
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "1.5"
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: "1.4"
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: bundler
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "1.0"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rdoc
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "2.5"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rake
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0.8"
|
69
|
+
type: :development
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: "2.5"
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: cucumber
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0.3"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id007
|
93
|
+
description: A CSL (Citation Style Language)Processor
|
94
|
+
email:
|
95
|
+
- http://sylvester.keil.or.at
|
96
|
+
executables: []
|
97
|
+
|
98
|
+
extensions: []
|
99
|
+
|
100
|
+
extra_rdoc_files:
|
101
|
+
- README.md
|
102
|
+
files:
|
103
|
+
- lib/citeproc.rb
|
104
|
+
- lib/citeproc/bibliography.rb
|
105
|
+
- lib/citeproc/data.rb
|
106
|
+
- lib/citeproc/date.rb
|
107
|
+
- lib/citeproc/formatter.rb
|
108
|
+
- lib/citeproc/item.rb
|
109
|
+
- lib/citeproc/name.rb
|
110
|
+
- lib/citeproc/processor.rb
|
111
|
+
- lib/citeproc/selector.rb
|
112
|
+
- lib/citeproc/variable.rb
|
113
|
+
- lib/citeproc/version.rb
|
114
|
+
- lib/csl/locale.rb
|
115
|
+
- lib/csl/node.rb
|
116
|
+
- lib/csl/nodes.rb
|
117
|
+
- lib/csl/renderer.rb
|
118
|
+
- lib/csl/sort.rb
|
119
|
+
- lib/csl/style.rb
|
120
|
+
- lib/csl/term.rb
|
121
|
+
- lib/extensions/core.rb
|
122
|
+
- lib/plugins/filters/bibtex.rb
|
123
|
+
- lib/plugins/formats/default.rb
|
124
|
+
- lib/plugins/formats/html.rb
|
125
|
+
- lib/support/attributes.rb
|
126
|
+
- lib/support/tree.rb
|
127
|
+
- resource/locale/locales-af-ZA.xml
|
128
|
+
- resource/locale/locales-ar-AR.xml
|
129
|
+
- resource/locale/locales-bg-BG.xml
|
130
|
+
- resource/locale/locales-ca-AD.xml
|
131
|
+
- resource/locale/locales-cs-CZ.xml
|
132
|
+
- resource/locale/locales-da-DK.xml
|
133
|
+
- resource/locale/locales-de-AT.xml
|
134
|
+
- resource/locale/locales-de-CH.xml
|
135
|
+
- resource/locale/locales-de-DE.xml
|
136
|
+
- resource/locale/locales-el-GR.xml
|
137
|
+
- resource/locale/locales-en-US.xml
|
138
|
+
- resource/locale/locales-es-ES.xml
|
139
|
+
- resource/locale/locales-et-EE.xml
|
140
|
+
- resource/locale/locales-fr-FR.xml
|
141
|
+
- resource/locale/locales-he-IL.xml
|
142
|
+
- resource/locale/locales-hu-HU.xml
|
143
|
+
- resource/locale/locales-is-IS.xml
|
144
|
+
- resource/locale/locales-it-IT.xml
|
145
|
+
- resource/locale/locales-ja-JP.xml
|
146
|
+
- resource/locale/locales-kh-KH.xml
|
147
|
+
- resource/locale/locales-ko-KR.xml
|
148
|
+
- resource/locale/locales-mn-MN.xml
|
149
|
+
- resource/locale/locales-nb-NO.xml
|
150
|
+
- resource/locale/locales-nl-NL.xml
|
151
|
+
- resource/locale/locales-nn-NO.xml
|
152
|
+
- resource/locale/locales-pl-PL.xml
|
153
|
+
- resource/locale/locales-pt-BR.xml
|
154
|
+
- resource/locale/locales-pt-PT.xml
|
155
|
+
- resource/locale/locales-ro-RO.xml
|
156
|
+
- resource/locale/locales-ru-RU.xml
|
157
|
+
- resource/locale/locales-sk-SK.xml
|
158
|
+
- resource/locale/locales-sl-SI.xml
|
159
|
+
- resource/locale/locales-sr-RS.xml
|
160
|
+
- resource/locale/locales-sv-SE.xml
|
161
|
+
- resource/locale/locales-th-TH.xml
|
162
|
+
- resource/locale/locales-tr-TR.xml
|
163
|
+
- resource/locale/locales-uk-UA.xml
|
164
|
+
- resource/locale/locales-vi-VN.xml
|
165
|
+
- resource/locale/locales-zh-CN.xml
|
166
|
+
- resource/locale/locales-zh-TW.xml
|
167
|
+
- resource/schema/csl-categories.rnc
|
168
|
+
- resource/schema/csl-data.rnc
|
169
|
+
- resource/schema/csl-terms.rnc
|
170
|
+
- resource/schema/csl-types.rnc
|
171
|
+
- resource/schema/csl-variables.rnc
|
172
|
+
- resource/schema/csl.rnc
|
173
|
+
- resource/style/acta-materialia-x.csl
|
174
|
+
- resource/style/advanced-engineering-materials-x.csl
|
175
|
+
- resource/style/ama.csl
|
176
|
+
- resource/style/ama2-x.csl
|
177
|
+
- resource/style/apa-x.csl
|
178
|
+
- resource/style/apa.csl
|
179
|
+
- resource/style/apsa-x.csl
|
180
|
+
- resource/style/apsa.csl
|
181
|
+
- resource/style/asa-x.csl
|
182
|
+
- resource/style/asa.csl
|
183
|
+
- resource/style/asm-journals-x.csl
|
184
|
+
- resource/style/bibtex-x2.csl
|
185
|
+
- resource/style/bluebook-demo-x.csl
|
186
|
+
- resource/style/bluebook-demo.csl
|
187
|
+
- resource/style/chicago-author-date-listing.csl
|
188
|
+
- resource/style/chicago-author-date.csl
|
189
|
+
- resource/style/chicago-fullnote-bibliography-bb.csl
|
190
|
+
- resource/style/chicago-fullnote-bibliography.csl
|
191
|
+
- resource/style/chicago-note-bibliography.csl
|
192
|
+
- resource/style/chicago-note.csl
|
193
|
+
- resource/style/greek-chicago-x.csl
|
194
|
+
- resource/style/harvard1-institution-italic.csl
|
195
|
+
- resource/style/harvard1.csl
|
196
|
+
- resource/style/ieee.csl
|
197
|
+
- resource/style/mhra-x.csl
|
198
|
+
- resource/style/mhra.csl
|
199
|
+
- resource/style/mhra_note_without_bibliography-x.csl
|
200
|
+
- resource/style/mhra_note_without_bibliography.csl
|
201
|
+
- resource/style/mla-x.csl
|
202
|
+
- resource/style/mla.csl
|
203
|
+
- resource/style/nature-x.csl
|
204
|
+
- resource/style/nature.csl
|
205
|
+
- resource/style/nlm.csl
|
206
|
+
- spec/citeproc/bibliography_spec.rb
|
207
|
+
- spec/citeproc/citeproc_spec.rb
|
208
|
+
- spec/citeproc/date_spec.rb
|
209
|
+
- spec/citeproc/formatter_spec.rb
|
210
|
+
- spec/citeproc/item_spec.rb
|
211
|
+
- spec/citeproc/name_spec.rb
|
212
|
+
- spec/citeproc/processor_spec.rb
|
213
|
+
- spec/citeproc/selector_spec.rb
|
214
|
+
- spec/citeproc/variable_spec.rb
|
215
|
+
- spec/csl/locale_spec.rb
|
216
|
+
- spec/csl/node_spec.rb
|
217
|
+
- spec/csl/nodes_spec.rb
|
218
|
+
- spec/csl/style_spec.rb
|
219
|
+
- spec/csl/term_spec.rb
|
220
|
+
- spec/fixtures/dates.yaml
|
221
|
+
- spec/fixtures/names.yaml
|
222
|
+
- spec/fixtures/nodes.yaml
|
223
|
+
- spec/spec_helper.rb
|
224
|
+
- spec/support/attributes_spec.rb
|
225
|
+
- spec/support/tree_spec.rb
|
226
|
+
- README.md
|
227
|
+
has_rdoc: true
|
228
|
+
homepage: http://github.com/inukshuk/citeproc-ruby
|
229
|
+
licenses: []
|
230
|
+
|
231
|
+
post_install_message:
|
232
|
+
rdoc_options:
|
233
|
+
- --charset=UTF-8
|
234
|
+
- --line-numbers
|
235
|
+
- --inline-source
|
236
|
+
- --title
|
237
|
+
- "\"CiteProc-Ruby"
|
238
|
+
- Documentation"
|
239
|
+
- --main
|
240
|
+
- README.md
|
241
|
+
- --webcvs=http://github.com/inukshuk/citeproc-ruby/tree/master/
|
242
|
+
require_paths:
|
243
|
+
- lib
|
244
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
245
|
+
none: false
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: "0"
|
250
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
|
+
none: false
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: 1.3.6
|
256
|
+
requirements: []
|
257
|
+
|
258
|
+
rubyforge_project:
|
259
|
+
rubygems_version: 1.5.0
|
260
|
+
signing_key:
|
261
|
+
specification_version: 3
|
262
|
+
summary: A CSL 1.0 (Citation Style Language) Processor
|
263
|
+
test_files: []
|
264
|
+
|