daioikachan 0.0.6 → 0.0.7

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: e5840423a172e0e011f0d5f30bd60a7b55b215d4
4
- data.tar.gz: 3dac386902fc7017fb970798e777ffd86247dcd2
3
+ metadata.gz: b7bc6743f996cd1aba3737b4ffd2d70df22d8534
4
+ data.tar.gz: 7e0d2ad5a81b76796c85e565ac26aa4963474c10
5
5
  SHA512:
6
- metadata.gz: 4bbb9657e14b15c38e7c1a95577d0446d5751bec857d9f5bdc4e0c4f91e5439548f80cc3d3817bb489dafc710b5895e11536c0268b5cb56cb72e4fa47e0c6ebe
7
- data.tar.gz: e237eafcb3c952b7f2e4f9f609b459721c8fdc6eb0137d72a35de6e853fe64a8381cbe42369a6710ab8bbb90440f5f040aeb30547b696e8d5a47fc71325e9925
6
+ metadata.gz: b7a1a5b10a3351490f27ec907690447e407f278a95dd5aba03e40784f401871d7a2b9d6e87153fff2172bd2796e947c143d719b81e75eb9fd656a000fd3bbbb7
7
+ data.tar.gz: fd04bac4e80c5f6fbfbe9685ea0c950ecb644b96ee8a9b5ab145b48bec0c8af5bd8e74857332fab236b7f5c5f33cdbe61add27540a4d1f2ca5b6c28d82bf3b10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.0.7 (2015/04/02)
2
+
3
+ Fixes:
4
+
5
+ * filter_string_irc_slack: fix color code replacement
6
+
1
7
  # 0.0.6 (2015/03/31)
2
8
 
3
9
  Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -56,6 +56,7 @@
56
56
  color good
57
57
  icon_emoji :ghost:
58
58
  mrkdwn true
59
+ auto_channels_create true
59
60
  flush_interval 1s # slack API has limit as a post / sec
60
61
  </match>
61
62
  </label>
@@ -11,7 +11,7 @@ module Fluent
11
11
  CLEAR = "\x0f" # \u000F
12
12
 
13
13
  def configure(conf)
14
- @start_code = Regexp.new("(#{COLOR_CODE}[0-9][0-9](,[0-9][0-9])?|#{BOLD}|#{UNDERLINE}|#{INVERSE})+")
14
+ @start_code = Regexp.new("(#{COLOR_CODE}[0-9]?[0-9](,[0-9]?[0-9])?|#{BOLD}|#{UNDERLINE}|#{INVERSE})+")
15
15
  @stop_code = Regexp.new(CLEAR)
16
16
  super
17
17
  end
data/test.sh ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/sh
2
+ curl -d 'channel=#notify&message=*test* _daioikachan_ `www-form-urlencoded`' http://localhost:4979/notice
3
+ curl -F 'channel=#notify' -F 'message=*test* _daioikachan_ `multipart/form-data`' http://localhost:4979/privmsg
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daioikachan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -172,6 +172,7 @@ files:
172
172
  - examples/multi_slack.conf
173
173
  - lib/fluent/plugin/filter_string_irc_slack.rb
174
174
  - lib/fluent/plugin/in_daioikachan.rb
175
+ - test.sh
175
176
  - test/helper.rb
176
177
  - test/plugin/test_filter_string_irc_slack.rb
177
178
  - test/plugin/test_in_daioikachan.rb