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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5bbcda865163539ce3fadb42028e3bc587854e8
4
- data.tar.gz: d851b449e1b0845c43566342218816586f65f7c9
3
+ metadata.gz: c92b8883c5cf394757d34181eba3decfd0a2e09d
4
+ data.tar.gz: 0b2a66bf7afda778824613299843545cd9c33b80
5
5
  SHA512:
6
- metadata.gz: 4f052927ffe19b067691e76199cbcce1c4c2b283d5e4adc81127079bad2cd9a8665f7af9bec69fc8a3190a238651835649137d572c97d4179fa2a05a735f696c
7
- data.tar.gz: 6c5a74842151ecc11ea54066ec8ea16ce8be3546084a512ccca838684134c2c7177c91dc8618aff1412fdbbc72a6b7491d6009ba90e3013a59a6c218871feb25
6
+ metadata.gz: a76e1b5ac68207c9ed10ebe96ddba236e9f1a6001a641f2d2259ead0d3f4db4e4ec6855c0900fcdc7db7de8319a4744b87b9cd62d84a18331bd38b6eac780169
7
+ data.tar.gz: 78d8cceeb869dbe8630c7789f189fe76df8b3ee3dde49d5e94d09598ba896879cf757217f6a5924e8e89967ac252ea539e18579a7d220888b1cdb9b60ad12985
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- netbox-client-ruby (0.4.0)
4
+ netbox-client-ruby (0.4.3)
5
5
  dry-configurable (~> 0.1)
6
6
  faraday (>= 0.11.0)
7
7
  faraday-detailed_logger (~> 2.1)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
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.2
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-17 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable