cinch-links-tumblr 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,12 +19,12 @@ module Cinch::Plugins
19
19
  super
20
20
  @storage = CinchStorage.new(config[:filename] || 'yaml/tumblr.yml')
21
21
  @storage.data[:history] ||= Hash.new
22
- @hostname = config['hostname'] || nil
23
- @password = config['password'] || nil
24
- @creds = { :consumer_key => config['consumer_key'],
25
- :consumer_secret => config['consumer_secret'],
26
- :token => config['token'],
27
- :token_secret => config['token_secret'] }
22
+ @hostname = config[:hostname]
23
+ @password = config[:password]
24
+ @creds = { :consumer_key => config[:consumer_key],
25
+ :consumer_secret => config[:consumer_secret],
26
+ :token => config[:token],
27
+ :token_secret => config[:token_secret] }
28
28
  end
29
29
 
30
30
  def execute(m)
@@ -1,7 +1,7 @@
1
1
  module Cinch
2
2
  module Plugins
3
3
  class LinksTumblr
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-links-tumblr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: