citeproc-ruby 0.0.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.document +4 -0
- data/.gitignore +10 -0
- data/.rspec +3 -0
- data/.simplecov +4 -0
- data/.travis.yml +17 -0
- data/.yardopts +2 -0
- data/AGPL +662 -0
- data/BSDL +29 -0
- data/Gemfile +42 -0
- data/Guardfile +14 -0
- data/README.md +32 -76
- data/Rakefile +60 -0
- data/citeproc-ruby.gemspec +46 -0
- data/cucumber.yml +1 -0
- data/features/bibliography.feature +25 -0
- data/features/name_options.feature +37 -0
- data/features/names.feature +192 -0
- data/features/renderer.feature +74 -0
- data/features/sort.feature +50 -0
- data/features/step_definitions/renderer.rb +80 -0
- data/features/support/env.rb +33 -0
- data/features/support/hooks.rb +10 -0
- data/lib/citeproc/ruby.rb +32 -0
- data/lib/citeproc/ruby/engine.rb +122 -0
- data/lib/citeproc/ruby/format.rb +303 -0
- data/lib/citeproc/ruby/formats/default.rb +25 -0
- data/lib/citeproc/ruby/formats/html.rb +221 -0
- data/lib/citeproc/ruby/renderer.rb +140 -0
- data/lib/citeproc/ruby/renderer/choose.rb +106 -0
- data/lib/citeproc/ruby/renderer/date.rb +90 -0
- data/lib/citeproc/ruby/renderer/format.rb +129 -0
- data/lib/citeproc/ruby/renderer/group.rb +34 -0
- data/lib/citeproc/ruby/renderer/history.rb +40 -0
- data/lib/citeproc/ruby/renderer/label.rb +66 -0
- data/lib/citeproc/ruby/renderer/layout.rb +20 -0
- data/lib/citeproc/ruby/renderer/locale.rb +26 -0
- data/lib/citeproc/ruby/renderer/macro.rb +20 -0
- data/lib/citeproc/ruby/renderer/names.rb +401 -0
- data/lib/citeproc/ruby/renderer/number.rb +41 -0
- data/lib/citeproc/ruby/renderer/observer.rb +44 -0
- data/lib/citeproc/ruby/renderer/state.rb +96 -0
- data/lib/citeproc/ruby/renderer/text.rb +62 -0
- data/lib/citeproc/ruby/sort.rb +82 -0
- data/lib/citeproc/ruby/version.rb +5 -0
- data/spec/citeproc/ruby/engine_spec.rb +94 -0
- data/spec/citeproc/ruby/formats/default_spec.rb +159 -0
- data/spec/citeproc/ruby/formats/html_spec.rb +162 -0
- data/spec/citeproc/ruby/renderer/choose_spec.rb +293 -0
- data/spec/citeproc/ruby/renderer/date_spec.rb +173 -0
- data/spec/citeproc/ruby/renderer/group_spec.rb +88 -0
- data/spec/citeproc/ruby/renderer/history_spec.rb +38 -0
- data/spec/citeproc/ruby/renderer/label_spec.rb +225 -0
- data/spec/citeproc/ruby/renderer/layout_spec.rb +41 -0
- data/spec/citeproc/ruby/renderer/macro_spec.rb +31 -0
- data/spec/citeproc/ruby/renderer/names_spec.rb +396 -0
- data/spec/citeproc/ruby/renderer/number_spec.rb +120 -0
- data/spec/citeproc/ruby/renderer/text_spec.rb +120 -0
- data/spec/citeproc/ruby/renderer_spec.rb +65 -0
- data/spec/fixtures/items.rb +80 -0
- data/{resource/locale → spec/fixtures/locales}/locales-en-US.xml +2 -11
- data/{resource/locale → spec/fixtures/locales}/locales-fr-FR.xml +77 -66
- data/{resource/style → spec/fixtures/styles}/apa.csl +5 -5
- data/spec/spec_helper.rb +67 -14
- metadata +121 -211
- data/lib/citeproc.rb +0 -100
- data/lib/citeproc/bibliography.rb +0 -57
- data/lib/citeproc/data.rb +0 -149
- data/lib/citeproc/date.rb +0 -133
- data/lib/citeproc/formatter.rb +0 -38
- data/lib/citeproc/item.rb +0 -53
- data/lib/citeproc/name.rb +0 -284
- data/lib/citeproc/processor.rb +0 -166
- data/lib/citeproc/selector.rb +0 -61
- data/lib/citeproc/variable.rb +0 -82
- data/lib/citeproc/version.rb +0 -3
- data/lib/csl/locale.rb +0 -223
- data/lib/csl/node.rb +0 -72
- data/lib/csl/nodes.rb +0 -1418
- data/lib/csl/renderer.rb +0 -88
- data/lib/csl/sort.rb +0 -61
- data/lib/csl/style.rb +0 -110
- data/lib/csl/term.rb +0 -124
- data/lib/extensions/core.rb +0 -43
- data/lib/plugins/filters/bibtex.rb +0 -12
- data/lib/plugins/formats/default.rb +0 -134
- data/lib/plugins/formats/html.rb +0 -67
- data/lib/support/attributes.rb +0 -99
- data/lib/support/compatibility.rb +0 -83
- data/lib/support/tree.rb +0 -80
- data/resource/locale/locales-af-ZA.xml +0 -305
- data/resource/locale/locales-ar-AR.xml +0 -306
- data/resource/locale/locales-bg-BG.xml +0 -305
- data/resource/locale/locales-ca-AD.xml +0 -305
- data/resource/locale/locales-cs-CZ.xml +0 -305
- data/resource/locale/locales-da-DK.xml +0 -305
- data/resource/locale/locales-de-AT.xml +0 -304
- data/resource/locale/locales-de-CH.xml +0 -304
- data/resource/locale/locales-de-DE.xml +0 -332
- data/resource/locale/locales-el-GR.xml +0 -305
- data/resource/locale/locales-en-GB.xml +0 -304
- data/resource/locale/locales-es-ES.xml +0 -305
- data/resource/locale/locales-et-EE.xml +0 -304
- data/resource/locale/locales-eu.xml +0 -305
- data/resource/locale/locales-fa-IR.xml +0 -304
- data/resource/locale/locales-fi-FI.xml +0 -304
- data/resource/locale/locales-fr-CA.xml +0 -306
- data/resource/locale/locales-he-IL.xml +0 -304
- data/resource/locale/locales-hu-HU.xml +0 -305
- data/resource/locale/locales-is-IS.xml +0 -304
- data/resource/locale/locales-it-IT.xml +0 -305
- data/resource/locale/locales-ja-JP.xml +0 -305
- data/resource/locale/locales-kh-KH.xml +0 -303
- data/resource/locale/locales-km-KH.xml +0 -304
- data/resource/locale/locales-ko-KR.xml +0 -305
- data/resource/locale/locales-mn-MN.xml +0 -306
- data/resource/locale/locales-nb-NO.xml +0 -304
- data/resource/locale/locales-nl-NL.xml +0 -304
- data/resource/locale/locales-nn-NO.xml +0 -304
- data/resource/locale/locales-pl-PL.xml +0 -305
- data/resource/locale/locales-pt-BR.xml +0 -304
- data/resource/locale/locales-pt-PT.xml +0 -305
- data/resource/locale/locales-ro-RO.xml +0 -305
- data/resource/locale/locales-ru-RU.xml +0 -306
- data/resource/locale/locales-sk-SK.xml +0 -304
- data/resource/locale/locales-sl-SI.xml +0 -305
- data/resource/locale/locales-sr-RS.xml +0 -305
- data/resource/locale/locales-sv-SE.xml +0 -305
- data/resource/locale/locales-th-TH.xml +0 -304
- data/resource/locale/locales-tr-TR.xml +0 -305
- data/resource/locale/locales-uk-UA.xml +0 -306
- data/resource/locale/locales-vi-VN.xml +0 -305
- data/resource/locale/locales-zh-CN.xml +0 -304
- data/resource/locale/locales-zh-TW.xml +0 -305
- data/resource/schema/csl-categories.rnc +0 -39
- data/resource/schema/csl-data.rnc +0 -98
- data/resource/schema/csl-terms.rnc +0 -106
- data/resource/schema/csl-types.rnc +0 -39
- data/resource/schema/csl-variables.rnc +0 -182
- data/resource/schema/csl.rnc +0 -941
- data/resource/style/bibtex.csl +0 -177
- data/resource/style/chicago-annotated-bibliography.csl +0 -513
- data/resource/style/chicago-author-date-basque.csl +0 -707
- data/resource/style/chicago-author-date-de.csl +0 -394
- data/resource/style/chicago-author-date-listing.csl +0 -434
- data/resource/style/chicago-author-date.csl +0 -425
- data/resource/style/chicago-dated-note-biblio-no-ibid.csl +0 -472
- data/resource/style/chicago-fullnote-bibliography-bb.csl +0 -928
- data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +0 -972
- data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +0 -963
- data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +0 -785
- data/resource/style/chicago-fullnote-bibliography.csl +0 -803
- data/resource/style/chicago-library-list.csl +0 -511
- data/resource/style/chicago-note-biblio-no-ibid.csl +0 -514
- data/resource/style/chicago-note-bibliography.csl +0 -530
- data/resource/style/chicago-note.csl +0 -388
- data/resource/style/chicago-quick-copy.csl +0 -685
- data/resource/style/ieee.csl +0 -299
- data/resource/style/mla-notes.csl +0 -796
- data/resource/style/mla-underline.csl +0 -175
- data/resource/style/mla-url.csl +0 -214
- data/resource/style/mla.csl +0 -394
- data/resource/style/vancouver-brackets.csl +0 -256
- data/resource/style/vancouver-superscript-bracket-only-year.csl +0 -165
- data/resource/style/vancouver-superscript.csl +0 -256
- data/resource/style/vancouver.csl +0 -256
- data/spec/citeproc/bibliography_spec.rb +0 -45
- data/spec/citeproc/citeproc_spec.rb +0 -80
- data/spec/citeproc/date_spec.rb +0 -89
- data/spec/citeproc/formatter_spec.rb +0 -101
- data/spec/citeproc/item_spec.rb +0 -71
- data/spec/citeproc/name_spec.rb +0 -30
- data/spec/citeproc/processor_spec.rb +0 -61
- data/spec/citeproc/selector_spec.rb +0 -82
- data/spec/citeproc/variable_spec.rb +0 -69
- data/spec/csl/locale_spec.rb +0 -208
- data/spec/csl/node_spec.rb +0 -25
- data/spec/csl/nodes_spec.rb +0 -145
- data/spec/csl/style_spec.rb +0 -62
- data/spec/csl/term_spec.rb +0 -56
- data/spec/fixtures/dates.yaml +0 -80
- data/spec/fixtures/names.yaml +0 -115
- data/spec/fixtures/nodes.yaml +0 -245
- data/spec/support/attributes_spec.rb +0 -39
- data/spec/support/tree_spec.rb +0 -163
@@ -54,7 +54,7 @@
|
|
54
54
|
<macro name="secondary-contributors">
|
55
55
|
<choose>
|
56
56
|
<if type="chapter paper-conference" match="none">
|
57
|
-
<names variable="translator" delimiter=", " prefix=" (" suffix=")
|
57
|
+
<names variable="translator" delimiter=", " prefix=" (" suffix=")">
|
58
58
|
<name and="symbol" initialize-with=". " delimiter=", "/>
|
59
59
|
<label form="short" prefix=", " text-case="capitalize-first" suffix=""/>
|
60
60
|
<substitute>
|
@@ -163,9 +163,9 @@
|
|
163
163
|
<choose>
|
164
164
|
<if type="report thesis" match="any">
|
165
165
|
<text variable="title" font-style="italic"/>
|
166
|
-
<group prefix=" (" suffix=")">
|
166
|
+
<group prefix=" (" suffix=")" delimiter=" ">
|
167
167
|
<text variable="genre"/>
|
168
|
-
<text variable="number" prefix="
|
168
|
+
<text variable="number" prefix="No. "/>
|
169
169
|
</group>
|
170
170
|
</if>
|
171
171
|
<else-if type="book graphic motion_picture report song manuscript speech" match="any">
|
@@ -263,8 +263,8 @@
|
|
263
263
|
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
|
264
264
|
<date variable="issued">
|
265
265
|
<date-part name="year"/>
|
266
|
-
<date-part
|
267
|
-
<date-part
|
266
|
+
<date-part name="month"/>
|
267
|
+
<date-part name="day"/>
|
268
268
|
</date>
|
269
269
|
</if>
|
270
270
|
<else>
|
data/spec/spec_helper.rb
CHANGED
@@ -1,18 +1,71 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
require 'bundler'
|
2
|
+
begin
|
3
|
+
Bundler.setup
|
4
|
+
rescue Bundler::BundlerError => e
|
5
|
+
$stderr.puts e.message
|
6
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
7
|
+
exit e.status_code
|
8
|
+
end
|
5
9
|
|
6
|
-
|
10
|
+
begin
|
11
|
+
require 'simplecov'
|
12
|
+
require 'coveralls' if ENV['CI']
|
13
|
+
rescue LoadError
|
14
|
+
# ignore
|
7
15
|
end
|
8
16
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
+
begin
|
18
|
+
case
|
19
|
+
when RUBY_PLATFORM < 'java'
|
20
|
+
require 'debug'
|
21
|
+
Debugger.start
|
22
|
+
when defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
|
23
|
+
require 'rubinius/debugger'
|
24
|
+
else
|
25
|
+
require 'debugger'
|
17
26
|
end
|
18
|
-
|
27
|
+
rescue LoadError
|
28
|
+
# ignore
|
29
|
+
end
|
30
|
+
|
31
|
+
require 'citeproc/ruby'
|
32
|
+
|
33
|
+
module Fixtures
|
34
|
+
PATH = File.expand_path('../fixtures', __FILE__)
|
35
|
+
|
36
|
+
Dir[File.join(PATH, '*.rb')].each do |fixture|
|
37
|
+
require fixture
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
module SilentWarnings
|
42
|
+
require 'stringio'
|
43
|
+
#
|
44
|
+
# Adapted form silent_warnings gist by @avdi
|
45
|
+
# https://gist.github.com/1170926
|
46
|
+
#
|
47
|
+
def silent_warnings
|
48
|
+
original_stderr = $stderr
|
49
|
+
$stderr = StringIO.new
|
50
|
+
yield
|
51
|
+
ensure
|
52
|
+
$stderr = original_stderr
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
RSpec.configure do |config|
|
57
|
+
config.include(SilentWarnings)
|
58
|
+
config.include(Fixtures)
|
59
|
+
|
60
|
+
config.before :all do
|
61
|
+
@style_root, @locale_root = CSL::Style.root, CSL::Locale.root
|
62
|
+
|
63
|
+
CSL::Style.root = File.join(Fixtures::PATH, 'styles')
|
64
|
+
CSL::Locale.root = File.join(Fixtures::PATH, 'locales')
|
65
|
+
end
|
66
|
+
|
67
|
+
config.after :all do
|
68
|
+
CSL::Style.root, CSL::Locale.root = @style_root, @locale_root
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
metadata
CHANGED
@@ -1,256 +1,166 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citeproc-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Sylvester Keil
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement:
|
17
|
-
none: false
|
14
|
+
name: citeproc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
19
|
+
version: '1.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: nokogiri
|
27
|
-
requirement: &70271244354860 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '1.5'
|
33
|
-
type: :runtime
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: *70271244354860
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: bundler
|
38
|
-
requirement: &70271244353520 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
23
|
requirements:
|
41
24
|
- - ~>
|
42
25
|
- !ruby/object:Gem::Version
|
43
|
-
version: '1.
|
44
|
-
type: :development
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *70271244353520
|
26
|
+
version: '1.0'
|
47
27
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
49
|
-
requirement:
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *70271244370300
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: rake
|
60
|
-
requirement: &70271244368520 !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
28
|
+
name: csl
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
62
30
|
requirements:
|
63
31
|
- - ~>
|
64
32
|
- !ruby/object:Gem::Version
|
65
|
-
version: '
|
66
|
-
type: :
|
67
|
-
prerelease: false
|
68
|
-
version_requirements: *70271244368520
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: &70271244366160 !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
|
-
requirements:
|
74
|
-
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '2.9'
|
77
|
-
type: :development
|
33
|
+
version: '1.2'
|
34
|
+
type: :runtime
|
78
35
|
prerelease: false
|
79
|
-
version_requirements:
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: cucumber
|
82
|
-
requirement: &70271244364740 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
37
|
requirements:
|
85
38
|
- - ~>
|
86
39
|
- !ruby/object:Gem::Version
|
87
|
-
version: '1.
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
description: A CSL (Citation Style Language) Processor
|
40
|
+
version: '1.2'
|
41
|
+
description: |
|
42
|
+
CiteProc-Ruby is a Citation Style Language (CSL) 1.0.1 compatible cite
|
43
|
+
processor implementation written in pure Ruby.
|
92
44
|
email:
|
93
45
|
- http://sylvester.keil.or.at
|
94
46
|
executables: []
|
95
47
|
extensions: []
|
96
|
-
extra_rdoc_files:
|
97
|
-
- README.md
|
48
|
+
extra_rdoc_files: []
|
98
49
|
files:
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
- lib/csl/locale.rb
|
111
|
-
- lib/csl/node.rb
|
112
|
-
- lib/csl/nodes.rb
|
113
|
-
- lib/csl/renderer.rb
|
114
|
-
- lib/csl/sort.rb
|
115
|
-
- lib/csl/style.rb
|
116
|
-
- lib/csl/term.rb
|
117
|
-
- lib/extensions/core.rb
|
118
|
-
- lib/plugins/filters/bibtex.rb
|
119
|
-
- lib/plugins/formats/default.rb
|
120
|
-
- lib/plugins/formats/html.rb
|
121
|
-
- lib/support/attributes.rb
|
122
|
-
- lib/support/compatibility.rb
|
123
|
-
- lib/support/tree.rb
|
124
|
-
- resource/locale/locales-af-ZA.xml
|
125
|
-
- resource/locale/locales-ar-AR.xml
|
126
|
-
- resource/locale/locales-bg-BG.xml
|
127
|
-
- resource/locale/locales-ca-AD.xml
|
128
|
-
- resource/locale/locales-cs-CZ.xml
|
129
|
-
- resource/locale/locales-da-DK.xml
|
130
|
-
- resource/locale/locales-de-AT.xml
|
131
|
-
- resource/locale/locales-de-CH.xml
|
132
|
-
- resource/locale/locales-de-DE.xml
|
133
|
-
- resource/locale/locales-el-GR.xml
|
134
|
-
- resource/locale/locales-en-GB.xml
|
135
|
-
- resource/locale/locales-en-US.xml
|
136
|
-
- resource/locale/locales-es-ES.xml
|
137
|
-
- resource/locale/locales-et-EE.xml
|
138
|
-
- resource/locale/locales-eu.xml
|
139
|
-
- resource/locale/locales-fa-IR.xml
|
140
|
-
- resource/locale/locales-fi-FI.xml
|
141
|
-
- resource/locale/locales-fr-CA.xml
|
142
|
-
- resource/locale/locales-fr-FR.xml
|
143
|
-
- resource/locale/locales-he-IL.xml
|
144
|
-
- resource/locale/locales-hu-HU.xml
|
145
|
-
- resource/locale/locales-is-IS.xml
|
146
|
-
- resource/locale/locales-it-IT.xml
|
147
|
-
- resource/locale/locales-ja-JP.xml
|
148
|
-
- resource/locale/locales-kh-KH.xml
|
149
|
-
- resource/locale/locales-km-KH.xml
|
150
|
-
- resource/locale/locales-ko-KR.xml
|
151
|
-
- resource/locale/locales-mn-MN.xml
|
152
|
-
- resource/locale/locales-nb-NO.xml
|
153
|
-
- resource/locale/locales-nl-NL.xml
|
154
|
-
- resource/locale/locales-nn-NO.xml
|
155
|
-
- resource/locale/locales-pl-PL.xml
|
156
|
-
- resource/locale/locales-pt-BR.xml
|
157
|
-
- resource/locale/locales-pt-PT.xml
|
158
|
-
- resource/locale/locales-ro-RO.xml
|
159
|
-
- resource/locale/locales-ru-RU.xml
|
160
|
-
- resource/locale/locales-sk-SK.xml
|
161
|
-
- resource/locale/locales-sl-SI.xml
|
162
|
-
- resource/locale/locales-sr-RS.xml
|
163
|
-
- resource/locale/locales-sv-SE.xml
|
164
|
-
- resource/locale/locales-th-TH.xml
|
165
|
-
- resource/locale/locales-tr-TR.xml
|
166
|
-
- resource/locale/locales-uk-UA.xml
|
167
|
-
- resource/locale/locales-vi-VN.xml
|
168
|
-
- resource/locale/locales-zh-CN.xml
|
169
|
-
- resource/locale/locales-zh-TW.xml
|
170
|
-
- resource/schema/csl-categories.rnc
|
171
|
-
- resource/schema/csl-data.rnc
|
172
|
-
- resource/schema/csl-terms.rnc
|
173
|
-
- resource/schema/csl-types.rnc
|
174
|
-
- resource/schema/csl-variables.rnc
|
175
|
-
- resource/schema/csl.rnc
|
176
|
-
- resource/style/apa.csl
|
177
|
-
- resource/style/bibtex.csl
|
178
|
-
- resource/style/chicago-annotated-bibliography.csl
|
179
|
-
- resource/style/chicago-author-date-basque.csl
|
180
|
-
- resource/style/chicago-author-date-de.csl
|
181
|
-
- resource/style/chicago-author-date-listing.csl
|
182
|
-
- resource/style/chicago-author-date.csl
|
183
|
-
- resource/style/chicago-dated-note-biblio-no-ibid.csl
|
184
|
-
- resource/style/chicago-fullnote-bibliography-bb.csl
|
185
|
-
- resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl
|
186
|
-
- resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl
|
187
|
-
- resource/style/chicago-fullnote-bibliography-no-ibid.csl
|
188
|
-
- resource/style/chicago-fullnote-bibliography.csl
|
189
|
-
- resource/style/chicago-library-list.csl
|
190
|
-
- resource/style/chicago-note-biblio-no-ibid.csl
|
191
|
-
- resource/style/chicago-note-bibliography.csl
|
192
|
-
- resource/style/chicago-note.csl
|
193
|
-
- resource/style/chicago-quick-copy.csl
|
194
|
-
- resource/style/ieee.csl
|
195
|
-
- resource/style/mla-notes.csl
|
196
|
-
- resource/style/mla-underline.csl
|
197
|
-
- resource/style/mla-url.csl
|
198
|
-
- resource/style/mla.csl
|
199
|
-
- resource/style/vancouver-brackets.csl
|
200
|
-
- resource/style/vancouver-superscript-bracket-only-year.csl
|
201
|
-
- resource/style/vancouver-superscript.csl
|
202
|
-
- resource/style/vancouver.csl
|
203
|
-
- spec/citeproc/bibliography_spec.rb
|
204
|
-
- spec/citeproc/citeproc_spec.rb
|
205
|
-
- spec/citeproc/date_spec.rb
|
206
|
-
- spec/citeproc/formatter_spec.rb
|
207
|
-
- spec/citeproc/item_spec.rb
|
208
|
-
- spec/citeproc/name_spec.rb
|
209
|
-
- spec/citeproc/processor_spec.rb
|
210
|
-
- spec/citeproc/selector_spec.rb
|
211
|
-
- spec/citeproc/variable_spec.rb
|
212
|
-
- spec/csl/locale_spec.rb
|
213
|
-
- spec/csl/node_spec.rb
|
214
|
-
- spec/csl/nodes_spec.rb
|
215
|
-
- spec/csl/style_spec.rb
|
216
|
-
- spec/csl/term_spec.rb
|
217
|
-
- spec/fixtures/dates.yaml
|
218
|
-
- spec/fixtures/names.yaml
|
219
|
-
- spec/fixtures/nodes.yaml
|
220
|
-
- spec/spec_helper.rb
|
221
|
-
- spec/support/attributes_spec.rb
|
222
|
-
- spec/support/tree_spec.rb
|
50
|
+
- .coveralls.yml
|
51
|
+
- .document
|
52
|
+
- .gitignore
|
53
|
+
- .rspec
|
54
|
+
- .simplecov
|
55
|
+
- .travis.yml
|
56
|
+
- .yardopts
|
57
|
+
- AGPL
|
58
|
+
- BSDL
|
59
|
+
- Gemfile
|
60
|
+
- Guardfile
|
223
61
|
- README.md
|
224
|
-
|
225
|
-
|
62
|
+
- Rakefile
|
63
|
+
- citeproc-ruby.gemspec
|
64
|
+
- cucumber.yml
|
65
|
+
- features/bibliography.feature
|
66
|
+
- features/name_options.feature
|
67
|
+
- features/names.feature
|
68
|
+
- features/renderer.feature
|
69
|
+
- features/sort.feature
|
70
|
+
- features/step_definitions/renderer.rb
|
71
|
+
- features/support/env.rb
|
72
|
+
- features/support/hooks.rb
|
73
|
+
- lib/citeproc/ruby.rb
|
74
|
+
- lib/citeproc/ruby/engine.rb
|
75
|
+
- lib/citeproc/ruby/format.rb
|
76
|
+
- lib/citeproc/ruby/formats/default.rb
|
77
|
+
- lib/citeproc/ruby/formats/html.rb
|
78
|
+
- lib/citeproc/ruby/renderer.rb
|
79
|
+
- lib/citeproc/ruby/renderer/choose.rb
|
80
|
+
- lib/citeproc/ruby/renderer/date.rb
|
81
|
+
- lib/citeproc/ruby/renderer/format.rb
|
82
|
+
- lib/citeproc/ruby/renderer/group.rb
|
83
|
+
- lib/citeproc/ruby/renderer/history.rb
|
84
|
+
- lib/citeproc/ruby/renderer/label.rb
|
85
|
+
- lib/citeproc/ruby/renderer/layout.rb
|
86
|
+
- lib/citeproc/ruby/renderer/locale.rb
|
87
|
+
- lib/citeproc/ruby/renderer/macro.rb
|
88
|
+
- lib/citeproc/ruby/renderer/names.rb
|
89
|
+
- lib/citeproc/ruby/renderer/number.rb
|
90
|
+
- lib/citeproc/ruby/renderer/observer.rb
|
91
|
+
- lib/citeproc/ruby/renderer/state.rb
|
92
|
+
- lib/citeproc/ruby/renderer/text.rb
|
93
|
+
- lib/citeproc/ruby/sort.rb
|
94
|
+
- lib/citeproc/ruby/version.rb
|
95
|
+
- spec/citeproc/ruby/engine_spec.rb
|
96
|
+
- spec/citeproc/ruby/formats/default_spec.rb
|
97
|
+
- spec/citeproc/ruby/formats/html_spec.rb
|
98
|
+
- spec/citeproc/ruby/renderer/choose_spec.rb
|
99
|
+
- spec/citeproc/ruby/renderer/date_spec.rb
|
100
|
+
- spec/citeproc/ruby/renderer/group_spec.rb
|
101
|
+
- spec/citeproc/ruby/renderer/history_spec.rb
|
102
|
+
- spec/citeproc/ruby/renderer/label_spec.rb
|
103
|
+
- spec/citeproc/ruby/renderer/layout_spec.rb
|
104
|
+
- spec/citeproc/ruby/renderer/macro_spec.rb
|
105
|
+
- spec/citeproc/ruby/renderer/names_spec.rb
|
106
|
+
- spec/citeproc/ruby/renderer/number_spec.rb
|
107
|
+
- spec/citeproc/ruby/renderer/text_spec.rb
|
108
|
+
- spec/citeproc/ruby/renderer_spec.rb
|
109
|
+
- spec/fixtures/items.rb
|
110
|
+
- spec/fixtures/locales/locales-en-US.xml
|
111
|
+
- spec/fixtures/locales/locales-fr-FR.xml
|
112
|
+
- spec/fixtures/styles/apa.csl
|
113
|
+
- spec/spec_helper.rb
|
114
|
+
homepage: https://github.com/inukshuk/citeproc-ruby
|
115
|
+
licenses:
|
116
|
+
- AGPL
|
117
|
+
metadata: {}
|
226
118
|
post_install_message:
|
227
|
-
rdoc_options:
|
228
|
-
- --charset=UTF-8
|
229
|
-
- --line-numbers
|
230
|
-
- --inline-source
|
231
|
-
- --title
|
232
|
-
- ! '"CiteProc-Ruby Documentation"'
|
233
|
-
- --main
|
234
|
-
- README.md
|
235
|
-
- --webcvs=http://github.com/inukshuk/citeproc-ruby/tree/master/
|
119
|
+
rdoc_options: []
|
236
120
|
require_paths:
|
237
121
|
- lib
|
238
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
-
none: false
|
240
123
|
requirements:
|
241
|
-
- -
|
124
|
+
- - '>='
|
242
125
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
126
|
+
version: 1.9.3
|
244
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
-
none: false
|
246
128
|
requirements:
|
247
|
-
- -
|
129
|
+
- - '>='
|
248
130
|
- !ruby/object:Gem::Version
|
249
|
-
version:
|
131
|
+
version: '0'
|
250
132
|
requirements: []
|
251
133
|
rubyforge_project:
|
252
|
-
rubygems_version:
|
134
|
+
rubygems_version: 2.0.14
|
253
135
|
signing_key:
|
254
|
-
specification_version:
|
255
|
-
summary: A
|
256
|
-
test_files:
|
136
|
+
specification_version: 4
|
137
|
+
summary: A Citation Style Language (CSL) cite processor
|
138
|
+
test_files:
|
139
|
+
- features/bibliography.feature
|
140
|
+
- features/name_options.feature
|
141
|
+
- features/names.feature
|
142
|
+
- features/renderer.feature
|
143
|
+
- features/sort.feature
|
144
|
+
- features/step_definitions/renderer.rb
|
145
|
+
- features/support/env.rb
|
146
|
+
- features/support/hooks.rb
|
147
|
+
- spec/citeproc/ruby/engine_spec.rb
|
148
|
+
- spec/citeproc/ruby/formats/default_spec.rb
|
149
|
+
- spec/citeproc/ruby/formats/html_spec.rb
|
150
|
+
- spec/citeproc/ruby/renderer/choose_spec.rb
|
151
|
+
- spec/citeproc/ruby/renderer/date_spec.rb
|
152
|
+
- spec/citeproc/ruby/renderer/group_spec.rb
|
153
|
+
- spec/citeproc/ruby/renderer/history_spec.rb
|
154
|
+
- spec/citeproc/ruby/renderer/label_spec.rb
|
155
|
+
- spec/citeproc/ruby/renderer/layout_spec.rb
|
156
|
+
- spec/citeproc/ruby/renderer/macro_spec.rb
|
157
|
+
- spec/citeproc/ruby/renderer/names_spec.rb
|
158
|
+
- spec/citeproc/ruby/renderer/number_spec.rb
|
159
|
+
- spec/citeproc/ruby/renderer/text_spec.rb
|
160
|
+
- spec/citeproc/ruby/renderer_spec.rb
|
161
|
+
- spec/fixtures/items.rb
|
162
|
+
- spec/fixtures/locales/locales-en-US.xml
|
163
|
+
- spec/fixtures/locales/locales-fr-FR.xml
|
164
|
+
- spec/fixtures/styles/apa.csl
|
165
|
+
- spec/spec_helper.rb
|
166
|
+
has_rdoc: yard
|