libvirt_async 0.1.0 → 0.1.1

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
- SHA256:
3
- metadata.gz: 2f42eb9b4f528ea66469c50b66465d45b3eaca161c4d6eb82e61c86861a3e884
4
- data.tar.gz: 2b6d5b0d8522f4d78e2625841bb00b6587508e370d9baa129abc35811178be15
2
+ SHA1:
3
+ metadata.gz: b24efe4c5438e07c1fbc9fac06b82493e242deb7
4
+ data.tar.gz: c49f812826b3e2275065f52f587a29ef3dec95ae
5
5
  SHA512:
6
- metadata.gz: 366ca6361b847d440c586d0d6716531f1cc8d295ac7b713cc314b8f2c764993ddf611242848f0d8418156141718bd9a3c7eb20a87f45f4aa092c787d90559f61
7
- data.tar.gz: 9d6e5fce3c53248c4248c6097bd2be489505d811f035665c88a81063c27c9041419323015c7f113f8c3226677ee550f7663591aab8aa2925bb258a4602ee1d08
6
+ metadata.gz: cbb0387eabbed0bd926268e62e7995fead38c42e5ee7b01f663e24d03f41c165cf54c219d17102842d4d6a98d6ba18d0f0c91ea4f43b61b57fe31877c80e4af4
7
+ data.tar.gz: deb1c6f89322e867a97da6b4d3e7e694b515b9f5e9c7edaced04865cf18b386ef946aafae8eaf502fd89ad84329449c79195dcfef06a90a248edcfb6942abdef
data/CHANGELOG.md CHANGED
@@ -1 +1,11 @@
1
1
  # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.1.1
6
+ - fix async tasks hierarchy
7
+
8
+ ## 0.1.0
9
+
10
+ - register implementations
11
+ - debug logging
data/README.md CHANGED
@@ -43,6 +43,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/senid2
43
43
  This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/libvirt_async/blob/master/CODE_OF_CONDUCT.md).
44
44
 
45
45
 
46
+ ## Releasing
47
+
48
+ $ bundle exec rake release
49
+ $ gem push pkg/libvirt_async-X.Y.Z.gem
50
+
46
51
  ## License
47
52
 
48
53
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,8 +1,9 @@
1
1
  module LibvirtAsync
2
2
  module Util
3
3
 
4
- def create_task(&block)
5
- Async::Task.new(Async::Task.current.reactor, &block)
4
+ def create_task(parent = nil, &block)
5
+ parent = Async::Task.current? if parent == :current
6
+ Async::Task.new(Async::Task.current.reactor, parent, &block)
6
7
  end
7
8
 
8
9
  module_function :create_task
@@ -1,3 +1,3 @@
1
1
  module LibvirtAsync
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libvirt_async
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Talakevich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2019-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-libvirt
@@ -102,7 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.0.6
105
+ rubyforge_project:
106
+ rubygems_version: 2.4.8
106
107
  signing_key:
107
108
  specification_version: 4
108
109
  summary: Libvirt event async implementation.