foreman_statistics 0.1.0 → 0.1.1
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/foreman_statistics/engine.rb +6 -0
- data/lib/foreman_statistics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba423682698624b7d224e67b892a00982dfadb9ba225c3431212fda28a8665bd
|
|
4
|
+
data.tar.gz: abfbe9e5304f233e205438219fffc9d6ad7b7e8e5bcc9a041c54cb2a344848a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bbe0bbeaedc311bca4f88dfbd91d7475432c4ed31c4805e34db9c8340c23a537bcbe67c6eba24cda22cf1a84505cee3cfc2509cc2aec6eefab45f701ddec04f
|
|
7
|
+
data.tar.gz: 22444861f80d94fd85281af4a03420defef52336e006841f6e647a17008dacbdf09d9b24675e3399803c73163348c8f8f8564e496458bd99748da2db521395d0
|
|
@@ -73,6 +73,12 @@ module ForemanStatistics
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
initializer 'foreman_statistics.apipie' do
|
|
77
|
+
p = Foreman::Plugin.find(:foreman_statistics)
|
|
78
|
+
p.apipie_documented_controllers(["#{ForemanStatistics::Engine.root}/app/controllers/foreman_statistics/api/v2/*.rb"])
|
|
79
|
+
Apipie.configuration.checksum_path += ['/foreman_statistics/api/']
|
|
80
|
+
end
|
|
81
|
+
|
|
76
82
|
# Include concerns in this config.to_prepare block
|
|
77
83
|
config.to_prepare do
|
|
78
84
|
::ComputeResource.include ForemanStatistics::ComputeResourceDecorations
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_statistics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ondrej Ezr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdoc
|