briard 2.6.2 → 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +6 -8
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -3
- data/lib/briard/cli.rb +5 -0
- data/lib/briard/version.rb +1 -1
- data/spec/cli_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9492201dfa128cb033d3b8a6c15544a8ef4e9b3bfd32837f3027a2a010d88e8
|
4
|
+
data.tar.gz: c54c1763a33c771f101dc4cb298f7853ad8b2317c2f4fe5ef55dfc8013acad6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfa97d37ad0ad136521665794bb9cd284e7261f27ad609b1ba6feca348d552b05a3b8c16e926890938e394bea2f6dcfacad26b48b321c87cc5935a9b98ac548a
|
7
|
+
data.tar.gz: 95af8e1581d74a26e6061107eb20943853ada26456c3fe0f204690206b1151ab96e30a758290891757808177156e022c676c3c41cbbcaec2d95e41bec515342c
|
data/.github/workflows/build.yml
CHANGED
@@ -22,14 +22,12 @@ jobs:
|
|
22
22
|
bundle install
|
23
23
|
bundle exec rspec
|
24
24
|
|
25
|
-
- name:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
coverageLocations: ${{ github.workspace }}/coverage/coverage.json:simplecov
|
32
|
-
|
25
|
+
# - name: SonarCloud Scan
|
26
|
+
# uses: sonarsource/sonarcloud-github-action@master
|
27
|
+
# env:
|
28
|
+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
29
|
+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
30
|
+
|
33
31
|
- name: Notify Slack
|
34
32
|
uses: adamkdean/simple-slack-notify@1.0.4
|
35
33
|
with:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v2.6.3](https://github.com/front-matter/briard/tree/v2.6.3) (2022-10-04)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/front-matter/briard/compare/v2.5.1...v2.6.3)
|
6
|
+
|
3
7
|
## [v2.5.1](https://github.com/front-matter/briard/tree/v2.5.1) (2022-09-18)
|
4
8
|
|
5
9
|
[Full Changelog](https://github.com/front-matter/briard/compare/v2.5.0...v2.5.1)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
briard (2.6.
|
4
|
+
briard (2.6.4)
|
5
5
|
activesupport (>= 4.2.5)
|
6
6
|
base32-url (>= 0.5.0, < 1)
|
7
7
|
benchmark_methods (~> 0.7)
|
@@ -177,7 +177,7 @@ GEM
|
|
177
177
|
rdf-xsd (3.2.1)
|
178
178
|
rdf (~> 3.2)
|
179
179
|
rexml (~> 3.2)
|
180
|
-
regexp_parser (2.
|
180
|
+
regexp_parser (2.6.0)
|
181
181
|
rexml (3.2.5)
|
182
182
|
rspec (3.11.0)
|
183
183
|
rspec-core (~> 3.11.0)
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5785519.svg)](https://doi.org/10.5281/zenodo.5785519)
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/briard.svg)](https://badge.fury.io/rb/briard)
|
3
|
-
![
|
4
|
-
[![
|
5
|
-
[![Test Coverage](https://api.codeclimate.com/v1/badges/42577c8858b5ab71a801/test_coverage)](https://codeclimate.com/github/front-matter/briard/test_coverage)
|
3
|
+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=front-matter_briard&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=front-matter_briard)
|
4
|
+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=front-matter_briard&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=front-matter_briard)
|
6
5
|
|
7
6
|
# Briard: a Ruby library for conversion of DOI Metadata
|
8
7
|
|
data/lib/briard/cli.rb
CHANGED
data/lib/briard/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED
@@ -231,4 +231,12 @@ describe Briard::CLI do
|
|
231
231
|
expect { subject.encode input }.to output(/https:\/\/doi.org\/10.53731/).to_stdout
|
232
232
|
end
|
233
233
|
end
|
234
|
+
|
235
|
+
describe "decode" do
|
236
|
+
let(:input) { "10.53731/cjx855h-hn5jtq8" }
|
237
|
+
|
238
|
+
it "blog post" do
|
239
|
+
expect { subject.decode input }.to output(/464528469187255429864\n/).to_stdout
|
240
|
+
end
|
241
|
+
end
|
234
242
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: briard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|