scone 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/cache/.gitignore +1 -0
- data/cache/ifconfig.txt +18 -0
- data/lib/scone/ubuntu/ip.rb +27 -0
- data/lib/scone/version.rb +1 -1
- data/scone.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99500c9ae644a78f8231b5ec64c2931cffd939021ba436b924c4a92544bc16be
|
4
|
+
data.tar.gz: 95fc4841209e96936bc7b08b4fba987c701ccbc1d7679ed4263049dfde49fd55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffafa062e3fae1b706bae8878330fad4f852082ff70250a79a0fbcf545d6827803719c1c9d206427f9e543c93446c4f454e5370e309832d9c93221be1aa363e7
|
7
|
+
data.tar.gz: daa854f58fd9acc132b6e06ebacfacdb69c5c357f024178805f5509e7b0b3a745bfcb45cd683b050e7d305d0563916dd0ae675a2e8510dde63a2c4a3e5b7babc
|
data/.rubocop.yml
CHANGED
data/cache/.gitignore
CHANGED
data/cache/ifconfig.txt
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
2
|
+
inet 104.248.58.9 netmask 255.255.240.0 broadcast 104.248.63.255
|
3
|
+
inet6 2604:a880:400:d0::1986:5001 prefixlen 64 scopeid 0x0<global>
|
4
|
+
inet6 fe80::5074:3eff:fe15:d08b prefixlen 64 scopeid 0x20<link>
|
5
|
+
ether 52:74:3e:15:d0:8b txqueuelen 1000 (Ethernet)
|
6
|
+
RX packets 663200 bytes 90827363 (90.8 MB)
|
7
|
+
RX errors 0 dropped 0 overruns 0 frame 0
|
8
|
+
TX packets 652332 bytes 479484344 (479.4 MB)
|
9
|
+
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
10
|
+
|
11
|
+
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
|
12
|
+
inet 127.0.0.1 netmask 255.0.0.0
|
13
|
+
inet6 ::1 prefixlen 128 scopeid 0x10<host>
|
14
|
+
loop txqueuelen 1000 (Local Loopback)
|
15
|
+
RX packets 0 bytes 0 (0.0 B)
|
16
|
+
RX errors 0 dropped 0 overruns 0 frame 0
|
17
|
+
TX packets 0 bytes 0 (0.0 B)
|
18
|
+
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#
|
4
|
+
# Scone - A Unified SDK for Linux OS Distributions in Ruby
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
# Scone Module
|
20
|
+
module Scone
|
21
|
+
# Ubuntu Module
|
22
|
+
module Ubuntu
|
23
|
+
# IP Address Class
|
24
|
+
class IPAddr
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/scone/version.rb
CHANGED
data/scone.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.authors = ["clivern"]
|
25
25
|
spec.email = ["hello@clivern.com"]
|
26
26
|
|
27
|
-
spec.summary = "A
|
27
|
+
spec.summary = "A Ruby SDK for Different Linux Operating System Distributions."
|
28
28
|
spec.description = "A Set of Modules to work with a different Linux Operating System Distributions in Ruby."
|
29
29
|
spec.homepage = "https://github.com/Clivern/Scone"
|
30
30
|
spec.license = "MIT"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- clivern
|
@@ -32,6 +32,7 @@ files:
|
|
32
32
|
- bin/console
|
33
33
|
- bin/setup
|
34
34
|
- cache/.gitignore
|
35
|
+
- cache/ifconfig.txt
|
35
36
|
- cache/proc.stat.txt
|
36
37
|
- lib/scone.rb
|
37
38
|
- lib/scone/io/directory.rb
|
@@ -39,6 +40,7 @@ files:
|
|
39
40
|
- lib/scone/io/system.rb
|
40
41
|
- lib/scone/platform.rb
|
41
42
|
- lib/scone/ubuntu/group.rb
|
43
|
+
- lib/scone/ubuntu/ip.rb
|
42
44
|
- lib/scone/ubuntu/package.rb
|
43
45
|
- lib/scone/ubuntu/stat.rb
|
44
46
|
- lib/scone/ubuntu/user.rb
|
@@ -70,5 +72,5 @@ requirements: []
|
|
70
72
|
rubygems_version: 3.1.6
|
71
73
|
signing_key:
|
72
74
|
specification_version: 4
|
73
|
-
summary: A
|
75
|
+
summary: A Ruby SDK for Different Linux Operating System Distributions.
|
74
76
|
test_files: []
|