slackbotsy 0.0.4 → 0.0.5

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: e23bcc76eafd3f8e2315d7db56f8d32c80914ebb
4
- data.tar.gz: 10b8051ec309023e9d6a21cdccda658b86730d2d
3
+ metadata.gz: 30964255a6df4d2c0e7c4e6dd5ca3eefc86627b9
4
+ data.tar.gz: 34276a9c8cf0fde396acd7676c60cd432fbeaed6
5
5
  SHA512:
6
- metadata.gz: 05d6e47873167185f937c84a2180cf8fc7e3ab44fddd1c08cd5e403e4c6fb61201c5ee06b6a28820cb29fe0a999425c2f10eace374c036faffe0ff3f67fe4fd5
7
- data.tar.gz: 0d2cda790c58b1fd0a919b1e27b0ea25ce31305e391878a8e3b02ca6323759d6bf12f4d42a6a45b5b36d522296b96d51200be9e292c81c880886ee69d4dc7901
6
+ metadata.gz: 7c26111f57610cb2e6b2c99f0c38d6aba0cac9ff49848f0005b9781a92fae73acb39905bf153b57dd2b36772bc294db17c36c67a4dddec2b240be1ed32290d26
7
+ data.tar.gz: 1ef3e8f6deb4e913b078af0bf5549780cc2e80cebae40b66521264a3d1e3dda95ec49f6b7b6aa16cc9d49d28e1d38d46d36d6b5e185890fa9902b9f2bdd4a547
@@ -0,0 +1,5 @@
1
+ module Slackbotsy
2
+ module Helper
3
+ ## stub for clients to add helper methods
4
+ end
5
+ end
@@ -1,7 +1,8 @@
1
1
  module Slackbotsy
2
2
 
3
3
  class Message < Hash
4
-
4
+ include Helper # mixin client helper methods
5
+
5
6
  ## convert message from a Hash obj to a Message obj
6
7
  def initialize(caller, msg)
7
8
  super()
@@ -1,3 +1,3 @@
1
1
  module Slackbotsy
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/slackbotsy.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "slackbotsy/version"
2
2
  require "slackbotsy/bot"
3
+ require "slackbotsy/helper"
3
4
  require "slackbotsy/message"
4
5
 
5
6
  module Slackbotsy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slackbotsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-07 00:00:00.000000000 Z
11
+ date: 2014-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,6 +80,7 @@ files:
80
80
  - Rakefile
81
81
  - lib/slackbotsy.rb
82
82
  - lib/slackbotsy/bot.rb
83
+ - lib/slackbotsy/helper.rb
83
84
  - lib/slackbotsy/message.rb
84
85
  - lib/slackbotsy/version.rb
85
86
  - slackbotsy.gemspec