cinch-quotes 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -27,8 +27,10 @@ Install the gem and load it in your Cinch bot:
27
27
 
28
28
  bot = Cinch::Bot.new do
29
29
  configure do |c|
30
- # add all required options here
31
30
  c.plugins.plugins = [Cinch::Plugins::Quotes] # optionally add more plugins
31
+ c.plugins.options[Cinch::Plugins::Quotes] = {
32
+ :quotes_file => '/path/to/quotes.yml'
33
+ }
32
34
  end
33
35
  end
34
36
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "cinch-quotes"
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ["Caitlin Woodward"]
8
8
  s.email = ["caitlin@caitlinwoodward.me"]
@@ -10,7 +10,7 @@ module Cinch
10
10
  match /quote (.+)/i, method: :quote
11
11
  match "quote", method: :quote
12
12
 
13
- def initialize
13
+ def initialize(*args)
14
14
  super
15
15
 
16
16
  @quotes_file = config[:quotes_file]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-quotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: