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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 334268208a973a8710ae34f35f87fe4dba7cea65
4
- data.tar.gz: 2359d34706bf4a2a4d6b18891a14ce8b71476b15
3
+ metadata.gz: 900ce3c827c7eccfbccbe7d040cb9d8505b08926
4
+ data.tar.gz: d59a4dc27e1e224f986d63bc452cf34c2cc9b4a5
5
5
  SHA512:
6
- metadata.gz: 2f88479eca2de4a4134b53590612a12fd27139e91304064696a8a265b1b2b7eb9893c4639ed51b48e9b27756bf00613f3d2f0aa795224309800f54f1b54ca2c4
7
- data.tar.gz: 7bed8b7ecfc6a84609357895ed98dd515f71dc15d6d9cb9862259da55a30a1e731d3ecb314fcb33b3595e9b399ebd5b70f7cb657df1b1f2f0aa25aeaf8069628
6
+ metadata.gz: 0f7469907abbadbd5a4b28b66f1a6c6981331915bfa99ac469e94f3ef6b9ecc777ebb81ec3da2b2110d2221c16ed2df18d971abd8cad3e3f05a33116ba04655e
7
+ data.tar.gz: 07921857056a7af4da8fad842ab75b9b372635975530247809eb45e6f366a84492ac19bf2514055d4600cd948b1064101887f90b85f94773c9ab0bb4e99a4288
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # lita-motivate
2
2
 
3
- TODO: Add a description of the plugin.
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
- TODO: Describe any configuration attributes the plugin exposes.
18
+ None
16
19
 
17
20
  ## Usage
18
21
 
19
- TODO: Describe the plugin's features and how to use them.
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][0]
26
- response.reply(render_template("high_five", name: name))
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-motivate"
3
- spec.version = "0.1.1"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["JJ Asghar"]
5
5
  spec.email = ["jjasghar@gmail.com"]
6
6
  spec.description = %q{Motivates a user with !m}
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.1.1
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-03-02 00:00:00.000000000 Z
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
File without changes
@@ -1 +0,0 @@
1
- /me high fives <%= @name =>