lita-onewheel-beer-baileys 3.8.7 → 3.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/onewheel_beer_baileys.rb +7 -6
- data/lita-onewheel-beer-baileys.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8de54d05ed60e20ca8e68320d2a549e4df10b6b
|
4
|
+
data.tar.gz: 9a16cf213b7255b82bb948e01af91b6d486e08d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f841813256b31897dcd900848cae2178a819b9b3027b4cfec30d8df6fbdbc815fd5c1de767c0785b068d9995e97f97ac289add0a1a4f13c34f712ec228d1e1e
|
7
|
+
data.tar.gz: de963a65bd2a11140b6ffd40c6a98c46a02fdc0e15ce936a7298032c1fa66a54ac92f84848d277df92d8224ac56e7d3b97c427ca9ec467c0a5be7605ea4df154
|
@@ -86,12 +86,13 @@ module Lita
|
|
86
86
|
|
87
87
|
def get_source
|
88
88
|
# https://visualizeapi.com/api/baileys
|
89
|
-
Lita.logger.debug "get_source started"
|
90
|
-
unless (response = redis.get('page_response'))
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
89
|
+
# Lita.logger.debug "get_source started"
|
90
|
+
# unless (response = redis.get('page_response'))
|
91
|
+
# Lita.logger.info 'No cached result found, fetching.'
|
92
|
+
Lita.logger.info 'Getting http://www.baileystaproom.com/draft-list/'
|
93
|
+
response = RestClient.get('http://www.baileystaproom.com/draft-list/')
|
94
|
+
# redis.setex('page_response', 1800, response)
|
95
|
+
# end
|
95
96
|
response.gsub! '<div id="responsecontainer"">', ''
|
96
97
|
parse_response response
|
97
98
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-beer-baileys'
|
3
|
-
spec.version = '3.8.
|
3
|
+
spec.version = '3.8.8'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
6
|
spec.description = %q{Lita interface to Bailey's Taproom listings.}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-onewheel-beer-baileys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.5.
|
207
|
+
rubygems_version: 2.5.2
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: See above.
|