nutella_lib 0.4.7 → 0.4.8
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 +2 -2
- data/lib/nutella_lib/net.rb +3 -3
- 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: 95a7283e45d2948f7e87fa48cb4f93071ce947a6
|
4
|
+
data.tar.gz: 19b500a49c530b69a5ab64ac2b9003e8414b0b31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5495a11d76235c73d0a64846bea17115a5cedfa8e0fd7a439b2453b4a684f414f98c2cb1fb9b265a5b6b5567485682fbc0bab3edbd03b6c9505f7ba3e44a852e
|
7
|
+
data.tar.gz: e983d64a9bfbf8cbe6fea9f148d67159e0801bc5ae0d6aa0345f48b9c2d883cae774c34c0b4480ffc40942ff3dfc55252f2a3475d4cdc639407ad4a51187a6b0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.8
|
data/lib/nutella_lib/app_net.rb
CHANGED
@@ -173,7 +173,7 @@ module Nutella
|
|
173
173
|
rescue JSON::ParserError
|
174
174
|
# Make sure the message is JSON, if not drop the message
|
175
175
|
return
|
176
|
-
rescue
|
176
|
+
rescue ArgumentError
|
177
177
|
# Check the passed callback has the right number of arguments
|
178
178
|
STDERR.puts "The callback you passed to subscribe has the #{$!}: it needs 'payload', 'run_id' and 'from'"
|
179
179
|
end
|
@@ -247,7 +247,7 @@ module Nutella
|
|
247
247
|
rescue JSON::ParserError
|
248
248
|
# Make sure that request contains JSON, if not drop the message
|
249
249
|
return
|
250
|
-
rescue
|
250
|
+
rescue ArgumentError
|
251
251
|
# Check the passed callback has the right number of arguments
|
252
252
|
STDERR.puts "The callback you passed to subscribe has the #{$!}: it needs 'request', 'run_id' and 'from'"
|
253
253
|
end
|
data/lib/nutella_lib/net.rb
CHANGED
@@ -199,7 +199,7 @@ module Nutella
|
|
199
199
|
rescue JSON::ParserError
|
200
200
|
# Make sure the message is JSON, if not drop the message
|
201
201
|
return
|
202
|
-
rescue
|
202
|
+
rescue ArgumentError
|
203
203
|
# Check the passed callback has the right number of arguments
|
204
204
|
STDERR.puts "The callback you passed to subscribe has the #{$!}: it needs 'payload', 'channel' and 'from'"
|
205
205
|
end
|
@@ -212,7 +212,7 @@ module Nutella
|
|
212
212
|
rescue JSON::ParserError
|
213
213
|
# Make sure the message is JSON, if not drop the message
|
214
214
|
return
|
215
|
-
rescue
|
215
|
+
rescue ArgumentError
|
216
216
|
# Check the passed callback has the right number of arguments
|
217
217
|
STDERR.puts "The callback you passed to subscribe has the #{$!}: it needs 'payload' and 'from'"
|
218
218
|
end
|
@@ -357,7 +357,7 @@ module Nutella
|
|
357
357
|
rescue JSON::ParserError
|
358
358
|
# Make sure that request contains JSON, if not drop the message
|
359
359
|
return
|
360
|
-
rescue
|
360
|
+
rescue ArgumentError
|
361
361
|
# Check that the passed callback has the right number of arguments
|
362
362
|
STDERR.puts "The callback you passed to subscribe has the #{$!}: it needs 'payload' and 'from'"
|
363
363
|
end
|
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.8 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.8"
|
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-
|
14
|
+
s.date = "2015-04-06"
|
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.8
|
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-
|
11
|
+
date: 2015-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mqtt
|