cff 0.1.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES.md +234 -0
- data/CITATION.cff +26 -0
- data/Gemfile +3 -1
- data/LICENCE +1 -1
- data/README.md +148 -17
- data/Rakefile +17 -12
- data/bin/console +4 -3
- data/cff.gemspec +43 -21
- data/lib/cff.rb +25 -9
- data/lib/cff/entity.rb +62 -7
- data/lib/cff/errors.rb +45 -0
- data/lib/cff/file.rb +140 -16
- data/lib/cff/formatter/apa_formatter.rb +77 -0
- data/lib/cff/formatter/bibtex_formatter.rb +122 -0
- data/lib/cff/formatter/formatter.rb +63 -0
- data/lib/cff/identifier.rb +71 -0
- data/lib/cff/licensable.rb +46 -0
- data/lib/cff/model.rb +222 -54
- data/lib/cff/model_part.rb +49 -0
- data/lib/cff/person.rb +51 -10
- data/lib/cff/reference.rb +541 -0
- data/lib/cff/util.rb +72 -0
- data/lib/cff/validatable.rb +55 -0
- data/lib/cff/version.rb +7 -4
- data/lib/schema/1.2.0.json +1882 -0
- metadata +127 -29
- data/.gitignore +0 -30
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.travis.yml +0 -19
metadata
CHANGED
@@ -1,99 +1,184 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Haines
|
8
|
+
- The Ruby Citation File Format Developers
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2021-08-08 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
+
name: json_schema
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
18
|
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
+
version: 0.21.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.21.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: language_list
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.2'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.2'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: minitest
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '5.14'
|
20
49
|
type: :development
|
21
50
|
prerelease: false
|
22
51
|
version_requirements: !ruby/object:Gem::Requirement
|
23
52
|
requirements:
|
24
53
|
- - "~>"
|
25
54
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
55
|
+
version: '5.14'
|
27
56
|
- !ruby/object:Gem::Dependency
|
28
57
|
name: rake
|
29
58
|
requirement: !ruby/object:Gem::Requirement
|
30
59
|
requirements:
|
31
60
|
- - "~>"
|
32
61
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
62
|
+
version: '13.0'
|
34
63
|
type: :development
|
35
64
|
prerelease: false
|
36
65
|
version_requirements: !ruby/object:Gem::Requirement
|
37
66
|
requirements:
|
38
67
|
- - "~>"
|
39
68
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
69
|
+
version: '13.0'
|
41
70
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
71
|
+
name: rdoc
|
43
72
|
requirement: !ruby/object:Gem::Requirement
|
44
73
|
requirements:
|
45
74
|
- - "~>"
|
46
75
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
76
|
+
version: '6.3'
|
48
77
|
type: :development
|
49
78
|
prerelease: false
|
50
79
|
version_requirements: !ruby/object:Gem::Requirement
|
51
80
|
requirements:
|
52
81
|
- - "~>"
|
53
82
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
83
|
+
version: '6.3'
|
55
84
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
85
|
+
name: rubocop
|
57
86
|
requirement: !ruby/object:Gem::Requirement
|
58
87
|
requirements:
|
59
88
|
- - "~>"
|
60
89
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
90
|
+
version: '1.15'
|
62
91
|
type: :development
|
63
92
|
prerelease: false
|
64
93
|
version_requirements: !ruby/object:Gem::Requirement
|
65
94
|
requirements:
|
66
95
|
- - "~>"
|
67
96
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
97
|
+
version: '1.15'
|
69
98
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
99
|
+
name: rubocop-minitest
|
71
100
|
requirement: !ruby/object:Gem::Requirement
|
72
101
|
requirements:
|
73
102
|
- - "~>"
|
74
103
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
104
|
+
version: '0.13'
|
76
105
|
type: :development
|
77
106
|
prerelease: false
|
78
107
|
version_requirements: !ruby/object:Gem::Requirement
|
79
108
|
requirements:
|
80
109
|
- - "~>"
|
81
110
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
111
|
+
version: '0.13'
|
83
112
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
113
|
+
name: rubocop-performance
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 1.11.0
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.11.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rubocop-rake
|
85
128
|
requirement: !ruby/object:Gem::Requirement
|
86
129
|
requirements:
|
87
130
|
- - "~>"
|
88
131
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
132
|
+
version: 0.5.0
|
90
133
|
type: :development
|
91
134
|
prerelease: false
|
92
135
|
version_requirements: !ruby/object:Gem::Requirement
|
93
136
|
requirements:
|
94
137
|
- - "~>"
|
95
138
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
139
|
+
version: 0.5.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: simplecov
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 0.20.0
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.20.0
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: simplecov-lcov
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.8.0
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.8.0
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: test_construct
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '2.0'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '2.0'
|
97
182
|
description: See https://citation-file-format.github.io/ for more info.
|
98
183
|
email:
|
99
184
|
- robert.haines@manchester.ac.uk
|
@@ -101,10 +186,8 @@ executables: []
|
|
101
186
|
extensions: []
|
102
187
|
extra_rdoc_files: []
|
103
188
|
files:
|
104
|
-
-
|
105
|
-
-
|
106
|
-
- ".ruby-version"
|
107
|
-
- ".travis.yml"
|
189
|
+
- CHANGES.md
|
190
|
+
- CITATION.cff
|
108
191
|
- CODE_OF_CONDUCT.md
|
109
192
|
- Gemfile
|
110
193
|
- LICENCE
|
@@ -115,13 +198,29 @@ files:
|
|
115
198
|
- cff.gemspec
|
116
199
|
- lib/cff.rb
|
117
200
|
- lib/cff/entity.rb
|
201
|
+
- lib/cff/errors.rb
|
118
202
|
- lib/cff/file.rb
|
203
|
+
- lib/cff/formatter/apa_formatter.rb
|
204
|
+
- lib/cff/formatter/bibtex_formatter.rb
|
205
|
+
- lib/cff/formatter/formatter.rb
|
206
|
+
- lib/cff/identifier.rb
|
207
|
+
- lib/cff/licensable.rb
|
119
208
|
- lib/cff/model.rb
|
209
|
+
- lib/cff/model_part.rb
|
120
210
|
- lib/cff/person.rb
|
211
|
+
- lib/cff/reference.rb
|
212
|
+
- lib/cff/util.rb
|
213
|
+
- lib/cff/validatable.rb
|
121
214
|
- lib/cff/version.rb
|
122
|
-
|
123
|
-
|
124
|
-
|
215
|
+
- lib/schema/1.2.0.json
|
216
|
+
homepage: https://github.com/citation-file-format/ruby-cff
|
217
|
+
licenses:
|
218
|
+
- Apache-2.0
|
219
|
+
metadata:
|
220
|
+
bug_tracker_uri: https://github.com/citation-file-format/ruby-cff/issues
|
221
|
+
changelog_uri: https://github.com/citation-file-format/ruby-cff/blob/main/CHANGES.md
|
222
|
+
documentation_uri: https://citation-file-format.github.io/ruby-cff/
|
223
|
+
source_code_uri: https://github.com/citation-file-format/ruby-cff
|
125
224
|
post_install_message:
|
126
225
|
rdoc_options: []
|
127
226
|
require_paths:
|
@@ -130,15 +229,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
229
|
requirements:
|
131
230
|
- - ">="
|
132
231
|
- !ruby/object:Gem::Version
|
133
|
-
version: '
|
232
|
+
version: '2.6'
|
134
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
234
|
requirements:
|
136
235
|
- - ">="
|
137
236
|
- !ruby/object:Gem::Version
|
138
237
|
version: '0'
|
139
238
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.6.14
|
239
|
+
rubygems_version: 3.1.4
|
142
240
|
signing_key:
|
143
241
|
specification_version: 4
|
144
242
|
summary: A Ruby library for manipulating CITATION.cff files.
|
data/.gitignore
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
/.config
|
4
|
-
/coverage/
|
5
|
-
/InstalledFiles
|
6
|
-
/pkg/
|
7
|
-
/spec/reports/
|
8
|
-
/spec/examples.txt
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
## Documentation cache and generated files:
|
14
|
-
/.yardoc/
|
15
|
-
/_yardoc/
|
16
|
-
/doc/
|
17
|
-
/rdoc/
|
18
|
-
/html/
|
19
|
-
|
20
|
-
## Environment normalization:
|
21
|
-
/.bundle/
|
22
|
-
/vendor/bundle
|
23
|
-
/lib/bundler/man/
|
24
|
-
|
25
|
-
# for a library or gem, you might want to ignore these files since the code is
|
26
|
-
# intended to run in multiple environments; otherwise, check them in:
|
27
|
-
Gemfile.lock
|
28
|
-
|
29
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
30
|
-
.rvmrc
|
data/.ruby-gemset
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
cff
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby-2.4.3
|
data/.travis.yml
DELETED