oa_templater 0.5.19 → 0.5.20

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: 191994d9d4523ab0b86297ec385258670bfbad89
4
- data.tar.gz: dfc745d6ed746b23993b5ba16143dcd5ab9385c2
3
+ metadata.gz: e702684869fdc6abd39d4d0dfc6f406d657cb5b6
4
+ data.tar.gz: efbd72755b04f03c65745aca09d30d355c9d311f
5
5
  SHA512:
6
- metadata.gz: b9025df9e73e8e8c21a3efd5a81f54f7e37e145e6ebe750035152aeedb5746cae7c049135a8f1527d15ab981aa750d5293de7a523f2f2c8a116a73ff191ca01d
7
- data.tar.gz: 549cc03564de3a31c0569f542132e6a31ddd4a6290bf7593f53d721a8159e96315a5e2b9ffdc2c28554ff64ca27b1732fde29d915309f7edbc32cdff69e89207
6
+ metadata.gz: ebfb921440f1b553ce8ec81f9648497dd0fccbff7312e5b93541708450196270557dc5c0cf6426085781f3a9f81dfa8e0a0bbdd5e497a2d88520b848a40d8fb0
7
+ data.tar.gz: e64094cf4a5ad3e5f7b3831f6f6879f6d36e88d3badb1872ba0f1f20e457ec0755bccca52b0f3b12d8f1ba1343a26a7923ee0f3c046b0e5305e957b595545549
@@ -346,7 +346,9 @@ module OaTemplater
346
346
  end
347
347
  end
348
348
 
349
- 3.times { oa_headers_text.gsub!("\n\n\n", "\n") }
349
+ oa_headers_text.gsub!("\n\n\n", "\n")
350
+ oa_headers_text.gsub!("\n\n\n", "\n")
351
+ oa_headers_text.gsub!("\n\n\n", "\n")
350
352
 
351
353
  oa_headers_text.encode!(:xml => :text)
352
354
  #replace OAOA_TEMPLATER_TAB with word_ml newline + tab
@@ -366,7 +368,7 @@ module OaTemplater
366
368
  if m = odata.match(/^.{0,2}#{a['full']}/)
367
369
  #this starting offset should actually be m.end(0) - line.length + (the number of newline characters up to the match)
368
370
  tdata = [line, "\n", tdata].join
369
- tdata = tdata[m.end(0) .. -1]
371
+ tdata = tdata[(m.end(0)+1) .. -1]
370
372
  tex = odata[m.begin(0)..m.end(0)]
371
373
  tex.gsub!(a['full']) do
372
374
  res = a['text']
@@ -1,8 +1,8 @@
1
1
  # encoding: UTF-8
2
2
 
3
- )roductbyprocess0a:
3
+ productbyprocess0a:
4
4
  detect: !ruby/regexp '/<物の発明に係る請求項にそ.{1,40}造方法/'
5
- full: !ruby/regexp '/求項にその物の製造方法が記載されている場合.{1,10}件について>/m'
5
+ full: !ruby/regexp '/<物の発明に係る請求項にその物の製造方法が記載されている場合の明確性要件について>/m'
6
6
  text: 'OAOA_TEMPLATER_TAB<Clarity requirements in the case where a claim for an invention of a product recites a process for manufacturing that product>'
7
7
  productbyprocess0:
8
8
  detect: !ruby/regexp '/請求項[\p{N},~、-及びおよ]+に係る発明は、「?/'
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OaTemplater
2
- VERSION = '0.5.19'
2
+ VERSION = '0.5.20'
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.19
4
+ version: 0.5.20
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-19 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug