vulpix 0.1.1 → 0.1.2

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -2
  3. data/exe/vlp +4 -0
  4. data/lib/vulpix/version.rb +1 -1
  5. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31aa456c37c910196d5619d2c91cd590ecc3f414
4
- data.tar.gz: d80760608250a64dc06d39b0c6e752bddf8806e9
3
+ metadata.gz: 33c9bc3c8bf95eb5a900c64eb979d144e616fb9b
4
+ data.tar.gz: 02cc547dcfac5c1ca8c3468d7387b6582dd185af
5
5
  SHA512:
6
- metadata.gz: 9a845c8de0b0689d4d99276fbff7e2a0f7b22a0a59fb1ad7b94775848e2c47b3a4575f9c050857f05637e814a598bd414bee8ea627b09db6ba588b69fe5e8146
7
- data.tar.gz: 7ed950dd1c0ce339e8bfff90025903d6a9ea783787937b90d5a1907cdeb4083315df685b00850d1551498af8c188fa47e05405164619c8359245b35e4b79a37d
6
+ metadata.gz: 8c5c5b0fbb252df81ff9e2f58d4243093a00578741c9d53712f268d817c7093426a2629d72c150c8ba05b90ce7f8b98acf29e8b4b68dd5ff31fcc9f59282a0d5
7
+ data.tar.gz: 4bd80db0162dbaad9f1cac95d32d1655789acdb4559039cd94b388e822b0a053fc3b93a6d8e4f905173080b29178b2a1d2202d57434aef91587a706efe5f4bcd
data/README.md CHANGED
@@ -10,9 +10,16 @@ Run:
10
10
 
11
11
  ## Usage
12
12
 
13
- Go to your terminal, and type vulpix and press enter.
13
+ Go to your terminal, and type `vulpix` or `vlp` and press enter.
14
14
 
15
- $ vulpix
15
+ $ vlp
16
+
17
+ Or, use it in your script.
18
+
19
+ require 'vulpix'
20
+
21
+ Vulpix.nwinfo
22
+ # => [{:name=>"lo0", :name_info=>"localhost", :addr=>"127.0.0.1"}, ...]
16
23
 
17
24
  ## Development
18
25
 
data/exe/vlp ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require "vulpix/cli"
3
+
4
+ Vulpix::CLI.start
@@ -3,7 +3,7 @@
3
3
  module Vulpix
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  VERSION = [MAJOR, MINOR, TINY].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vulpix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oguzhan Ozdemir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2018-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,6 +70,7 @@ description: Pretty print your network information.
70
70
  email:
71
71
  - aoozdemir@live.com
72
72
  executables:
73
+ - vlp
73
74
  - vulpix
74
75
  extensions: []
75
76
  extra_rdoc_files: []
@@ -85,6 +86,7 @@ files:
85
86
  - Rakefile
86
87
  - bin/console
87
88
  - bin/setup
89
+ - exe/vlp
88
90
  - exe/vulpix
89
91
  - lib/vulpix.rb
90
92
  - lib/vulpix/cli.rb