parallizer 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/lib/parallizer/version.rb +1 -1
- data/parallizer.gemspec +1 -1
- metadata +4 -6
- data/spec/parallizer/method_call_notifier_spec.rb +0 -23
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
parallizer (0.4.
|
4
|
+
parallizer (0.4.3)
|
5
5
|
celluloid (~> 0.11.0)
|
6
6
|
hanging_methods (~> 0.0.1)
|
7
7
|
|
@@ -12,7 +12,7 @@ GEM
|
|
12
12
|
celluloid (0.11.1)
|
13
13
|
timers (>= 1.0.0)
|
14
14
|
diff-lcs (1.1.3)
|
15
|
-
hanging_methods (0.0.
|
15
|
+
hanging_methods (0.0.2)
|
16
16
|
rake (10.1.0)
|
17
17
|
rspec (2.9.0)
|
18
18
|
rspec-core (~> 2.9.0)
|
data/lib/parallizer/version.rb
CHANGED
data/parallizer.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
22
|
s.add_dependency 'celluloid', '~> 0.11.0'
|
23
|
-
s.add_dependency 'hanging_methods', '~> 0.0.
|
23
|
+
s.add_dependency 'hanging_methods', '~> 0.0.2'
|
24
24
|
s.add_development_dependency 'rake'
|
25
25
|
s.add_development_dependency 'rspec', '~> 2.9.0'
|
26
26
|
s.add_development_dependency 'always_execute', '~> 0.1.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.0.
|
37
|
+
version: 0.0.2
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.0.
|
45
|
+
version: 0.0.2
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rake
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,6 @@ files:
|
|
109
109
|
- lib/parallizer/version.rb
|
110
110
|
- lib/parallizer/worker.rb
|
111
111
|
- parallizer.gemspec
|
112
|
-
- spec/parallizer/method_call_notifier_spec.rb
|
113
112
|
- spec/parallizer/proxy_spec.rb
|
114
113
|
- spec/parallizer_spec.rb
|
115
114
|
- spec/spec_helper.rb
|
@@ -134,12 +133,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
133
|
version: '0'
|
135
134
|
requirements: []
|
136
135
|
rubyforge_project: parallizer
|
137
|
-
rubygems_version: 1.8.
|
136
|
+
rubygems_version: 1.8.25
|
138
137
|
signing_key:
|
139
138
|
specification_version: 3
|
140
139
|
summary: Execute your service layer in parallel
|
141
140
|
test_files:
|
142
|
-
- spec/parallizer/method_call_notifier_spec.rb
|
143
141
|
- spec/parallizer/proxy_spec.rb
|
144
142
|
- spec/parallizer_spec.rb
|
145
143
|
- spec/spec_helper.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Parallizer::MethodCallNotifier do
|
4
|
-
describe "#method_missing" do
|
5
|
-
before do
|
6
|
-
@notifier = Parallizer::MethodCallNotifier.new do |*args|
|
7
|
-
@callback_args = args
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
execute do
|
12
|
-
@method_call_result = @notifier.call_a_method('with args')
|
13
|
-
end
|
14
|
-
|
15
|
-
it "should call block on method call" do
|
16
|
-
@callback_args.should == [:call_a_method, 'with args']
|
17
|
-
end
|
18
|
-
|
19
|
-
it "should return the notifier" do
|
20
|
-
@method_call_result.should == @notifier
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|