datacite 0.2.0 → 0.2.1
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/Gemfile.lock +8 -8
- data/README.md +7 -0
- data/lib/datacite/schema.json +4 -0
- data/lib/datacite/version.rb +1 -1
- 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: e1a3ce4e3973be5ba19e357515ff81e790269554a3a903b152d8c054ae2f9811
|
|
4
|
+
data.tar.gz: 5fd70031a65a0ecd97bc29a15d472a984db3cc86a957d837cf0eb4ef95178c1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0864d11473d3d400f85048ff027a8640515269831244f16db78e4ed8a56fe69c8a39a72d2a5e2cd4c1ccca22f7f6b13f98b91a7bed45f0a35fbfe93c2622c6e7'
|
|
7
|
+
data.tar.gz: 06512ddcebe1fbe294279b06635cbcca58449a3bea3cbdcf0bee3274d44ab172e069451bcadbcc9b765d5506832e406f683c93956b9e0f05277e51289358fff1
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
datacite (0.2.
|
|
4
|
+
datacite (0.2.1)
|
|
5
5
|
dry-monads (~> 1.3)
|
|
6
6
|
faraday (~> 1.4)
|
|
7
7
|
faraday_middleware (~> 1.0)
|
|
@@ -20,12 +20,10 @@ GEM
|
|
|
20
20
|
diff-lcs (1.4.4)
|
|
21
21
|
dry-core (0.7.1)
|
|
22
22
|
concurrent-ruby (~> 1.0)
|
|
23
|
-
dry-
|
|
24
|
-
dry-monads (1.3.5)
|
|
23
|
+
dry-monads (1.4.0)
|
|
25
24
|
concurrent-ruby (~> 1.0)
|
|
26
|
-
dry-core (~> 0.
|
|
27
|
-
|
|
28
|
-
faraday (1.5.1)
|
|
25
|
+
dry-core (~> 0.7)
|
|
26
|
+
faraday (1.7.0)
|
|
29
27
|
faraday-em_http (~> 1.0)
|
|
30
28
|
faraday-em_synchrony (~> 1.0)
|
|
31
29
|
faraday-excon (~> 1.1)
|
|
@@ -33,6 +31,7 @@ GEM
|
|
|
33
31
|
faraday-net_http (~> 1.0)
|
|
34
32
|
faraday-net_http_persistent (~> 1.1)
|
|
35
33
|
faraday-patron (~> 1.0)
|
|
34
|
+
faraday-rack (~> 1.0)
|
|
36
35
|
multipart-post (>= 1.2, < 3)
|
|
37
36
|
ruby2_keywords (>= 0.0.4)
|
|
38
37
|
faraday-em_http (1.0.0)
|
|
@@ -42,7 +41,8 @@ GEM
|
|
|
42
41
|
faraday-net_http (1.0.1)
|
|
43
42
|
faraday-net_http_persistent (1.2.0)
|
|
44
43
|
faraday-patron (1.0.0)
|
|
45
|
-
|
|
44
|
+
faraday-rack (1.0.0)
|
|
45
|
+
faraday_middleware (1.1.0)
|
|
46
46
|
faraday (~> 1.0)
|
|
47
47
|
hashdiff (1.0.1)
|
|
48
48
|
json_schema (0.21.0)
|
|
@@ -85,7 +85,7 @@ GEM
|
|
|
85
85
|
rubocop (~> 1.0)
|
|
86
86
|
rubocop-ast (>= 1.1.0)
|
|
87
87
|
ruby-progressbar (1.11.0)
|
|
88
|
-
ruby2_keywords (0.0.
|
|
88
|
+
ruby2_keywords (0.0.5)
|
|
89
89
|
unicode-display_width (2.0.0)
|
|
90
90
|
webmock (3.13.0)
|
|
91
91
|
addressable (>= 2.3.6)
|
data/README.md
CHANGED
|
@@ -73,6 +73,13 @@ result.either(
|
|
|
73
73
|
)
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
+
### Validation
|
|
77
|
+
This gem validates using a json schema from https://github.com/datacite/schema/blob/master/source/json/kernel-4.3/datacite_4.3_schema.json
|
|
78
|
+
|
|
79
|
+
We've made the following changes:
|
|
80
|
+
* relax the required fields (https://github.com/datacite/schema/issues/97)
|
|
81
|
+
* add event property (https://github.com/datacite/schema/issues/100)
|
|
82
|
+
|
|
76
83
|
## Development
|
|
77
84
|
|
|
78
85
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/datacite/schema.json
CHANGED
data/lib/datacite/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: datacite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-monads
|