evt-async_invocation 0.1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0cd4968cd22f6be4bf2f16345f3cae08d8e537c6
4
+ data.tar.gz: 9be00dc7c98f4853b0bc44713833ec7e5564e78a
5
+ SHA512:
6
+ metadata.gz: d203d1b5b30d55c7214465657192a0e9fd1a65fc58d6192d341c079c62aecf94d6c39eef3bc1cd2f61195c8fb249c22bab740bfeb15de1bd60a9a41b70706059
7
+ data.tar.gz: f0d75623cfae0e235cbacf3ff53465c513a26ad8686cc6f6fc8cf9b9cc0ce1ccd44f5b1cb86410352b430636ea85cdfdc954c778a95739a68944ab7946c99dfe
@@ -0,0 +1,9 @@
1
+ module AsyncInvocation
2
+ class Incorrect
3
+ class Error < RuntimeError; end
4
+
5
+ def self.method_missing(meth, *args)
6
+ raise Error, "Incorrect invocation of async operation `#{meth}'. It does not return results. It must be called with a block argument."
7
+ end
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ require 'async_invocation/incorrect'
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: evt-async_invocation
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - The Eventide Project
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-12-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ntl-test_bench
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: " "
28
+ email: opensource@eventide-project.org
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/async_invocation.rb
34
+ - lib/async_invocation/incorrect.rb
35
+ homepage: https://github.com/eventide-project/async-invocation
36
+ licenses:
37
+ - MIT
38
+ metadata: {}
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.3.3
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubyforge_project:
55
+ rubygems_version: 2.5.2
56
+ signing_key:
57
+ specification_version: 4
58
+ summary: Return value for async method that is accidentally invoked synchronously
59
+ test_files: []