dblpbib 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/dblpbib +2 -2
  3. data/lib/dblpbib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80a12a37486ff75d7d7b4eacd04ff2e09ec3ec1c
4
- data.tar.gz: dfc22a7c951abc705c549c19665e624034082482
3
+ metadata.gz: 06f01d4f12edd5bf3d2710757b297ab42cb15f1d
4
+ data.tar.gz: 385ef7e9ec050fbb2915168df7e0a829a763753b
5
5
  SHA512:
6
- metadata.gz: 031902e68e4e84856af11da889c8ad6f150fbad187d99643d594df88616e509e164200d5f6583844bd195c0b530e16ae9221e88295ba75a41be5919f791050d0
7
- data.tar.gz: 9cca08831276903ba3c28016de7dd5c6c7360335274a8586af4d7df48bb796d51a53fbecbc956551249607428316a66ebf9d3bcb7763dbab41267a30ae8e40ac
6
+ metadata.gz: 4c5f0343e9c8032d8f36790c31073c6c102d77ac6ca5646f136a0630ef8a399d3e0d0e0cb926640cf6ef9ac86f83a6bea2068213b054488c4068a00742ed44b5
7
+ data.tar.gz: 814060d32e05cec0850d0c8e8aa1a2f7fd702b19ab933b728e8554592df02d922c515dab6a811194eee7503610ba5730507742e439897aecba954bcdc4f6d406
data/exe/dblpbib CHANGED
@@ -23,8 +23,8 @@ class DBLPCLI
23
23
 
24
24
  def get_keys(file)
25
25
  IO.read(file)
26
- .gsub(/%.*$/, '')
27
- .scan(/\\cite(\[[^]]+\])?\{([^}]+)\}/)
26
+ .gsub(/(?<!\\)%.*$/, '')
27
+ .scan(/\\cite(\[[^\]]+\])?\{([^\}]+)\}/)
28
28
  .map(&:pop)
29
29
  .flat_map { |keyset| keyset.split(',') }
30
30
  .map(&:strip)
@@ -1,4 +1,4 @@
1
1
  module Dblpbib
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  DESCRIPTION = %q{Automatically create bibliographies for BibTeX DBLP references.}
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dblpbib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - PJK
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-01 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler