netsoul 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/netsoul/location.rb +9 -9
- data/lib/netsoul/version.rb +1 -1
- data/netsoul.gemspec +5 -5
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b8694179c8dd25fc1ab98b55688dd6973bc318b
|
|
4
|
+
data.tar.gz: d906ac0eb4cf9864f44f8dcdf5097c66bddada3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4610f77d5667f5b10a70c1636c4c15cd512e6a3520b6d9e6998cdc5e0a0629f5658e0308377be328efc2edd28f4aa763f0c47c4341ac459e6dd06427f917f3bf
|
|
7
|
+
data.tar.gz: 0c05cd65b7bcbc4f07cd347ec27bf504e3b7a499cc80d13c0c366db2dd8bb81411a253df26ed0b6dd7f6d77be6d66be37c91745eddb5d53d61caefbb91c17c8e
|
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
# Netsoul-Ruby
|
|
1
|
+
# Netsoul-Ruby [](http://badge.fury.io/rb/netsoul-ruby) [](https://travis-ci.org/fenicks/netsoul-ruby) [](https://coveralls.io/github/fenicks/netsoul-ruby?branch=master)
|
|
2
|
+
|
|
3
|
+
* formerly __libnetsoul-rb__
|
|
2
4
|
|
|
3
5
|
This gem is a simple and efficient Netsoul client implementation written in Ruby.
|
|
4
6
|
You can use it as a Ruby gem in order to implement your own Netsoul client in Ruby or just use the provided Netsoul client.
|
data/lib/netsoul/location.rb
CHANGED
|
@@ -12,21 +12,21 @@ module Netsoul
|
|
|
12
12
|
'ext'.freeze
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
# rubocop:disable
|
|
15
|
+
# rubocop:disable all
|
|
16
16
|
def locations
|
|
17
17
|
{
|
|
18
|
-
'lab-cisco-mid-sr'
|
|
18
|
+
:'lab-cisco-mid-sr' => '10.251.'.freeze,
|
|
19
19
|
etna: '10.245.'.freeze,
|
|
20
20
|
lse: '10.227.42.'.freeze,
|
|
21
|
-
'sda-1'
|
|
21
|
+
:'sda-1' => '10.227.4.'.freeze,
|
|
22
22
|
lab: '10.227.'.freeze,
|
|
23
|
-
'lab-tcom'
|
|
24
|
-
'lab-acu'
|
|
25
|
-
'lab-console'
|
|
26
|
-
'lab-mspe'
|
|
23
|
+
:'lab-tcom' => '10.226.7.'.freeze,
|
|
24
|
+
:'lab-acu' => '10.226.6.'.freeze,
|
|
25
|
+
:'lab-console' => '10.226.5.'.freeze,
|
|
26
|
+
:'lab-mspe' => '10.226.'.freeze,
|
|
27
27
|
epitanim: '10.225.19.'.freeze,
|
|
28
28
|
epidemic: '10.225.18.'.freeze,
|
|
29
|
-
'sda-2'
|
|
29
|
+
:'sda-2' => '10.225.10.'.freeze,
|
|
30
30
|
cycom: '10.225.8.'.freeze,
|
|
31
31
|
epx: '10.225.7.'.freeze,
|
|
32
32
|
prologin: '10.225.6.'.freeze,
|
|
@@ -36,7 +36,7 @@ module Netsoul
|
|
|
36
36
|
www: '10.223.106.'.freeze,
|
|
37
37
|
episport: '10.223.104.'.freeze,
|
|
38
38
|
epicom: '10.223.103.'.freeze,
|
|
39
|
-
'bde-epita'
|
|
39
|
+
:'bde-epita' => '10.223.100.'.freeze,
|
|
40
40
|
omatis: '10.223.42.'.freeze,
|
|
41
41
|
ipsa: '10.223.15.'.freeze,
|
|
42
42
|
lrde: '10.223.13.'.freeze,
|
data/lib/netsoul/version.rb
CHANGED
data/netsoul.gemspec
CHANGED
|
@@ -16,11 +16,11 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
if spec.respond_to?(:metadata)
|
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
21
|
+
else
|
|
22
|
+
fail 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
|
23
|
+
end
|
|
24
24
|
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
26
26
|
spec.bindir = 'bin'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: netsoul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christian Kakesa
|
|
@@ -163,7 +163,8 @@ files:
|
|
|
163
163
|
homepage: https://github.com/fenicks/netsoul-ruby
|
|
164
164
|
licenses:
|
|
165
165
|
- MIT
|
|
166
|
-
metadata:
|
|
166
|
+
metadata:
|
|
167
|
+
allowed_push_host: https://rubygems.org
|
|
167
168
|
post_install_message:
|
|
168
169
|
rdoc_options: []
|
|
169
170
|
require_paths:
|