nutella_lib 0.4.7 → 0.4.8

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: b4f866d8af615223dc20d8e035ff52898551bd01
4
- data.tar.gz: b8c1931bc3792e51a3393266fcab69344628f054
3
+ metadata.gz: 95a7283e45d2948f7e87fa48cb4f93071ce947a6
4
+ data.tar.gz: 19b500a49c530b69a5ab64ac2b9003e8414b0b31
5
5
  SHA512:
6
- metadata.gz: 880dbb25a53e03c116905f9838bc3ec58a1c196a3c4b65603b99fdacf534df180d6846ee2b084c66cb4419cb9be22ef67e504cffcb257cbe149e913dc5580485
7
- data.tar.gz: 8be245d48ca6fb7f246fa90bcee646ae8a29016b74cdb28a7c513a7602bf772cce4a9702222a111a84ac87aa28c4fbead9ddae7951e6a84423a2378d72e5bdcb
6
+ metadata.gz: 5495a11d76235c73d0a64846bea17115a5cedfa8e0fd7a439b2453b4a684f414f98c2cb1fb9b265a5b6b5567485682fbc0bab3edbd03b6c9505f7ba3e44a852e
7
+ data.tar.gz: e983d64a9bfbf8cbe6fea9f148d67159e0801bc5ae0d6aa0345f48b9c2d883cae774c34c0b4480ffc40942ff3dfc55252f2a3475d4cdc639407ad4a51187a6b0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7
1
+ 0.4.8
@@ -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
@@ -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.7 ruby lib
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.7"
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-03-31"
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.7
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-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mqtt