bibmarkdown 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/VERSION +1 -1
- data/bibmarkdown.gemspec +56 -0
- data/lib/bibmarkdown/document.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e44cd9b80ded7fea0a9b95d4155da2d1cdf7115
|
4
|
+
data.tar.gz: eaf09d977f1ab9a032e0cef5c6e165eeb505903c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 241bf7dc4aeafe5ca924e29457c314ed67cee26c4eab8cbd9e4b7f3af3a279cde3eea7f46cf8a7cf5260a9d2c732f9c0df85d85d0310bf91bd195ba5b4f8b54f
|
7
|
+
data.tar.gz: 59a5703d1ff9fc4f1f83cc6f3e639b0c08d4bf5d9f9d26771d3d5d66aca593ddac2acc0ecdbb7c5fb3f65293b5ea243bd68ea4c228a6755510e77f28ec6ff68a
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/bibmarkdown.gemspec
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Generated by juwelier
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: bibmarkdown 1.1.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "bibmarkdown"
|
9
|
+
s.version = "1.1.0"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Ruben Verborgh"]
|
14
|
+
s.date = "2017-01-05"
|
15
|
+
s.email = "ruben@verborgh.org"
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.md",
|
18
|
+
"README.md"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"Gemfile",
|
22
|
+
"LICENSE.md",
|
23
|
+
"README.md",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"bibmarkdown.gemspec",
|
27
|
+
"lib/bibmarkdown.rb",
|
28
|
+
"lib/bibmarkdown/document.rb"
|
29
|
+
]
|
30
|
+
s.homepage = "http://github.com/RubenVerborgh/bibmarkdown"
|
31
|
+
s.licenses = ["MIT"]
|
32
|
+
s.rubygems_version = "2.4.5.1"
|
33
|
+
s.summary = "Markdown with BibTeX citations."
|
34
|
+
|
35
|
+
if s.respond_to? :specification_version then
|
36
|
+
s.specification_version = 4
|
37
|
+
|
38
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
39
|
+
s.add_runtime_dependency(%q<citeproc-ruby>, [">= 0"])
|
40
|
+
s.add_runtime_dependency(%q<csl-styles>, [">= 0"])
|
41
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
42
|
+
s.add_development_dependency(%q<juwelier>, ["~> 2.1.0"])
|
43
|
+
else
|
44
|
+
s.add_dependency(%q<citeproc-ruby>, [">= 0"])
|
45
|
+
s.add_dependency(%q<csl-styles>, [">= 0"])
|
46
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
47
|
+
s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<citeproc-ruby>, [">= 0"])
|
51
|
+
s.add_dependency(%q<csl-styles>, [">= 0"])
|
52
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
53
|
+
s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
data/lib/bibmarkdown/document.rb
CHANGED
@@ -40,7 +40,7 @@ module BibMarkdown
|
|
40
40
|
"#{html} #{reflink}"
|
41
41
|
# Otherwise, output the link and the reference
|
42
42
|
else
|
43
|
-
"#{create_link html, url,
|
43
|
+
"#{create_link html, url, property: 'http://purl.org/spar/cito/' + rel} #{reflink}"
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibmarkdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben Verborgh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citeproc-ruby
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
81
|
- VERSION
|
82
|
+
- bibmarkdown.gemspec
|
82
83
|
- lib/bibmarkdown.rb
|
83
84
|
- lib/bibmarkdown/document.rb
|
84
85
|
homepage: http://github.com/RubenVerborgh/bibmarkdown
|