callstacking-rails 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14947016af46faef4737e8800c6ea1617d81abf78076e4a072380159251c8348
4
- data.tar.gz: 0ff0f0eae09415b28d483ca95cb5f958e106b26472020318c7a8225897203f27
3
+ metadata.gz: 32743c94e97432eef4a4977e0e123eb7f2539d99e6505ee7b05c6e1d3fb32ee6
4
+ data.tar.gz: fa3c04dcba5a84dd926d5ae21c9b0238c9d4843f396d66066ea3406c851f8b6a
5
5
  SHA512:
6
- metadata.gz: 1e33a35232719a2e04a38ae4847ac9ad09831ca41ae134568075044b040fed4e458a4de86301a5ba97fc77bea5213f02a97e78a137d33023004dfe06b48cfca5
7
- data.tar.gz: 51f3877adb56b49a595c6ee478b89f66048aa4aa2b4e8f10c2920a4e2ead2dc16c29079cf639b62f667f2e774d6f541892cbe88c1c2c581f98262e6d19dd82ed
6
+ metadata.gz: b4fc6ea5d0ca80b91035456422c18fdda3f132602cee7117289c9e994b50e119962ba0b0d3ccbb67a3862f28b55e915b1923cf638a12bd83490568ff1190b752
7
+ data.tar.gz: 6a2b8ffdb61cf8d76fcabbd80215228e44d37b914678c3f4c4c8e9e0ffb44e12562639501896c662f355a3ca1b9fd58e73c425cfe3b03aa8a1d3a985e8f6d0a8
@@ -17,6 +17,9 @@ module Callstacking
17
17
  method_path = (klass.instance_method(method_name).source_location.first rescue nil) ||
18
18
  (klass.method(method_name).source_location.first rescue nil)
19
19
 
20
+ # method was not defined in Ruby (i.e. native)
21
+ return if method_path.nil?
22
+
20
23
  # Application level method definitions
21
24
  return if application_level && !(method_path =~ /#{::Rails.root.to_s}/)
22
25
 
@@ -1,5 +1,5 @@
1
1
  module Callstacking
2
2
  module Rails
3
- VERSION = "0.1.23"
3
+ VERSION = "0.1.24"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: callstacking-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Jones