fluent-plugin-terminal_notifier 0.0.2 → 0.0.3

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: f72102148bf09fbc4dc3930a182f634f15186f97
4
- data.tar.gz: e9cf57fa72fc3f80193cbf6c6b5ff8b5df6fc288
3
+ metadata.gz: 4db5711b3d59cd5a279a39e80e9f3088c80aa8fe
4
+ data.tar.gz: f374f06bfdeff84e1ff5c7bcf22460764581719d
5
5
  SHA512:
6
- metadata.gz: 85c54be26cf121e911716b09b4d751f89853f49320aa6873bfe4c07bfa9f8c3b44bde5a3bd77e5ab57ae47c17b9f138198b4a37c0b16d459ad0249d2baceed8e
7
- data.tar.gz: 85fcdafc053772253cd3196bf12a1fffb66e9a3196855e717f744756f96a56455ba8124a016a1aeb09ea307faa618e8d08a60207f29d2f6cc352705e1e5b87d7
6
+ metadata.gz: c38a8bed34a2b8c5709a492df0d47bf4dea70f67e8b7d934a04268ed80730033623b1f8129fe1b5e8e9c5d0e54dc6154b5c9f139f1bf09aa5719013c81afddb8
7
+ data.tar.gz: 7c4097817a6e980910947ed2164fe996a18f994b8c48b7a35bc70f4b6a046b55091f9d796e84b1fd47104c48b6246ac9bbc466476d0b9fef01dafa193b0c9725
data/README.md CHANGED
@@ -93,6 +93,12 @@ In more detail about activatation, please refer to the [TerminalNotifier documen
93
93
  - **sub_title** (String. Optional) This key is used in Notification sub title.
94
94
  - **activate** (String. Optional) This key is used in OS X application activating.
95
95
 
96
+ ## More Complex Example
97
+
98
+ Please refer to the [example configuration](example/fluent.conf).
99
+
100
+ And note that this output plugin do not emit records, so, please consider to use something like copy plugin.
101
+
96
102
  ## Development
97
103
 
98
104
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -0,0 +1,31 @@
1
+ <source>
2
+ type forward
3
+ port 24224
4
+ bind 0.0.0.0
5
+ </source>
6
+
7
+ <match terminal-notifier.**>
8
+ type copy
9
+ <store>
10
+ type terminal-notifier
11
+ title test
12
+ sub_title sub
13
+ </store>
14
+ <store>
15
+ type stdout
16
+ </store>
17
+ </match>
18
+
19
+ <filter filter.terminal-notifier.**>
20
+ type stdout
21
+ </filter>
22
+
23
+ <filter filter.terminal-notifier.**>
24
+ type terminal-notifier
25
+ title filtered_test
26
+ sub_title filtered_sub
27
+ </filter>
28
+
29
+ <match filter.terminal-notifier.**>
30
+ type null
31
+ </match>
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-terminal_notifier"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.0.3"
8
8
  spec.authors = ["Hiroshi Hatake"]
9
9
  spec.email = ["cosmo0920.wp@gmail.com"]
10
10
 
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = ["lib"]
28
28
 
29
29
  spec.add_development_dependency "bundler"
30
- spec.add_development_dependency "rake", "~> 10.0"
31
- spec.add_development_dependency "test-unit", "~> 3.1"
32
- spec.add_runtime_dependency "fluentd", [">= 0.12.0", "< 2"]
30
+ spec.add_development_dependency "rake", "~> 11.0"
31
+ spec.add_development_dependency "test-unit", "~> 3.2"
32
+ spec.add_runtime_dependency "fluentd", "~> 0.12.0"
33
33
  spec.add_runtime_dependency "terminal-notifier", "~> 1.6"
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-terminal_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Hatake
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-20 00:00:00.000000000 Z
11
+ date: 2016-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,48 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '11.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '11.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.1'
47
+ version: '3.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.1'
54
+ version: '3.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fluentd
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.12.0
62
- - - "<"
63
- - !ruby/object:Gem::Version
64
- version: '2'
65
62
  type: :runtime
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - ">="
66
+ - - "~>"
70
67
  - !ruby/object:Gem::Version
71
68
  version: 0.12.0
72
- - - "<"
73
- - !ruby/object:Gem::Version
74
- version: '2'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: terminal-notifier
77
71
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +95,7 @@ files:
101
95
  - Rakefile
102
96
  - bin/console
103
97
  - bin/setup
98
+ - example/fluent.conf
104
99
  - fluent-plugin-terminal_notifier.gemspec
105
100
  - lib/fluent/plugin/filter_terminal_notifier.rb
106
101
  - lib/fluent/plugin/notify_util.rb
@@ -126,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
121
  version: '0'
127
122
  requirements: []
128
123
  rubyforge_project:
129
- rubygems_version: 2.4.5.1
124
+ rubygems_version: 2.6.4
130
125
  signing_key:
131
126
  specification_version: 4
132
127
  summary: Fluent TerminalNotifier plugin.