nutella_lib 0.4.10 → 0.4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7dcd328e6dbcb8aa528d68feea5852ab0932f03b
4
- data.tar.gz: 5f0d0674ca7b8c9e615906d1e65b8dced82b6264
3
+ metadata.gz: 9aa53a00b9038b974771dc4583c10eef47afde52
4
+ data.tar.gz: 75967b74a4797452c94c1e55e41e1894e8a51570
5
5
  SHA512:
6
- metadata.gz: ec7c0d25cc0392cb8f1a48d4365475e7e38afc65a4b8c931eb80a296979d528b809a9ca496542097c7cd5a388b6131d0d46a3170fcb29f0dd215c52201df897e
7
- data.tar.gz: 8f9fd8d89661f448dc7954769fb74977ea5739d98a7cf0838d928a3b7e42493afa48a38e494cc8e3468237247df4a572f981d172ba559e7a63b976ada7fdad89
6
+ metadata.gz: d91dbb8ee3728d620955ec72c62aa07d83028033ead36a7954da990e513010f56cf11593a59583defe403ed72102ea7b01719bd30e46f98b9981560dd54db762
7
+ data.tar.gz: ea2ae3bbd56484d391a6dcba56461971caf2200b9127d572a3989b53417a516279d2d637215f6dbc5ac348cb90fe592040b96b4eebe57e847357f45186d3ce65
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'mqtt', '~> 0.3', '>= 0.3'
3
+ gem 'mqtt', '~> 0.3', '>= 0.3.1'
4
4
  gem 'ansi', '~> 1.5', '>= 1.4'
5
- gem 'mongo','~> 2.0.1', '>= 2.0.1'
5
+ gem 'mongo','~> 2.0', '>= 2.0.2'
6
6
 
7
7
  group :development do
8
8
  gem 'shoulda', '~> 3', '>= 3'
@@ -10,7 +10,7 @@ group :development do
10
10
  gem 'yard', '~> 0.8', '>= 0.8.7'
11
11
  gem 'rdoc', '~> 4.0', '>= 4.0'
12
12
  gem 'bundler', '~> 1.0', '>= 1.0'
13
- gem 'jeweler', '~> 2.0.1', '>= 2.0.1'
13
+ gem 'jeweler', '~> 2.0', '>= 2.0.1'
14
14
  gem 'simplecov', '~> 0', '>= 0'
15
15
  end
16
16
 
data/README.md CHANGED
@@ -2,5 +2,11 @@
2
2
  [![Build Status](https://travis-ci.org/nutella-framework/nutella_lib.rb.svg)](https://travis-ci.org/nutella-framework/nutella_lib.rb)
3
3
 
4
4
  # nutella_lib.rb
5
- nutella library for Ruby
5
+ nutella library for Ruby. Used mostly to create bots in Ruby.
6
+
7
+ # Getting started
8
+ Take a look at [basic-ruby-bot](https://github.com/nutella-framework/basic-ruby-bot) to see how to use nutella_lib insideto build a bot.
9
+
10
+ # Docs
11
+ Check out the docs at [http://www.rubydoc.info/gems/nutella_lib](http://www.rubydoc.info/gems/nutella_lib)
6
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.10
1
+ 0.4.11
data/lib/nutella_lib.rb CHANGED
@@ -18,3 +18,6 @@ require 'nutella_lib/app_persist'
18
18
  unless defined?(Nutella::NO_EXT)
19
19
  require 'nutella_lib/ext/kernel'
20
20
  end
21
+
22
+ # Make sure any exception in any thread kills the program
23
+ Thread::abort_on_exception = true
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.10 ruby lib
5
+ # stub: nutella_lib 0.4.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "nutella_lib"
9
- s.version = "0.4.10"
9
+ s.version = "0.4.11"
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-04-07"
14
+ s.date = "2015-04-16"
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 = [
@@ -60,38 +60,38 @@ Gem::Specification.new do |s|
60
60
  s.specification_version = 4
61
61
 
62
62
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
63
- s.add_runtime_dependency(%q<mqtt>, [">= 0.3", "~> 0.3"])
63
+ s.add_runtime_dependency(%q<mqtt>, [">= 0.3.1", "~> 0.3"])
64
64
  s.add_runtime_dependency(%q<ansi>, [">= 1.4", "~> 1.5"])
65
- s.add_runtime_dependency(%q<mongo>, [">= 2.0.1", "~> 2.0.1"])
65
+ s.add_runtime_dependency(%q<mongo>, [">= 2.0.2", "~> 2.0"])
66
66
  s.add_development_dependency(%q<shoulda>, [">= 3", "~> 3"])
67
67
  s.add_development_dependency(%q<minitest>, [">= 5", "~> 5.4"])
68
68
  s.add_development_dependency(%q<yard>, [">= 0.8.7", "~> 0.8"])
69
69
  s.add_development_dependency(%q<rdoc>, [">= 4.0", "~> 4.0"])
70
70
  s.add_development_dependency(%q<bundler>, [">= 1.0", "~> 1.0"])
71
- s.add_development_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0.1"])
71
+ s.add_development_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
72
72
  s.add_development_dependency(%q<simplecov>, [">= 0", "~> 0"])
73
73
  else
74
- s.add_dependency(%q<mqtt>, [">= 0.3", "~> 0.3"])
74
+ s.add_dependency(%q<mqtt>, [">= 0.3.1", "~> 0.3"])
75
75
  s.add_dependency(%q<ansi>, [">= 1.4", "~> 1.5"])
76
- s.add_dependency(%q<mongo>, [">= 2.0.1", "~> 2.0.1"])
76
+ s.add_dependency(%q<mongo>, [">= 2.0.2", "~> 2.0"])
77
77
  s.add_dependency(%q<shoulda>, [">= 3", "~> 3"])
78
78
  s.add_dependency(%q<minitest>, [">= 5", "~> 5.4"])
79
79
  s.add_dependency(%q<yard>, [">= 0.8.7", "~> 0.8"])
80
80
  s.add_dependency(%q<rdoc>, [">= 4.0", "~> 4.0"])
81
81
  s.add_dependency(%q<bundler>, [">= 1.0", "~> 1.0"])
82
- s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0.1"])
82
+ s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
83
83
  s.add_dependency(%q<simplecov>, [">= 0", "~> 0"])
84
84
  end
85
85
  else
86
- s.add_dependency(%q<mqtt>, [">= 0.3", "~> 0.3"])
86
+ s.add_dependency(%q<mqtt>, [">= 0.3.1", "~> 0.3"])
87
87
  s.add_dependency(%q<ansi>, [">= 1.4", "~> 1.5"])
88
- s.add_dependency(%q<mongo>, [">= 2.0.1", "~> 2.0.1"])
88
+ s.add_dependency(%q<mongo>, [">= 2.0.2", "~> 2.0"])
89
89
  s.add_dependency(%q<shoulda>, [">= 3", "~> 3"])
90
90
  s.add_dependency(%q<minitest>, [">= 5", "~> 5.4"])
91
91
  s.add_dependency(%q<yard>, [">= 0.8.7", "~> 0.8"])
92
92
  s.add_dependency(%q<rdoc>, [">= 4.0", "~> 4.0"])
93
93
  s.add_dependency(%q<bundler>, [">= 1.0", "~> 1.0"])
94
- s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0.1"])
94
+ s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
95
95
  s.add_dependency(%q<simplecov>, [">= 0", "~> 0"])
96
96
  end
97
97
  end
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.10
4
+ version: 0.4.11
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-04-07 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mqtt
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: 0.3.1
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '0.3'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: 0.3.1
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0.3'
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 2.0.1
59
+ version: 2.0.2
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 2.0.1
62
+ version: '2.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 2.0.1
69
+ version: 2.0.2
70
70
  - - "~>"
71
71
  - !ruby/object:Gem::Version
72
- version: 2.0.1
72
+ version: '2.0'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: shoulda
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ dependencies:
179
179
  version: 2.0.1
180
180
  - - "~>"
181
181
  - !ruby/object:Gem::Version
182
- version: 2.0.1
182
+ version: '2.0'
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ dependencies:
189
189
  version: 2.0.1
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: 2.0.1
192
+ version: '2.0'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: simplecov
195
195
  requirement: !ruby/object:Gem::Requirement