karousel 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/.travis.yml +0 -1
- data/VERSION +1 -1
- data/karousel.gemspec +1 -1
- data/spec/support/client_job_dummy.rb +2 -6
- data/spec/support/dummy_server.rb +2 -2
- metadata +2 -2
data/.rvmrc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.10
|
data/karousel.gemspec
CHANGED
@@ -7,9 +7,6 @@ class ClientJobDummy < Karousel::ClientJob
|
|
7
7
|
@@dummy_data = 0
|
8
8
|
end
|
9
9
|
|
10
|
-
def self.reset_failures
|
11
|
-
end
|
12
|
-
|
13
10
|
def self.populate(karousel_size)
|
14
11
|
@@dummy_data += karousel_size
|
15
12
|
return [] if @@dummy_data > 100
|
@@ -19,12 +16,11 @@ class ClientJobDummy < Karousel::ClientJob
|
|
19
16
|
def send
|
20
17
|
@server = DummyServer.new
|
21
18
|
@server.first_request
|
22
|
-
rand(
|
19
|
+
rand(100) > 95 ? false : true
|
23
20
|
end
|
24
21
|
|
25
22
|
def finished?
|
26
|
-
@server.
|
27
|
-
rand(0..10) > 8 ? false : true
|
23
|
+
@server.are_we_there_yet_request
|
28
24
|
end
|
29
25
|
|
30
26
|
def process
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karousel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
segments:
|
124
124
|
- 0
|
125
|
-
hash:
|
125
|
+
hash: -1959574064499877518
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|