netbox-client-ruby 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/netbox_client_ruby/entities.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c92b8883c5cf394757d34181eba3decfd0a2e09d
|
4
|
+
data.tar.gz: 0b2a66bf7afda778824613299843545cd9c33b80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76e1b5ac68207c9ed10ebe96ddba236e9f1a6001a641f2d2259ead0d3f4db4e4ec6855c0900fcdc7db7de8319a4744b87b9cd62d84a18331bd38b6eac780169
|
7
|
+
data.tar.gz: 78d8cceeb869dbe8630c7789f189fe76df8b3ee3dde49d5e94d09598ba896879cf757217f6a5924e8e89967ac252ea539e18579a7d220888b1cdb9b60ad12985
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
@@ -83,10 +83,10 @@ module NetboxClientRuby
|
|
83
83
|
if filter_key.to_s.start_with?('cf_')
|
84
84
|
custom_field = filter_key.to_s.sub('cf_', '')
|
85
85
|
|
86
|
-
netbox_object.custom_fields[custom_field] == filter_value
|
86
|
+
netbox_object.custom_fields[custom_field].to_s == filter_value.to_s
|
87
87
|
else
|
88
88
|
if netbox_object.respond_to?(filter_key)
|
89
|
-
netbox_object.public_send(filter_key) == filter_value
|
89
|
+
netbox_object.public_send(filter_key).to_s == filter_value.to_s
|
90
90
|
else
|
91
91
|
false
|
92
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netbox-client-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Mäder
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|