jiminy 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: c6d04e4d260d197712f1b3772110fd5ef1026ab903838746a7e97b229815c0b3
4
- data.tar.gz: afafff4e148443368dc94297beecc151708ecae6f6e4f008b9fb70226d68b3b7
3
+ metadata.gz: 38710bcf9a332592a05bfa2c7bac61a0566853d04204ef7792a16e568280fbf2
4
+ data.tar.gz: a6e449faae5adcfd169eb8b8d8763d91574d9e44fd158d9a5b5e4755874a4ed9
5
5
  SHA512:
6
- metadata.gz: 385cc76c40a7954e820d5f3f55a187407fb65934d378b487d0cf22a5efea2a1d56b8082930779332cd4e8e86b4a8c6353535cfba11cdfb97b804d4570ee15bd0
7
- data.tar.gz: faa1fc3009eab77ee0237ad42326e1cc86c0ff26441bedcbd299107245299fd1380948a2b98db2968f01e256645482e94eba8e84e3e6548b70b276e6c0270c21
6
+ metadata.gz: 02d30f03b62afcdb65d298102a55145e9e856a4539157d414b94f6e262da19e6a165224b976e9f68fcae0a6dc2673cbe86c3e2ef7152ea170a0fc07ec4c7547e
7
+ data.tar.gz: 44384c1042e7842060c7e7a3899e794ce6e9344296554262f5c10db3a60006b4f2c34741c4285792b5682fe2ca68a4f1bb4a123904bf56ebfbe330980497bacc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jiminy (0.3.0)
4
+ jiminy (0.4.0)
5
5
  octokit (>= 4)
6
6
  prosopite (>= 1)
7
7
  rspec
@@ -5,7 +5,10 @@ module Jiminy
5
5
  class NPlusOne
6
6
  attr_reader :file, :location
7
7
 
8
- LOCATION_REGEXP = /^(?<file>[\w_\-\/.]+\.e?rb):(?<line>\d+):in\s`(?:block\sin\s)?(?<method>.+)'/x.freeze
8
+ LOCATION_REGEXP = %r{^
9
+ (?<file>[\w_\-/.]+\.(?:erb|rb|jbuilder)):
10
+ (?<line>\d+):in\s`(?:block\sin\s)?
11
+ (?<method>[^']+)'?}x.freeze
9
12
 
10
13
  EXAMPLES_COUNT = 3
11
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jiminy
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jiminy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bodacious
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-24 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit