foreman_bootdisk 19.0.1 → 19.0.2

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: c39668300d2a5a68390be2bda58d3559441a09d1b25e1b7d061bde4231ee7e9c
4
- data.tar.gz: 4068117bc381e9014aaa52d0b7ebb773d356c3307b2a08ec66a633b5455b22e1
3
+ metadata.gz: 288a501e1dc3e32cc0d29175e498c1f6f3c04869e51ab755b8d4c69c1aa68ef2
4
+ data.tar.gz: 9180766afc55ffa712ac164688c02fe6edcf322f23c6b3f1e8dafae1e7295c4c
5
5
  SHA512:
6
- metadata.gz: a1b23054266e36961e187c1013a4d0efa63adb4a66b93cdfc23cb93796c41fe3cccc5f77cad15ede3023a26a7d99c28c2ab14c144ea661be0b4d800a8df82ebc
7
- data.tar.gz: 5a55ed870b9c65bf6019695e1562fc28bf50672ef523d87170979374d5baed59d47c3be55e29fb177c88a44bfab5a7978f79f2482985c4f8fcd7e197c0b2060b
6
+ metadata.gz: 73ab12281dc578414885ab788023b80f499cb075d53c365597561d1f7c02b32cbd31234ed4cd4e73ae81a23309e2c723f603b5a7d139fed5a8dd53aca52aee0b
7
+ data.tar.gz: 7e2eae93d56bc434ca4a7a845a05ff909f6b116e137b6525463acace00a9671fa4600043cbae86f92a10441031e975525dac3381cadbfb536539ce4898839a9a
@@ -2,7 +2,7 @@
2
2
 
3
3
  class ChangeTemplatekindToBootdisk < ActiveRecord::Migration[4.2]
4
4
  class FakeConfigTemplate < ApplicationRecord
5
- self.table_name = if defined? ConfigTemplate
5
+ self.table_name = if ActiveRecord::Base.connection.data_source_exists?("config_templates")
6
6
  'config_templates'
7
7
  else
8
8
  'templates'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanBootdisk
4
- VERSION = '19.0.1'
4
+ VERSION = '19.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.0.1
4
+ version: 19.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: theforeman-rubocop