interneeee 0.0.3 → 0.0.5

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: 798271d0e533036b4ec56b95b494bb3ebca0845e
4
- data.tar.gz: 0c1bab649ebe7122de25a500f0f78041c4f5fe1f
3
+ metadata.gz: e0dc704874c26c05148b3bd9538a163feb1631d5
4
+ data.tar.gz: f0ca3817596c939cfc02f1c0c63ed7f8af5c3e51
5
5
  SHA512:
6
- metadata.gz: a3300de0fb8c9475e2c75cef2f7a172c55459241a2878ea36d11c0a736abe5bb19ac0240a4decf8106361763c035b8cb1d8a20e42ea870147b63912172c77be2
7
- data.tar.gz: 4a766657f59f56d2fba09cfa2507bdb7295359a793b6737c4bdcf1785c1fa87650352dbd841ec3036d9930c591908f1e2545d6ce8a4da6efa4f650744e20db72
6
+ metadata.gz: 7d86b54173868b8ff1e25696032fd9b4748a385ed87963fc25ff875ab9beacd419197717b999ff554621810b276423651f2ab3689e5ec3b0d74eb04505334439
7
+ data.tar.gz: 88a6ac33dbdca2e80a32b07d0424eee16f34b94758547570be300eae9afd310e77e07faceba364727b4717604522d52b5671aa93f0d11cfcd7eff3a6f146d8c1
data/README.md CHANGED
@@ -1,29 +1,10 @@
1
1
  # Interneeee
2
2
 
3
- TODO: Write a gem description
3
+ ![enjuto interneeee](http://4.bp.blogspot.com/_PJDhzmmOtwg/Sfhu0bU0InI/AAAAAAAAAfs/P-U1hzh0Lks/S1600-R/enjuto.jpg)
4
4
 
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'interneeee'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install interneeee
5
+ Command tool to check if you have Internet connection.
18
6
 
19
7
  ## Usage
20
8
 
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it ( https://github.com/[my-github-username]/interneeee/fork )
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create a new Pull Request
9
+ $ gem install interneeee
10
+ $ interneeee
@@ -7,10 +7,10 @@ module Interneeee
7
7
  attr_reader :ping
8
8
  attr_reader :sleep_time
9
9
 
10
- def initialize(loop_active = true, host = "8.8.8.8", sleep_time = 5)
10
+ def initialize(loop_active = true, host = "8.8.8.8", sleep_time = 2)
11
11
  @loop_active = loop_active
12
12
  @sleep_time = sleep_time
13
- @ping = Net::Ping::External.new(host)
13
+ @ping = Net::Ping::External.new(host, 7, 2) # host, port, time_out
14
14
  end
15
15
 
16
16
  def run
@@ -1,3 +1,3 @@
1
1
  module Interneeee
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interneeee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Guillen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-07 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ping