nanoc-bibtex 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ class BibtexDataSource < Nanoc3::DataSource
|
|
22
22
|
contents = [ "@#{entry.type}{#{entry.key}," ]
|
23
23
|
entry.each do |key, value|
|
24
24
|
unless @exclude[key.to_s]
|
25
|
-
|
25
|
+
if value =~ /^\d+$/ or (key == :month and value =~ /^[a-z]{1,3}$/)
|
26
26
|
contents.push " #{key} = #{value},"
|
27
27
|
else
|
28
28
|
contents.push " #{key} = {#{value}},"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-bibtex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nanoc
|
@@ -87,8 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 1.8.
|
90
|
+
rubygems_version: 1.8.23
|
91
91
|
signing_key:
|
92
92
|
specification_version: 3
|
93
93
|
summary: BibTeX data source for nanoc.
|
94
94
|
test_files: []
|
95
|
+
has_rdoc:
|