async_play 0.1.1 → 0.2.0
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 +4 -4
- data/README.md +5 -0
- data/lib/async_play.rb +1 -1
- data/lib/async_play/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bb7065e1db3d8c552672f959ae48c8815022324
|
4
|
+
data.tar.gz: 34795e2f4d4e6b469ed2cd6c7f45af844e06c4a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46059346d5b18a7ebcc82ced54b13fb6b939b42a9ac7d1102445ff01c383ed1fdb15768952e112118ee126fe2e1e7a9a022f03c5108ed9465fb6e0dbca8113a3
|
7
|
+
data.tar.gz: 647d3284bc4a27ac22c1e6201bd634e903d1c85c23660c3b4c2fa27481246abfff702787ebd9010c26b456c53045c77bbd748343ede2f68c674017c5728cf200
|
data/README.md
CHANGED
@@ -31,6 +31,11 @@ results = AsyncPlay.opening{ | curtain | Thread.new { curtain.call 1 } }
|
|
31
31
|
|
32
32
|
If you do not call the proc within 1 second, AsyncPlay#opening raise an error.
|
33
33
|
|
34
|
+
### Change wait time
|
35
|
+
|
36
|
+
The wait time is 1 second by default.
|
37
|
+
To change wait time, set the environment variable `ASYNC_PLAY_WAIT_TIME` in seconds.
|
38
|
+
|
34
39
|
## Development
|
35
40
|
|
36
41
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/async_play.rb
CHANGED
data/lib/async_play/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async_play
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ledsun
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|