bunyan 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,9 +1,8 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
+ gem 'bson_ext', '>=1.0.9'
3
4
  gemspec
4
5
 
5
6
  group :test do
6
7
  gem 'rspec', '>= 1.3.0'
7
- gem 'ZenTest'
8
- gem 'autotest-growl'
9
8
  end
data/Gemfile.lock CHANGED
@@ -1,20 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bunyan (0.4.0)
5
- bson_ext (>= 0.20.1)
6
- mongo (>= 0.20.1)
4
+ bunyan (0.4.1)
5
+ mongo (~> 1.0.9)
7
6
 
8
7
  GEM
9
8
  remote: http://rubygems.org/
10
9
  specs:
11
- ZenTest (4.4.0)
12
- autotest (4.3.2)
13
- autotest-growl (0.2.4)
14
- autotest (>= 4.2.4)
15
- bson (1.0.7)
16
- bson_ext (1.0.7)
17
- mongo (1.0.8)
10
+ bson (1.1)
11
+ bson_ext (1.1)
12
+ mongo (1.0.9)
18
13
  bson (>= 1.0.5)
19
14
  rspec (1.3.0)
20
15
 
@@ -22,9 +17,7 @@ PLATFORMS
22
17
  ruby
23
18
 
24
19
  DEPENDENCIES
25
- ZenTest
26
- autotest-growl
27
- bson_ext (>= 0.20.1)
20
+ bson_ext (>= 1.0.9)
28
21
  bunyan!
29
- mongo (>= 0.20.1)
22
+ mongo (~> 1.0.9)
30
23
  rspec (>= 1.3.0)
data/README.md CHANGED
@@ -37,6 +37,9 @@ For rails apps, put the following config block in an initializer.
37
37
  # if you do so, host / port are ignored
38
38
  connection = $connection
39
39
  end
40
+
41
+ # Gemfile
42
+ gem 'bson_ext', '1.1' # set the version to whatever the current version of bson the mongo gem is using
40
43
 
41
44
  Usage
42
45
  =====
data/Rakefile CHANGED
@@ -7,8 +7,7 @@ begin
7
7
  gemspec.email = "ajsharp@gmail.com"
8
8
  gemspec.homepage = "http://github.com/ajsharp/bunyan"
9
9
  gemspec.authors = ["Alex Sharp"]
10
- gemspec.add_dependency 'mongo', '~> 1.0.8'
11
- gemspec.add_dependency 'bson_ext', '~> 1.0.7'
10
+ gemspec.add_dependency 'mongo', '~> 1.0.9'
12
11
  end
13
12
  Jeweler::GemcutterTasks.new
14
13
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/bunyan.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bunyan}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alex Sharp"]
12
- s.date = %q{2010-09-02}
12
+ s.date = %q{2010-10-06}
13
13
  s.description = %q{Bunyan is a thin ruby wrapper around a MongoDB capped collection, created with high-performance, flexible logging in mind.}
14
14
  s.email = %q{ajsharp@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -55,15 +55,12 @@ Gem::Specification.new do |s|
55
55
  s.specification_version = 3
56
56
 
57
57
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
58
- s.add_runtime_dependency(%q<mongo>, ["~> 1.0.8"])
59
- s.add_runtime_dependency(%q<bson_ext>, ["~> 1.0.7"])
58
+ s.add_runtime_dependency(%q<mongo>, ["~> 1.0.9"])
60
59
  else
61
- s.add_dependency(%q<mongo>, ["~> 1.0.8"])
62
- s.add_dependency(%q<bson_ext>, ["~> 1.0.7"])
60
+ s.add_dependency(%q<mongo>, ["~> 1.0.9"])
63
61
  end
64
62
  else
65
- s.add_dependency(%q<mongo>, ["~> 1.0.8"])
66
- s.add_dependency(%q<bson_ext>, ["~> 1.0.7"])
63
+ s.add_dependency(%q<mongo>, ["~> 1.0.9"])
67
64
  end
68
65
  end
69
66
 
data/examples/rails.rb CHANGED
@@ -1,11 +1,11 @@
1
1
 
2
2
  # put in config/initializers/bunyan.rb
3
- Bunyan::Logger.configure do |config|
3
+ Bunyan::Logger.configure do
4
4
  # required options
5
- config.database "bunyan_logger"
6
- config.collection "#{RAILS_ENV}_log"
5
+ database "bunyan_logger"
6
+ collection "#{RAILS_ENV}_log"
7
7
 
8
8
  # optional
9
- config.size 75.megabytes
9
+ size 75.megabytes
10
10
  end
11
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunyan
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Sharp
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-02 00:00:00 -07:00
18
+ date: 2010-10-06 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,30 +26,14 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 7
29
+ hash: 5
30
30
  segments:
31
31
  - 1
32
32
  - 0
33
- - 8
34
- version: 1.0.8
33
+ - 9
34
+ version: 1.0.9
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: bson_ext
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 25
46
- segments:
47
- - 1
48
- - 0
49
- - 7
50
- version: 1.0.7
51
- type: :runtime
52
- version_requirements: *id002
53
37
  description: Bunyan is a thin ruby wrapper around a MongoDB capped collection, created with high-performance, flexible logging in mind.
54
38
  email: ajsharp@gmail.com
55
39
  executables: []