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 +4 -4
- data/lib/oa_templater/oa_templater.rb +4 -2
- data/lib/oa_templater/support/templatable.yml +2 -2
- 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: e702684869fdc6abd39d4d0dfc6f406d657cb5b6
|
4
|
+
data.tar.gz: efbd72755b04f03c65745aca09d30d355c9d311f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebfb921440f1b553ce8ec81f9648497dd0fccbff7312e5b93541708450196270557dc5c0cf6426085781f3a9f81dfa8e0a0bbdd5e497a2d88520b848a40d8fb0
|
7
|
+
data.tar.gz: e64094cf4a5ad3e5f7b3831f6f6879f6d36e88d3badb1872ba0f1f20e457ec0755bccca52b0f3b12d8f1ba1343a26a7923ee0f3c046b0e5305e957b595545549
|
@@ -346,7 +346,9 @@ module OaTemplater
|
|
346
346
|
end
|
347
347
|
end
|
348
348
|
|
349
|
-
|
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
|
-
|
3
|
+
productbyprocess0a:
|
4
4
|
detect: !ruby/regexp '/<物の発明に係る請求項にそ.{1,40}造方法/'
|
5
|
-
full: !ruby/regexp '
|
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
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.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-
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|