lita-motivate 0.1.1 → 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/README.md +11 -3
- data/lib/lita/handlers/motivate.rb +3 -2
- data/lita-motivate.gemspec +1 -1
- metadata +2 -4
- data/templates/.gitkeep +0 -0
- data/templates/high_five.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 900ce3c827c7eccfbccbe7d040cb9d8505b08926
|
4
|
+
data.tar.gz: d59a4dc27e1e224f986d63bc452cf34c2cc9b4a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f7469907abbadbd5a4b28b66f1a6c6981331915bfa99ac469e94f3ef6b9ecc777ebb81ec3da2b2110d2221c16ed2df18d971abd8cad3e3f05a33116ba04655e
|
7
|
+
data.tar.gz: 07921857056a7af4da8fad842ab75b9b372635975530247809eb45e6f366a84492ac19bf2514055d4600cd948b1064101887f90b85f94773c9ab0bb4e99a4288
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# lita-motivate
|
2
2
|
|
3
|
-
|
3
|
+
[![Build Status](https://travis-ci.org/jjasghar/lita-motivate.svg?branch=master)](https://travis-ci.org/jjasghar/lita-motivate)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/jjasghar/lita-motivate/badge.svg?branch=master)](https://coveralls.io/r/jjasghar/lita-motivate?branch=master)
|
5
|
+
|
6
|
+
Some times it's nice to thank someone for all the work they do. This plugin allows you to do that via the bot you have!
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -12,11 +15,16 @@ gem "lita-motivate"
|
|
12
15
|
|
13
16
|
## Configuration
|
14
17
|
|
15
|
-
|
18
|
+
None
|
16
19
|
|
17
20
|
## Usage
|
18
21
|
|
19
|
-
|
22
|
+
```
|
23
|
+
14:37 <j^2> !m dosman711
|
24
|
+
14:37 <j2bot> dosman711 keep up the good work!
|
25
|
+
14:38 <j^2> !h5 dossman711
|
26
|
+
14:38 ✧ j2bot high fives dossman711
|
27
|
+
```
|
20
28
|
|
21
29
|
## License
|
22
30
|
|
@@ -22,12 +22,13 @@ module Lita
|
|
22
22
|
})
|
23
23
|
|
24
24
|
def high_five(request)
|
25
|
-
name = request.matches[0][
|
26
|
-
|
25
|
+
name = request.matches[0][1]
|
26
|
+
request.reply("/me high fives #{name}")
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|
30
30
|
|
31
31
|
Lita.register_handler(Motivate)
|
32
|
+
Lita.register_handler(MotivateWithTemplates)
|
32
33
|
end
|
33
34
|
end
|
data/lita-motivate.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-motivate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JJ Asghar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -141,8 +141,6 @@ files:
|
|
141
141
|
- locales/en.yml
|
142
142
|
- spec/lita/handlers/motivate_spec.rb
|
143
143
|
- spec/spec_helper.rb
|
144
|
-
- templates/.gitkeep
|
145
|
-
- templates/high_five.erb
|
146
144
|
homepage: http://github.com/jjasghar/lita-motivate
|
147
145
|
licenses:
|
148
146
|
- MIT
|
data/templates/.gitkeep
DELETED
File without changes
|
data/templates/high_five.erb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/me high fives <%= @name =>
|