foreman_discovery 2.0.1 → 2.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
  SHA1:
3
- metadata.gz: 66b0655f5a5cb3205a263ba723b51a9e41fb0b8d
4
- data.tar.gz: 6f16041f72c20dd65b33756326d41176a0e570e8
3
+ metadata.gz: 8376f5939d2a45b99fa967a25a8643d6b9145016
4
+ data.tar.gz: 51dbc6574fd0e9edc5625ccb1aad6ec9b19575fc
5
5
  SHA512:
6
- metadata.gz: fdb6a81be087dce7ec317f8379506ed5af697fa727cd24551b649c95647638c2e8135749b33093174b7582611e17bcd2e73d2e2fdfef6a2257d94e16e54daf31
7
- data.tar.gz: 2159e5c80640c6a7badc42511f054235e93b2b2c858961a4fbac5592bfe91b35d062b6eb03da3ecfc52f848f4376dfaa809540dbb6bced266293df086ffa781a
6
+ metadata.gz: cc7ef21b60498eb6a65a7822c0d2aaf8a8bc52f1a1cc02e7026b4fac26efb0529774e4b2f2b741fa9015d06e28a0f73ae37d5d83756770017c88448735e75d93
7
+ data.tar.gz: 883e95584fe9574bccd635bc860ffec433b61b2b0715397108af6d16cdaf1f852cfc14cc79ef7923f2a9eb155962708bf61294aa2bffee77753bc54adf4007dc
@@ -1,6 +1,6 @@
1
1
  class RemoveDiscoveryAttributeSetsFromManagedHosts < ActiveRecord::Migration
2
2
  def up
3
- DiscoveryAttributeSet.where(:id => DiscoveryAttributeSet.joins(:host).where(:'hosts.managed' => true).pluck(:id)).delete_all
3
+ DiscoveryAttributeSet.where(:id => DiscoveryAttributeSet.joins(:host).where(:'hosts.managed' => true).pluck("#{DiscoveryAttributeSet.table_name}.id")).delete_all
4
4
  end
5
5
 
6
6
  def down
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-19 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface