kris 0.0.3 → 0.0.4

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: de3b4057199e71ee549f10c7a8383812d27bca8c
4
- data.tar.gz: 81370bf923ce7e14236f110bce562304b53a1276
3
+ metadata.gz: 519af39a42f22f7c7bedec60b42bcf037408402f
4
+ data.tar.gz: cb3789e76219c7710c011903ea00c2a6dc86ce79
5
5
  SHA512:
6
- metadata.gz: 81147e6427f56900f00e70867df4eb388cef8311cb11d892fda7d1b866487ad57c5eaefa6a7ed8206c45194b841642cbce70726952bc6f726b6bdf244d9e56bc
7
- data.tar.gz: 55417b5a6ae8e92f6946844c90391d64374515947c6db219d032a9419753ddf60d4c708269093834d8aed90507fb9978f77f0849b23cb2fea58724aa65dccf69
6
+ metadata.gz: 03927ef9ca0591c6084b056e8417dc9f4e65ebcb5b77086525a7eb7cfd281d0ef34fe76181f281c0a2629dd58d6dc09185133b609f5cc96d100f0f7b5478461d
7
+ data.tar.gz: d3c0735616e9cd0b22662ccd8187456afe1ef41f2326cda65055541b639bbbe0ef286d001561da4e34ea32a7e0b3953fd03a90d9c700ff0a2abe59a3263d6762
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  spec.add_runtime_dependency 'zircon'
21
- spec.add_runtime_dependency 'activesupport', '~> 3.2.12'
21
+ spec.add_runtime_dependency 'activesupport', '~> 4.0.2'
22
22
 
23
23
  spec.add_development_dependency 'bundler'
24
24
  spec.add_development_dependency 'rake'
@@ -51,6 +51,10 @@ module Kris
51
51
  @robot.privmsg(channel, ":#{reply_to}: #{message}")
52
52
  end
53
53
 
54
+ def logger
55
+ @robot.logger
56
+ end
57
+
54
58
  private
55
59
  def load_callbacks
56
60
  Zircon::COMMAND_NAMES.each do |command|
@@ -3,6 +3,9 @@ require 'kris/zircon/message'
3
3
 
4
4
  module Kris
5
5
  class Session < Zircon
6
+
7
+ attr_reader :logger
8
+
6
9
  def initialize(config)
7
10
  @logger = Logger.new(STDOUT)
8
11
  @channels = config.fetch(:channels, nil)
@@ -1,3 +1,3 @@
1
1
  module Kris
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomohiro TAIRA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-26 00:00:00.000000000 Z
11
+ date: 2013-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zircon
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.12
33
+ version: 4.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.12
40
+ version: 4.0.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.0.0
128
+ rubygems_version: 2.0.3
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: IRC bot library - Pluggable, and very simple