mic_monitor_gem 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ec3658ff2ef10b17d49456cafd2c3c190755bb325dbf2ce5bcf5247ac973d63
4
- data.tar.gz: f46de5785a4afcf060903225bd187421ee63731dd78451203989c16a692f1c39
3
+ metadata.gz: 8ae76c1b521c5ab78e988d3464253d93ca03e673b76936c99966e63fb5837b97
4
+ data.tar.gz: 6ec72acd38694c6d3e8443d9a319cc8a0cb366215a335f943e7a8b15141e6378
5
5
  SHA512:
6
- metadata.gz: 8fbce47b5d78d6af2c79e61a56cdb5cf974633ff146c2bf883970eed090713f329db9e33c46a7ed67cb5c6f7dbb6b1168b5a9a1486e62758bb1b2f536f005543
7
- data.tar.gz: a39a9f290b2a25ff845c7b0f9f1e6bef8b90a582538d4c3775cd6c3c510270bad13a8a89f4ea5567e7adc71e3392f4bcd85f0d4775c0f8c65bb51988bdf56c8b
6
+ metadata.gz: 4698be9dea5554cf701a98d1e43024fd08a43bc439e3e5349bdb9e86d52202b64a6ced4f47531145b266296bb148caf763fac4dcee37ee2cd8182f7bb40501d9
7
+ data.tar.gz: d578f19e413dbce822215e07f9441458f17411aa8d79df27209f2434dfbac66ad4a5cfffa081a61dea8f0e193a20b62bd5d624483a729b1fde7392f5b9d6959c
@@ -1,2 +1,2 @@
1
- class MicMonitorGem::ApplicationController < MicMonitorGem.parent_controller.constantize
1
+ class MicMonitorGem::ApplicationController < ActionController::Base
2
2
  end
@@ -0,0 +1,5 @@
1
+ class MicMonitorGem::PingsController < ActionController::Base
2
+ def index
3
+ render json: {status: 200}
4
+ end
5
+ end
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  MicMonitorGem::Engine.routes.draw do
2
- resources :mic_monitor_gems, only: [:index]
2
+ resources :pings, only: [:index]
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MicMonitorGem
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mic_monitor_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mic-locnv
@@ -25,7 +25,7 @@ files:
25
25
  - README.md
26
26
  - Rakefile
27
27
  - app/controller/mic_monitor_gem/application_controller.rb
28
- - app/controller/mic_monitor_gem/mic_monitor_gems_controller.rb
28
+ - app/controller/mic_monitor_gem/pings_controller.rb
29
29
  - bin/console
30
30
  - bin/setup
31
31
  - config/environments/production.rb
@@ -43,6 +43,7 @@ files:
43
43
  - mic_monitor_gem-0.1.8.gem
44
44
  - mic_monitor_gem-0.1.9.gem
45
45
  - mic_monitor_gem-0.2.0.gem
46
+ - mic_monitor_gem-0.2.1.gem
46
47
  - mic_monitor_gem.gemspec
47
48
  homepage: https://github.com/miclabs/mic_monitor_gem
48
49
  licenses:
@@ -1,7 +0,0 @@
1
- module MicMonitorGem
2
- class MicMonitorGemsController < ApplicationController
3
- def index
4
- render json: {status: 200}
5
- end
6
- end
7
- end