birth_control 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 986b3006d6cbfc1a82a32b9bee1ddbd31d151508
4
- data.tar.gz: ca631b87a8719c99048622963d9ff4f70bd98f0f
3
+ metadata.gz: 71a1022367f18a0c15b87d903ba788001a3c82cc
4
+ data.tar.gz: 08f5c1504c63d8465447c494b1d97a0232e2a63e
5
5
  SHA512:
6
- metadata.gz: 630f05168d301e641e7635576f7c409d3068040134350a45f3c5bc43eb673d53b461d692e7eb3fb48a7503f6bed8fbb2517bbd8419b7f1761d1bed3d42e61392
7
- data.tar.gz: e4974e4676b381dbbd4a26fb4bc6eb975ee444b3a4f44961d23ff60b105860946f17d23082636b9b234d42b196a661a83dbd09ff86c034cdf5f1d331fdb1502f
6
+ metadata.gz: e1099a79a616f41d3dcfbef4b3e92d365d5f4ae2e08632fa66e645d89f35bface42bfdce3dcae9a72ab5630b65b537968953f8692c8e8496ec10395b9efcb9e0
7
+ data.tar.gz: 71d504aa7728731ec6805e1a981378486a1c40a39214a6fd0f737c2e52133448fc98cc5cc739d87f50d6249644afb8d90873bf5bf74753061b3a8553fed3ca17
@@ -25,6 +25,7 @@ module BirthControl
25
25
  lines << "\n#{klass}(#{id}) - #{callers.size} times"
26
26
  callers.each_with_index do |caller, index|
27
27
  occurence = caller.detect { |call| call.match(/app\//) }
28
+ occurence ||= caller.first
28
29
  occurence.sub!(/(.*)\/app\//, 'app/')
29
30
  lines << " #{index+1}. #{occurence}"
30
31
  end
@@ -1,3 +1,3 @@
1
1
  module BirthControl
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: birth_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Opper