AutoNic 1.0.1 → 1.0.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTBjYTdiYWQ5MGYwMzAyYWRhMWFlNzIwMmRlYjNjMDcyNGM1NWE1Ng==
4
+ MDU5ZjY2MjdlZjAxMzhjMmMxMDE5OWYxMjAxOTBiMmU4NzJlMTY0Yw==
5
5
  data.tar.gz: !binary |-
6
- ZmRhMTI0YzAwYWNhYWIzMTQ1YTk2OWFhMmI0MDI2ODVlYWZjYjk5NQ==
6
+ NWJmM2Y3NzExZTQ4NmExYzZhMGFiMzQ0NjZhZjNkOTRmOGZkM2FjOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGVkNDhkYjljMjYzNTUwY2FjMmNlNjJmM2Y4NGQ2OWNiMGI5Zjk2MjhhOWQ5
10
- ZTliMTg4NzVkOWEyMDgxYzRhYzM5ZTE5YjRmZmFmMDc1NTU2MmVhMjIzMGY0
11
- MjI1YWFjZDM4YmJlMDExMjMxYzRkZDlhMjEwYjJjMTM4YmU2YmQ=
9
+ ODdhMzhmMmZjYTUzZmUxZjAyYTdhY2RlMDc0Y2Q5NDY3ZGYyMTg2NTZlMTBi
10
+ NzU3YmMwNWEzOTI3ZTIyZjU1MjE2YzNhYzU5MzYyYTlkNzM2N2JmOGUwZDg5
11
+ ZmZhZDQwOWNkNmViOTg5NTVlOGI1ZWFjMDU2N2E2ZWFhYjUxNTI=
12
12
  data.tar.gz: !binary |-
13
- MDE4MGEwY2JlMjlhZWQzYjVkMTVlZDY5MWUzYzAxY2NjMGYzNTI4ZWJiY2Zh
14
- NWEyYjhkYmMxZWMwYTI2ZTdhMWZmZjNhMDVhZDE2ZGFiYzhjODUwYzA4MmIz
15
- MGEyZGY5MDI0ZjcwNzUxYTFhMTA5ZWI5YmQ1MzYwMjQ0ZDI5M2E=
13
+ YWIwYTdjZjMxY2NlZDUyYTg4MjZkZDA0NmI4ZjdlOGM1N2NjMGM5Nzg1MzYy
14
+ NDJlZGZjYTQwNzVjZTYxOTliMjUzNTdjN2ZkZWVlNDY1NWJlOTVlNDgyYzgz
15
+ MDExMzI5NzM0MDhiMjdjNDA5MzJiNTdjMDU1NzQ3YTM5YTBhZDY=
@@ -0,0 +1,25 @@
1
+ AutoNic
2
+ =======
3
+
4
+ A command line utility to turn your [mac-address](http://en.wikipedia.org/wiki/MAC_address) into a human pronounceable name. Inspired by [uuidBabyName.py](https://github.com/bgawalt/uuidBabyName), this uses a similar algorithm to generate 'baby names' from hex strings.
5
+
6
+ Usage
7
+ -----
8
+
9
+ AutoNic is packaged as a rubygem, and you'll need to have at least ruby 1.9 available for this to work.
10
+
11
+ `gem install autonic` should do the job of installing it on your system.
12
+
13
+ Run it with the `autonic` command.
14
+
15
+ `$ autonic
16
+ Mac: 00:A0:C9:14:C8:29
17
+ Name: BAVAZA GAZALE`
18
+
19
+
20
+ Examples
21
+ --------
22
+
23
+ BAWOZURI
24
+ BAHIYURE RU
25
+ GAFETU
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "AutoNic"
7
- gem.version = '1.0.1'
7
+ gem.version = '1.0.2'
8
8
  gem.authors = ["whoojemaflip"]
9
9
  gem.email = ["whoojemaflip@gmail.com"]
10
10
  gem.description = %q{Create a silly name for your server automatically from it's Mac address}
@@ -2,4 +2,7 @@
2
2
 
3
3
  require 'AutoNic'
4
4
 
5
- puts AutoNic.new.name
5
+ macr = AutoNic.new
6
+
7
+ puts 'Mac: ' + macr.macaddr
8
+ puts 'Name: ' + macr.name
@@ -25,7 +25,6 @@ describe 'AutoNic' do
25
25
  @macr.macaddr = "14:10:9f:d8:6e:f7"
26
26
  @macr.name.should eq "GAFETU PA"
27
27
  end
28
-
29
28
  end
30
29
 
31
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: AutoNic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - whoojemaflip
@@ -79,6 +79,7 @@ files:
79
79
  - Gemfile.lock
80
80
  - Guardfile
81
81
  - LICENSE.txt
82
+ - README.md
82
83
  - Rakefile
83
84
  - autonic.gemspec
84
85
  - bin/autonic