winston_mongodb_rails 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ module WinstonMongodbRails
43
43
 
44
44
  def configure
45
45
  @mongo_database_name = @db_configuration['database'] || "logs"
46
- @mongo_collection_name = @db_configuration['collection_name'] || "logs"
46
+ @mongo_collection_name = @db_configuration['application_name'] + 'logs' || "logs"
47
47
  @application_name = @db_configuration['application_name'] || 'default'
48
48
  @safe_insert = @db_configuration['safe_insert'] || false
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module WinstonMongodbRails
2
- VERSION = '0.0.3'
3
- end
2
+ VERSION = '0.1.0'
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winston_mongodb_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 0.0.3
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-04 00:00:00 +02:00
18
+ date: 2013-01-27 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency