oa_templater 0.5.21 → 0.5.22

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
  SHA1:
3
- metadata.gz: 0d66e366ce97cff62db09ba91a7eb6f924d52e38
4
- data.tar.gz: 6d1223881f63c7c815de7569eec63d0c15da1e1d
3
+ metadata.gz: 590f4584da8f97beb2b9bb5fb6bbcee21c31460f
4
+ data.tar.gz: eb2137d519709cd09c5c5c4c3b5a0319a94d7224
5
5
  SHA512:
6
- metadata.gz: c1e47d7c15c1f03e50a6a8188cc6a5a72c39afc79450c194eb17e295c80be4417bca01356136cd92adf9b32e71b446d35df4130376d8cd2c22e2ddfc1e7fa711
7
- data.tar.gz: a72fa982a82c702787f0deb7bda6e3b2e2cc2d98125da825cf04df72c655f6beb089f385eb78f72f4a4e7469edf8ab69d354791acd6fc3b39094193081671100
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
- Testunobu MIYAGAWA, 宮川 哲伸
1572
- Testuo INOUE, 井上 哲男
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])} which were not indicated in this Notice of Reasons for Rejection. The applicant will be notified of new reasons for rejection if such reasons for rejection are found.")
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 which were not indicated in this Notice of Reasons for Rejection. The applicant will be notified of new reasons for rejection if such reasons for rejection are found.")
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
- @props[:citaton_list] = ''
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
- @props[prop] = matches ? matches[1] : ''
831
+ set_prop(prop, matches ? matches[1] : '')
832
832
  end
833
833
 
834
834
  def format_date(format, date)
@@ -1,3 +1,3 @@
1
1
  module OaTemplater
2
- VERSION = '0.5.21'
2
+ VERSION = '0.5.22'
3
3
  end
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.21
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-02-25 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug