lita-onewheel-beer-pints 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +16 -0
- data/Gemfile +6 -0
- data/README.md +31 -0
- data/Rakefile +6 -0
- data/lib/lita/handlers/onewheel_beer_pints.rb +138 -0
- data/lib/lita-onewheel-beer-pints.rb +12 -0
- data/lita-onewheel-beer-pints.gemspec +30 -0
- data/spec/fixtures/pints.html +228 -0
- data/spec/lita/handlers/onewheel_beer_pints_spec.rb +28 -0
- data/spec/spec_helper.rb +14 -0
- metadata +199 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 06000cfae97483e9264d3f393526fec245a48ab0
|
4
|
+
data.tar.gz: f7f3c1a1ab7732f432b4e9478047d7fecf568a77
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 67fe0e1dce43b5eaa645726d4335d619c8726e0e269cb0ee57a51f7f3126e29b4d422c32ec7c12333304b853314910ceb8f8f078b87b014454d6f242a3a02566
|
7
|
+
data.tar.gz: 724135701b1032a3d4e48f6c082009f345832a4a00fb04f2e0110decaae3d555d5aab324bd78b9731465fd00eb2d5472b36b4025abceaed2f9a0ae56eb7367eb
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
language: ruby
|
2
|
+
|
3
|
+
rvm:
|
4
|
+
- 2.2.5
|
5
|
+
- 2.3.1
|
6
|
+
|
7
|
+
script: bundle exec rspec -fp spec
|
8
|
+
|
9
|
+
# Travis CI has an outdated version of bundler on older versions of ruby.
|
10
|
+
# See bundler/bundler#3558 for more information
|
11
|
+
#before_install:
|
12
|
+
# - gem update --system
|
13
|
+
# - gem update bundler
|
14
|
+
|
15
|
+
services:
|
16
|
+
- redis-server
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# lita-onewheel-beer-pints
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/onewheelskyward/lita-onewheel-beer-pints.png?branch=master)](https://travis-ci.org/onewheelskyward/lita-onewheel-beer-pints)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/onewheelskyward/lita-onewheel-beer-pints/badge.png)](https://coveralls.io/r/onewheelskyward/lita-onewheel-beer-pints)
|
5
|
+
|
6
|
+
Searches Bailey's Taproom draft list for data and displays it in IRC.
|
7
|
+
|
8
|
+
http://www.baileystaproom.com/draft-list/
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add lita-onewheel-beer-pints to your Lita instance's Gemfile:
|
13
|
+
|
14
|
+
``` ruby
|
15
|
+
gem 'lita-onewheel-beer-pints'
|
16
|
+
```
|
17
|
+
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
taps
|
21
|
+
|
22
|
+
taps 4
|
23
|
+
|
24
|
+
taps nitro
|
25
|
+
|
26
|
+
taps >(=)5%
|
27
|
+
|
28
|
+
taps <(=)$5
|
29
|
+
|
30
|
+
taps roulette|random
|
31
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
require 'rest-client'
|
2
|
+
require 'nokogiri'
|
3
|
+
require 'lita-onewheel-beer-base'
|
4
|
+
|
5
|
+
module Lita
|
6
|
+
module Handlers
|
7
|
+
class OnewheelBeerPints < OnewheelBeerBase
|
8
|
+
route /^pints$/i,
|
9
|
+
:taps_list,
|
10
|
+
command: true,
|
11
|
+
help: {'pints' => 'Display the current taps.'}
|
12
|
+
|
13
|
+
route /^pints ([\w ]+)$/i,
|
14
|
+
:taps_deets,
|
15
|
+
command: true,
|
16
|
+
help: {'pints 4' => 'Display the tap 4 deets, including prices.'}
|
17
|
+
|
18
|
+
route /^pints ([<>=\w.\s]+)%$/i,
|
19
|
+
:taps_by_abv,
|
20
|
+
command: true,
|
21
|
+
help: {'pints >4%' => 'Display beers over 4% ABV.'}
|
22
|
+
|
23
|
+
route /^pints ([<>=\$\w.\s]+)$/i,
|
24
|
+
:taps_by_price,
|
25
|
+
command: true,
|
26
|
+
help: {'pints <$5' => 'Display beers under $5.'}
|
27
|
+
|
28
|
+
route /^pints (roulette|random)$/i,
|
29
|
+
:taps_by_random,
|
30
|
+
command: true,
|
31
|
+
help: {'pints roulette' => 'Can\'t decide? Let me do it for you!'}
|
32
|
+
|
33
|
+
route /^pintsabvlow$/i,
|
34
|
+
:taps_low_abv,
|
35
|
+
command: true,
|
36
|
+
help: {'pintsabvlow' => 'Show me the lowest abv keg.'}
|
37
|
+
|
38
|
+
route /^pintsabvhigh$/i,
|
39
|
+
:taps_high_abv,
|
40
|
+
command: true,
|
41
|
+
help: {'pintsabvhigh' => 'Show me the highest abv keg.'}
|
42
|
+
|
43
|
+
def taps_list(response)
|
44
|
+
beers = self.get_source
|
45
|
+
reply = 'Pints taps: '
|
46
|
+
beers.each do |tap, datum|
|
47
|
+
reply += "#{tap}) "
|
48
|
+
reply += datum[:name] + ' '
|
49
|
+
# reply += datum[:abv].to_s + '% ABV '
|
50
|
+
# reply += datum[:ibu].to_s + ' IBU '
|
51
|
+
end
|
52
|
+
reply = reply.strip.sub /,\s*$/, ''
|
53
|
+
|
54
|
+
Lita.logger.info "Replying with #{reply}"
|
55
|
+
response.reply reply
|
56
|
+
end
|
57
|
+
|
58
|
+
def send_response(tap, datum, response)
|
59
|
+
reply = "Pints's tap #{tap}) "
|
60
|
+
reply += "#{datum[:name]} "
|
61
|
+
reply += datum[:abv].to_s + '% ABV '
|
62
|
+
reply += datum[:ibu].to_s + ' IBU '
|
63
|
+
reply += "- #{datum[:desc]}, "
|
64
|
+
|
65
|
+
Lita.logger.info "send_response: Replying with #{reply}"
|
66
|
+
|
67
|
+
response.reply reply
|
68
|
+
end
|
69
|
+
|
70
|
+
def get_source
|
71
|
+
Lita.logger.debug 'get_source started'
|
72
|
+
unless (response = redis.get('page_response'))
|
73
|
+
Lita.logger.info 'No cached result found, fetching.'
|
74
|
+
response = RestClient.get('http://www.pintsbrewing.com/brew-menu/')
|
75
|
+
redis.setex('page_response', 1800, response)
|
76
|
+
end
|
77
|
+
parse_response response
|
78
|
+
end
|
79
|
+
|
80
|
+
# This is the worker bee- decoding the html into our "standard" document.
|
81
|
+
# Future implementations could simply override this implementation-specific
|
82
|
+
# code to help this grow more widely.
|
83
|
+
def parse_response(response)
|
84
|
+
Lita.logger.debug 'parse_response started.'
|
85
|
+
gimme_what_you_got = {}
|
86
|
+
got_beer = false
|
87
|
+
tap = 1
|
88
|
+
beer_name = nil
|
89
|
+
beer_abv = nil
|
90
|
+
beer_ibu = nil
|
91
|
+
beer_desc = nil
|
92
|
+
|
93
|
+
noko = Nokogiri.HTML response
|
94
|
+
noko.css('.entry-content p').each do |beer_node|
|
95
|
+
# gimme_what_you_got
|
96
|
+
if got_beer
|
97
|
+
beer_desc = beer_node.children.to_s
|
98
|
+
got_beer = false
|
99
|
+
full_text_search = "#{beer_name} #{beer_desc.to_s.gsub /\d+\.*\d*%*/, ''}"
|
100
|
+
|
101
|
+
gimme_what_you_got[tap] = {
|
102
|
+
# type: tap_type,
|
103
|
+
# brewery: brewery.to_s,
|
104
|
+
name: beer_name.to_s,
|
105
|
+
desc: beer_desc.to_s,
|
106
|
+
abv: beer_abv.to_f,
|
107
|
+
ibu: beer_ibu.to_i,
|
108
|
+
# prices: prices,
|
109
|
+
# price: prices[1][:cost],
|
110
|
+
search: full_text_search
|
111
|
+
}
|
112
|
+
tap += 1
|
113
|
+
end
|
114
|
+
|
115
|
+
if !got_beer and beer_node.to_s.match(/\d+ IBU/)
|
116
|
+
got_beer = true
|
117
|
+
# beer_name = nil
|
118
|
+
# beer_abv = nil
|
119
|
+
# beer_ibu = nil
|
120
|
+
|
121
|
+
data = beer_node.css('strong')
|
122
|
+
beer_name = data.children.first.to_s
|
123
|
+
beer_name.strip!
|
124
|
+
beer_name.sub! /\s+…+.* ABV.*IBU/, ''
|
125
|
+
beer_abv = data.children.last.to_s[/\d+\.\d+% ABV/]
|
126
|
+
beer_abv.sub! /% ABV/, ''
|
127
|
+
beer_ibu = data.children.last.to_s[/\d+ IBU/]
|
128
|
+
beer_ibu.sub! /\sIBU/, ''
|
129
|
+
end
|
130
|
+
|
131
|
+
end
|
132
|
+
gimme_what_you_got
|
133
|
+
end
|
134
|
+
|
135
|
+
Lita.register_handler(self)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'lita'
|
2
|
+
|
3
|
+
Lita.load_locales Dir[File.expand_path(
|
4
|
+
File.join('..', '..', 'locales', '*.yml'), __FILE__
|
5
|
+
)]
|
6
|
+
|
7
|
+
require 'lita/handlers/onewheel_beer_pints'
|
8
|
+
|
9
|
+
Lita::Handlers::OnewheelBeerPints.template_root File.expand_path(
|
10
|
+
File.join('..', '..', 'templates'),
|
11
|
+
__FILE__
|
12
|
+
)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = 'lita-onewheel-beer-pints'
|
3
|
+
spec.version = '0.0.0'
|
4
|
+
spec.authors = ['Andrew Kreps']
|
5
|
+
spec.email = ['andrew.kreps@gmail.com']
|
6
|
+
spec.description = %q{Lita interface to Pints Taproom listings.}
|
7
|
+
spec.summary = %q{See above.}
|
8
|
+
spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-beer-pints'
|
9
|
+
spec.license = 'MIT'
|
10
|
+
spec.metadata = { 'lita_plugin_type' => 'handler' }
|
11
|
+
|
12
|
+
spec.files = `git ls-files`.split($/)
|
13
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
14
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
15
|
+
spec.require_paths = ['lib']
|
16
|
+
|
17
|
+
spec.add_runtime_dependency 'lita', '~> 4.7'
|
18
|
+
spec.add_runtime_dependency 'rest-client', '~> 1.8'
|
19
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.6'
|
20
|
+
spec.add_runtime_dependency 'lita-onewheel-beer-base', '~> 2'
|
21
|
+
|
22
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
23
|
+
|
24
|
+
# spec.add_development_dependency 'pry-byebug', '~> 3.1'
|
25
|
+
spec.add_development_dependency 'rake', '~> 10.4'
|
26
|
+
spec.add_development_dependency 'rack-test', '~> 0.6'
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
29
|
+
spec.add_development_dependency 'coveralls', '~> 0.8'
|
30
|
+
end
|
@@ -0,0 +1,228 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html lang="en-US">
|
4
|
+
<head >
|
5
|
+
<meta charset="UTF-8" />
|
6
|
+
<title>Brew Menu – PINTS Brewing Company</title><meta name="robots" content="noodp,noydir" />
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
8
|
+
<link rel="alternate" type="application/rss+xml" title="PINTS Brewing Company » Feed" href="http://www.pintsbrewing.com/feed/" />
|
9
|
+
<link rel="alternate" type="application/rss+xml" title="PINTS Brewing Company » Comments Feed" href="http://www.pintsbrewing.com/comments/feed/" />
|
10
|
+
<link rel="canonical" href="http://www.pintsbrewing.com/brew-menu/" />
|
11
|
+
<script type="text/javascript">
|
12
|
+
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/www.pintsbrewing.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.5.2"}};
|
13
|
+
!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
|
14
|
+
</script>
|
15
|
+
<style type="text/css">
|
16
|
+
img.wp-smiley,
|
17
|
+
img.emoji {
|
18
|
+
display: inline !important;
|
19
|
+
border: none !important;
|
20
|
+
box-shadow: none !important;
|
21
|
+
height: 1em !important;
|
22
|
+
width: 1em !important;
|
23
|
+
margin: 0 .07em !important;
|
24
|
+
vertical-align: -0.1em !important;
|
25
|
+
background: none !important;
|
26
|
+
padding: 0 !important;
|
27
|
+
}
|
28
|
+
</style>
|
29
|
+
<link rel='stylesheet' id='genesis-simple-share-plugin-css-css' href='//www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/css/share.css?ver=0.1.0' type='text/css' media='all' />
|
30
|
+
<link rel='stylesheet' id='genesis-simple-share-genericons-css-css' href='//www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/css/genericons.css?ver=0.1.0' type='text/css' media='all' />
|
31
|
+
<link rel='stylesheet' id='outreach-pro-theme-css' href='http://www.pintsbrewing.com/wp-content/themes/outreach-pro/style.css?ver=3.1' type='text/css' media='all' />
|
32
|
+
<link rel='stylesheet' id='sb_instagram_styles-css' href='http://www.pintsbrewing.com/wp-content/plugins/instagram-feed/css/sb-instagram.min.css?ver=1.4.6' type='text/css' media='all' />
|
33
|
+
<link rel='stylesheet' id='colorbox-css' href='http://www.pintsbrewing.com/wp-content/plugins/simple-colorbox/themes/theme1/colorbox.css?ver=4.5.2' type='text/css' media='screen' />
|
34
|
+
<link rel='stylesheet' id='dashicons-css' href='http://www.pintsbrewing.com/wp-includes/css/dashicons.min.css?ver=4.5.2' type='text/css' media='all' />
|
35
|
+
<link rel='stylesheet' id='google-fonts-css' href='//fonts.googleapis.com/css?family=Lato%3A400%2C700%7CRaleway%3A400%2C600%2C700%2C500&ver=3.1' type='text/css' media='all' />
|
36
|
+
<link rel='stylesheet' id='simple-social-icons-font-css' href='http://www.pintsbrewing.com/wp-content/plugins/simple-social-icons/css/style.css?ver=1.0.12' type='text/css' media='all' />
|
37
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-includes/js/jquery/jquery.js?ver=1.12.3'></script><script>jQueryWP = jQuery;</script>
|
38
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.0'></script>
|
39
|
+
<script type='text/javascript' src='//www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/jquery.sharrre.min.js?ver=0.1.0'></script>
|
40
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-content/themes/outreach-pro/js/responsive-menu.js?ver=1.0.0'></script>
|
41
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-content/themes/outreach-pro/lib/js/modernizr.min.js?ver=4.5.2'></script>
|
42
|
+
<link rel='https://api.w.org/' href='http://www.pintsbrewing.com/wp-json/' />
|
43
|
+
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.pintsbrewing.com/xmlrpc.php?rsd" />
|
44
|
+
<link rel="alternate" type="application/json+oembed" href="http://www.pintsbrewing.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.pintsbrewing.com%2Fbrew-menu%2F" />
|
45
|
+
<link rel="alternate" type="text/xml+oembed" href="http://www.pintsbrewing.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.pintsbrewing.com%2Fbrew-menu%2F&format=xml" />
|
46
|
+
<style type="text/css"> .enews .screenread {
|
47
|
+
height: 1px;
|
48
|
+
left: -1000em;
|
49
|
+
overflow: hidden;
|
50
|
+
position: absolute;
|
51
|
+
top: -1000em;
|
52
|
+
width: 1px; } </style>
|
53
|
+
<!-- Simple Colorbox Plugin v1.6.1 by Ryan Hellyer ... https://geek.hellyer.kiwi/products/simple-colorbox/ -->
|
54
|
+
<link rel="Shortcut Icon" href="http://www.pintsbrewing.com/wp-content/themes/outreach-pro/images/favicon.ico" type="image/x-icon" />
|
55
|
+
<script src="//use.typekit.net/qcq8lis.js"></script>
|
56
|
+
<script>try{Typekit.load();}catch(e){}</script>
|
57
|
+
<script>
|
58
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
59
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
60
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
61
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
62
|
+
|
63
|
+
ga('create', 'UA-67206103-1', 'auto');
|
64
|
+
ga('send', 'pageview');
|
65
|
+
|
66
|
+
</script><!--[if lt IE 9]><script src="http://www.pintsbrewing.com/wp-content/themes/genesis/lib/js/html5shiv.min.js"></script><![endif]-->
|
67
|
+
<style type="text/css" media="screen"> .simple-social-icons ul li a, .simple-social-icons ul li a:hover { background-color: #e2aa56 !important; border-radius: 3px; color: #ffffff !important; border: 0px #ffffff solid !important; font-size: 13px; padding: 7px; } .simple-social-icons ul li a:hover { background-color: #3a260f !important; border-color: #ffffff !important; color: #cccccc !important; }</style></head>
|
68
|
+
<body class="page page-id-72 page-template-default content-sidebar outreach-pro-red" itemscope itemtype="http://schema.org/WebPage"><div class="site-container"><header class="site-header" itemscope itemtype="http://schema.org/WPHeader"><div class="wrap"><div class="title-area"><h1 class="site-title" itemprop="headline"><a href="http://www.pintsbrewing.com/">PINTS Brewing Company</a></h1><h2 class="site-description" itemprop="description">Craft Brewery and Restaurant in Portland, Oregon</h2></div><div class="widget-area header-widget-area"><section id="text-2" class="widget widget_text"><div class="widget-wrap"> <div class="textwidget">412 NW 5th Ave • Portland, Oregon 97209 · (503) 564-2739 -- Follow us for discounts & specials ---> </div>
|
69
|
+
</div></section>
|
70
|
+
<section id="simple-social-icons-2" class="widget simple-social-icons"><div class="widget-wrap"><ul class="alignright"><li class="social-bloglovin"><a href="https://untappd.com/PintsBrewery" target="_blank"></a></li><li class="social-facebook"><a href="https://www.facebook.com/PintsUrbanTaproom" target="_blank"></a></li><li class="social-gplus"><a href="https://plus.google.com/101488823834655162466/about" target="_blank"></a></li><li class="social-instagram"><a href="https://instagram.com/pintsbrewing/" target="_blank"></a></li><li class="social-twitter"><a href="https://twitter.com/pintsbrewing" target="_blank"></a></li></ul></div></section>
|
71
|
+
</div><div id="pblogo"><a href="http://www.pintsbrewing.com"><img src="http://www.pintsbrewing.com/images/PINTS_forwebsite_logoDS.png" alt="Pints Brewing" title="Pints Brewing"></a></div></div></header><nav class="nav-primary" itemscope itemtype="http://schema.org/SiteNavigationElement"><div class="wrap"><ul id="menu-top-menu" class="menu genesis-nav-menu menu-primary"><li id="menu-item-500" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-500"><a href="http://www.pintsbrewing.com/" itemprop="url"><span itemprop="name">Home</span></a></li>
|
72
|
+
<li id="menu-item-110" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-110"><a href="http://www.pintsbrewing.com/about/" itemprop="url"><span itemprop="name">About</span></a></li>
|
73
|
+
<li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-72 current_page_item menu-item-105"><a href="http://www.pintsbrewing.com/brew-menu/" itemprop="url"><span itemprop="name">Brew</span></a></li>
|
74
|
+
<li id="menu-item-68" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-68"><a href="http://www.pintsbrewing.com/food-menu/" itemprop="url"><span itemprop="name">Food</span></a></li>
|
75
|
+
<li id="menu-item-588" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-588"><a href="http://www.pintsbrewing.com/store/" itemprop="url"><span itemprop="name">Store</span></a></li>
|
76
|
+
<li id="menu-item-121" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-121"><a href="http://www.pintsbrewing.com/location/" itemprop="url"><span itemprop="name">Location</span></a></li>
|
77
|
+
<li id="menu-item-120" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-120"><a href="http://www.pintsbrewing.com/contact-us/" itemprop="url"><span itemprop="name">Contact</span></a></li>
|
78
|
+
</ul></div></nav><div class="site-inner"><div class="wrap"><div class="content-sidebar-wrap"><main class="content"><div class="breadcrumb" itemprop="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">You are here: <span class="breadcrumb-link-wrap" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="http://www.pintsbrewing.com/" itemprop="item"><span itemprop="name">Home</span></a></span> <span aria-label="breadcrumb separator">/</span> Brew Menu</div><article class="post-72 page type-page status-publish has-post-thumbnail entry" itemscope itemtype="http://schema.org/CreativeWork"><header class="entry-header"><h1 class="entry-title" itemprop="headline">Brew Menu</h1>
|
79
|
+
</header><div class="entry-content" itemprop="text"><h2><a title="Happy Hour Menu" href="http://www.pintsbrewing.com/happy-hour-menu/"><img class="borderhome alignright wp-image-458" src="http://www.pintsbrewing.com/wp-content/uploads/pints-happyhour.jpg" alt="pints-happyhour" width="240" height="188" /></a>PINTS Urban Taproom</h2>
|
80
|
+
<p><strong>MONDAY – FRIDAY:</strong> 11:30AM – 11PM<br /><strong>SATURDAY:</strong> 10AM – 11PM<br /><strong>SUNDAY:</strong> 10AM – 9PM</p>
|
81
|
+
<p><strong>HAPPY HOUR</strong><br />Mon – Sat: 3PM – 6PM<br /> Sun: 12PM – 9PM</p>
|
82
|
+
<p>Our tap room and pub is the perfect place to relax and enjoy a pint. We have <strong>10 beers on tap</strong> with a full lunch/dinner menu of new and traditional American dishes. Pull up a stool to the bar, kick back at a table or enjoy our outdoor seating. Our bartenders and regulars love to talk about beer, so the atmosphere is friendly and fun.</p>
|
83
|
+
<p>If you have not been here yet, what are you waiting for? Come down, grab a pint, relax and watch a game. Cheers!</p>
|
84
|
+
<h2>PINTS for the PEOPLE!</h2>
|
85
|
+
<h2>Current Brews on Tap</h2>
|
86
|
+
<p><strong>Brick House Blonde</strong> ………<strong> 5.0% ABV – 18 IBU</strong></p>
|
87
|
+
<p>She’s blonde and refreshing! She’s mighty mighty! Brewed with perfect proportions of Northwest hops and malts for a beer that makes an old man wish for younger days. This session ale lets it all hang out with easy drinkability and a light malt finish. …what a winning hand!</p>
|
88
|
+
<p><strong>Seismic IPA</strong> ………<strong> 6.2% ABV – 75 IBU</strong></p>
|
89
|
+
<p>Brace yourself for the clean, bright bitterness and crisp finish of our dry-hopped and unfiltered NW IPA. Don’t fault us if the Columbus, Amarillo, Cascade and Simcoe hops shake your belief in the IPAs you have been enjoying up to now. </p>
|
90
|
+
<p><strong>Rip Saw Red</strong> ………<strong> 6.5% ABV – 60 IBU</strong></p>
|
91
|
+
<p>Our local hops are right at home in this Northwest-Style Red Ale: woody, spicy, piney and citrusy. They also enjoy playing against the lush backdrop of a blend of pale, carapils, caramel and chocolate malts. Let ‘er rip!</p>
|
92
|
+
<p><strong>Steel Bridge Stout</strong> ………<strong> 5.2% ABV – 22 IBU</strong></p>
|
93
|
+
<p>Rich and chewy, this robust stout is girdered together with Midnight Wheat, Black Prinz, Roasted Barley, Special B and Chocolate malts. You can tell: it’s jet black with a thick brown head, loaded with espresso, coffee and rich malt flavors. Bittered with Columbus hops and finished with spicy Willamettes, it all holds together nicely. </p>
|
94
|
+
<h2><span style="font-size: 12pt;">Seismic Upgrade Imperial IPA ………8.7% ABV – 90+ IBU</span></h2>
|
95
|
+
<p>When the new hop harvest comes around, we like to do some “spring cleaning” in the hop room. This beer got a heavy dose of a number of hops: Chinook, Polaris, Merkur, Eureka!, El Dorado, and Ella hops provide the citrus peel and tropical fruit aromas and flavors that complement the lush caramel malts.</p>
|
96
|
+
<p><strong>You’re A Peach, Hon’………5.9% ABV – 18 IBU</strong> </p>
|
97
|
+
<p>Matt, our human brewing machine, is a peach, so we brewed up a beer in his honor. Ella and Simcoe provide some nice stone fruit and citrus high notes, 42 lbs of peach puree give this easy drinking beer soft, delicate, and tart peach overtones, and a splash of Honey malt gives it the right amount of sweetness.</p>
|
98
|
+
<p><strong style="line-height: 1.5;">Belgian Breakfast Beer ………8.0% ABV – 24 IBU</strong></p>
|
99
|
+
<p>Who doesn’t love a fresh Belgian waffle? Well, our Brewmaster does. When searching for inspiration for the Cheers to Belgian Beers event, waffles came to mind. Fresh, malty goodness with a splash of maple syrup and powdered sugar on top. Oh, and a side of bacon, please! Pale, Honey and a dash of smoked malt with powdered sugar in the whirlpool and real maple syrup in the bright tank. You might need to have second breakfast after you finish the first round…</p>
|
100
|
+
<p><strong>Chocolate Blood Orange Candi Biere ………5.9% ABV – 24 IBU</strong></p>
|
101
|
+
<p>This brew is inspired by the Terry’s Chocolate Orange Balls we used to get at Christmas time. You know, the ones that you break open and pull out the slices of orange-infused chocolate. We added a bunch of blood orange to this Belgian dark ale in order to strike the right balance between citrus fruit and chocolate. We hope you enjoy it as much as we do!</p>
|
102
|
+
<p><strong>Pints Single Hop Pale Series………5.4% ABV – 45 IBU</strong></p>
|
103
|
+
<p>Each hop varietal is special. In this series, the malts, malt schedule, yeast strain and pitching rates are all constants. We add the same pounds of each hop varietal in the whirlpool, adjusting the IBU content by increasing or decreasing the kettle addition. The result highlights the aromatic and flavor components of the hop we are focusing on. <em>Ask your server for the current selection.</em></p>
|
104
|
+
<p><strong>Konvention Kölsch………</strong><strong>4.9% ABV – 25 IBU</strong></p>
|
105
|
+
<p>Brewed just like they do it in Cologne: German Pilsner and Wheat Malts, Herkules hops for bittering, Hersbrucker for aroma and a spicy note. Fermented slow and cool with an authentic Kölsch yeast strain (brought back from your Brewmaster’s studies in Germany), this Spring seasonal reminds us of what Summer shall become.</p>
|
106
|
+
<p><img class=" wp-image-542 aligncenter" src="http://www.pintsbrewing.com/wp-content/uploads/PINTS-Daily-Specials-Whole-Week-232x300.jpg" alt="PINTS Daily Specials Whole Week" width="351" height="454" srcset="http://www.pintsbrewing.com/wp-content/uploads/PINTS-Daily-Specials-Whole-Week-232x300.jpg 232w, http://www.pintsbrewing.com/wp-content/uploads/PINTS-Daily-Specials-Whole-Week-768x994.jpg 768w, http://www.pintsbrewing.com/wp-content/uploads/PINTS-Daily-Specials-Whole-Week-791x1024.jpg 791w" sizes="(max-width: 351px) 100vw, 351px" /></p>
|
107
|
+
<div class="share-after share-filled share-small" id="share-after-72"><div class="googlePlus" id="googleplus-after-72" data-url="http://www.pintsbrewing.com/brew-menu/" data-urlalt="http://www.pintsbrewing.com/?p=72" data-text="Brew Menu" data-title="Share"></div><div class="facebook" id="facebook-after-72" data-url="http://www.pintsbrewing.com/brew-menu/" data-urlalt="http://www.pintsbrewing.com/?p=72" data-text="Brew Menu" data-title="Share"></div><div class="twitter" id="twitter-after-72" data-url="http://www.pintsbrewing.com/brew-menu/" data-urlalt="http://www.pintsbrewing.com/?p=72" data-text="Brew Menu" data-title="Tweet"></div><div class="linkedin" id="linkedin-after-72" data-url="http://www.pintsbrewing.com/brew-menu/" data-urlalt="http://www.pintsbrewing.com/?p=72" data-text="Brew Menu" data-title="Share"></div><div class="stumbleupon" id="stumbleupon-after-72" data-url="http://www.pintsbrewing.com/brew-menu/" data-urlalt="http://www.pintsbrewing.com/?p=72" data-text="Brew Menu" data-title="Share"></div></div>
|
108
|
+
<script type='text/javascript'>
|
109
|
+
jQuery(document).ready(function($) {
|
110
|
+
$('#googleplus-after-72').sharrre({
|
111
|
+
share: {
|
112
|
+
googlePlus: true
|
113
|
+
},
|
114
|
+
urlCurl: 'http://www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php',
|
115
|
+
enableHover: false,
|
116
|
+
enableTracking: true,
|
117
|
+
buttons: { },
|
118
|
+
click: function(api, options){
|
119
|
+
api.simulateClick();
|
120
|
+
api.openPopup('googlePlus');
|
121
|
+
}
|
122
|
+
});
|
123
|
+
$('#facebook-after-72').sharrre({
|
124
|
+
share: {
|
125
|
+
facebook: true
|
126
|
+
},
|
127
|
+
urlCurl: 'http://www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php',
|
128
|
+
enableHover: false,
|
129
|
+
enableTracking: true,
|
130
|
+
buttons: { },
|
131
|
+
click: function(api, options){
|
132
|
+
api.simulateClick();
|
133
|
+
api.openPopup('facebook');
|
134
|
+
}
|
135
|
+
});
|
136
|
+
$('#twitter-after-72').sharrre({
|
137
|
+
share: {
|
138
|
+
twitter: true
|
139
|
+
},
|
140
|
+
urlCurl: 'http://www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php',
|
141
|
+
enableHover: false,
|
142
|
+
enableTracking: true,
|
143
|
+
buttons: { },
|
144
|
+
click: function(api, options){
|
145
|
+
api.simulateClick();
|
146
|
+
api.openPopup('twitter');
|
147
|
+
}
|
148
|
+
});
|
149
|
+
$('#linkedin-after-72').sharrre({
|
150
|
+
share: {
|
151
|
+
linkedin: true
|
152
|
+
},
|
153
|
+
urlCurl: 'http://www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php',
|
154
|
+
enableHover: false,
|
155
|
+
enableTracking: true,
|
156
|
+
buttons: { },
|
157
|
+
click: function(api, options){
|
158
|
+
api.simulateClick();
|
159
|
+
api.openPopup('linkedin');
|
160
|
+
}
|
161
|
+
});
|
162
|
+
$('#stumbleupon-after-72').sharrre({
|
163
|
+
share: {
|
164
|
+
stumbleupon: true
|
165
|
+
},
|
166
|
+
urlCurl: 'http://www.pintsbrewing.com/wp-content/plugins/genesis-simple-share/lib/sharrre/sharrre.php',
|
167
|
+
enableHover: false,
|
168
|
+
enableTracking: true,
|
169
|
+
buttons: { },
|
170
|
+
click: function(api, options){
|
171
|
+
api.simulateClick();
|
172
|
+
api.openPopup('stumbleupon');
|
173
|
+
}
|
174
|
+
});
|
175
|
+
|
176
|
+
});
|
177
|
+
</script></div></article></main><aside class="sidebar sidebar-primary widget-area" role="complementary" aria-label="Primary Sidebar" itemscope itemtype="http://schema.org/WPSideBar"><section id="reallysimpletwitterwidget-2" class="widget widget_reallysimpletwitterwidget"><div class="widget-wrap"><h4 class="widget-title widgettitle"><img src="http://www.pintsbrewing.com/wp-content/plugins/really-simple-twitter-feed-widget/twitter_small.png" alt="Last Tweets" title="Last Tweets" /> Last Tweets</h4>
|
178
|
+
|
179
|
+
<ul class="really_simple_twitter_widget"><li>Drop by to watch the game tonight and take advantage of our happy hour that runs until 6! Bring your growler (... <a href="https://t.co/FlqRhOxVPE" class="twitter-link" >https://t.co/FlqRhOxVPE</a><span class="rstw_comma">,</span> <span class="twitter-timestamp" title="2016/06/17 00:04">Jun 17</span></li><li>Meet Rachael... Reuben's delicious counterpart. Turkey, Swiss, fresh slaw and 1000 island dressing on marbled... <a href="https://t.co/lSyvVHLZdD" class="twitter-link" >https://t.co/lSyvVHLZdD</a><span class="rstw_comma">,</span> <span class="twitter-timestamp" title="2016/06/14 18:49">Jun 14</span></li><li>Cavs vs. Warriors game 5 at 6 pm. Will it be the end of the series? Join us to see and get free fries with your... <a href="https://t.co/pYYz5u6GOF" class="twitter-link" >https://t.co/pYYz5u6GOF</a><span class="rstw_comma">,</span> <span class="twitter-timestamp" title="2016/06/13 21:05">Jun 13</span></li></ul>
|
180
|
+
<a href="https://twitter.com/pintsbrewing" class="twitter-follow-button" data-show-count="false">Follow @pintsbrewing</a>
|
181
|
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script></div></section>
|
182
|
+
</aside></div></div></div><div class="footer-widgets"><div class="wrap"><div class="footer-widgets-1 widget-area"><section id="featured-page-5" class="widget featured-content featuredpage"><div class="widget-wrap"><h4 class="widget-title widgettitle">Contact Us</h4>
|
183
|
+
<article class="post-33 page type-page status-publish entry"><div class="entry-content"><p>412 NW 5th Ave<br />Portland, Oregon 97209<br />Phone: (503) 564-BREW</p>
|
184
|
+
<p><a href="http://www.pintsbrewing.com/location/">Map & Directions »</a></p>
|
185
|
+
</div></article></div></section>
|
186
|
+
</div><div class="footer-widgets-2 widget-area"><section id="featured-page-6" class="widget featured-content featuredpage"><div class="widget-wrap"><h4 class="widget-title widgettitle">Hours</h4>
|
187
|
+
<article class="post-36 page type-page status-publish entry"><div class="entry-content"><p><strong>Pints Everyday Coffee</strong><br />Mon – Fri 7am – 11:30am</p>
|
188
|
+
<p><strong>PINTS Taproom</strong></p>
|
189
|
+
<p>Mon – Fri 11:30am-11pm<br />Sat 10am-11pm<br /> Sun 10am-9pm</p>
|
190
|
+
<p><strong>Weekend Brunch until 2pm</strong></p>
|
191
|
+
</div></article></div></section>
|
192
|
+
</div><div class="footer-widgets-3 widget-area"><section id="featured-page-11" class="widget featured-content featuredpage"><div class="widget-wrap"><h4 class="widget-title widgettitle">Happy Hour</h4>
|
193
|
+
<article class="post-480 page type-page status-publish entry"><div class="entry-content"><p><strong>Pints Urban Taproom</strong><br /><strong>Happy Hour</strong><br />Mon-Sat 3pm-6pm & 9pm-close<br />Sun – All day<br /><a href="http://www.pintsbrewing.com/happy-hour-menu/">Happy Hour Specials ></a></p>
|
194
|
+
</div></article></div></section>
|
195
|
+
</div><div class="footer-widgets-4 widget-area"><section id="featured-page-7" class="widget featured-content featuredpage"><div class="widget-wrap"><article class="post-440 page type-page status-publish entry"><div class="entry-content"><p><img class="aligncenter size-full wp-image-441" src="http://www.pintsbrewing.com/wp-content/uploads/pints-people-sm.jpg" alt="pints-people-sm" width="300" height="111" /></p>
|
196
|
+
<p style="text-align: center;"><span style="color: #f07633;"><strong>Conveniently located on the Max Line in downtown Portland.</strong> </span><br />Join us before and after sporting events and concerts at the Moda Center & Rose Garden!</p>
|
197
|
+
</div></article></div></section>
|
198
|
+
</div></div></div><div class='bcm-footer-banner'><div class='wrap'><section id="enews-ext-2" class="widget enews-widget"><div class="widget-wrap"><div class="enews"><h4 class="widget-title widgettitle">Email News:</h4>
|
199
|
+
<form id="subscribeenews-ext-2" action="//pintsbrewing.us3.list-manage.com/subscribe/post?u=2f64c0c1915db69d5b55712bf&id=4b27beb615" method="post" target="_blank" onsubmit="if ( subbox1.value == 'First Name') { subbox1.value = ''; } if ( subbox2.value == 'Last Name') { subbox2.value = ''; }" name="enews-ext-2">
|
200
|
+
<label for="subbox" class="screenread">Email Address</label><input type="email" value="" id="subbox" placeholder="Email Address" name="EMAIL" required="required" />
|
201
|
+
<input type="submit" value="Subscribe" id="subbutton" />
|
202
|
+
</form>
|
203
|
+
</div></div></section>
|
204
|
+
</div><!-- wrap --></div><!-- bcm-footer-banner --><footer class="site-footer" itemscope itemtype="http://schema.org/WPFooter"><div class="wrap"><p>Copyright © 2016 · <a href="http://www.pintsbrewing.com">PINTS Brewing Company</a> • Portland, Oregon • <a href="http://www.pintsbrewing.com/sitemap.xml">Site Map</a> • <a href="http://www.pintsbrewing.com/contact-us/">Contact Us</a> • Phone: (503) 564-2739</p></div></footer></div><div style="background: #fff;padding:20px;text-align: center;">Book a tour and tasting through our partners at <a href=
|
205
|
+
"http://www.experiencebrewvana.com/" target="_blank">Brewvana!</a><br><a href=
|
206
|
+
"http://www.experiencebrewvana.com/" target="_blank"><img src="/images/brewvana_primary_logo.png"></a></div><div style="background: #fff; padding: 10px 0 20px ; text-align: center; color: #555; font-size: 12px;">
|
207
|
+
Site by
|
208
|
+
<a title="WordPress Web Design Company" style="color: #565656;" href="http://www.consistentimage.com">Consistent Image Web Design</a>
|
209
|
+
</div> <script type='text/javascript'>
|
210
|
+
/* <![CDATA[ */
|
211
|
+
var sb_instagram_js_options = {"sb_instagram_at":"1522269601.97584da.b29d7f99c1704861aa96c5357f699c93"};
|
212
|
+
/* ]]> */
|
213
|
+
</script>
|
214
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-content/plugins/instagram-feed/js/sb-instagram.min.js?ver=1.4.6'></script>
|
215
|
+
<script type='text/javascript'>
|
216
|
+
/* <![CDATA[ */
|
217
|
+
var colorboxSettings = {"rel":"group","maxWidth":"95%","maxHeight":"95%","opacity":"0.6","current":"image {current} of {total}","previous":"previous","next":"next","close":"close","xhrError":"This content failed to load.","imgError":"This image failed to load.","slideshowStart":"start slideshow","slideshowStop":"stop slideshow"};
|
218
|
+
|
219
|
+
jQuery(function($){
|
220
|
+
// Examples of how to assign the ColorBox event to elements
|
221
|
+
$("a[href$=\'jpg\'],a[href$=\'jpeg\'],a[href$=\'png\'],a[href$=\'bmp\'],a[href$=\'gif\'],a[href$=\'JPG\'],a[href$=\'JPEG\'],a[href$=\'PNG\'],a[href$=\'BMP\'],a[href$=\'GIF\']").colorbox(colorboxSettings);
|
222
|
+
});;
|
223
|
+
/* ]]> */
|
224
|
+
</script>
|
225
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-content/plugins/simple-colorbox/scripts/jquery.colorbox-min.js?ver=1'></script>
|
226
|
+
<script type='text/javascript' src='http://www.pintsbrewing.com/wp-includes/js/wp-embed.min.js?ver=4.5.2'></script>
|
227
|
+
</body>
|
228
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Lita::Handlers::OnewheelBeerPints, lita_handler: true do
|
4
|
+
it { is_expected.to route_command('pints') }
|
5
|
+
it { is_expected.to route_command('pints 4') }
|
6
|
+
it { is_expected.to route_command('pints <$4') }
|
7
|
+
it { is_expected.to route_command('pints <=$4') }
|
8
|
+
it { is_expected.to route_command('pints >4%') }
|
9
|
+
it { is_expected.to route_command('pints >=4%') }
|
10
|
+
it { is_expected.to route_command('pintsabvhigh') }
|
11
|
+
it { is_expected.to route_command('pintsabvlow') }
|
12
|
+
|
13
|
+
before do
|
14
|
+
mock = File.open('spec/fixtures/pints.html').read
|
15
|
+
allow(RestClient).to receive(:get) { mock }
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'shows the taps' do
|
19
|
+
send_command 'pints'
|
20
|
+
expect(replies.last).to eq("Pints taps: 1) Brick House Blonde 2) Seismic IPA 3) Rip Saw Red 4) Steel Bridge Stout 5) You’re A Peach, Hon’………5.9% ABV – 18 IBU 6) Belgian Breakfast Beer 7) Chocolate Blood Orange Candi Biere 8) Pints Single Hop Pale Series………5.4% ABV – 45 IBU 9) Konvention Kölsch………")
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'displays details for tap 4' do
|
24
|
+
send_command 'pints brick'
|
25
|
+
expect(replies.last).to eq("Pints's tap 1) Brick House Blonde 5.0% ABV 18 IBU - She’s blonde and refreshing! She’s mighty mighty! Brewed with perfect proportions of Northwest hops and malts for a beer that makes an old man wish for younger days. This session ale lets it all hang out with easy drinkability and a light malt finish. …what a winning hand!, ")
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
require 'coveralls'
|
3
|
+
SimpleCov.formatters = [
|
4
|
+
SimpleCov::Formatter::HTMLFormatter,
|
5
|
+
Coveralls::SimpleCov::Formatter
|
6
|
+
]
|
7
|
+
SimpleCov.start { add_filter '/spec/' }
|
8
|
+
|
9
|
+
require 'lita-onewheel-beer-pints'
|
10
|
+
require 'lita/rspec'
|
11
|
+
|
12
|
+
# A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin
|
13
|
+
# was generated with Lita 4, the compatibility mode should be left disabled.
|
14
|
+
Lita.version_3_compatibility_mode = false
|
metadata
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lita-onewheel-beer-pints
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Kreps
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: lita
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rest-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.8'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.6'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.6'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: lita-onewheel-beer-base
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.3'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.4'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-test
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.6'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.6'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.10'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.10'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: coveralls
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.8'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.8'
|
153
|
+
description: Lita interface to Pints Taproom listings.
|
154
|
+
email:
|
155
|
+
- andrew.kreps@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".travis.yml"
|
162
|
+
- Gemfile
|
163
|
+
- README.md
|
164
|
+
- Rakefile
|
165
|
+
- lib/lita-onewheel-beer-pints.rb
|
166
|
+
- lib/lita/handlers/onewheel_beer_pints.rb
|
167
|
+
- lita-onewheel-beer-pints.gemspec
|
168
|
+
- spec/fixtures/pints.html
|
169
|
+
- spec/lita/handlers/onewheel_beer_pints_spec.rb
|
170
|
+
- spec/spec_helper.rb
|
171
|
+
homepage: https://github.com/onewheelskyward/lita-onewheel-beer-pints
|
172
|
+
licenses:
|
173
|
+
- MIT
|
174
|
+
metadata:
|
175
|
+
lita_plugin_type: handler
|
176
|
+
post_install_message:
|
177
|
+
rdoc_options: []
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
requirements: []
|
191
|
+
rubyforge_project:
|
192
|
+
rubygems_version: 2.5.1
|
193
|
+
signing_key:
|
194
|
+
specification_version: 4
|
195
|
+
summary: See above.
|
196
|
+
test_files:
|
197
|
+
- spec/fixtures/pints.html
|
198
|
+
- spec/lita/handlers/onewheel_beer_pints_spec.rb
|
199
|
+
- spec/spec_helper.rb
|