encinch 0.1.5 → 0.1.6

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: eef846946cd6db68553cec479300a1a1ccdda651
4
- data.tar.gz: 94241b2ebd043cd8487a6830f22c2493a278c135
3
+ metadata.gz: 0634d29c0bde4c38a871b3c4f74972e9c31aaf9b
4
+ data.tar.gz: 28acaec2131b74c19eb22ee475fc076bc1bf0e00
5
5
  SHA512:
6
- metadata.gz: 7d31b2e1bbdb8bb29b73621252a4fc429029c19f053e0424398ac4de72c226d0ff371d7a623a276be7ab510fbc7c74f25fc95228d192953371a420116e7aa567
7
- data.tar.gz: 57041d4c9528d1f4f20ebb7ebf38bcfe5560d875e8ced00d2a4a056cd6f4f9895aa55676c34696b8f7ed83a05e15cf1c5d2dc6d9814d2aac37f6c2d25f635ec0
6
+ metadata.gz: 4f285492c1698c5b4baf9668a1efd010a948d1a663eafea5d166a92c49f208b8bf305e7d3e49de49544febf0acd1e1db7d60c432b9ec164b49453b81720a1915
7
+ data.tar.gz: acb2153f452eef59433476bc6859ba7c16dc89fb13a037aa5ff5a73129e5590ecdcc25005f9e41a661c2ee389f23bff80b8506cba40f078c7b5ef27f8c577357
@@ -1,3 +1,5 @@
1
+ require 'fileutils'
2
+
1
3
  module Cinch
2
4
  module Plugins
3
5
  class EnCinch
@@ -23,7 +25,7 @@ module Cinch
23
25
  when NilClass
24
26
  y
25
27
  else
26
- if y.nil? || y.empty?
28
+ if y.nil? || (y.respond_to?(:empty?) && y.empty?)
27
29
  x
28
30
  else
29
31
  y
@@ -1,7 +1,7 @@
1
1
  module Cinch
2
2
  module Plugins
3
3
  class EnCinch
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encinch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfrazx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-02 00:00:00.000000000 Z
11
+ date: 2017-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cinch
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.2.2
140
+ rubygems_version: 2.6.8
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: 'Transparent blowfish encryption plugin for Cinch: An IRC Bot Building Framework'
@@ -147,4 +147,3 @@ test_files:
147
147
  - test/lib/encinch/extend_spec.rb
148
148
  - test/lib/encinch/storage_spec.rb
149
149
  - test/lib/encinch/version_spec.rb
150
- has_rdoc: