bolognese 1.8.17 → 1.8.18
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/build.yml +37 -0
- data/.github/workflows/release.yml +17 -3
- data/Gemfile.lock +7 -5
- data/README.md +1 -1
- data/bolognese.gemspec +1 -1
- data/lib/bolognese/version.rb +1 -1
- metadata +6 -9
- data/.github/workflows/deploy.yml +0 -23
- data/.travis.yml +0 -35
- data/lib/bolognese/.github/workflows/build.yml +0 -28
- data/lib/bolognese/.github/workflows/release.yml +0 -39
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7aa224e308448465b2ce337aa53465b655a4c6961fc07e28f7b421adcc6ae72e
|
|
4
|
+
data.tar.gz: ef3f9e757a9c4fa03482cced8bb100ff9d03f3c6098722ae3ad9e49b459e5447
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a80ddcd13a670b4cd4e5cbde20e2ecd0ed23dcacbf172f1422ba9fe319f47429e87cc62b8ccaf8a8eb31c8c48a4264314145153252aa813ec4d5601bd78a5edd
|
|
7
|
+
data.tar.gz: b40fc37447c5886aafc6cf9eb3dce60935c9ba1b8c08e015ec3cdf3dff514c4293dc059b6ae693b9f6b3286f9d0daaa1cdd09b2cf89c30f08eb2f987589b3988
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Build Ruby Gem
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- "master"
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
env:
|
|
11
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v2
|
|
14
|
+
- name: Set up Ruby 2.6
|
|
15
|
+
uses: actions/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: 2.6.x
|
|
18
|
+
|
|
19
|
+
- name: Build and test
|
|
20
|
+
run: |
|
|
21
|
+
gem install bundler
|
|
22
|
+
bundle install
|
|
23
|
+
bundle exec rspec
|
|
24
|
+
|
|
25
|
+
- name: Publish code coverage
|
|
26
|
+
uses: paambaati/codeclimate-action@v2.7.4
|
|
27
|
+
env:
|
|
28
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
29
|
+
|
|
30
|
+
- name: Notify Slack
|
|
31
|
+
uses: adamkdean/simple-slack-notify@1.0.4
|
|
32
|
+
with:
|
|
33
|
+
channel: '#ops'
|
|
34
|
+
username: 'GitHub Actions'
|
|
35
|
+
color: 'good'
|
|
36
|
+
text: 'A new version of the bolognese gem has been built.'
|
|
37
|
+
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
name: Ruby Gem
|
|
1
|
+
name: Release Ruby Gem
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
release:
|
|
5
5
|
types: [published]
|
|
6
6
|
jobs:
|
|
7
7
|
build:
|
|
8
|
-
name: Build + Publish
|
|
9
8
|
runs-on: ubuntu-latest
|
|
10
|
-
|
|
9
|
+
env:
|
|
10
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
11
11
|
steps:
|
|
12
12
|
- uses: actions/checkout@v2
|
|
13
13
|
- name: Set up Ruby 2.6
|
|
@@ -21,6 +21,12 @@ jobs:
|
|
|
21
21
|
bundle install
|
|
22
22
|
bundle exec rspec spec
|
|
23
23
|
|
|
24
|
+
- name: Code Climate Test Reporter
|
|
25
|
+
uses: aktions/codeclimate-test-reporter@v1
|
|
26
|
+
with:
|
|
27
|
+
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
28
|
+
command: after-build
|
|
29
|
+
|
|
24
30
|
- name: Publish to RubyGems
|
|
25
31
|
run: |
|
|
26
32
|
mkdir -p $HOME/.gem
|
|
@@ -31,3 +37,11 @@ jobs:
|
|
|
31
37
|
gem push *.gem
|
|
32
38
|
env:
|
|
33
39
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
|
40
|
+
|
|
41
|
+
- name: Notify Slack
|
|
42
|
+
uses: adamkdean/simple-slack-notify@1.0.4
|
|
43
|
+
with:
|
|
44
|
+
channel: '#ops'
|
|
45
|
+
username: 'GitHub Actions'
|
|
46
|
+
color: 'good'
|
|
47
|
+
text: 'A new version of the bolognese gem has been released.'
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bolognese (1.8.
|
|
4
|
+
bolognese (1.8.18)
|
|
5
5
|
activesupport (>= 4.2.5)
|
|
6
6
|
benchmark_methods (~> 0.7)
|
|
7
7
|
bibtex-ruby (>= 5.1.0)
|
|
@@ -83,6 +83,7 @@ GEM
|
|
|
83
83
|
i18n (1.8.5)
|
|
84
84
|
concurrent-ruby (~> 1.0)
|
|
85
85
|
iso8601 (0.9.1)
|
|
86
|
+
json (2.3.1)
|
|
86
87
|
json-canonicalization (0.2.0)
|
|
87
88
|
json-ld (3.1.4)
|
|
88
89
|
htmlentities (~> 4.3)
|
|
@@ -173,10 +174,11 @@ GEM
|
|
|
173
174
|
nokogiri (~> 1.6)
|
|
174
175
|
rspec (~> 3)
|
|
175
176
|
scanf (1.0.0)
|
|
176
|
-
simplecov (0.
|
|
177
|
+
simplecov (0.17.1)
|
|
177
178
|
docile (~> 1.1)
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
json (>= 1.8, < 3)
|
|
180
|
+
simplecov-html (~> 0.10.0)
|
|
181
|
+
simplecov-html (0.10.2)
|
|
180
182
|
sxp (1.1.0)
|
|
181
183
|
rdf (~> 3.1)
|
|
182
184
|
temple (0.8.2)
|
|
@@ -204,7 +206,7 @@ DEPENDENCIES
|
|
|
204
206
|
rake (~> 12.0)
|
|
205
207
|
rspec (~> 3.4)
|
|
206
208
|
rspec-xsd (~> 0.1.0)
|
|
207
|
-
simplecov (
|
|
209
|
+
simplecov (= 0.17.1)
|
|
208
210
|
vcr (~> 3.0, >= 3.0.3)
|
|
209
211
|
webmock (~> 3.0, >= 3.0.1)
|
|
210
212
|
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://doi.org/10.5438/n138-z3mk)
|
|
2
2
|
[](https://badge.fury.io/rb/bolognese)
|
|
3
|
-
|
|
3
|
+

|
|
4
4
|
[](https://codeclimate.com/github/datacite/bolognese)
|
|
5
5
|
[](https://codeclimate.com/github/datacite/bolognese/coverage)
|
|
6
6
|
|
data/bolognese.gemspec
CHANGED
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
|
|
47
47
|
s.add_development_dependency 'rack-test', '~> 0'
|
|
48
48
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.3'
|
|
49
49
|
s.add_development_dependency 'webmock', '~> 3.0', '>= 3.0.1'
|
|
50
|
-
s.add_development_dependency 'simplecov', '
|
|
50
|
+
s.add_development_dependency 'simplecov', '0.17.1'
|
|
51
51
|
s.add_development_dependency 'hashdiff', ['>= 1.0.0.beta1', '< 2.0.0']
|
|
52
52
|
|
|
53
53
|
s.require_paths = ["lib"]
|
data/lib/bolognese/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bolognese
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Fenner
|
|
@@ -520,16 +520,16 @@ dependencies:
|
|
|
520
520
|
name: simplecov
|
|
521
521
|
requirement: !ruby/object:Gem::Requirement
|
|
522
522
|
requirements:
|
|
523
|
-
- -
|
|
523
|
+
- - '='
|
|
524
524
|
- !ruby/object:Gem::Version
|
|
525
|
-
version:
|
|
525
|
+
version: 0.17.1
|
|
526
526
|
type: :development
|
|
527
527
|
prerelease: false
|
|
528
528
|
version_requirements: !ruby/object:Gem::Requirement
|
|
529
529
|
requirements:
|
|
530
|
-
- -
|
|
530
|
+
- - '='
|
|
531
531
|
- !ruby/object:Gem::Version
|
|
532
|
-
version:
|
|
532
|
+
version: 0.17.1
|
|
533
533
|
- !ruby/object:Gem::Dependency
|
|
534
534
|
name: hashdiff
|
|
535
535
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -559,11 +559,10 @@ extensions: []
|
|
|
559
559
|
extra_rdoc_files:
|
|
560
560
|
- README.md
|
|
561
561
|
files:
|
|
562
|
-
- ".github/workflows/
|
|
562
|
+
- ".github/workflows/build.yml"
|
|
563
563
|
- ".github/workflows/release.yml"
|
|
564
564
|
- ".gitignore"
|
|
565
565
|
- ".rubocop.yml"
|
|
566
|
-
- ".travis.yml"
|
|
567
566
|
- CITATION
|
|
568
567
|
- Gemfile
|
|
569
568
|
- Gemfile.lock
|
|
@@ -573,8 +572,6 @@ files:
|
|
|
573
572
|
- bin/bolognese
|
|
574
573
|
- bolognese.gemspec
|
|
575
574
|
- lib/bolognese.rb
|
|
576
|
-
- lib/bolognese/.github/workflows/build.yml
|
|
577
|
-
- lib/bolognese/.github/workflows/release.yml
|
|
578
575
|
- lib/bolognese/array.rb
|
|
579
576
|
- lib/bolognese/author_utils.rb
|
|
580
577
|
- lib/bolognese/cli.rb
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: Deploy Ruby Gem
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- "master"
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
name: Build + Publish
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v2
|
|
14
|
-
- name: Set up Ruby 2.6
|
|
15
|
-
uses: actions/setup-ruby@v1
|
|
16
|
-
with:
|
|
17
|
-
ruby-version: 2.6.x
|
|
18
|
-
|
|
19
|
-
- name: Build and test
|
|
20
|
-
run: |
|
|
21
|
-
gem install bundler
|
|
22
|
-
bundle install
|
|
23
|
-
bundle exec rspec spec
|
data/.travis.yml
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm:
|
|
3
|
-
- 2.6.5
|
|
4
|
-
|
|
5
|
-
addons:
|
|
6
|
-
apt:
|
|
7
|
-
packages:
|
|
8
|
-
- language-pack-de
|
|
9
|
-
code_climate:
|
|
10
|
-
repo_token: $CODECLIMATE_REPO_TOKEN
|
|
11
|
-
|
|
12
|
-
install:
|
|
13
|
-
- travis_retry bundle install
|
|
14
|
-
|
|
15
|
-
before_script:
|
|
16
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
17
|
-
- chmod +x ./cc-test-reporter
|
|
18
|
-
- ./cc-test-reporter before-build
|
|
19
|
-
|
|
20
|
-
script:
|
|
21
|
-
- bundle exec rspec spec
|
|
22
|
-
after_script:
|
|
23
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
|
24
|
-
|
|
25
|
-
notifications:
|
|
26
|
-
email: false
|
|
27
|
-
|
|
28
|
-
deploy:
|
|
29
|
-
provider: rubygems
|
|
30
|
-
api_key:
|
|
31
|
-
secure: jNV7zS0e1cSV+oVCqRyolo16QHJFgba7vnFnbG1Nb4Xk3p/hQnE/WTvV0up7jXE9HVKDmMTPPVUfdtvyE/xsTlWNpjIaQ5NdAz+wf4fTkwN8in8AHvxL0V1Zj202cgn6Ikoy2Zwkg4eZTxo1PJ6niyyfMHd/XpaW7zRd7BBN3901DeR0qCsYTJaFF8cO5d/CeKBn0aCHv7vzqRvm+NsEgVmfNCgjQAvMfDZChrlYzUZlOpcmh01u2z0vZyRmsidmAehLRF6GcZpoL8CVBbyzHr6EVjOrI2XVikwj17j4hPLcEzB/gGyK6OUX4JuiSxdRYxAPApZY96SUbFFrfIDusHv1csgwznAlEF4VgerpHq8C5B+CylXHjreT17b5U2QBsr79z401a6m6aC+RM/RDu2lW1p93f/fAK/znBO3DyodlvmVYGN16PuA7g7pa8LYKwtZGSQmTlbAycwcbKHgvbdKmxYAFTOE6CWeginLM7bvOmF6IHcNGzBHK1I8xES0y1XQHFKYl4nT3cMEsA6aRRRQCIQwbr6FE8gyPZrs5P/W9vPM9p6cryXFaSJWbGbounr6lqQgtCmfDdqXPxAszTbcBu/yBukxeM3KvRVrsbtuIanuHn1ppvA31M4bUGTP9CfwKojE9bdo6m7nfHTpjNy7eqOPuUH33cQhIPMCvpZ4=
|
|
32
|
-
gem: bolognese
|
|
33
|
-
on:
|
|
34
|
-
tags: true
|
|
35
|
-
repo: datacite/bolognese
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Build Ruby Gem
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- "master"
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
steps:
|
|
12
|
-
- uses: actions/checkout@v2
|
|
13
|
-
- name: Set up Ruby 2.6
|
|
14
|
-
uses: actions/setup-ruby@v1
|
|
15
|
-
with:
|
|
16
|
-
ruby-version: 2.6.x
|
|
17
|
-
|
|
18
|
-
- name: Build and test
|
|
19
|
-
run: |
|
|
20
|
-
gem install bundler
|
|
21
|
-
bundle install
|
|
22
|
-
bundle exec rspec spec
|
|
23
|
-
|
|
24
|
-
- name: Code Climate Test Reporter
|
|
25
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
26
|
-
with:
|
|
27
|
-
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
28
|
-
command: after-build
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
name: Release Ruby Gem
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types: [published]
|
|
6
|
-
jobs:
|
|
7
|
-
build:
|
|
8
|
-
name: Build + Publish
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
steps:
|
|
12
|
-
- uses: actions/checkout@v2
|
|
13
|
-
- name: Set up Ruby 2.6
|
|
14
|
-
uses: actions/setup-ruby@v1
|
|
15
|
-
with:
|
|
16
|
-
ruby-version: 2.6.x
|
|
17
|
-
|
|
18
|
-
- name: Build and test
|
|
19
|
-
run: |
|
|
20
|
-
gem install bundler
|
|
21
|
-
bundle install
|
|
22
|
-
bundle exec rspec spec
|
|
23
|
-
|
|
24
|
-
- name: Code Climate Test Reporter
|
|
25
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
26
|
-
with:
|
|
27
|
-
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
28
|
-
command: after-build
|
|
29
|
-
|
|
30
|
-
- name: Publish to RubyGems
|
|
31
|
-
run: |
|
|
32
|
-
mkdir -p $HOME/.gem
|
|
33
|
-
touch $HOME/.gem/credentials
|
|
34
|
-
chmod 0600 $HOME/.gem/credentials
|
|
35
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
36
|
-
gem build *.gemspec
|
|
37
|
-
gem push *.gem
|
|
38
|
-
env:
|
|
39
|
-
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|