cinch-magic 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require 'cinch'
3
3
  require 'cinch/toolbox'
4
- require 'cinch-cooldown'
4
+ require 'cinch/cooldown'
5
5
 
6
6
  module Cinch::Plugins
7
7
  class Magic
@@ -1,7 +1,7 @@
1
1
  module Cinch
2
2
  module Plugins
3
3
  class Magic
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -9,12 +9,12 @@ describe Cinch::Plugins::Magic do
9
9
  end
10
10
 
11
11
  it 'should allow users to lookup cards' do
12
- get_replies(make_message(@bot, '!mtg forest')).first.
12
+ get_replies(make_message(@bot, '!mtg forest')).first.text.
13
13
  should include "[Magic] Forest [Basic Land, Forest] - ({T}: Add {G} to your mana pool.)"
14
14
  end
15
15
 
16
16
  it 'should return an error when a card is not found' do
17
- get_replies(make_message(@bot, '!mtg random string that is probably not a real card')).first.
17
+ get_replies(make_message(@bot, '!mtg random string that is probably not a real card')).first.text.
18
18
  should == '[Magic] Card not found, or problem fetching page.'
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: