Skip to content

Commit 11681a7

Browse files
committed
update gemspec and gitignore
1 parent edd48de commit 11681a7

File tree

5 files changed

+29
-353
lines changed

5 files changed

+29
-353
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ doc/
1919
.bundle
2020
Gemfile.lock
2121
spec/examples.txt
22+
.gem
2223

2324
# Mac crap
2425
.DS_Store

lib/bots/commands_server/commands_server.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Command server
2+
# Connects to MQTT broker and listens for commands over (RPC)
3+
# Executes the commands and returns the output
4+
# require 'nutella_lib'
5+
Dir["#{File.dirname(__FILE__)}/commands/*.rb"].each do |file|
6+
require_relative "commands/#{File.basename(file, File.extname(file))}"
7+
end
8+
19
$stdout.sync = true ## nutella woudl do this
210
# $stdout.sync = true
311
puts "Hi, I'm a basic ruby bot and all I do is idle and print stuff"

lib/bots/commands_server/persist.log

Lines changed: 0 additions & 335 deletions
This file was deleted.

nutella_framework-0.8.0.gem

-355 KB
Binary file not shown.

0 commit comments

Comments
 (0)