foreman_inventory_upload 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a633e9716013237bbbcce5cba1748fad264cea4b4b965e5f19bb0f0be8d41e4e
4
- data.tar.gz: 58de7c1e9666e4373fb44db980bacfb4392131bfddbd31a86123de34b1d456bd
3
+ metadata.gz: 37af93eaa77a845bebfbc46d3904a5608a8e2b8200cfcfabc599407753f6645a
4
+ data.tar.gz: d24c72e865a79f38d6c18cc03150c84d53f490fbbee7eb1ec1e0c8427660b9b7
5
5
  SHA512:
6
- metadata.gz: 033077e27db0e59ec53895ab8038ff4da2c1cf8e223ebe7296dce00d7961e3d79edf5ac807b438e2eb0c71afb42a93bf9923d6aa1ce647a3df7323190c4dcf3d
7
- data.tar.gz: ca759475503697dfe741a92b11d9beb8f8520056cb19aea59745d350103c56dded3f6641087b77448652bdfe06ead35c6916d6d356447bb8da31271699849eca
6
+ metadata.gz: 86cf560ae79152df20b8d67055f33c9a6c2bd0d2445d1d937112e25dc7a2a8d20976422c60d2253d3c78b4d88d827ffcd0991c2cb7dce061b807382f75c3ee8c
7
+ data.tar.gz: f9c1072fe694a11aba4472f8ec7631c1b8c69e45a3c45dffeb5544bee8a5947589a47087bd63a950805c863d1a5716fa9b1eb393fb6227d7e8dc1e8bccd9830e
@@ -18,8 +18,12 @@ module ForemanInventoryUpload
18
18
  )
19
19
  end
20
20
 
21
+ def rake_prefix
22
+ 'foreman-' unless Rails.env.development?
23
+ end
24
+
21
25
  def command
22
- 'rake foreman_inventory_upload:report:generate'
26
+ "#{rake_prefix}rake foreman_inventory_upload:report:generate"
23
27
  end
24
28
 
25
29
  def env
@@ -1,3 +1,3 @@
1
1
  module ForemanInventoryUpload
2
- VERSION = '0.9.0'.freeze
2
+ VERSION = '0.9.1'.freeze
3
3
  end
@@ -13,7 +13,7 @@ namespace :test do
13
13
  end
14
14
 
15
15
  namespace :foreman_inventory_upload do
16
- task :rubocop do
16
+ task :rubocop => :environment do
17
17
  begin
18
18
  require 'rubocop/rake_task'
19
19
  RuboCop::RakeTask.new(:rubocop_foreman_inventory_upload) do |task|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_inventory_upload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inventory upload team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-25 00:00:00.000000000 Z
11
+ date: 2019-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello