log2mail 0.0.1.pre3 → 0.0.1.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{INSTALL → INSTALL.md} +2 -0
- data/README.md +1 -1
- data/features/log2mail_configurations/config_1 +1 -1
- data/lib/ext/string.rb +6 -0
- data/lib/ext/symbol.rb +7 -0
- data/lib/log2mail.rb +1 -1
- data/lib/log2mail/config.rb +9 -210
- data/lib/log2mail/config/attribute.rb +21 -0
- data/lib/log2mail/config/config.rb +45 -0
- data/lib/log2mail/config/config_file_handler.rb +142 -0
- data/lib/log2mail/config/config_file_snippet.rb +17 -0
- data/lib/log2mail/config/old_config_file_handler.rb +220 -0
- data/lib/log2mail/config/parser.rb +144 -0
- data/lib/log2mail/config/section.rb +70 -0
- data/lib/log2mail/console/commands.rb +1 -1
- data/lib/log2mail/main.rb +2 -2
- data/lib/log2mail/version.rb +1 -1
- data/lib/log2mail/watcher.rb +1 -1
- data/log2mail.gemspec +1 -0
- data/man/log2mail.1 +1 -1
- data/man/log2mail.1.ronn +1 -1
- data/spec/factories.rb +126 -29
- data/spec/log2mail/{config_spec.rb → config/config_file_handler_spec.rb} +49 -3
- data/spec/log2mail/config/parser_spec.rb +467 -0
- data/spec/spec_helper.rb +1 -0
- metadata +29 -5
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log2mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Strauss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -176,6 +176,20 @@ dependencies:
|
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: parslet
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
179
193
|
description: A regular expression based log file monitoring tool.
|
180
194
|
email: log2mail@dev.sieb.mx
|
181
195
|
executables:
|
@@ -188,7 +202,7 @@ files:
|
|
188
202
|
- ".rspec"
|
189
203
|
- ".travis.yml"
|
190
204
|
- Gemfile
|
191
|
-
- INSTALL
|
205
|
+
- INSTALL.md
|
192
206
|
- LICENSE.txt
|
193
207
|
- README.md
|
194
208
|
- Rakefile
|
@@ -199,9 +213,17 @@ files:
|
|
199
213
|
- lib/ext/kernel.rb
|
200
214
|
- lib/ext/main.rb
|
201
215
|
- lib/ext/string.rb
|
216
|
+
- lib/ext/symbol.rb
|
202
217
|
- lib/ext/syslog_logger.rb
|
203
218
|
- lib/log2mail.rb
|
204
219
|
- lib/log2mail/config.rb
|
220
|
+
- lib/log2mail/config/attribute.rb
|
221
|
+
- lib/log2mail/config/config.rb
|
222
|
+
- lib/log2mail/config/config_file_handler.rb
|
223
|
+
- lib/log2mail/config/config_file_snippet.rb
|
224
|
+
- lib/log2mail/config/old_config_file_handler.rb
|
225
|
+
- lib/log2mail/config/parser.rb
|
226
|
+
- lib/log2mail/config/section.rb
|
205
227
|
- lib/log2mail/console.rb
|
206
228
|
- lib/log2mail/console/commands.rb
|
207
229
|
- lib/log2mail/console/logger.rb
|
@@ -219,7 +241,8 @@ files:
|
|
219
241
|
- man/log2mail.1.html
|
220
242
|
- man/log2mail.1.ronn
|
221
243
|
- spec/factories.rb
|
222
|
-
- spec/log2mail/
|
244
|
+
- spec/log2mail/config/config_file_handler_spec.rb
|
245
|
+
- spec/log2mail/config/parser_spec.rb
|
223
246
|
- spec/log2mail/file/parser_spec.rb
|
224
247
|
- spec/log2mail/file_spec.rb
|
225
248
|
- spec/log2mail/report_spec.rb
|
@@ -254,7 +277,8 @@ test_files:
|
|
254
277
|
- features/log2mail_configurations/config_1
|
255
278
|
- features/step_definitions/log2mail_steps.rb
|
256
279
|
- spec/factories.rb
|
257
|
-
- spec/log2mail/
|
280
|
+
- spec/log2mail/config/config_file_handler_spec.rb
|
281
|
+
- spec/log2mail/config/parser_spec.rb
|
258
282
|
- spec/log2mail/file/parser_spec.rb
|
259
283
|
- spec/log2mail/file_spec.rb
|
260
284
|
- spec/log2mail/report_spec.rb
|