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 +4 -4
- data/lib/generators/mononoke/init_generator.rb +8 -8
- data/lib/mononoke/version.rb +1 -1
- data/pkg/mononoke-0.0.1.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 061c8fc4e4d77194350bb9efc5fa6dc9c06f227ff799c215dbc6a05365bc8ff2
|
|
4
|
+
data.tar.gz: f4c1e51d899f6bad7426f25f6863b9b3bc28e067e9763cebb0d3f28f943f78e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
data/lib/mononoke/version.rb
CHANGED
|
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.
|
|
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
|