bibmarkdown 1.2.0 → 1.2.1

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: b1ae9c68a4ae3e578f2e0c51ac4848ad49ba8615
4
- data.tar.gz: 3a02f49a6aaf61dc9e04c5b6c63449a691574198
3
+ metadata.gz: c99bc98d84bf0eed3fb8dd4d7d44a4868c91962f
4
+ data.tar.gz: b552385ae4b3e037c9c94001c83f144d483a5731
5
5
  SHA512:
6
- metadata.gz: 46cd8fc901d0000095b9f9ce5abdf25a8cb44610e485f096d8803540172fd8438e3713b11f6c5342c74856178e2cf5aea36ea9fbf846deba002ca1d82fbb885a
7
- data.tar.gz: 272d0cef6ebb59597cb8ec2da626c7b807fd8499362c414d33fa8c5768f042990fadabe8a77341863c56779e610420366edd1df4fbc6dd060d9a92f0c8ea3831
6
+ metadata.gz: 6b99bff193aca4ffa06785821aac9a3a70d2a0d83481bfb17db5464e51396d6bcfcad221c14e47f3fc019c03313edcb2a08845cd23cdffdcd345c322a5e6bc14
7
+ data.tar.gz: ed909c79a985e26eecb4f87f136b5df0fc0df836edec2c3148fbfbbff0f57de72f32e2f019fa7fc5d0fe39de12b4e1c2ee54b2b50941f94c74fd176243accade
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gem "csl-styles"
5
5
 
6
6
  group :development do
7
7
  gem "bundler", "~> 1.0"
8
- gem "juwelier", "~> 2.1.0"
8
+ gem "juwelier", "~> 2.4.7"
9
9
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
data/bibmarkdown.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bibmarkdown 1.2.0 ruby lib
5
+ # stub: bibmarkdown 1.2.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "bibmarkdown"
9
- s.version = "1.2.0"
8
+ s.name = "bibmarkdown".freeze
9
+ s.version = "1.2.1"
10
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-05-09"
15
- s.email = "ruben@verborgh.org"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Ruben Verborgh".freeze]
14
+ s.date = "2017-08-21"
15
+ s.email = "ruben@verborgh.org".freeze
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE.md",
18
18
  "README.md"
@@ -27,30 +27,30 @@ Gem::Specification.new do |s|
27
27
  "lib/bibmarkdown.rb",
28
28
  "lib/bibmarkdown/document.rb"
29
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."
30
+ s.homepage = "http://github.com/RubenVerborgh/bibmarkdown".freeze
31
+ s.licenses = ["MIT".freeze]
32
+ s.rubygems_version = "2.6.11".freeze
33
+ s.summary = "Markdown with BibTeX citations.".freeze
34
34
 
35
35
  if s.respond_to? :specification_version then
36
36
  s.specification_version = 4
37
37
 
38
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"])
39
+ s.add_runtime_dependency(%q<citeproc-ruby>.freeze, [">= 0"])
40
+ s.add_runtime_dependency(%q<csl-styles>.freeze, [">= 0"])
41
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
42
+ s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
43
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"])
44
+ s.add_dependency(%q<citeproc-ruby>.freeze, [">= 0"])
45
+ s.add_dependency(%q<csl-styles>.freeze, [">= 0"])
46
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
47
+ s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
48
48
  end
49
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"])
50
+ s.add_dependency(%q<citeproc-ruby>.freeze, [">= 0"])
51
+ s.add_dependency(%q<csl-styles>.freeze, [">= 0"])
52
+ s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
53
+ s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
54
54
  end
55
55
  end
56
56
 
@@ -50,7 +50,7 @@ module BibMarkdown
50
50
 
51
51
  # Assign an ID and create a link to the reference
52
52
  id = @references.length + 1
53
- link = create_link "[#{id}]", "#ref-#{id}", class: 'reference'
53
+ link = create_link "\\[#{id}\\]", "#ref-#{id}", class: 'reference'
54
54
 
55
55
  @references[key] = { id: id, url: url, link: link }
56
56
  end
@@ -72,7 +72,7 @@ module BibMarkdown
72
72
  html = %Q{<h2 id="references">References</h2>\n}
73
73
  html += %Q{<dl class="references">\n}
74
74
  @references.each do |key, ref|
75
- html += %Q{ <dt id="ref-#{ref[:id]}">[#{ref[:id]}]</dt>\n}
75
+ html += %Q{ <dt id="ref-#{ref[:id]}">\[#{ref[:id]}\]</dt>\n}
76
76
  html += %Q{ <dd>#{reference_html key}</dd>\n}
77
77
  end
78
78
  html += %Q{</dl>\n}
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Verborgh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: citeproc-ruby
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.1.0
61
+ version: 2.4.7
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.1.0
68
+ version: 2.4.7
69
69
  description:
70
70
  email: ruben@verborgh.org
71
71
  executables: []
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.4.5.1
105
+ rubygems_version: 2.6.11
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Markdown with BibTeX citations.