trace_location 0.12.0 → 0.12.1

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: 0f72080e074e711ead889178f5bf03db6f01b2d1f2baee4c7a0017c8e1b374e2
4
- data.tar.gz: 83d066fd0c05fd30488ab17a213d2e6cc871a6b2274e155dd3ee87f2c12cf7a6
3
+ metadata.gz: f49674737e97ee9ef9bd3b649db8e7541bd78719b41288d68040f827f65f13f6
4
+ data.tar.gz: 7655524b37f01035e2559e2900f9b1345787743f91c4e4eef55fc36d3ab27b75
5
5
  SHA512:
6
- metadata.gz: d5ea1a2a317eeddd8a02b6013150a8969db58738b724004775f99d4a284cfdc394d620a81bff79063cd07cf295f42f4be98d62b3150c62da83fed95b3f51e6dc
7
- data.tar.gz: 9fae9ec4eb6e18de78ffec2e94718fd8eb7b3d3fb8f46964aecce96da4fedfc5efe161d2ce2f514a201e0cb556b3e2759e1f7136a0c9c0b9ef655419e4bedd2a
6
+ metadata.gz: e319f7513317f0f0e9729d0cd638d6063fdec0d5f2997e7b3046c724a91629d23b6d714b45e8cbaa6b5572748803210926f22cad6a3846f2e8157364a21f43b8
7
+ data.tar.gz: dda84c6c49a85acc1a8e218dae70b5ef3da3b06b21b7a545e0cfa983ee8379f622617fc8626aedc6c8054049c80edc71a9ba2a2cd454016453f66494b7cc8250
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trace_location (0.12.0)
4
+ trace_location (0.12.1)
5
5
  method_source
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TraceLocation
4
- VERSION = '0.12.0'
4
+ VERSION = '0.12.1'
5
5
  end
@@ -5,13 +5,6 @@ require_relative 'trace_location/config'
5
5
  require_relative 'trace_location/report'
6
6
  require_relative 'trace_location/version'
7
7
 
8
- begin
9
- require 'rails'
10
- require_relative 'trace_location/railtie'
11
- rescue LoadError
12
- nil
13
- end
14
-
15
8
  module TraceLocation # :nodoc:
16
9
  def self.trace(options = {}, &block)
17
10
  match = options.delete(:match)
@@ -35,3 +28,10 @@ module TraceLocation # :nodoc:
35
28
  @config ||= Config.new
36
29
  end
37
30
  end
31
+
32
+ begin
33
+ require 'rails'
34
+ require_relative 'trace_location/railtie'
35
+ rescue LoadError
36
+ nil
37
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trace_location
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiyuki Hirano
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-12-12 00:00:00.000000000 Z
12
+ date: 2023-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: method_source