cff 0.4.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +68 -0
- data/CITATION.cff +9 -4
- data/Gemfile +2 -0
- data/LICENCE +1 -1
- data/README.md +136 -20
- data/Rakefile +3 -1
- data/bin/console +1 -0
- data/cff.gemspec +29 -15
- data/lib/cff.rb +22 -10
- data/lib/cff/entity.rb +28 -1
- data/lib/cff/errors.rb +45 -0
- data/lib/cff/file.rb +132 -13
- 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 +108 -14
- data/lib/cff/model_part.rb +3 -1
- data/lib/cff/person.rb +42 -8
- data/lib/cff/reference.rb +141 -42
- data/lib/cff/util.rb +15 -1
- data/lib/cff/validatable.rb +55 -0
- data/lib/cff/version.rb +6 -3
- data/lib/schema/1.2.0.json +1882 -0
- metadata +82 -28
metadata
CHANGED
@@ -1,15 +1,30 @@
|
|
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:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: json_schema
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::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
|
13
28
|
- !ruby/object:Gem::Dependency
|
14
29
|
name: language_list
|
15
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -25,103 +40,131 @@ dependencies:
|
|
25
40
|
- !ruby/object:Gem::Version
|
26
41
|
version: '1.2'
|
27
42
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
43
|
+
name: minitest
|
29
44
|
requirement: !ruby/object:Gem::Requirement
|
30
45
|
requirements:
|
31
46
|
- - "~>"
|
32
47
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
48
|
+
version: '5.14'
|
49
|
+
type: :development
|
35
50
|
prerelease: false
|
36
51
|
version_requirements: !ruby/object:Gem::Requirement
|
37
52
|
requirements:
|
38
53
|
- - "~>"
|
39
54
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
55
|
+
version: '5.14'
|
41
56
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
57
|
+
name: rake
|
43
58
|
requirement: !ruby/object:Gem::Requirement
|
44
59
|
requirements:
|
45
60
|
- - "~>"
|
46
61
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
62
|
+
version: '13.0'
|
48
63
|
type: :development
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
67
|
- - "~>"
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
69
|
+
version: '13.0'
|
55
70
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
71
|
+
name: rdoc
|
57
72
|
requirement: !ruby/object:Gem::Requirement
|
58
73
|
requirements:
|
59
74
|
- - "~>"
|
60
75
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
76
|
+
version: '6.3'
|
62
77
|
type: :development
|
63
78
|
prerelease: false
|
64
79
|
version_requirements: !ruby/object:Gem::Requirement
|
65
80
|
requirements:
|
66
81
|
- - "~>"
|
67
82
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
83
|
+
version: '6.3'
|
69
84
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
85
|
+
name: rubocop
|
71
86
|
requirement: !ruby/object:Gem::Requirement
|
72
87
|
requirements:
|
73
88
|
- - "~>"
|
74
89
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
90
|
+
version: '1.15'
|
76
91
|
type: :development
|
77
92
|
prerelease: false
|
78
93
|
version_requirements: !ruby/object:Gem::Requirement
|
79
94
|
requirements:
|
80
95
|
- - "~>"
|
81
96
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
97
|
+
version: '1.15'
|
83
98
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
99
|
+
name: rubocop-minitest
|
85
100
|
requirement: !ruby/object:Gem::Requirement
|
86
101
|
requirements:
|
87
102
|
- - "~>"
|
88
103
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
104
|
+
version: '0.13'
|
90
105
|
type: :development
|
91
106
|
prerelease: false
|
92
107
|
version_requirements: !ruby/object:Gem::Requirement
|
93
108
|
requirements:
|
94
109
|
- - "~>"
|
95
110
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
111
|
+
version: '0.13'
|
97
112
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
113
|
+
name: rubocop-performance
|
99
114
|
requirement: !ruby/object:Gem::Requirement
|
100
115
|
requirements:
|
101
116
|
- - "~>"
|
102
117
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
118
|
+
version: 1.11.0
|
104
119
|
type: :development
|
105
120
|
prerelease: false
|
106
121
|
version_requirements: !ruby/object:Gem::Requirement
|
107
122
|
requirements:
|
108
123
|
- - "~>"
|
109
124
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
125
|
+
version: 1.11.0
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: rubocop
|
127
|
+
name: rubocop-rake
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.5.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::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
|
113
156
|
requirement: !ruby/object:Gem::Requirement
|
114
157
|
requirements:
|
115
158
|
- - "~>"
|
116
159
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
160
|
+
version: 0.8.0
|
118
161
|
type: :development
|
119
162
|
prerelease: false
|
120
163
|
version_requirements: !ruby/object:Gem::Requirement
|
121
164
|
requirements:
|
122
165
|
- - "~>"
|
123
166
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
167
|
+
version: 0.8.0
|
125
168
|
- !ruby/object:Gem::Dependency
|
126
169
|
name: test_construct
|
127
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,17 +198,29 @@ files:
|
|
155
198
|
- cff.gemspec
|
156
199
|
- lib/cff.rb
|
157
200
|
- lib/cff/entity.rb
|
201
|
+
- lib/cff/errors.rb
|
158
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
|
159
208
|
- lib/cff/model.rb
|
160
209
|
- lib/cff/model_part.rb
|
161
210
|
- lib/cff/person.rb
|
162
211
|
- lib/cff/reference.rb
|
163
212
|
- lib/cff/util.rb
|
213
|
+
- lib/cff/validatable.rb
|
164
214
|
- lib/cff/version.rb
|
215
|
+
- lib/schema/1.2.0.json
|
165
216
|
homepage: https://github.com/citation-file-format/ruby-cff
|
166
217
|
licenses:
|
167
218
|
- Apache-2.0
|
168
|
-
metadata:
|
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
|
169
224
|
post_install_message:
|
170
225
|
rdoc_options: []
|
171
226
|
require_paths:
|
@@ -174,15 +229,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
174
229
|
requirements:
|
175
230
|
- - ">="
|
176
231
|
- !ruby/object:Gem::Version
|
177
|
-
version: 2.
|
232
|
+
version: '2.6'
|
178
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
234
|
requirements:
|
180
235
|
- - ">="
|
181
236
|
- !ruby/object:Gem::Version
|
182
237
|
version: '0'
|
183
238
|
requirements: []
|
184
|
-
|
185
|
-
rubygems_version: 2.7.7
|
239
|
+
rubygems_version: 3.1.4
|
186
240
|
signing_key:
|
187
241
|
specification_version: 4
|
188
242
|
summary: A Ruby library for manipulating CITATION.cff files.
|