scone 0.1.8 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d64f4f9ea56d29a7332f66027872d77346bbfdde74b2ee53127b202b7e76205
4
- data.tar.gz: e2c4039fc5dc29bf34d6f54941a01d563e1e8a5b79a1bd5e5b74d005fe6d1682
3
+ metadata.gz: 99500c9ae644a78f8231b5ec64c2931cffd939021ba436b924c4a92544bc16be
4
+ data.tar.gz: 95fc4841209e96936bc7b08b4fba987c701ccbc1d7679ed4263049dfde49fd55
5
5
  SHA512:
6
- metadata.gz: 96e3d1888d6f9c20aa5d1ab5d06736d6e9c113d20d45d0d36a24ef4c549a1a4705d0dddbb29b5b0101350bbcbc43dd3329a86c1f62e8f4a428ed844d4ed83496
7
- data.tar.gz: 5d379fd75ce99aa29027b17137bda3df98ec3020c350d14e1f59ced7e5b88cce78a36ed8bc1bd73789b3c7c58dd279115a53c37ccdd80e1427bfdd6565973295
6
+ metadata.gz: ffafa062e3fae1b706bae8878330fad4f852082ff70250a79a0fbcf545d6827803719c1c9d206427f9e543c93446c4f454e5370e309832d9c93221be1aa363e7
7
+ data.tar.gz: daa854f58fd9acc132b6e06ebacfacdb69c5c357f024178805f5509e7b0b3a745bfcb45cd683b050e7d305d0563916dd0ae675a2e8510dde63a2c4a3e5b7babc
data/.rubocop.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  inherit_gem:
2
2
  rubocop-shopify: rubocop.yml
3
3
 
4
+ AllCops:
5
+ NewCops: enable
6
+ TargetRubyVersion: 2.6
7
+
4
8
  Style/SymbolProc:
5
9
  Enabled: false
data/cache/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  *
2
2
  !proc.stat.txt
3
+ !ifconfig.txt
3
4
  !.gitignore
@@ -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
@@ -18,5 +18,5 @@
18
18
 
19
19
  # Scone Module
20
20
  module Scone
21
- VERSION = "0.1.8"
21
+ VERSION = "0.1.9"
22
22
  end
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 Unified SDK for Linux OS Distributions in Ruby."
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.8
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 Unified SDK for Linux OS Distributions in Ruby.
75
+ summary: A Ruby SDK for Different Linux Operating System Distributions.
74
76
  test_files: []