citeproc-ruby 2.2.0 → 2.3.0
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.
- checksums.yaml +4 -4
- data/README.md +72 -64
- data/lib/citeproc/ruby/engine.rb +11 -15
- data/lib/citeproc/ruby/format.rb +35 -9
- data/lib/citeproc/ruby/formats/default.rb +3 -2
- data/lib/citeproc/ruby/formats/html.rb +42 -2
- data/lib/citeproc/ruby/renderer/date.rb +100 -16
- data/lib/citeproc/ruby/renderer/format.rb +18 -83
- data/lib/citeproc/ruby/renderer/group.rb +18 -6
- data/lib/citeproc/ruby/renderer/label.rb +2 -2
- data/lib/citeproc/ruby/renderer/layout.rb +4 -1
- data/lib/citeproc/ruby/renderer/locale.rb +63 -2
- data/lib/citeproc/ruby/renderer/macro.rb +2 -4
- data/lib/citeproc/ruby/renderer/names.rb +47 -64
- data/lib/citeproc/ruby/renderer/number.rb +2 -2
- data/lib/citeproc/ruby/renderer/observer.rb +10 -4
- data/lib/citeproc/ruby/renderer/state.rb +5 -1
- data/lib/citeproc/ruby/renderer/text.rb +16 -3
- data/lib/citeproc/ruby/renderer.rb +36 -5
- data/lib/citeproc/ruby/version.rb +1 -1
- metadata +12 -22
- data/.document +0 -5
- data/.github/workflows/ci.yml +0 -33
- data/.yardopts +0 -2
- data/AGPL +0 -662
- data/Gemfile +0 -27
- data/Rakefile +0 -47
- data/cucumber.yml +0 -1
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: citeproc-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvester Keil
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: citeproc
|
|
@@ -15,34 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
19
|
-
- - ">="
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
version: 1.0.9
|
|
18
|
+
version: '2.0'
|
|
22
19
|
type: :runtime
|
|
23
20
|
prerelease: false
|
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
22
|
requirements:
|
|
26
23
|
- - "~>"
|
|
27
24
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: '
|
|
29
|
-
- - ">="
|
|
30
|
-
- !ruby/object:Gem::Version
|
|
31
|
-
version: 1.0.9
|
|
25
|
+
version: '2.0'
|
|
32
26
|
- !ruby/object:Gem::Dependency
|
|
33
27
|
name: csl
|
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
|
35
29
|
requirements:
|
|
36
30
|
- - "~>"
|
|
37
31
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '2.
|
|
32
|
+
version: '2.5'
|
|
39
33
|
type: :runtime
|
|
40
34
|
prerelease: false
|
|
41
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
36
|
requirements:
|
|
43
37
|
- - "~>"
|
|
44
38
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '2.
|
|
39
|
+
version: '2.5'
|
|
46
40
|
- !ruby/object:Gem::Dependency
|
|
47
41
|
name: observer
|
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,20 +55,13 @@ description: |
|
|
|
61
55
|
CiteProc-Ruby is a Citation Style Language (CSL) 1.0.2 compatible cite
|
|
62
56
|
processor implementation written in pure Ruby.
|
|
63
57
|
email:
|
|
64
|
-
-
|
|
58
|
+
- sylvester@keil.or.at
|
|
65
59
|
executables: []
|
|
66
60
|
extensions: []
|
|
67
61
|
extra_rdoc_files: []
|
|
68
62
|
files:
|
|
69
|
-
- ".document"
|
|
70
|
-
- ".github/workflows/ci.yml"
|
|
71
|
-
- ".yardopts"
|
|
72
|
-
- AGPL
|
|
73
63
|
- BSDL
|
|
74
|
-
- Gemfile
|
|
75
64
|
- README.md
|
|
76
|
-
- Rakefile
|
|
77
|
-
- cucumber.yml
|
|
78
65
|
- lib/citeproc/ruby.rb
|
|
79
66
|
- lib/citeproc/ruby/engine.rb
|
|
80
67
|
- lib/citeproc/ruby/format.rb
|
|
@@ -101,7 +88,10 @@ files:
|
|
|
101
88
|
homepage: https://github.com/inukshuk/citeproc-ruby
|
|
102
89
|
licenses:
|
|
103
90
|
- BSD-2-Clause
|
|
104
|
-
metadata:
|
|
91
|
+
metadata:
|
|
92
|
+
source_code_uri: https://github.com/inukshuk/citeproc-ruby
|
|
93
|
+
bug_tracker_uri: https://github.com/inukshuk/citeproc-ruby/issues
|
|
94
|
+
rubygems_mfa_required: 'true'
|
|
105
95
|
rdoc_options: []
|
|
106
96
|
require_paths:
|
|
107
97
|
- lib
|
|
@@ -116,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
106
|
- !ruby/object:Gem::Version
|
|
117
107
|
version: '0'
|
|
118
108
|
requirements: []
|
|
119
|
-
rubygems_version: 4.0.
|
|
109
|
+
rubygems_version: 4.0.22
|
|
120
110
|
specification_version: 4
|
|
121
111
|
summary: A Citation Style Language (CSL) cite processor
|
|
122
112
|
test_files: []
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- master
|
|
6
|
-
pull_request:
|
|
7
|
-
branches:
|
|
8
|
-
- master
|
|
9
|
-
jobs:
|
|
10
|
-
build:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
env:
|
|
13
|
-
BUNDLE_WITHOUT: debug
|
|
14
|
-
strategy:
|
|
15
|
-
fail-fast: false
|
|
16
|
-
matrix:
|
|
17
|
-
ruby-version:
|
|
18
|
-
- '4.0'
|
|
19
|
-
- '3.4'
|
|
20
|
-
- '3.3'
|
|
21
|
-
steps:
|
|
22
|
-
- uses: actions/checkout@v7
|
|
23
|
-
- uses: ruby/setup-ruby@v1
|
|
24
|
-
with:
|
|
25
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
26
|
-
bundler-cache: true
|
|
27
|
-
- run: bundle exec rake
|
|
28
|
-
- name: Upload coverage results
|
|
29
|
-
if: matrix.ruby-version == '3.4'
|
|
30
|
-
continue-on-error: true
|
|
31
|
-
uses: coverallsapp/github-action@v2
|
|
32
|
-
with:
|
|
33
|
-
github-token: ${{ github.token }}
|
data/.yardopts
DELETED