qmail_log 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2720d6871c24621b17cb21103bd5a3501aae99ea
4
+ data.tar.gz: 76775c3a414ce295017265dd0b35a7e98b5df09f
5
+ SHA512:
6
+ metadata.gz: 5721a51620aec303530a4dc3573a959b6cfdfab7ccc3bf429721cf322fae50ccf38581167bd1d847a522500607dd83eac538e90a8422cd13fb7bb5a9eb10b5dc
7
+ data.tar.gz: ff31aaecaf9ac4823979491454bf4ba1381dc4e9b1869b57166b4b967435b98bdbd386ec848b7f277a1ff7b51522b190fc04d39bc0fbe4ea4d521516356e00f7
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require ./spec/spec_helper.rb
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_install: gem install bundler -v 1.11.2
5
+ notifications:
6
+ slack:
7
+ secure: Lk2lpPCixIRLvapR/8FvHAfLhAkjN9Gp7uKvrzZeKzW463/K/GNA+fOYzcMSaaJOvefoADVc6In7WOBZWhN+WW4S4P/EkBjHaQMIz9VX/5rNrm3kLor2fQEYjXHxli68XZKFPdH50eT49L8KUoDcOiYW5tSkPgoO8zGrCyOkTz6u6HWJo7IAmtxgdMVPrxyXr7QZQOGQLvQf3hhIP68gghGjtjZfyam78sA6HUpfebWQ9SqxzJh8W/d3j45D/iTqypP4o76ALyVuGGYKlOp7Q8LXAa++Ys9s0v8D5jV99sqHPTIq5cu5q2f5aV+KIKMb+H1nJbuHsf5r06tO4U2aphINDiNxfazNBfyWjw7x0vp/OTPvFRdN4SIqM5+9vvLHMOgttoRZN3bfL0SR2bdsJhUqvRW+5BUEFxl4KhpNDZT6DydKw1cbbcMsWJuPTOUnHiGcv11KygVnzJiiryBlTSdqrEGUcmwc718NDlOiOzN3vUm8ee4sgYjXsrPd0JTZ5AtovXdurL4KAhsIY6yDMROsymMd+BLFDU0GQ83+NXldSqGpa6QzJkePB6lb6HiiMv0TO8n+yjk/Qu6wS9d7qCSUr1xoUCPz/OYW3jlVGpx601K8qg0pUnpLMV2zvK+ylZEaErff62NYtbvJ8TLxvrXMxjteThTzoRlS22iGb2g=
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at u.humika@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in qmail_log.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 alotofwe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # QmailLog
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'qmail_log'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install qmail_log
18
+
19
+ ## Usage
20
+
21
+ ### Analyze your qmail log
22
+
23
+ * localhost
24
+
25
+ ```
26
+ QmailLog.analyze(PATH_TO_LOG) => array
27
+ ```
28
+
29
+ * SSH
30
+
31
+ ```
32
+ QmailLog.analyze(PATH_TO_LOG, SSH_HOST, {
33
+ port: SSH_PORT
34
+ user: SSH_USER
35
+ password: SSH_PASSWORD
36
+ }) => array
37
+ ```
38
+
39
+ `PATH_TO_LOG` should be valid path to file or directory.
40
+ If analyzer receive directory path, it analyze all files in this directory.
41
+
42
+ Returned array has following format:
43
+
44
+ ```
45
+ [{:time=>
46
+ {:new=>"2000-03-06T17:45:10Z",
47
+ :info=>"2000-03-06T17:45:10Z",
48
+ :starting=>"2000-03-06T17:45:10Z",
49
+ :delivery=>"2000-03-06T17:45:11Z",
50
+ :end=>"2000-03-06T17:45:11Z"},
51
+ :bytes=>"2343",
52
+ :from=>"alotofwe@email.com",
53
+ :qp=>"18695",
54
+ :uid=>"49491",
55
+ :delivery_id=>"2392",
56
+ :region=>"remote",
57
+ :to=>"suzupy@email.com",
58
+ :status=>
59
+ "success:209.85.127.177_accepted_message./Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/",
60
+ :queue_id=>"93869"},
61
+
62
+ ...
63
+ ]
64
+
65
+ ```
66
+
67
+ ### Parse returned array
68
+
69
+ * JSON
70
+
71
+ ```
72
+ QmailLog.parse(array, :json)
73
+ => [{"time":{"new":"2000-03-06T17:45:10Z","info":"2000-03-06T17:45:10Z","starting":"2000-03-06T17:45:10Z","delivery":"2000-03-06T17:45:11Z","end":"2000-03-06T17:45:11Z"},"bytes":"2343","from":"dave@sill.org","qp":"18695","uid":"49491","delivery_id":"2392","region":"remote","to":"lwq@w3.to","status":"success:209.85.127.177_accepted_message./Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/","queue_id":"93869"},
74
+
75
+ ...
76
+ ```
77
+
78
+ * YAML
79
+
80
+ ```
81
+ QmailLog.parse(array, :yaml)
82
+ => ---
83
+ - :time:
84
+ :new: '2000-03-06T17:45:10Z'
85
+ :info: '2000-03-06T17:45:10Z'
86
+ :starting: '2000-03-06T17:45:10Z'
87
+ :delivery: '2000-03-06T17:45:11Z'
88
+ :end: '2000-03-06T17:45:11Z'
89
+ :bytes: '2343'
90
+ :from: dave@sill.org
91
+ :qp: '18695'
92
+ :uid: '49491'
93
+ :delivery_id: '2392'
94
+ :region: remote
95
+ :to: lwq@w3.to
96
+ :status: success:209.85.127.177_accepted_message./Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/
97
+ :queue_id: '93869'
98
+
99
+ ...
100
+ ```
101
+
102
+ * LTSV
103
+
104
+ ```
105
+ QmailLog.parse(array, :ltsv)
106
+ => bytes:2343 from:dave@sill.org qp:18695 uid:49491 delivery_id:2392 region:remote to:lwq@w3.to status:success:209.85.127.177_accepted_message./Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/ queue_id:93869 new_time:2000-03-06T17:45:10Z info_time:2000-03-06T17:45:10Z starting_time:2000-03-06T17:45:10Z delivery_time:2000-03-06T17:45:11Z end_time:2000-03-06T17:45:11Z
107
+
108
+ ...
109
+ ```
110
+
111
+ ## Development
112
+
113
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
114
+
115
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
116
+
117
+ ## Contributing
118
+
119
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/qmail_log. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
120
+
121
+
122
+ ## License
123
+
124
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
125
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "qmail_log"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/qmail_log.rb ADDED
@@ -0,0 +1,41 @@
1
+ require "qmail_log/version"
2
+ require 'specinfra'
3
+ require 'specinfra/helper/set'
4
+ require 'tai64'
5
+ require 'json'
6
+ require 'yaml'
7
+ require 'ltsv'
8
+
9
+ require 'qmail_log/ssh'
10
+ require 'qmail_log/formatter'
11
+ require 'qmail_log/analyzer'
12
+
13
+ include Specinfra::Helper::Set
14
+
15
+ module QmailLog
16
+ class << self
17
+ def analyze path, host = 'localhost', ssh_options = {}
18
+ QmailLog::SSH::Configure.backend(host, ssh_options)
19
+ @runner = Specinfra::Runner
20
+
21
+ raise Errno::ENOENT unless @runner.check_file_is_file(path) or @runner.check_file_is_directory(path)
22
+
23
+ data, qid_from_did, memory = [], {}, {}
24
+
25
+ files(path).each do |file|
26
+ @runner.get_file_content(file).stdout.split("\n").each do |log|
27
+ QmailLog::Analyzer.analyze(log, data, qid_from_did, memory)
28
+ end
29
+ end
30
+ data
31
+ end
32
+
33
+ def parse data, format = :json
34
+ QmailLog::Formatter.run(format, data)
35
+ end
36
+
37
+ def files path
38
+ @runner.run_command("find #{path} -type f -exec ls -rt '{}' +").stdout.split("\n")
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,42 @@
1
+ module QmailLog
2
+ module Analyze
3
+ module Helper
4
+ def queue_id content, qid_from_did
5
+ case content
6
+ when /new/ then content.split[2]
7
+ when /info/ then content.split[2].gsub(':', '')
8
+ when /starting/ then content.split[4]
9
+ when /delivery/ then qid_from_did[ content.split[1].gsub(':', '') ]
10
+ when /end/ then content.split[2]
11
+ end
12
+ end
13
+
14
+ def info content
15
+ _, _, _, _, bytes, _, from, _, qp, _, uid = content.split
16
+ {
17
+ bytes: bytes,
18
+ from: from.gsub(/<(.*)>/, '\1'),
19
+ qp: qp,
20
+ uid: uid
21
+ }
22
+ end
23
+
24
+ def starting content
25
+ _, _, delivery_id, _, _, _, region, to = content.split
26
+ {
27
+ delivery_id: delivery_id.gsub(':', ''),
28
+ region: region,
29
+ to: to
30
+ }
31
+ end
32
+
33
+ def delivery content
34
+ _, delivery_id, *status = content.split
35
+ {
36
+ delivery_id: delivery_id.gsub(':', ''),
37
+ status: status.join(' ')
38
+ }
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,36 @@
1
+ require 'qmail_log/analyze/helper'
2
+
3
+ module QmailLog
4
+ class Analyzer
5
+ class << self
6
+ include QmailLog::Analyze::Helper
7
+
8
+ def analyze log, data, qid_from_did, memory
9
+ time = Tai64.parse(log.split[0]).to_time.to_s
10
+ content = log.partition(' ')[-1]
11
+ queue_id = queue_id(content, qid_from_did)
12
+
13
+ case content
14
+ when /(new)/
15
+ memory[queue_id] = { time: {} }
16
+
17
+ when /(info)/
18
+ memory[queue_id].merge!( info(content) )
19
+
20
+ when /(starting)/
21
+ memory[queue_id].merge!( starting(content) )
22
+ qid_from_did[ memory[queue_id][:delivery_id] ] = queue_id
23
+
24
+ when /(delivery)/
25
+ memory[queue_id].merge!( delivery(content) )
26
+
27
+ when /end/
28
+ memory[queue_id][:time][:end] = time
29
+ data << memory[queue_id].merge!({ queue_id: queue_id })
30
+ end
31
+
32
+ memory[queue_id][:time][$1.to_sym] = time if $1
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,11 @@
1
+ module QmailLog
2
+ module Format
3
+ class JSON
4
+ class << self
5
+ def parse data
6
+ ::JSON.dump(data)
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,18 @@
1
+ module QmailLog
2
+ module Format
3
+ class LTSV
4
+ class << self
5
+ def parse data
6
+ ltsv = ''
7
+ data.each do |d|
8
+ time = d[:time].inject({}) { |res, (key, value)| res["#{key}_time".to_sym] = value; res }
9
+ ltsv << "#{::LTSV.dump(
10
+ d.select { |key, value| key.to_sym != :time }.merge(time)
11
+ )}\n"
12
+ end
13
+ ltsv
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,11 @@
1
+ module QmailLog
2
+ module Format
3
+ class YAML
4
+ class << self
5
+ def parse data
6
+ data.to_yaml
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,13 @@
1
+ require 'qmail_log/format/json'
2
+ require 'qmail_log/format/yaml'
3
+ require 'qmail_log/format/ltsv'
4
+
5
+ module QmailLog
6
+ class Formatter
7
+ class << self
8
+ def run format, data
9
+ const_get("QmailLog::Format::#{format.upcase}").parse(data)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1 @@
1
+ require 'qmail_log/ssh/configure'
@@ -0,0 +1,32 @@
1
+ module QmailLog
2
+ module SSH
3
+ class Configure
4
+ class << self
5
+ def backend host, ssh_options
6
+ ssh_options.symbolize_keys!
7
+
8
+ case host
9
+ when 'localhost', '127.0.0.1'
10
+ set :backend, :exec
11
+ else
12
+ set :backend, :ssh
13
+ set :host, host
14
+ set :ssh_options, ssh_options
15
+ set :sudo_password, ssh_options[:password]
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ class Hash
24
+ def symbolize_keys!
25
+ self.replace(
26
+ self.inject({}) do |res, (key, value)|
27
+ res[key.to_sym] = value
28
+ res
29
+ end
30
+ )
31
+ end
32
+ end
@@ -0,0 +1,3 @@
1
+ module QmailLog
2
+ VERSION = "0.1.0"
3
+ end
data/qmail_log.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'qmail_log/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "qmail_log"
8
+ spec.version = QmailLog::VERSION
9
+ spec.authors = ["alotofwe"]
10
+ spec.email = ["u.humika@gmail.com"]
11
+
12
+ spec.summary = %q{Analyze qmail log for save to hash, and parse it to DDL statements}
13
+ spec.description = %q{Analyze qmail log for save to hash, and parse it to DDL statements}
14
+ spec.homepage = ""
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.11'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rspec', '~> 3.0'
25
+ spec.add_development_dependency 'specinfra', '~> 2.51'
26
+ spec.add_development_dependency 'tai64', '~> 0.0'
27
+ spec.add_development_dependency 'json', '~> 1.8'
28
+ spec.add_development_dependency 'ltsv', '~> 0.1'
29
+ end
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: qmail_log
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - alotofwe
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: specinfra
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.51'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '2.51'
69
+ - !ruby/object:Gem::Dependency
70
+ name: tai64
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '0.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: json
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '1.8'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '1.8'
97
+ - !ruby/object:Gem::Dependency
98
+ name: ltsv
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '0.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '0.1'
111
+ description: Analyze qmail log for save to hash, and parse it to DDL statements
112
+ email:
113
+ - u.humika@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - .gitignore
119
+ - .rspec
120
+ - .travis.yml
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - lib/qmail_log.rb
129
+ - lib/qmail_log/analyze/helper.rb
130
+ - lib/qmail_log/analyzer.rb
131
+ - lib/qmail_log/format/json.rb
132
+ - lib/qmail_log/format/ltsv.rb
133
+ - lib/qmail_log/format/yaml.rb
134
+ - lib/qmail_log/formatter.rb
135
+ - lib/qmail_log/ssh.rb
136
+ - lib/qmail_log/ssh/configure.rb
137
+ - lib/qmail_log/version.rb
138
+ - qmail_log.gemspec
139
+ homepage: ''
140
+ licenses:
141
+ - MIT
142
+ metadata: {}
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubyforge_project:
159
+ rubygems_version: 2.5.1
160
+ signing_key:
161
+ specification_version: 4
162
+ summary: Analyze qmail log for save to hash, and parse it to DDL statements
163
+ test_files: []