lita-boardgamegeek 0.1.0 → 0.1.1

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: 82dcf648a2c419134acc5793b483c43c315d73bc
4
- data.tar.gz: 80c39ef5e64dbd09cada6e9c61f24ab5907b197f
3
+ metadata.gz: c04af9a8129a1af69bfdcb337832ec5889f7b7fb
4
+ data.tar.gz: 464bcb1acb1ef42654a9acd759fce4c77aedd071
5
5
  SHA512:
6
- metadata.gz: 38206bb00683e9df1029385236ef04c80951485293d36fd51839a2793f863b427a4244863fb550666665f6afcbfe00d6f51cfe817d53d19c17255d1a5d998e1b
7
- data.tar.gz: 5c84123f17b72110cfe4b0e70c9894064262a386982bb11409ec51475b088b04f6940c34800c1e4fd4c594fe1110b905b9cb7406314e551a4c5db2c6f9e81f7a
6
+ metadata.gz: 27c8da77ef33752efe8aee7bc379301efa45aefd5c441e215ae0514a69ba1d074592da4d7eb199d74912b34b74cfbe0bf1342d2244f32ea80e02bd705b473fdf
7
+ data.tar.gz: 7ae362a19818017528f17530187015ae4cbdd34b5cb45078874e3ed31017532b8c701a759ff71c283f2759b7a8b78e36ae83279a6b03e2ab9a9018d628aedd70
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # lita-boardgamegeek
2
2
 
3
- TODO: Add a description of the plugin.
3
+ Get a link to BGG entry for a game
4
4
 
5
5
  ## Installation
6
6
 
@@ -10,10 +10,7 @@ Add lita-boardgamegeek to your Lita instance's Gemfile:
10
10
  gem "lita-boardgamegeek"
11
11
  ```
12
12
 
13
- ## Configuration
14
-
15
- TODO: Describe any configuration attributes the plugin exposes.
16
-
17
13
  ## Usage
18
14
 
19
- TODO: Describe the plugin's features and how to use them.
15
+ lita bgg agricola
16
+ lita bgg me agricola
@@ -3,7 +3,10 @@ require 'bgg-api'
3
3
  module Lita
4
4
  module Handlers
5
5
  class Boardgamegeek < Handler
6
- route(/bgg(?: me)?\s+(.+)/, :search, command: true)
6
+ route(/bgg(?: me)?\s+(.+)/, :search, command: true, help: {
7
+ "bgg GAME" => "returns link to BGG entry for GAME",
8
+ "bgg me GAME" => "returns link to BGG entry for GAME"
9
+ })
7
10
 
8
11
  def search(response)
9
12
  term = response.match_data[1]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-boardgamegeek"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.1.1"
4
4
  spec.authors = ["Chris Chalfant"]
5
5
  spec.email = ["chalfants@gmail.com"]
6
6
  spec.description = "lita handler for boardgamegeek searches"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-boardgamegeek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalfant
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -122,7 +122,6 @@ files:
122
122
  - LICENSE
123
123
  - README.md
124
124
  - Rakefile
125
- - Vagrantfile
126
125
  - lib/lita-boardgamegeek.rb
127
126
  - lib/lita/handlers/boardgamegeek.rb
128
127
  - lita-boardgamegeek.gemspec
@@ -151,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
150
  version: '0'
152
151
  requirements: []
153
152
  rubyforge_project:
154
- rubygems_version: 2.2.2
153
+ rubygems_version: 2.4.6
155
154
  signing_key:
156
155
  specification_version: 4
157
156
  summary: lita handler for boardgamegeek searches
@@ -1,21 +0,0 @@
1
- # -*- mode: ruby -*-
2
- # vi: set ft=ruby :
3
-
4
- # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
- VAGRANTFILE_API_VERSION = "2"
6
-
7
- REQUIRED_PLUGINS = %w(vagrant-vbguest)
8
- exit unless REQUIRED_PLUGINS.all? do |plugin|
9
- Vagrant.has_plugin?(plugin) || (
10
- puts "The #{plugin} plugin is required. Please install it with:"
11
- puts "$ vagrant plugin install #{plugin}"
12
- false
13
- )
14
- end
15
-
16
- Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
17
- config.ssh.forward_agent = true
18
- config.vm.box = "litaio/development-environment"
19
- config.vm.hostname = "lita-dev"
20
- config.vm.network "forwarded_port", guest: 8080, host: 8080
21
- end