oa_templater 0.5.8 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f7ec2c60c59c92b986389776c7a6ff09a61f585
4
- data.tar.gz: b36be91f8062fac5866b19495aea31f8e1e78cd5
3
+ metadata.gz: 3a0032a6b1af8fb4ebdebdb2d06c56b0fa306b75
4
+ data.tar.gz: f57028f141c1f640cf0e7c0411c8f3059ecbfc4e
5
5
  SHA512:
6
- metadata.gz: 61565a598fd4bae5b0e04945239cbea08ea53fadd8cea1aee9532c6ee249d36dc9b19b7ede8ea8f329a49fdd3e24621f9c0ffef74538787cb57dc3cbc74b49af
7
- data.tar.gz: 36872660bdef390e91e0603174f90a3f6c4998b8ebcff1085e5fa82df4ef6b5d753a41f48aca134ad4bb865dc149b2308df15cdb4668604c32f7231c3ff9031d
6
+ metadata.gz: 21e3d668f7e16a2d12284f7e245edfedb61ae059107b8998dc16862e867e84044ba9425ab21e0c86a10642a1585a6e1986339376417a323220a1fa079a35f2e3
7
+ data.tar.gz: e78ab53b63e841f7d80da858f264e27c0d23dbb2b6320688882a0b2cba90c9f1a60d09bdbd1a4556f35cf28fb881ef57b1ac7fee00e0340e25a5569cf4d95186
@@ -422,8 +422,8 @@ module OaTemplater
422
422
  @cits.each do |_n, a|
423
423
  if m = tex.match(a['japanese'])
424
424
  count = 1 if count == 0
425
- wellknown_text = tex =~ /(周知技術を示す文献)/ ? ' (Publication showing well-known technology)' : ''
426
- newlyadd_text = tex =~ /(追加した文献)/ ? ' (Newly added publication)' : ''
425
+ wellknown_text = tex =~ /周知技術/ ? ' (Publication showing well-known technology)' : ''
426
+ newlyadd_text = ((tex =~ /追加した文献)/) || (tex =~ /新たに引/)) ? ' (Newly added publication)' : ''
427
427
  if /United States/ =~ a['english']
428
428
  # citation is in English (no prime needed)
429
429
  citation_text += sprintf(CIT_SIMPLE, count, convert_pub_no(m, a['english']) + newlyadd_text + wellknown_text)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OaTemplater
2
- VERSION = '0.5.8'
2
+ VERSION = '0.5.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oa_templater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Rubingh