bibtex-ruby 5.1.5 → 5.1.6

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
  SHA256:
3
- metadata.gz: 6856304b07fca1f55d4f88bbf72876e38438016762854b4ba6131a49c53d1f5c
4
- data.tar.gz: 617f34575c3276fb79986b4d724726beb3b5aba5fc82d712f39c867084e7c56b
3
+ metadata.gz: 5a1f7a49db70b1dcaa1330aeacd9e1ce43fd79a0904f7c4be0c220e84e331528
4
+ data.tar.gz: 536ecca150ff1889fca9976515f0226ac17ded8e0a3cd27b41b3c1cbc75baa0e
5
5
  SHA512:
6
- metadata.gz: d8803ce4b87cba0939eb1586fdb6d34edd42d71acc266716df0dd23101fa8fff0e8ccefdb889b3962010c3e24861527ace743ec0e871a386364f8cab70d0b137
7
- data.tar.gz: c5bfc4fc88f97dcd5be53e7775d09b439f81cbf2e2c25b8aac6f7e327f0913e66a4374b9d3bd29adb5b037ee464308fd532df8beaf4d49d9e36e394e79f49ac9
6
+ metadata.gz: 57bfe6e85f4e7d5e88855d6637bc59f6f062d09dd72cc9c13b8ab7731737303dfe5531a33245b8dd70a33e6eed2ebcf8bf73be9da103ee896a6f16443067679c
7
+ data.tar.gz: ccb43ac768278194cdecd9f6c649c67b8d74795a30bdce34c39b117c5677d1745d1efe52411b12569b188f74d513175f77e5bb104d751e5c58004c8c6953b87f
@@ -179,7 +179,7 @@ module BibTeX
179
179
  end
180
180
 
181
181
  def has_type?(type)
182
- type.to_s.match(/^(?:entry|\*)$/i) || @type == type.to_sym || super
182
+ type.to_s.match(/^(?:entry|\*)$/i) || @type.casecmp?(type.to_sym) || super
183
183
  end
184
184
 
185
185
  alias type? has_type?
@@ -20,7 +20,7 @@ module BibTeX
20
20
  module Version
21
21
  MAJOR = 5
22
22
  MINOR = 1
23
- PATCH = 5
23
+ PATCH = 6
24
24
  BUILD = nil
25
25
 
26
26
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibtex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.5
4
+ version: 5.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-14 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: latex-decode