bergamasco 0.2.11 → 0.2.12

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: e2c271ca888d8a0c3c9c41e268b1ad43d6b8eff9
4
- data.tar.gz: c758ee38dfd64e623cf9e29cea95b9db1845cb6c
3
+ metadata.gz: eb6e7e0218cea5f82988d651119f2d45faf67c64
4
+ data.tar.gz: 24be10e5469c3a118e71e5e69320ec19820450ab
5
5
  SHA512:
6
- metadata.gz: 6fb0486c6e820e2f9c07bbb9161c0849cea4a3630e64fcf9e465d494904fcf9c0541fe46828c97aff171371e32b74a50068cb5a7acd4ee62fc12c48c8b6ce75d
7
- data.tar.gz: 2cef5d5ffa7686c118c126280aca44f83f06a3a3a09446056a13c32c7394123f31502f24dda924efc9504554692addf491d7c876a83de09f25dfffe2be2915d5
6
+ metadata.gz: b04a847878d68047e4668a0446eae774064b368a8a684c09b4d2224eda9b1f85a6b0853ce186ad2cebfaac416cd71a3e7122effff5919183e27b26c7e6187fdb
7
+ data.tar.gz: 99ec36c1da3ee185d5a043325865605add66b1f1667b7af53a0974af4161a90dce25cf20d906588473fdac535cdc3d36579480a55f87c00069e212e72dd5e296
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bergamasco (0.2.11)
4
+ bergamasco (0.2.12)
5
5
  activesupport (~> 4.2, >= 4.2.5)
6
6
  addressable (~> 2.3.8)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -44,7 +44,7 @@ module Bergamasco
44
44
 
45
45
  file = IO.read(filepath)
46
46
  yaml = SafeYAML.load(file)
47
- keys = options[:keys] || ["title", "author", "date", "tags", "summary", "doi", "type", "version", "references"]
47
+ keys = options[:keys] || ["title", "author", "date", "tags", "summary", "doi", "type", "version", "references", "published"]
48
48
  metadata = yaml.extract!(*keys).compact
49
49
 
50
50
  content = YAML_FRONT_MATTER_REGEXP.match(file).post_match
@@ -1,3 +1,3 @@
1
1
  module Bergamasco
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bergamasco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner