lita-jarvis 0.2.1 → 0.2.2

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: 21bb8872a582131868a01d4b3aa64ef144c63da7
4
- data.tar.gz: 0ae40cf391e17913b83d82139d43bdcf17a94363
3
+ metadata.gz: b1324286c0fc49f44077594010c0412ba1c9fe7b
4
+ data.tar.gz: 29b0fa71850de3374fef7391e15a4d6e97aff5f9
5
5
  SHA512:
6
- metadata.gz: c6482317465494d24b7dc088ebf19ccd70543399cc8608df4297b2a30b59cec82d013cab019a59181dbc0af459413d5377271be7b2cabcb21bafb404672bbc1c
7
- data.tar.gz: c00b9203b5ac322c9c611921da09ce2fb1b4abf67b7225ef466f6f8cd7b2b79fec45373b3e398ff57a3011b69d5cd72f01dc50b9ed86d5c678cc22c0e16a24ff
6
+ metadata.gz: ad8a882d3ef2b5802ef83ed1530dfcacec7c26ba001bfbe77d8136ba7c0d6c983a9518a34e825cd0e2621b01e82652a9a96a48cfea3441e617af8ace5117d7ee
7
+ data.tar.gz: 4a6c84b2d18e055abd70a9605aaacbbcff474ab999a7e5fe43cd3bd0a3f5baf67c3942119b1b48cc535106f2c6b6b5525081d324b1ed79e194bcc4f5d9b6f5f2
@@ -41,14 +41,14 @@ module Lita
41
41
 
42
42
  def welcome(response)
43
43
  name = getName(response.user.name)
44
- response.reply("You're Welcome #{name}")
44
+ response.reply("You're welcome #{name}")
45
45
  end
46
46
 
47
47
  def set_name(response)
48
48
  requestedName = response.args[1]
49
49
  redis.set(response.user.name, requestedName)
50
50
  if redis.get(response.user.name)
51
- response.reply("I have recorded your preferred designation")
51
+ response.reply("I have recorded your preferred designation #{requestedName}")
52
52
  else
53
53
  response.reply_privately("There seems to have been a problem")
54
54
  end
@@ -85,7 +85,8 @@ module Lita
85
85
  "I've taken the liberty of preparing a help function for you. Please just say help",
86
86
  "I'm afraid I don't understand your request #{name}",
87
87
  "I'm not currently programmed to do that #{name}",
88
- "I failed to understand that command.",
88
+ "I seem to do quite well for a stretch, and then at the end of the sentence I say the wrong cranberry.",
89
+ "I have failed to parse that command. I do have my limits after all.",
89
90
  "I feel this may be a cliche, but 'Does not compute'"]
90
91
  messages.sample
91
92
  end
data/lita-jarvis.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-jarvis"
3
- spec.version = "0.2.1"
3
+ spec.version = "0.2.2"
4
4
  spec.authors = ["Mark Nicholls"]
5
5
  spec.email = ["nichollsm77@gmail.com"]
6
6
  spec.description = "Make Lita a little more like J.a.r.v.i.s."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-jarvis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita