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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0094cb8e21670259fbfd32cfe6c5655734a13dd8ce3a9798e12ff9e1b4a9d3a2'
4
- data.tar.gz: 91c6c4af0fe04f4f913f20df878f6f94f82a7bea432c569317324f3523f6ba61
3
+ metadata.gz: ba423682698624b7d224e67b892a00982dfadb9ba225c3431212fda28a8665bd
4
+ data.tar.gz: abfbe9e5304f233e205438219fffc9d6ad7b7e8e5bcc9a041c54cb2a344848a2
5
5
  SHA512:
6
- metadata.gz: ea438fe613e741f923a4885c18cc4368f916c59e84a424a324328a707262e46f868035a04f114bc7426b23f381d67b7558f4193383541b7b26f327ff63dd0d4f
7
- data.tar.gz: 0c615fb794f7cf4e194680b12abe8373e3efc8f6c3347f748f524c105eed5ba3a7777d3b687aa89795aa15e9190f22c20e3d76dcc9286411a20185e5f7dcfe9a
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
@@ -1,3 +1,3 @@
1
1
  module ForemanStatistics
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc