mail-logger 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb01eb40e79af5aad0f5194c3ab8bc86956347d2
4
- data.tar.gz: c61a0bc168443c3006e1aa5db87f3060b04ca8b7
3
+ metadata.gz: a20b4012938c60098ba4b9f627bba59665e7f3ba
4
+ data.tar.gz: e8fdf3714bb1eaa52fb9ab47e0acb0541723d96d
5
5
  SHA512:
6
- metadata.gz: a855095857682733818906b274171ecdcfee52da3c27595dd5987c5105906657be9eec1b4fffbcb67e746abe7269a86fe607af796796a6c7c64697653f57433f
7
- data.tar.gz: 00570a0fc7e80deb5fa4d5ccb6b719291940914381673432c5c1d8f6bab94ea553ff3b1f17069034fa96a0c4e3ea5438b89e9747a2e0dd7e74b3fca13efb53c9
6
+ metadata.gz: b26e8f443fac544d1ed07eef2b8c80a6d17e4a89eb352c359cd14c981498ff1a5d92fbf6628fd59cf51b48c8dd13936e1f857166d74621b6e2210266b92d40f7
7
+ data.tar.gz: 08c1b12ffc488a023b41f7f72bc8cea7d30be3829650df4e4c966c1affdb83eb885dfc1973cc87e476c6bc1ed99fd9e7cffbcd1b6a07aa06466e29a4cad90d32
data/.travis.yml CHANGED
@@ -6,5 +6,8 @@ rvm:
6
6
  - rbx-19mode
7
7
  - jruby
8
8
  - ruby-head
9
+ matrix:
10
+ allow_failures:
11
+ - rvm: ruby-head
9
12
  script:
10
13
  - bundle exec rake
@@ -2,7 +2,8 @@ class Mail::Logger::Logfile < ::Logger
2
2
  def initialize
3
3
  path = Mail::Logger.configuration.log_path
4
4
  filename = Mail::Logger.configuration.log_file_name
5
-
6
- super(File.open(File.join(path, filename), 'a+'))
5
+ logfile = File.open(File.join(path, filename), 'a+')
6
+ logfile.sync = true
7
+ super(logfile)
7
8
  end
8
9
  end
@@ -1,5 +1,5 @@
1
1
  module Mail
2
2
  module Logger
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh McArthur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-17 00:00:00.000000000 Z
11
+ date: 2014-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mocha
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.13.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.13.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 4.7.3
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 4.7.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: 'Lodges a callback with `Mail`, capturing all of the mail being sent,
@@ -89,8 +89,8 @@ executables: []
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - .gitignore
93
- - .travis.yml
92
+ - ".gitignore"
93
+ - ".travis.yml"
94
94
  - Gemfile
95
95
  - LICENSE.txt
96
96
  - MIT-LICENSE
@@ -116,17 +116,17 @@ require_paths:
116
116
  - lib
117
117
  required_ruby_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - '>='
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - '>='
124
+ - - ">="
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.0.2
129
+ rubygems_version: 2.2.2
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: A Rubygem to capture information about sent emails, and log them to a file