lita-slack-karma-sync 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/slack_karma_sync.rb +15 -0
- data/lita-slack-karma-sync.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c3c10d222904e832e65f438c4ec1b49cb7e0bf6
|
4
|
+
data.tar.gz: 0f2dbbf7e28c4fe1088d7c6c49a97deb3473cdc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59339cb7191d1d555f19d8cd2034dc298686b7fdf1245e86c4561825cdd050a4ff9dca2d38263bb9cc6ae70fccf7d2e554ee8cb0cb7cbea98be912eb6aa535e8
|
7
|
+
data.tar.gz: b04f4095c1925d15f052a0acba540a0130060cbf76f9fc9beec2d3346d783978a32b38f4c904a4eeb8fd07105329685e31ff37e4fdd8c74d1a1a41fbe9153922
|
@@ -61,7 +61,13 @@ module Lita
|
|
61
61
|
@karma_redis ||= Redis::Namespace.new('handlers:karma', redis: Lita.redis)
|
62
62
|
end
|
63
63
|
|
64
|
+
# A Benign Term for when there are no matches
|
64
65
|
class NoMatchingTerm
|
66
|
+
|
67
|
+
def delete
|
68
|
+
0 # number of keys deleted
|
69
|
+
end
|
70
|
+
|
65
71
|
def eql?(other)
|
66
72
|
self.class.equal?(other.class)
|
67
73
|
end
|
@@ -70,6 +76,15 @@ module Lita
|
|
70
76
|
def hash
|
71
77
|
self.class.hash
|
72
78
|
end
|
79
|
+
|
80
|
+
def links
|
81
|
+
[]
|
82
|
+
end
|
83
|
+
|
84
|
+
def own_score
|
85
|
+
0
|
86
|
+
end
|
87
|
+
|
73
88
|
end
|
74
89
|
end
|
75
90
|
|