cirneco 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cirneco/utils.rb +1 -1
- data/lib/cirneco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f7a5972d7f89a0c27d0e8dbc374c038329fd832
|
4
|
+
data.tar.gz: 70d99de77735775c0778034830cd181a1d561a7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1794deb4bf8f6653eaa59125871da60dd26c9a62549fca6e4ff63b4c69789459e5dc5aba7359a38b761b907a40f147dba267331cd95ddd95c2b96d73df4050
|
7
|
+
data.tar.gz: 6ce3ae949ffa6fa1543e79beedc7102738aa7be880535b4824994fe0e3dda0813e22055769b66ad689f1c2090314d6ac3f58b63aa1ce55de5cb26d1dc0cf89b7
|
data/Gemfile.lock
CHANGED
data/lib/cirneco/utils.rb
CHANGED
@@ -72,7 +72,7 @@ module Cirneco
|
|
72
72
|
|
73
73
|
def update_accession_number(filepath, options={})
|
74
74
|
filename = File.basename(filepath)
|
75
|
-
return "File #{filename} ignored: not a markdown or html file" unless %w(.md .html).include?(File.extname(filepath))
|
75
|
+
return "File #{filename} ignored: not a markdown or html file" unless %w(.md .html .erb).include?(File.extname(filepath))
|
76
76
|
|
77
77
|
old_metadata = Bergamasco::Markdown.read_yaml_for_doi_metadata(filepath)
|
78
78
|
return "File #{filename} ignored: no yaml front matter" unless old_metadata.present?
|
data/lib/cirneco/version.rb
CHANGED