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 +4 -4
- data/lib/oa_templater/oa_templater.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a0032a6b1af8fb4ebdebdb2d06c56b0fa306b75
|
|
4
|
+
data.tar.gz: f57028f141c1f640cf0e7c0411c8f3059ecbfc4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 =~
|
|
426
|
-
newlyadd_text = tex =~
|
|
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