abstractor 4.1.3 → 4.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/abstractor/setup.rb +3 -1
- data/lib/abstractor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDE2MDY5YTMwNTk5NzY3MjNjNjY5NmE2ZTUyNzhlMDg1YWZlZjE3Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2M5YWNjMjZjYzlmNmJhYzEwNzUxY2VhNjNiYjExYjllNjEyNzU4NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjNkYjZhNDZmYmNjMmYyN2YzYTYxNTg0OWU0ODRjN2U0MGE4NTcyNTQwZWEy
|
10
|
+
YTkwNGZhYzJkMGNlYWM3MTg3ZDMyOWM3Njk2NWU0ZGJlYjY1ZmNkOWY1YzYw
|
11
|
+
ZDc4MjE2MDY5NGVjMjE2Mzg0YWE4OTQyNmQxNWNiMWQ2ODdjNzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODE4MjkxMTYzMTYzNTE5NTQyOTNhMjBlNmE5MDc0MjdkZTEwN2I5ZGQ5MmNi
|
14
|
+
YTEwYzM3ZjlhYmJjNTNjZDBhMWU1OWRhZjIzMDNjZWY0OGQxN2EzMDQ4YzNi
|
15
|
+
ZmUxOTYwMTZiOTQ0NTI2NGZiZDZjMzM2MTVmNjQ1Y2U5NmYxZGQ=
|
data/lib/abstractor/setup.rb
CHANGED
@@ -31,7 +31,9 @@ module Abstractor
|
|
31
31
|
|
32
32
|
puts 'Setting up Abstractor::AbstractorSectionType'
|
33
33
|
Abstractor::AbstractorSectionType.where(name: Abstractor::Enum::ABSTRACTOR_SECTION_TYPE_CUSTOM).first_or_create
|
34
|
-
Abstractor::AbstractorSectionType.where(name: Abstractor::Enum::ABSTRACTOR_SECTION_TYPE_NAME_VALUE
|
34
|
+
abstractor_section_type = Abstractor::AbstractorSectionType.where(name: Abstractor::Enum::ABSTRACTOR_SECTION_TYPE_NAME_VALUE).first_or_create
|
35
|
+
abstractor_section_type.regular_expression = '(?<=^|[\r\n])(section_name_variants\s*)delimiter([^\r\n]*(?:[\r\n]+(?![A-Za-z].*delimiter).*)*)'
|
36
|
+
abstractor_section_type.save!
|
35
37
|
end
|
36
38
|
end
|
37
39
|
end
|
data/lib/abstractor/version.rb
CHANGED