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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8376f5939d2a45b99fa967a25a8643d6b9145016
|
4
|
+
data.tar.gz: 51dbc6574fd0e9edc5625ccb1aad6ec9b19575fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
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.
|
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-
|
11
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|