foreman_datacenter 0.1.10 → 0.1.11

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: 3ff4d0b2d2000fb2aa1e8b6a6ba3da274379859e
4
- data.tar.gz: ca7ace88b9521efe4c7072f891fb5db11a7357eb
3
+ metadata.gz: 7c94775b93ef6532a099f1ec3d02445ccc937859
4
+ data.tar.gz: 4af4253f2a41709442751dfa3019315910bc30d8
5
5
  SHA512:
6
- metadata.gz: c11a6e059f32873fab653ae5b665c338b4edaf9ea553280b9b938170a18f56806c4d249b6ac18b74c7763aa9d0bfa39304eb6017675518920aece7b2af2b79ed
7
- data.tar.gz: 5cd651979dad5b3c59daae133eb8bfd8ce42331813a8a062939134505eac76dc202eb7fc2cd056d07feba544d4192578eacddab86cd8dd2799cfa30aa0914a71
6
+ metadata.gz: 2aecdb21f69f6b84c5c8e91624ad69eccc85423e21ce54498d19e45003fb35408ea560d3804eb0250237bd57c38dfb1acd9b62153250fe83b21f780361998191
7
+ data.tar.gz: e0d92a9518fd7a2b2ebbe4a0ef81ad82b57a94a85a2df23409707ad85b229cc4e2d491874c8d37fb443102daaa22e54cccc058d9f84acbb69274c4a8c5bfc737
@@ -9,7 +9,7 @@ module ForemanDatacenter
9
9
  end
10
10
 
11
11
  def update_device_on_destroy
12
- if device.exist?
12
+ if device.exists?
13
13
  new_device_name = "Unassigned device (former: #{name})"
14
14
  device.update(name: new_device_name)
15
15
  # device.interfaces.clear
@@ -1,3 +1,3 @@
1
1
  module ForemanDatacenter
2
- VERSION = '0.1.10'.freeze
2
+ VERSION = '0.1.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_datacenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Ivanov