csl 1.5.2 → 1.6.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/.github/workflows/ci.yml +26 -0
- data/Gemfile +0 -1
- data/README.md +0 -3
- data/Rakefile +0 -8
- data/csl.gemspec +3 -2
- data/cucumber.yml +1 -1
- data/lib/csl/version.rb +1 -1
- metadata +19 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb03f0268591576f09ecfcdae39744460bc1b9d35b9b63f186e1c5dee8e131d8
|
|
4
|
+
data.tar.gz: b633824d0f2bc138f74a8747a1785edf2194a6eb2013daa3bac57469474de1c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41a71ce9c56b13f24c1713c237e90a555113c5a06ec0800e71c53750aa3c9048c1582b1aa3f09ce86d9b964dd84bdca94a9439f84cbc51f35654b1abc6b5a5e1
|
|
7
|
+
data.tar.gz: 4fbe146239c6afc00e3f52768a09758549e0c6c92ed386a9a4c7b97dc1e784564773bca261f4bf848e202ccce31406604db8560fc3573c2b6746e4817c84637a
|
|
@@ -0,0 +1,26 @@
|
|
|
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:extra
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
ruby-version:
|
|
17
|
+
- 3.0
|
|
18
|
+
- 2.7
|
|
19
|
+
- 2.6
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v2
|
|
22
|
+
- uses: ruby/setup-ruby@v1
|
|
23
|
+
with:
|
|
24
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
25
|
+
bundler-cache: true
|
|
26
|
+
- run: bundle exec rake
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -4,9 +4,6 @@ CSL-Ruby provides a Ruby parser and a comprehensive API for the
|
|
|
4
4
|
[Citation Style Language](http://citationstyles.org) (CSL), an XML-based
|
|
5
5
|
format to describe the formatting of citations, notes and bibliographies.
|
|
6
6
|
|
|
7
|
-
[](http://travis-ci.org/inukshuk/csl-ruby)
|
|
8
|
-
[](https://coveralls.io/r/inukshuk/csl-ruby?branch=master)
|
|
9
|
-
|
|
10
7
|
Styles and Locales
|
|
11
8
|
------------------
|
|
12
9
|
You can load CSL styles and locales by passing a respective XML string, file
|
data/Rakefile
CHANGED
|
@@ -34,14 +34,6 @@ Cucumber::Rake::Task.new(:cucumber) do |t|
|
|
|
34
34
|
t.profile = 'default'
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
begin
|
|
38
|
-
require 'coveralls/rake/task'
|
|
39
|
-
Coveralls::RakeTask.new
|
|
40
|
-
task :test_with_coveralls => [:spec, :cucumber, 'coveralls:push']
|
|
41
|
-
rescue LoadError => e
|
|
42
|
-
# ignore
|
|
43
|
-
end if ENV['CI']
|
|
44
|
-
|
|
45
37
|
task :release do |t|
|
|
46
38
|
system "gem build csl.gemspec"
|
|
47
39
|
system "git tag #{CSL::VERSION}"
|
data/csl.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.authors = ['Sylvester Keil']
|
|
20
20
|
s.email = ['http://sylvester.keil.or.at']
|
|
21
21
|
s.homepage = 'https://github.com/inukshuk/csl-ruby'
|
|
22
|
-
s.
|
|
22
|
+
s.licenses = ['AGPL-3.0','BSD-2-Clause']
|
|
23
23
|
s.date = Time.now.strftime('%Y-%m-%d')
|
|
24
24
|
s.summary = 'A Ruby CSL parser and library'
|
|
25
25
|
s.description = <<~EOS
|
|
@@ -30,7 +30,8 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
s.required_ruby_version = '>= 2.2'
|
|
33
|
-
s.
|
|
33
|
+
s.add_runtime_dependency('namae', ['~>1.0'])
|
|
34
|
+
s.add_runtime_dependency('rexml')
|
|
34
35
|
|
|
35
36
|
s.files = `git ls-files`.split("\n") - EXCLUDES
|
|
36
37
|
s.require_path = 'lib'
|
data/cucumber.yml
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
default: --format progress --require features --color
|
|
1
|
+
default: --format progress --require features --color --publish-quiet
|
data/lib/csl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: csl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvester Keil
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: namae
|
|
@@ -24,6 +24,20 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rexml
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
27
41
|
description: |
|
|
28
42
|
A Ruby parser and full API for the Citation Style Language (CSL),
|
|
29
43
|
an open XML-based language to describe the formatting of citations
|
|
@@ -35,6 +49,7 @@ extensions: []
|
|
|
35
49
|
extra_rdoc_files: []
|
|
36
50
|
files:
|
|
37
51
|
- ".document"
|
|
52
|
+
- ".github/workflows/ci.yml"
|
|
38
53
|
- ".gitignore"
|
|
39
54
|
- ".yardopts"
|
|
40
55
|
- AGPL
|
|
@@ -83,6 +98,7 @@ files:
|
|
|
83
98
|
homepage: https://github.com/inukshuk/csl-ruby
|
|
84
99
|
licenses:
|
|
85
100
|
- AGPL-3.0
|
|
101
|
+
- BSD-2-Clause
|
|
86
102
|
metadata: {}
|
|
87
103
|
post_install_message:
|
|
88
104
|
rdoc_options: []
|
|
@@ -99,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
99
115
|
- !ruby/object:Gem::Version
|
|
100
116
|
version: '0'
|
|
101
117
|
requirements: []
|
|
102
|
-
rubygems_version: 3.
|
|
118
|
+
rubygems_version: 3.2.15
|
|
103
119
|
signing_key:
|
|
104
120
|
specification_version: 4
|
|
105
121
|
summary: A Ruby CSL parser and library
|