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 +5 -5
- data/CHANGELOG.md +10 -0
- data/README.md +5 -0
- data/lib/libvirt_async/util.rb +3 -2
- data/lib/libvirt_async/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: b24efe4c5438e07c1fbc9fac06b82493e242deb7
|
|
4
|
+
data.tar.gz: c49f812826b3e2275065f52f587a29ef3dec95ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbb0387eabbed0bd926268e62e7995fead38c42e5ee7b01f663e24d03f41c165cf54c219d17102842d4d6a98d6ba18d0f0c91ea4f43b61b57fe31877c80e4af4
|
|
7
|
+
data.tar.gz: deb1c6f89322e867a97da6b4d3e7e694b515b9f5e9c7edaced04865cf18b386ef946aafae8eaf502fd89ad84329449c79195dcfef06a90a248edcfb6942abdef
|
data/CHANGELOG.md
CHANGED
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).
|
data/lib/libvirt_async/util.rb
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
module LibvirtAsync
|
|
2
2
|
module Util
|
|
3
3
|
|
|
4
|
-
def create_task(&block)
|
|
5
|
-
Async::Task.
|
|
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
|
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.
|
|
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-
|
|
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
|
-
|
|
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.
|