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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2M5NmE3ZDI3YjU3MjFhYjBiMmYyZmZhODcwZTVjZTA5MDhlZDBjZQ==
4
+ NDE2MDY5YTMwNTk5NzY3MjNjNjY5NmE2ZTUyNzhlMDg1YWZlZjE3Mw==
5
5
  data.tar.gz: !binary |-
6
- ZjIwOGI0YjJlNjIyYWFiYzk0MTI0MTI0ODY2NWVhZWRmNGUwNWM0Yg==
6
+ N2M5YWNjMjZjYzlmNmJhYzEwNzUxY2VhNjNiYjExYjllNjEyNzU4NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGMwODU4YWU3N2IzMDczNDVkZjNiYzRjNDRhNzFhZDljZmUwNmE1OGQ4NzQ5
10
- OWQ0ODlhNGI5OTAzNDU3N2I3NzVlYjJlMDIwNWNlOTliZmQ1OWNiOWZhNmM1
11
- ZDVjY2ZlYjI4NmE5ZDIwM2U1M2E4M2ZiM2VjMGQ1MjcxYjU0NmM=
9
+ ZjNkYjZhNDZmYmNjMmYyN2YzYTYxNTg0OWU0ODRjN2U0MGE4NTcyNTQwZWEy
10
+ YTkwNGZhYzJkMGNlYWM3MTg3ZDMyOWM3Njk2NWU0ZGJlYjY1ZmNkOWY1YzYw
11
+ ZDc4MjE2MDY5NGVjMjE2Mzg0YWE4OTQyNmQxNWNiMWQ2ODdjNzM=
12
12
  data.tar.gz: !binary |-
13
- OGVjZjE3YzM5OTA0YTE5YjExMDZlMmRlODQyNTA5NjEwNTAyNjkxM2RlY2E5
14
- ZTg3ZTRhYjRjNWRhZjQwZTRmNzk3MDNhZWVkZDk4M2VhMTQ3NGZiNDZkOWVi
15
- M2RmNDI2NGQwNjQxNjIyNDhmYjZkYTNmZGRiYzJkZTM3MGNiZjU=
13
+ ODE4MjkxMTYzMTYzNTE5NTQyOTNhMjBlNmE5MDc0MjdkZTEwN2I5ZGQ5MmNi
14
+ YTEwYzM3ZjlhYmJjNTNjZDBhMWU1OWRhZjIzMDNjZWY0OGQxN2EzMDQ4YzNi
15
+ ZmUxOTYwMTZiOTQ0NTI2NGZiZDZjMzM2MTVmNjQ1Y2U5NmYxZGQ=
@@ -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, regular_expression: '(?<=^|[\r\n])(section_name_variants\s*)delimiter([^\r\n]*(?:[\r\n]+(?![A-Za-z].*delimiter).*)*)').first_or_create
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
@@ -1,3 +1,3 @@
1
1
  module Abstractor
2
- VERSION = '4.1.3'
2
+ VERSION = '4.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gurley, Yulia Bushmanova