linux-ip-addr 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: d872c524cb5965dd7d8c4caaec484924b7394bf0
4
- data.tar.gz: 7322ee705ccbbda31c2fe125d071237b95dc4ded
3
+ metadata.gz: 5dace8a274c0bc434f14a3e042eb60784deaf34b
4
+ data.tar.gz: 6e4a9c683bd8c15e010b2e3e7f0e28c8f892ce0b
5
5
  SHA512:
6
- metadata.gz: d468f7180a526b6da439d1e9729834174da2adb3f58335649edf92519995cdec7008f3cfeb1df2fca52bc39cb1f182a69c2440dd86067826a8ba6d3b221f0575
7
- data.tar.gz: 0f44708913a3ca536958a3a486ce2441e4153705b182f4ad8f60aed922718ab0ec7259f3be640841e9ffc5f6afcfacaf4826916881deca9f6af9905944cdc5d3
6
+ metadata.gz: ccd3c33be98f9f5ce0260c0d5f1138a5a7b3cab3492c31d7a6218f04bae18e17e41ec03597225127fd53df4a577666bae82dabd89cae4b03d24e0a64d84ac7b6
7
+ data.tar.gz: 558e36ba37015dd36ae1b8cefe9ed40cdd733a1716616f92120288f1a1e686f7bfd4c2860203ac7e9b7badaf5be380f4b52dfcde1ad4a3fbc18b6fbd702ef4fd
@@ -18,6 +18,13 @@ module Linux
18
18
  end.flatten.compact.join("\n")
19
19
  end
20
20
 
21
+ def execute_add
22
+ system as_commands("add")
23
+ end
24
+ def execute_del
25
+ system as_commands("del")
26
+ end
27
+
21
28
  class Options < OpenStruct
22
29
  def initialize(options_str)
23
30
  super(options_str.split(/\s+/).inject({}) { |r, i| r[i] = true; r })
@@ -1,5 +1,5 @@
1
1
  module Linux
2
2
  module Ip
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linux-ip-addr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meno Abels