goodcheck 2.4.4 → 2.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,6 @@ require "yaml"
5
5
  require "json"
6
6
  require "active_support/core_ext/hash/indifferent_access"
7
7
  require "active_support/core_ext/integer/inflections"
8
- require "active_support/core_ext/regexp"
9
8
  require "active_support/tagged_logging"
10
9
  require "rainbow"
11
10
  require "digest/sha2"
@@ -360,7 +360,7 @@ module Goodcheck
360
360
  when ::Regexp
361
361
  Pattern::Regexp.new(source: pattern,
362
362
  regexp: pat,
363
- multiline: pat.multiline?,
363
+ multiline: pat.options & ::Regexp::MULTILINE == ::Regexp::MULTILINE,
364
364
  case_sensitive: !pat.casefold?)
365
365
  end
366
366
  when Hash
@@ -1,3 +1,3 @@
1
1
  module Goodcheck
2
- VERSION = "2.4.4"
2
+ VERSION = "2.4.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2019-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  - !ruby/object:Gem::Version
260
260
  version: '0'
261
261
  requirements: []
262
- rubygems_version: 3.0.3
262
+ rubygems_version: 3.0.6
263
263
  signing_key:
264
264
  specification_version: 4
265
265
  summary: Regexp based customizable linter