oa_templater 0.5.21 → 0.5.22
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/examiners.txt +2 -2
- data/lib/oa_templater/oa_templater.rb +5 -5
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 590f4584da8f97beb2b9bb5fb6bbcee21c31460f
|
|
4
|
+
data.tar.gz: eb2137d519709cd09c5c5c4c3b5a0319a94d7224
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c60a1301ef45b7cf2636ea07a8061408724fb812978fc74cc4f84b410df5341df25db4ee29dac4af8d78a026fc01ed6619d5140a985ee51d7433db3bf0d164a7
|
|
7
|
+
data.tar.gz: 8c5b8569f64950ba6c7074f793ec9de6299b3d56ac091b5059842ce533046fee3167f39e11bc187227e7b5c648bc7def795ae4d704e542f153aa7fc6284c9cde
|
|
@@ -1568,8 +1568,8 @@ Teruhisa MAKINO, 牧野 晃久
|
|
|
1568
1568
|
Teruki AMANO, 天野 皓己
|
|
1569
1569
|
Teruki YUMOTO, 湯本 照基
|
|
1570
1570
|
Terumoto YUMOTO, 湯本 照基
|
|
1571
|
-
|
|
1572
|
-
|
|
1571
|
+
Tetsunobu MIYAGAWA, 宮川 哲伸
|
|
1572
|
+
Tetsuo INOUE, 井上 哲男
|
|
1573
1573
|
Tesuo INOUE, 井上 哲男
|
|
1574
1574
|
Tetsu MURAKAMI, 村上 哲
|
|
1575
1575
|
Tetsu SAITO, 齋藤 哲
|
|
@@ -234,9 +234,9 @@ module OaTemplater
|
|
|
234
234
|
case @data
|
|
235
235
|
when /拒絶の理由を発見しない請求項/
|
|
236
236
|
if m = @data.match(R_CAPTURE_NO_REJECT_CLAIMS)
|
|
237
|
-
set_prop(:currently_known, "<Claims for which no reasons for rejection have been found>\r\n \tNo reasons for rejection are currently known for #{format_headers(m[1])}
|
|
237
|
+
set_prop(:currently_known, "<Claims for which no reasons for rejection have been found>\r\n \tNo reasons for rejection are currently known for #{format_headers(m[1])}. The applicant will be notified of new reasons for rejection if such reasons for rejection are found.")
|
|
238
238
|
else
|
|
239
|
-
set_prop(:currently_known, "<Claims for which no reasons for rejection have been found>\r\n \tNo reasons for rejection are currently known for the claims
|
|
239
|
+
set_prop(:currently_known, "<Claims for which no reasons for rejection have been found>\r\n \tNo reasons for rejection are currently known for the claims. The applicant will be notified of new reasons for rejection if such reasons for rejection are found.")
|
|
240
240
|
end
|
|
241
241
|
when /拒絶の理由が通知される/
|
|
242
242
|
set_prop(:currently_known, 'The applicant will be notified of new reasons for rejection if such reasons for rejection are found.')
|
|
@@ -428,7 +428,7 @@ module OaTemplater
|
|
|
428
428
|
count = 1 if count == 0
|
|
429
429
|
wellknown_text = tex =~ /周知技術/ ? ' (Publication showing well-known technology)' : ''
|
|
430
430
|
newlyadd_text = ((tex =~ /追加した文献)/) || (tex =~ /新たに引/)) ? ' (Newly added publication)' : ''
|
|
431
|
-
if /United States/ =~ a['english']
|
|
431
|
+
if (/United States/ =~ a['english']) or (/United Kingdom/ =~ a['english'])
|
|
432
432
|
# citation is in English (no prime needed)
|
|
433
433
|
citation_text += sprintf(CIT_SIMPLE, count, convert_pub_no(m, a['english']) + newlyadd_text + wellknown_text)
|
|
434
434
|
else # normal
|
|
@@ -801,7 +801,7 @@ module OaTemplater
|
|
|
801
801
|
def init_instance_vars
|
|
802
802
|
@props = {}
|
|
803
803
|
@scrapes = {}
|
|
804
|
-
|
|
804
|
+
set_prop(:citaton_list, '')
|
|
805
805
|
capture_the(:mailing_no, /発送番号\p{Z}+(\S+)/)
|
|
806
806
|
capture_the(:ref_no, /整理番号\p{Z}+(\S+)/)
|
|
807
807
|
capture_the(:ipc_list, /調査した分野$/)
|
|
@@ -828,7 +828,7 @@ module OaTemplater
|
|
|
828
828
|
def capture_the(prop, reg, offset = 0)
|
|
829
829
|
matches = @data.match(reg, offset)
|
|
830
830
|
@scrapes[prop] = matches ? matches : nil
|
|
831
|
-
|
|
831
|
+
set_prop(prop, matches ? matches[1] : '')
|
|
832
832
|
end
|
|
833
833
|
|
|
834
834
|
def format_date(format, date)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oa_templater
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Rubingh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: byebug
|