deferred 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +9 -0
- data/deferred.gemspec +2 -0
- data/lib/deferred/accessors.rb +2 -2
- data/lib/deferred/version.rb +1 -1
- metadata +6 -5
data/.yardopts
ADDED
data/deferred.gemspec
CHANGED
@@ -10,6 +10,8 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.summary = %q{Syntactical sugar around an EM::Deferrable}
|
11
11
|
s.description = s.summary + "\n"
|
12
12
|
|
13
|
+
s.homepage = "https://github.com/motionbox/deferred"
|
14
|
+
|
13
15
|
s.add_dependency('eventmachine', '>= 0.12.10')
|
14
16
|
|
15
17
|
s.add_development_dependency('rspec', '>= 2.5.0', '< 3.0.0')
|
data/lib/deferred/accessors.rb
CHANGED
@@ -10,7 +10,7 @@ module Deferred
|
|
10
10
|
# the method created allows for a block to be given, which will be
|
11
11
|
# added to the callback chain.
|
12
12
|
#
|
13
|
-
# Also defines a "
|
13
|
+
# Also defines a "reset_blah_event" that lets you create a new deferred
|
14
14
|
# for that event. The reset_event method will return the deferred being
|
15
15
|
# replaced.
|
16
16
|
#
|
@@ -54,7 +54,7 @@ module Deferred
|
|
54
54
|
#
|
55
55
|
# # this method fires the stop callbacks and re-arms them
|
56
56
|
# def restart
|
57
|
-
# dfr =
|
57
|
+
# dfr = reset_stop_event
|
58
58
|
#
|
59
59
|
# # do stuff that requires stop
|
60
60
|
# dfr.succeed
|
data/lib/deferred/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deferred
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan D. Simms
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01
|
18
|
+
date: 2012-02-01 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: eventmachine
|
@@ -103,6 +103,7 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- .gitignore
|
105
105
|
- .rspec
|
106
|
+
- .yardopts
|
106
107
|
- Gemfile
|
107
108
|
- MIT_LICENSE
|
108
109
|
- README.markdown
|
@@ -123,7 +124,7 @@ files:
|
|
123
124
|
- spec/support/accessorized.rb
|
124
125
|
- spec/support/bollocks_error.rb
|
125
126
|
- spec/support/deferred_state_xtn.rb
|
126
|
-
homepage:
|
127
|
+
homepage: https://github.com/motionbox/deferred
|
127
128
|
licenses: []
|
128
129
|
|
129
130
|
post_install_message:
|