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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5acb7875dccbc59fcf55e7a96da2f9c5a47ab54c
4
- data.tar.gz: 968b6e23b7923eb597851cae001618b7d61dc3a2
3
+ metadata.gz: bff34f98eb57e4da1f56beb8b02674cd46441f43
4
+ data.tar.gz: c605ed87fd32211e4ecdcc9d80724d9c5ffd9557
5
5
  SHA512:
6
- metadata.gz: c5c33f1007b23b4bfa7237005159543834e825338dc67b6bff8f8cb7be1069cc028732065fcd61e0c7680d2b6911b6f769d32fe453224d934626b526f635446a
7
- data.tar.gz: 741748906fed4098713f0a684fc012ffea610f77a6da1374d06159ad1b4df2a858bd11abc3e1d50bfe1522e454f6e9fdea65b86a7c741eecdc726ae0b9e49bbc
6
+ metadata.gz: 44032d44842905b86256b8af2e6921c6e0bd7bc95ccb31901f8ce08a44d3bedbea8ce79602e6220f0d23a9752308378175e437035473e3d8b1d4192cd6585899
7
+ data.tar.gz: b05a11e0333bd0cdfd59f09ec7bb3b0c21fbe30d2e30deaad59642d3c11d4f106c40aa05a3f1f2a410b2eaccce8f425a2dbcecb617a400adef3c793256f62e69
@@ -1,5 +1,5 @@
1
1
  module MicroServiceClient
2
- class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
- end
2
+ class ApplicationController < ActionController::Base
3
+ #protect_from_forgery with: :exception
4
+ end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module MicroServiceClient
2
- class MicroserviceServerInstallJob < ActiveJob::Base
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
- MicroserviceServerInstallJob.set(wait: 1.minute).perform_later(params) unless params["attempt"].to_i > 3
17
+ MicroServiceServerInstallJob.set(wait: 1.minute).perform_later(params) unless params["attempt"].to_i > 3
18
18
  end
19
19
  end
20
20
  end
@@ -5,7 +5,7 @@ module MicroServiceClient
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  def create
8
- MicroserviceServerInstallJob.perform_later(install_params)
8
+ MicroServiceServerInstallJob.perform_later(install_params)
9
9
 
10
10
  render :nothing => true, :status => 204
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module MicroServiceClient
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  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.2
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-04-17 00:00:00.000000000 Z
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/microservice_server_install_job.rb
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