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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fee7b665492d9f275ed838e0d339722d0d4e5437
4
- data.tar.gz: b99fc863dd61eb9e20298a6e7fff7fe976a8a332
3
+ metadata.gz: 0c3c10d222904e832e65f438c4ec1b49cb7e0bf6
4
+ data.tar.gz: 0f2dbbf7e28c4fe1088d7c6c49a97deb3473cdc4
5
5
  SHA512:
6
- metadata.gz: 8af05ac63334d5551896ff5fd0ecfc3bb680cc3aa051a697d1b2b9e877cdd99e231f194b961b8eacd31219f6b7457534cf7325b2004edb95cbf7ced9f89be9d8
7
- data.tar.gz: fbd522dfc7c8ac6064aa0fc8aaeb41fa3987fea335aea0f844099a56e4b50554e0ad84d43003a0220bb6b5b87906ad3965a9d958edd20da9ffa7688f0a917c8a
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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-slack-karma-sync"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["Steven Harman"]
5
5
  spec.email = ["steven@harmanly.com"]
6
6
  spec.description = "Sync Slack user names with your lita-karma"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-slack-karma-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Harman