protonbot 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8549f6daf7a2097bc35b37ff6f88b68c831e64e0
4
- data.tar.gz: 7bb9c8c6d84f5dcb90d8b69fb7c90d5a6ddfdeb4
3
+ metadata.gz: c8031a11e22b7ce80ab962f2552bf8677667c1cc
4
+ data.tar.gz: 89076fc1c0082722cb99c73069f8a892caf5de6c
5
5
  SHA512:
6
- metadata.gz: 38f1540ed140713c9c3074f64f19f60aaeb5e17733bc54a7044eed94445768e249be0ff802ffb119df6a0cf3601e7d08b2dad3217ce70982acca11ef83d1daa4
7
- data.tar.gz: a61bae3866e82d18426a64771b1a676a062006ff1386b02dbd5ede82020be440f0a0a3cc6ccb1d8fd46cf0d5102d14de7506f97c7b4507941b5fd524283446e2
6
+ metadata.gz: 0da601d89f36d0df01acb1229a4c560f6bd109a01e541a2cbc42f298f9465b0b239d677a4f328e7bbe4f311af20ed62cb32f6c3a1d0a3ff01ebac0d4969c02cd
7
+ data.tar.gz: dbb001abf81f094fdffe89d7ce03087c2a20d8b0ec3342736a5525fde11883be6bde8bee752e80ab17cc8cd8262799955a5480846b76c6d110fa9771e1acf617
@@ -91,7 +91,7 @@ class ProtonBot::Plug
91
91
  # @param msg [String]
92
92
  # @return [Plug] self
93
93
  def ctcp(target, msg)
94
- write("PRIVMSG #{target} :\x01#{msg}\x01")
94
+ write("PRIVMSG #{target} :\x01#{self.class.process_colors(msg)}\x01")
95
95
  self
96
96
  end
97
97
 
@@ -100,7 +100,7 @@ class ProtonBot::Plug
100
100
  # @param msg [String]
101
101
  # @return [Plug] self
102
102
  def nctcp(target, msg)
103
- write("NOTICE #{target} :\x01#{msg}\x01")
103
+ write("NOTICE #{target} :\x01#{self.class.process_colors(msg)}\x01")
104
104
  self
105
105
  end
106
106
 
@@ -1,4 +1,4 @@
1
1
  module ProtonBot
2
2
  # ProtonBot's version
3
- VERSION = '0.2.6'.freeze
3
+ VERSION = '0.2.7'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protonbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nickolay Ilyushin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-01 00:00:00.000000000 Z
11
+ date: 2017-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler