micro_service_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/micro_service_client/application_controller.rb +3 -3
- data/app/jobs/micro_service_client/{microservice_server_install_job.rb → micro_service_server_install_job.rb} +2 -2
- data/lib/micro_service_client/concerns/controllers/servers.rb +1 -1
- data/lib/micro_service_client/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff34f98eb57e4da1f56beb8b02674cd46441f43
|
4
|
+
data.tar.gz: c605ed87fd32211e4ecdcc9d80724d9c5ffd9557
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44032d44842905b86256b8af2e6921c6e0bd7bc95ccb31901f8ce08a44d3bedbea8ce79602e6220f0d23a9752308378175e437035473e3d8b1d4192cd6585899
|
7
|
+
data.tar.gz: b05a11e0333bd0cdfd59f09ec7bb3b0c21fbe30d2e30deaad59642d3c11d4f106c40aa05a3f1f2a410b2eaccce8f425a2dbcecb617a400adef3c793256f62e69
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module MicroServiceClient
|
2
|
-
class
|
2
|
+
class MicroServiceServerInstallJob < ActiveJob::Base
|
3
3
|
queue_as :default
|
4
4
|
|
5
5
|
def perform(*args)
|
@@ -14,7 +14,7 @@ module MicroServiceClient
|
|
14
14
|
params["attempt"] = params["attempt"] + 1
|
15
15
|
|
16
16
|
# Try again in one minute
|
17
|
-
|
17
|
+
MicroServiceServerInstallJob.set(wait: 1.minute).perform_later(params) unless params["attempt"].to_i > 3
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micro_service_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Butch Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: micro_service-server
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.0.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -150,7 +150,7 @@ files:
|
|
150
150
|
- app/controllers/micro_service_client/application_controller.rb
|
151
151
|
- app/controllers/micro_service_client/servers_controller.rb
|
152
152
|
- app/helpers/micro_service_client/application_helper.rb
|
153
|
-
- app/jobs/micro_service_client/
|
153
|
+
- app/jobs/micro_service_client/micro_service_server_install_job.rb
|
154
154
|
- app/views/layouts/micro_service_client/application.html.erb
|
155
155
|
- config/routes.rb
|
156
156
|
- db/migrate/20160417050223_add_micro_service_server_0_0_1_migration.rb
|