thread-parent 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  require 'thread_parent/version'
2
2
  require 'thread'
3
- require 'pry'
3
+
4
4
  module ThreadParent
5
5
 
6
6
  class Parents
@@ -29,7 +29,7 @@ class Thread
29
29
  end
30
30
 
31
31
  def parent
32
- @_parent #|| Thread.main
32
+ @_parent
33
33
  end
34
34
 
35
35
  def parents
@@ -1,3 +1,3 @@
1
1
  module ThreadParent
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thread-parent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70233354825040 !ruby/object:Gem::Requirement
16
+ requirement: &70290124293100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70233354825040
24
+ version_requirements: *70290124293100
25
25
  description: ThreadParent facilitates spawning threads that maintain a reference to
26
26
  the thread that created them. The primary goal is to allow thread local variable
27
27
  lookup through the ancestor chain.