multilog-collector 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f0f3afcb52dbe9008da2c3ac49786c461f35faca
4
+ data.tar.gz: b9e85acf63e9efb8492ea4d4402654a577092153
5
+ SHA512:
6
+ metadata.gz: 060ddd65d805617ca46a691073081e3be13d72d47c2fa0a2fa07ff92d07d1f3c7d5cccb31140323aea53fd37db536c8150b46c6c66fc10f38ea93fc808966211
7
+ data.tar.gz: e58f073f1d71767dca5b246e87fbd869c64333463949091304efc702daa64aff17119aea8d6758dc223e521e48bb997efe1ccb3babb57d9e18f66e27c46267c7
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -0,0 +1,43 @@
1
+ Gemfile.lock
2
+ # rcov generated
3
+ coverage
4
+
5
+ # rdoc generated
6
+ rdoc
7
+
8
+ # yard generated
9
+ doc
10
+ .yardoc
11
+
12
+ # bundler
13
+ .bundle
14
+
15
+ # jeweler generated
16
+ pkg
17
+
18
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
19
+ #
20
+ # * Create a file at ~/.gitignore
21
+ # * Include files you want ignored
22
+ # * Run: git config --global core.excludesfile ~/.gitignore
23
+ #
24
+ # After doing this, these files will be ignored in all your git projects,
25
+ # saving you from having to 'pollute' every project you touch with them
26
+ #
27
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
28
+ #
29
+ # For MacOS:
30
+ #
31
+ #.DS_Store
32
+ #
33
+ # For TextMate
34
+ #*.tmproj
35
+ #tmtags
36
+ #
37
+ # For emacs:
38
+ #*~
39
+ #\#*
40
+ #.\#*
41
+ #
42
+ # For vim:
43
+ #*.swp
@@ -0,0 +1,11 @@
1
+ bundler_args: --without development
2
+ language: ruby
3
+ matrix:
4
+ allow_failures:
5
+ - rvm: 1.8.7
6
+ rvm:
7
+ - 1.8.7
8
+ - 1.9.2
9
+ - 1.9.3
10
+ - 2.0.0
11
+ script: bundle exec rake spec
data/Gemfile CHANGED
@@ -1,13 +1,9 @@
1
- source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
1
+ source "https://rubygems.org"
5
2
 
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
- group :development do
9
- gem "shoulda", ">= 0"
10
- gem "bundler", "~> 1.0.0"
11
- gem "jeweler", "~> 1.5.2"
12
- gem "rcov", ">= 0"
3
+ gem 'rake'
4
+
5
+ group :test, :development do
6
+ gem 'rspec'
7
+ gem 'simplecov'
8
+ gem 'coveralls', require: false
13
9
  end
@@ -1,19 +1,24 @@
1
- = multilog-collector
1
+ # multilog-collector
2
2
 
3
- This is a log collector for multilog of daemontools services.
3
+ [![Build Status](https://travis-ci.org/tumf/multilog-collector.svg?branch=master)](https://travis-ci.org/tumf/multilog-collector)
4
+ [![Coverage Status](https://coveralls.io/repos/tumf/multilog-collector/badge.png)](https://coveralls.io/r/tumf/multilog-collector)
4
5
 
5
- == Install
6
+ A log collector for multilog of daemontools services.
6
7
 
7
- sudo gem install multilog-collector
8
+ ## Install
8
9
 
9
- == Usage
10
+ gem install multilog-collector
10
11
 
12
+ ## Usage
13
+
14
+ ```
11
15
  Usage: multilog-collector [options]
12
16
  --help show this message
13
17
  -d, --directory=DIR service directory default: /service
14
18
  -l, --lines=N lines to collect default: 100
19
+ ```
15
20
 
16
- == Contributing to multilog-collector
21
+ ## Contributing to multilog-collector
17
22
 
18
23
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
19
24
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
@@ -23,9 +28,7 @@ This is a log collector for multilog of daemontools services.
23
28
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
24
29
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
25
30
 
26
- == Copyright
27
-
28
- Copyright (c) 2011 Yoshihiro TAKAHARA. See LICENSE.txt for
29
- further details.
31
+ ## Copyright
30
32
 
33
+ Copyright (c) 2011 Yoshihiro TAKAHARA. See LICENSE.txt for further details.
31
34
 
data/Rakefile CHANGED
@@ -1,53 +1,7 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'rake'
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
11
3
 
12
- require 'jeweler'
13
- Jeweler::Tasks.new do |gem|
14
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
- gem.name = "multilog-collector"
16
- gem.homepage = "http://github.com/tumf/multilog-collector"
17
- gem.license = "MIT"
18
- gem.summary = %Q{log collector for multilog.}
19
- gem.description = %Q{This is a log collector for multilog of daemontools services.}
20
- gem.email = "y.takahara@gmail.com"
21
- gem.authors = ["Yoshihiro TAKAHARA"]
22
- # Include your dependencies below. Runtime dependencies are required when using your gem,
23
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
- # gem.add_development_dependency 'rspec', '> 1.2.3'
26
- end
27
- Jeweler::RubygemsDotOrgTasks.new
4
+ task :default => :spec
28
5
 
29
- require 'rake/testtask'
30
- Rake::TestTask.new(:test) do |test|
31
- test.libs << 'lib' << 'test'
32
- test.pattern = 'test/**/test_*.rb'
33
- test.verbose = true
34
- end
35
-
36
- require 'rcov/rcovtask'
37
- Rcov::RcovTask.new do |test|
38
- test.libs << 'test'
39
- test.pattern = 'test/**/test_*.rb'
40
- test.verbose = true
41
- end
42
-
43
- task :default => :test
44
-
45
- require 'rake/rdoctask'
46
- Rake::RDocTask.new do |rdoc|
47
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
-
49
- rdoc.rdoc_dir = 'rdoc'
50
- rdoc.title = "multilog-collector #{version}"
51
- rdoc.rdoc_files.include('README*')
52
- rdoc.rdoc_files.include('lib/**/*.rb')
53
- end
6
+ desc "Run all specs in spec directory"
7
+ RSpec::Core::RakeTask.new(:spec)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.4.0
@@ -14,13 +14,20 @@ module Djb
14
14
  @service_dir = dir
15
15
  end
16
16
 
17
- def collect
17
+ def glob_pattern
18
+ @service_dir + "/*/log/main/current"
19
+ end
20
+
21
+ def logs
18
22
  all = Logs.new
19
- glob_pattern = @service_dir + "/*/log/main/current"
20
23
  Dir.glob(glob_pattern).each do |file|
21
24
  all += Logs.new.load(file,@lines)
22
25
  end
23
- all.sort! do |a,b|
26
+ all
27
+ end
28
+
29
+ def collect
30
+ all = logs.sort! do |a,b|
24
31
  a.time <=> b.time
25
32
  end
26
33
  # all[all.length - @lines..-1]
@@ -20,10 +20,6 @@ module Djb
20
20
  $1 if /\/([^\/]+)\/log\/main\/current/ =~ @file
21
21
  end
22
22
 
23
- def to_s
24
- join("\n",self)
25
- end
26
-
27
23
  end
28
24
  end
29
25
  end
@@ -1,70 +1,22 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
4
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{multilog-collector}
8
- s.version = "0.3.3"
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "multilog-collector"
7
+ spec.version = File.open("VERSION").read
8
+ spec.authors = ["Yoshihiro TAKAHARA"]
9
+ spec.email = ["y.takahara@gmail.com"]
10
+ spec.description = %q{A log collector for multilog of daemontools services}
11
+ spec.summary = %q{It is software which collects daemontools service logs.}
12
+ spec.homepage = "https://github.com/tumf/multilog-collector"
13
+ spec.license = "MIT"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = %q{2011-01-27}
13
- s.default_executable = %q{multilog-collector}
14
- s.description = %q{This is a log collector for multilog of daemontools services.}
15
- s.email = %q{y.takahara@gmail.com}
16
- s.executables = ["multilog-collector"]
17
- s.extra_rdoc_files = [
18
- "LICENSE.txt",
19
- "README.rdoc"
20
- ]
21
- s.files = [
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE.txt",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "bin/multilog-collector",
29
- "lib/djb/daemontools/multilog/collector.rb",
30
- "lib/djb/daemontools/multilog/log.rb",
31
- "lib/djb/daemontools/multilog/logs.rb",
32
- "lib/djb/tai64n.rb",
33
- "lib/multilog-collector.rb",
34
- "multilog-collector.gemspec",
35
- "test/helper.rb",
36
- "test/test_multilog-collector.rb"
37
- ]
38
- s.homepage = %q{http://github.com/tumf/multilog-collector}
39
- s.licenses = ["MIT"]
40
- s.require_paths = ["lib"]
41
- s.rubygems_version = %q{1.3.7}
42
- s.summary = %q{log collector for multilog.}
43
- s.test_files = [
44
- "test/helper.rb",
45
- "test/test_multilog-collector.rb"
46
- ]
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
47
19
 
48
- if s.respond_to? :specification_version then
49
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
- s.specification_version = 3
51
-
52
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
- s.add_development_dependency(%q<shoulda>, [">= 0"])
54
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
55
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
56
- s.add_development_dependency(%q<rcov>, [">= 0"])
57
- else
58
- s.add_dependency(%q<shoulda>, [">= 0"])
59
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
61
- s.add_dependency(%q<rcov>, [">= 0"])
62
- end
63
- else
64
- s.add_dependency(%q<shoulda>, [">= 0"])
65
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
67
- s.add_dependency(%q<rcov>, [">= 0"])
68
- end
20
+ spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_development_dependency "rake"
69
22
  end
70
-
@@ -0,0 +1,8 @@
1
+ @400000004d81ed7004a0883c stats 9666 726613 1 0
2
+ @400000004d81ed7004a08c24 sent 9647 28
3
+ @400000004d81ed7004a2babc query 9667 7f000001:a866:d66a 28 github.com.
4
+ @400000004d81ed7004a2c28c cached 28 github.com.
5
+ @400000004d81ed7004a2c674 sent 9667 28
6
+ @400000004d81ed7004a435a4 query 9668 7f000001:e9cd:0b87 1 github.com.
7
+ @400000004d81ed7004a4398c cached 1 github.com.
8
+ @400000004d81ed7004a43d74 sent 9668 44
@@ -0,0 +1,5 @@
1
+ @400000004d81ed6f3aaada2c nodata ca04eb3b 360 28 github.com.
2
+ @400000004d81ed6f3aaade14 stats 9664 726579 2 0
3
+ @400000004d81ed6f3aaae1fc sent 9648 28
4
+ @400000004d81ed6f3aaae5e4 query 9665 7f000001:85a4:5843 28 github.com.
5
+ @400000004d81ed6f3aaae9cc cached 28 github.com.
@@ -0,0 +1,5 @@
1
+ @400000004d81ed6f3aaaedb4 sent 9665 28
2
+ @400000004d81ed6f3aac83f4 query 9666 7f000001:cc55:a8d8 1 github.com.
3
+ @400000004d81ed6f3aac87dc cached 1 github.com.
4
+ @400000004d81ed6f3aac8bc4 sent 9666 44
5
+ @400000004d81ed7004a08454 nodata d04c3c64 360 28 github.com.
@@ -0,0 +1,42 @@
1
+ $:.unshift(File.join(File.dirname(__FILE__), "..","..","..",".."))
2
+ require 'helper'
3
+ require 'time'
4
+ require 'djb/daemontools/multilog/collector'
5
+
6
+ describe Djb::Daemontools::Multilog::Collector do
7
+ before do
8
+ @collector = Djb::Daemontools::Multilog::Collector.new
9
+ end
10
+
11
+ describe "#collect" do
12
+ context "when it load from data directory" do
13
+ it "returns logs" do
14
+ @collector.stub(:glob_pattern).and_return("spec/data/*")
15
+ expect(@collector.collect.length).to eq 18
16
+ end
17
+ end
18
+
19
+ context "when it has no logs" do
20
+ it "returns logs" do
21
+ @collector.stub(:glob_pattern).and_return("spec/data2/*")
22
+ logs = @collector.collect
23
+ expect(logs.length).to eq 0
24
+ end
25
+ end
26
+
27
+ context "when it set lines" do
28
+ it "returns 10" do
29
+ @collector.stub(:glob_pattern).and_return("spec/data/*")
30
+ @collector.lines = 10
31
+ expect(@collector.collect.length).to eq 10
32
+ end
33
+ end
34
+ end
35
+
36
+ describe "#glob_pattern" do
37
+ it "returns default value" do
38
+ expect(@collector.glob_pattern).to eq "/service/*/log/main/current"
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,14 @@
1
+ # -*- coding: utf-8 -*-
2
+ $:.unshift(File.join(File.dirname(__FILE__), "..","..","..",".."))
3
+ require 'helper'
4
+ require 'time'
5
+ require 'djb/daemontools/multilog/log'
6
+
7
+ describe Djb::Daemontools::Multilog::Log do
8
+ describe "#to_s" do
9
+ it "returns log as string" do
10
+ @log = Djb::Daemontools::Multilog::Log.new("@400000004d81ed7004a435a4 query 9668 7f000001:e9cd:0b87 1 github.com.","test-service")
11
+ expect(@log.to_s).to match /\[test-service\] query 9668 7f000001:e9cd:0b87 1 github.com\./
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,12 @@
1
+ $:.unshift(File.join(File.dirname(__FILE__), ".."))
2
+ require 'helper'
3
+ require 'time'
4
+ require 'djb/tai64n.rb'
5
+
6
+ describe Djb::Tai64n do
7
+ describe ".to_local" do
8
+ it "returns 2011-03-17 20:01:46.923072500 UTC" do
9
+ expect(Djb::Tai64n::to_local("@400000004d81ea243704f7f4")).to eq Time.parse("2011-03-17 11:01:46.923072500 UTC")
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,17 @@
1
+ # -*- coding: utf-8 -*-
2
+ $TESTING=true
3
+
4
+ require 'simplecov'
5
+ require 'coveralls'
6
+
7
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
8
+ SimpleCov::Formatter::HTMLFormatter,
9
+ Coveralls::SimpleCov::Formatter
10
+ ]
11
+ SimpleCov.start
12
+
13
+ $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
14
+
15
+ require 'rspec'
16
+ RSpec.configure do |config|
17
+ end
metadata CHANGED
@@ -1,97 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: multilog-collector
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- - 3
10
- version: 0.3.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Yoshihiro TAKAHARA
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-01-27 00:00:00 +09:00
19
- default_executable: multilog-collector
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- type: :development
23
- prerelease: false
24
- name: shoulda
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
34
- requirement: *id001
35
- - !ruby/object:Gem::Dependency
36
- type: :development
37
- prerelease: false
11
+ date: 2014-06-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
38
14
  name: bundler
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
42
17
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 23
45
- segments:
46
- - 1
47
- - 0
48
- - 0
49
- version: 1.0.0
50
- requirement: *id002
51
- - !ruby/object:Gem::Dependency
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
52
20
  type: :development
53
21
  prerelease: false
54
- name: jeweler
55
- version_requirements: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
58
24
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 7
61
- segments:
62
- - 1
63
- - 5
64
- - 2
65
- version: 1.5.2
66
- requirement: *id003
67
- - !ruby/object:Gem::Dependency
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
68
34
  type: :development
69
35
  prerelease: false
70
- name: rcov
71
- version_requirements: &id004 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
80
- requirement: *id004
81
- description: This is a log collector for multilog of daemontools services.
82
- email: y.takahara@gmail.com
83
- executables:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A log collector for multilog of daemontools services
42
+ email:
43
+ - y.takahara@gmail.com
44
+ executables:
84
45
  - multilog-collector
85
46
  extensions: []
86
-
87
- extra_rdoc_files:
88
- - LICENSE.txt
89
- - README.rdoc
90
- files:
47
+ extra_rdoc_files: []
48
+ files:
49
+ - .document
50
+ - .gitignore
51
+ - .travis.yml
91
52
  - Gemfile
92
- - Gemfile.lock
93
53
  - LICENSE.txt
94
- - README.rdoc
54
+ - README.md
95
55
  - Rakefile
96
56
  - VERSION
97
57
  - bin/multilog-collector
@@ -101,42 +61,42 @@ files:
101
61
  - lib/djb/tai64n.rb
102
62
  - lib/multilog-collector.rb
103
63
  - multilog-collector.gemspec
104
- - test/helper.rb
105
- - test/test_multilog-collector.rb
106
- has_rdoc: true
107
- homepage: http://github.com/tumf/multilog-collector
108
- licenses:
64
+ - spec/data/1
65
+ - spec/data/2
66
+ - spec/data/3
67
+ - spec/djb/daemontools/multilog/collector_spec.rb
68
+ - spec/djb/daemontools/multilog/log_spec.rb
69
+ - spec/djb/tai64n_spec.rb
70
+ - spec/helper.rb
71
+ homepage: https://github.com/tumf/multilog-collector
72
+ licenses:
109
73
  - MIT
74
+ metadata: {}
110
75
  post_install_message:
111
76
  rdoc_options: []
112
-
113
- require_paths:
77
+ require_paths:
114
78
  - lib
115
- required_ruby_version: !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- hash: 3
121
- segments:
122
- - 0
123
- version: "0"
124
- required_rubygems_version: !ruby/object:Gem::Requirement
125
- none: false
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- hash: 3
130
- segments:
131
- - 0
132
- version: "0"
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
133
89
  requirements: []
134
-
135
90
  rubyforge_project:
136
- rubygems_version: 1.3.7
91
+ rubygems_version: 2.2.2
137
92
  signing_key:
138
- specification_version: 3
139
- summary: log collector for multilog.
140
- test_files:
141
- - test/helper.rb
142
- - test/test_multilog-collector.rb
93
+ specification_version: 4
94
+ summary: It is software which collects daemontools service logs.
95
+ test_files:
96
+ - spec/data/1
97
+ - spec/data/2
98
+ - spec/data/3
99
+ - spec/djb/daemontools/multilog/collector_spec.rb
100
+ - spec/djb/daemontools/multilog/log_spec.rb
101
+ - spec/djb/tai64n_spec.rb
102
+ - spec/helper.rb
@@ -1,20 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- git (1.2.5)
5
- jeweler (1.5.2)
6
- bundler (~> 1.0.0)
7
- git (>= 1.2.5)
8
- rake
9
- rake (0.8.7)
10
- rcov (0.9.9)
11
- shoulda (2.11.3)
12
-
13
- PLATFORMS
14
- ruby
15
-
16
- DEPENDENCIES
17
- bundler (~> 1.0.0)
18
- jeweler (~> 1.5.2)
19
- rcov
20
- shoulda
@@ -1,18 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'test/unit'
11
- require 'shoulda'
12
-
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'multilog-collector'
16
-
17
- class Test::Unit::TestCase
18
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestMultilogCollector < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end