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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd780244d65b7e0dfac84a9e8a7e1e4355cd6afc
4
- data.tar.gz: 434b17d7508b897ada24bfeca7a1173a047ae684
3
+ metadata.gz: 3f7a5972d7f89a0c27d0e8dbc374c038329fd832
4
+ data.tar.gz: 70d99de77735775c0778034830cd181a1d561a7b
5
5
  SHA512:
6
- metadata.gz: 9234bb25ca4ab3639f0c55f348cd603216034859f9a714f6423761d3f1a0dda8f9b1781b4919918d9447dd534a356452aef11814909061a78d8cc2ead5ca6b6c
7
- data.tar.gz: 0c0ed870ae4cf051d80a798799946a2d5b25600df3dd438b975dc394adbd20c97fa370d21ad6e380feef8e31b616c2b1b7c2888fa210bca39263b25dba3b265d
6
+ metadata.gz: 7d1794deb4bf8f6653eaa59125871da60dd26c9a62549fca6e4ff63b4c69789459e5dc5aba7359a38b761b907a40f147dba267331cd95ddd95c2b96d73df4050
7
+ data.tar.gz: 6ce3ae949ffa6fa1543e79beedc7102738aa7be880535b4824994fe0e3dda0813e22055769b66ad689f1c2090314d6ac3f58b63aa1ce55de5cb26d1dc0cf89b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirneco (0.8.2)
4
+ cirneco (0.8.3)
5
5
  activesupport (~> 4.2, >= 4.2.5)
6
6
  base32-crockford-checksum (~> 0.2.2)
7
7
  bergamasco (~> 0.3)
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?
@@ -1,3 +1,3 @@
1
1
  module Cirneco
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirneco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner