mononoke 0.0.1 → 0.0.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: 8fd72f7aa02a5afd69d4b3510e0c2a2f0df8412bf64748621a07b1840ae5abd2
4
- data.tar.gz: 1afa14ae58cd436a8296327e6d5f12a212135416158cd7c5dd8c77267663c7c3
3
+ metadata.gz: 061c8fc4e4d77194350bb9efc5fa6dc9c06f227ff799c215dbc6a05365bc8ff2
4
+ data.tar.gz: f4c1e51d899f6bad7426f25f6863b9b3bc28e067e9763cebb0d3f28f943f78e8
5
5
  SHA512:
6
- metadata.gz: 38e7fe0e4a53e7c4147a494230c49f728420507bd94e3561f0e3d1705327d7dbe8f05f3b950cfaea579fc023d4f7e7c8b3c899d7dadb251f5fe970dad02d9ad7
7
- data.tar.gz: 64ca78e4feba163b9d715e7168ca5dcb67a016b2a40b56431e64ed3b35b837ff68287395f4771edba6b44c7f861c04a928515ddffaca6c6f95b8f609d7365bc6
6
+ metadata.gz: 686b9ebb095cfe9bcdbb4e248d5842c2df83e05f51e797dc6270d4d5664b15825788594507e888895e4c47d35410d7ea4f2f2ef849ddd54fcfb5d3bd586da33c
7
+ data.tar.gz: b8022637444e6aeb92b99e2a393677046369a48fb772e8b3e3c42f8533e945f258ad3cf002de7bdee2c7e33015b8d1da2129be325c879eb3b9de20c55a932b2f
@@ -8,7 +8,7 @@ module Mononoke
8
8
 
9
9
  def copy_config_file
10
10
  template 'uptime.rb', File.join('config/initializers', 'uptime.yml')
11
- template 'health_check_controller.rb', File.join('app/controller', 'health_check_controller.rb')
11
+ template 'health_check_controller.rb', File.join('app/controllers', 'health_check_controller.rb')
12
12
  append_diagostics_routes unless File.foreach('config/routes.rb').grep(/diagnostics/).present?
13
13
  end
14
14
 
@@ -28,13 +28,13 @@ module Mononoke
28
28
 
29
29
  def diagnostics_str
30
30
  @diagnostics_str ||= <<~FOO
31
- root to: 'health_check#index'
32
- scope '/diagnostics' do
33
- get '/quickhealth', to: 'health_check#quick_health'
34
- get '/health', to: 'health_check#health'
35
- get '/version', to: 'health_check#version'
36
- get '/uptime', to: 'health_check#uptime'
37
- end
31
+ root to: 'health_check#index'
32
+ scope '/diagnostics' do
33
+ get '/quickhealth', to: 'health_check#quick_health'
34
+ get '/health', to: 'health_check#health'
35
+ get '/version', to: 'health_check#version'
36
+ get '/uptime', to: 'health_check#uptime'
37
+ end
38
38
  FOO
39
39
  end
40
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mononoke
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mononoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shu Hui
@@ -73,6 +73,7 @@ files:
73
73
  - lib/mononoke/version.rb
74
74
  - mononoke.gemspec
75
75
  - pkg/howl-0.0.1.gem
76
+ - pkg/mononoke-0.0.1.gem
76
77
  - spec/howl_spec.rb
77
78
  - spec/spec_helper.rb
78
79
  homepage: https://github.com/blockchaintech-au/mononoke