nutella_lib 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/nutella_lib/app_net.rb +1 -5
- data/lib/nutella_lib/net.rb +12 -2
- data/nutella_lib.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f866d8af615223dc20d8e035ff52898551bd01
|
4
|
+
data.tar.gz: b8c1931bc3792e51a3393266fcab69344628f054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880dbb25a53e03c116905f9838bc3ec58a1c196a3c4b65603b99fdacf534df180d6846ee2b084c66cb4419cb9be22ef67e504cffcb257cbe149e913dc5580485
|
7
|
+
data.tar.gz: 8be245d48ca6fb7f246fa90bcee646ae8a29016b74cdb28a7c513a7602bf772cce4a9702222a111a84ac87aa28c4fbead9ddae7951e6a84423a2378d72e5bdcb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.7
|
data/lib/nutella_lib/app_net.rb
CHANGED
@@ -264,11 +264,7 @@ module Nutella
|
|
264
264
|
# does is to put the thread to sleep and wait for something to
|
265
265
|
# happen over the network to wake up.
|
266
266
|
def self.listen
|
267
|
-
|
268
|
-
sleep
|
269
|
-
rescue Interrupt
|
270
|
-
# Simply returns once interrupted
|
271
|
-
end
|
267
|
+
Nutella::Net.listen
|
272
268
|
end
|
273
269
|
|
274
270
|
|
data/lib/nutella_lib/net.rb
CHANGED
@@ -90,8 +90,18 @@ module Nutella
|
|
90
90
|
sleep(5)
|
91
91
|
end
|
92
92
|
end
|
93
|
-
|
94
|
-
|
93
|
+
end
|
94
|
+
|
95
|
+
|
96
|
+
# Listens for incoming messages. All this function
|
97
|
+
# does is to put the thread to sleep and wait for something to
|
98
|
+
# happen over the network to wake up.
|
99
|
+
def self.listen
|
100
|
+
begin
|
101
|
+
sleep
|
102
|
+
rescue Interrupt
|
103
|
+
# Simply returns once interrupted
|
104
|
+
end
|
95
105
|
end
|
96
106
|
|
97
107
|
|
data/nutella_lib.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nutella_lib 0.4.
|
5
|
+
# stub: nutella_lib 0.4.7 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nutella_lib"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.7"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Alessandro Gnoli"]
|
14
|
-
s.date = "2015-03-
|
14
|
+
s.date = "2015-03-31"
|
15
15
|
s.description = "Implements the nutella protocol and exposes it natively to ruby developers"
|
16
16
|
s.email = "tebemis@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nutella_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Gnoli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mqtt
|