lita-espn-fantasy-football 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +9 -8
- data/lib/lita/handlers/espn_fantasy_football.rb +5 -0
- data/lita-espn-fantasy-football.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b638b658162f5cccc785215bafd772f3fc6a3e6f
|
4
|
+
data.tar.gz: 483b50ef3753316258aab8f79cd61a027cd6958a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4d0a0f1e5629ce004b8f480a511fed7629db0f9bcbce965dd8ec8dc0ca2144e56e9762addb4e2932077a12744a39803c8b04a56d85a79f1fe7a82ac07254056
|
7
|
+
data.tar.gz: ecbe1a34aad2404419473ee19d2b916fe9a46920ec71de304078c363f67048ef83629b6a4435f299ccbc468aac19c8f55bd2f6c5c8cf02512c0dbfd9b84d33e9
|
data/.rubocop_todo.yml
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2017-09-
|
3
|
+
# on 2017-09-14 12:37:43 -0500 using RuboCop version 0.49.1.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
9
|
# Offense count: 1
|
10
|
-
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
Layout/LeadingCommentSpace:
|
11
12
|
Exclude:
|
12
|
-
- '
|
13
|
+
- 'lita_config.rb'
|
13
14
|
|
14
15
|
# Offense count: 5
|
15
16
|
Metrics/AbcSize:
|
16
|
-
Max:
|
17
|
+
Max: 72
|
17
18
|
|
18
|
-
# Offense count:
|
19
|
+
# Offense count: 3
|
19
20
|
# Configuration parameters: CountComments, ExcludedMethods.
|
20
21
|
Metrics/BlockLength:
|
21
22
|
Max: 28
|
@@ -23,9 +24,9 @@ Metrics/BlockLength:
|
|
23
24
|
# Offense count: 1
|
24
25
|
# Configuration parameters: CountComments.
|
25
26
|
Metrics/ClassLength:
|
26
|
-
Max:
|
27
|
+
Max: 210
|
27
28
|
|
28
|
-
# Offense count:
|
29
|
+
# Offense count: 2
|
29
30
|
Metrics/CyclomaticComplexity:
|
30
31
|
Max: 8
|
31
32
|
|
@@ -34,7 +35,7 @@ Metrics/CyclomaticComplexity:
|
|
34
35
|
Metrics/MethodLength:
|
35
36
|
Max: 48
|
36
37
|
|
37
|
-
# Offense count:
|
38
|
+
# Offense count: 2
|
38
39
|
Metrics/PerceivedComplexity:
|
39
40
|
Max: 9
|
40
41
|
|
@@ -264,6 +264,11 @@ module Lita
|
|
264
264
|
.gsub(/(\S+\straded)/, ':revolving_hearts: \\1')
|
265
265
|
.gsub(/(\S+\sdrafted)/, ':heavy_plus_sign: \\1')
|
266
266
|
end
|
267
|
+
elsif type == 'Trophy Assigned'
|
268
|
+
# subtype has more info in it than detail alone
|
269
|
+
events = [
|
270
|
+
"#{subtype.gsub(/.*(awarded to)/, ':trophy: \\1')} — #{detail}"
|
271
|
+
]
|
267
272
|
end
|
268
273
|
|
269
274
|
resp << events.join("\n")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'lita-espn-fantasy-football'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.3'
|
4
4
|
s.authors = ['Kevin Reedy', 'Miles Evenson']
|
5
5
|
s.email = ['kevinreedy@gmail.com', 'miles.evenson@gmail.com']
|
6
6
|
s.description = 'Lita handler for ESPN Fantasy Football'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-espn-fantasy-football
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Reedy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09-
|
12
|
+
date: 2017-09-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lita
|