cinch-karma 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/cinch-karma.gemspec +7 -7
- data/lib/cinch/plugins/karma.rb +2 -2
- data/lib/cinch/plugins/karma/version.rb +1 -1
- metadata +8 -8
data/cinch-karma.gemspec
CHANGED
@@ -18,12 +18,12 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ['lib']
|
20
20
|
|
21
|
-
gem.add_development_dependency
|
22
|
-
gem.add_development_dependency
|
23
|
-
gem.add_development_dependency
|
24
|
-
gem.add_development_dependency
|
21
|
+
gem.add_development_dependency 'rake'
|
22
|
+
gem.add_development_dependency 'rspec'
|
23
|
+
gem.add_development_dependency 'coveralls'
|
24
|
+
gem.add_development_dependency 'cinch-test'
|
25
25
|
|
26
|
-
gem.add_dependency
|
27
|
-
gem.add_dependency
|
28
|
-
gem.add_dependency
|
26
|
+
gem.add_dependency 'cinch', '~> 2.0.12'
|
27
|
+
gem.add_dependency 'cinch-cooldown', '~> 1.1.1'
|
28
|
+
gem.add_dependency 'cinch-storage', '~> 1.1.0'
|
29
29
|
end
|
data/lib/cinch/plugins/karma.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
require 'cinch'
|
3
3
|
require 'cinch/cooldown'
|
4
|
-
require 'cinch
|
4
|
+
require 'cinch/storage'
|
5
5
|
|
6
6
|
module Cinch::Plugins
|
7
7
|
# Cinch Plugin to monitor karma and report.
|
@@ -21,7 +21,7 @@ module Cinch::Plugins
|
|
21
21
|
|
22
22
|
def initialize(*args)
|
23
23
|
super
|
24
|
-
@storage =
|
24
|
+
@storage = Cinch::Storage.new(config[:filename] || 'yaml/karma.yml')
|
25
25
|
end
|
26
26
|
|
27
27
|
def listen(m)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch-karma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 2.0.
|
85
|
+
version: 2.0.12
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 2.0.
|
93
|
+
version: 2.0.12
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: cinch-cooldown
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
101
|
+
version: 1.1.1
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.
|
109
|
+
version: 1.1.1
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: cinch-storage
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0
|
117
|
+
version: 1.1.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.0
|
125
|
+
version: 1.1.0
|
126
126
|
description: Cinch Plugin to track karma (item++ / item--) in the channel
|
127
127
|
email:
|
128
128
|
- bhaberer@gmail.com
|