netbox-client-ruby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/netbox_client_ruby/connection.rb +2 -1
- data/netbox-client-ruby.gemspec +1 -7
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae1d31ceba9d0b8990392ec90a28fa14e1ccad11
|
4
|
+
data.tar.gz: 242bbeccaba7d294b425f7dca4dda68cec7ef7ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e34743cc6866cdd3a3916ddc1706af081214416b592316a06bb22db034e8f728c6bd74373d69f5f0add5ce639aed31d5860d824ba0c7ad9e163888d40d7564
|
7
|
+
data.tar.gz: f906ac593eac5c959de0ad5efb8561dced8546e76408240d46b0ef3545f3ff69ca679b00189d83397fcf17396896cdb52de809682899da445116826c924a70b0
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
netbox-client-ruby (0.1.
|
4
|
+
netbox-client-ruby (0.1.2)
|
5
5
|
dry-configurable (~> 0.1)
|
6
|
-
faraday (>= 0.11
|
6
|
+
faraday (>= 0.11.0)
|
7
7
|
faraday-detailed_logger (~> 2.1)
|
8
8
|
faraday_middleware (~> 0.11.0)
|
9
9
|
ipaddress (>= 0.8.3)
|
@@ -18,16 +18,16 @@ GEM
|
|
18
18
|
diff-lcs (1.3)
|
19
19
|
dry-configurable (0.7.0)
|
20
20
|
concurrent-ruby (~> 1.0)
|
21
|
-
faraday (0.12.
|
21
|
+
faraday (0.12.2)
|
22
22
|
multipart-post (>= 1.2, < 3)
|
23
|
-
faraday-detailed_logger (2.1.
|
23
|
+
faraday-detailed_logger (2.1.2)
|
24
24
|
faraday (~> 0.8)
|
25
25
|
faraday_middleware (0.11.0.1)
|
26
26
|
faraday (>= 0.7.4, < 1.0)
|
27
27
|
ipaddress (0.8.3)
|
28
28
|
method_source (0.8.2)
|
29
29
|
multipart-post (2.0.0)
|
30
|
-
openssl (2.0.
|
30
|
+
openssl (2.0.6)
|
31
31
|
parser (2.4.0.0)
|
32
32
|
ast (~> 2.2)
|
33
33
|
powerpack (0.1.1)
|
@@ -76,4 +76,4 @@ DEPENDENCIES
|
|
76
76
|
rubocop-rspec (~> 1.15)
|
77
77
|
|
78
78
|
BUNDLED WITH
|
79
|
-
1.15.
|
79
|
+
1.15.4
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ Or install it manually:
|
|
27
27
|
|
28
28
|
### Configuration
|
29
29
|
|
30
|
-
Put this somewhere, where it runs, before any call to anything else of
|
30
|
+
Put this somewhere, where it runs, before any call to anything else of Netbox.
|
31
31
|
If you are using Rails, then this would probably be somewhere underneath /config.
|
32
32
|
|
33
33
|
```ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -35,8 +35,9 @@ module NetboxClientRuby
|
|
35
35
|
faraday.request request_encoding
|
36
36
|
faraday.response config.faraday.logger if config.faraday.logger
|
37
37
|
faraday.response :json, content_type: /\bjson$/
|
38
|
-
faraday.adapter config.faraday.adapter || Faraday.default_adapter
|
39
38
|
faraday.options.merge NetboxClientRuby.config.faraday.request_options
|
39
|
+
faraday.options.params_encoder = Faraday::FlatParamsEncoder
|
40
|
+
faraday.adapter config.faraday.adapter || Faraday.default_adapter
|
40
41
|
end
|
41
42
|
end
|
42
43
|
end
|
data/netbox-client-ruby.gemspec
CHANGED
@@ -13,13 +13,8 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/ninech/netbox-client-ruby'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
16
|
if spec.respond_to?(:metadata)
|
19
17
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
20
|
-
else
|
21
|
-
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
22
|
-
'public gem pushes.'
|
23
18
|
end
|
24
19
|
|
25
20
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -30,8 +25,7 @@ Gem::Specification.new do |spec|
|
|
30
25
|
spec.require_paths = ['lib']
|
31
26
|
|
32
27
|
spec.add_runtime_dependency 'dry-configurable', '~> 0.1'
|
33
|
-
|
34
|
-
spec.add_runtime_dependency 'faraday', '>= 0.11', '<= 0.12.1'
|
28
|
+
spec.add_runtime_dependency 'faraday', '>= 0.11.0'
|
35
29
|
spec.add_runtime_dependency 'faraday_middleware', '~> 0.11.0'
|
36
30
|
spec.add_runtime_dependency 'faraday-detailed_logger', '~> 2.1'
|
37
31
|
spec.add_runtime_dependency 'ipaddress', '>= 0.8.3'
|
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.1.
|
4
|
+
version: 0.1.2
|
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: 2017-
|
11
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -30,20 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
- - "<="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.12.1
|
33
|
+
version: 0.11.0
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
38
|
- - ">="
|
42
39
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
- - "<="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.12.1
|
40
|
+
version: 0.11.0
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: faraday_middleware
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|