me_exceptional 0.1.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ class MeExceptional::Mailer < ActionMailer::Base
23
23
  end
24
24
 
25
25
  def geocode_ip(ip)
26
- GeoKit::Geocoders::MultiGeocoder.geocode(ip)
26
+ Geocoder.address(ip)
27
27
  end
28
28
 
29
29
 
@@ -10,13 +10,12 @@ module ActionController
10
10
  if Rails.env == 'production'
11
11
  # blocking to be sure this gets send!
12
12
  MeExceptional::Mailer.exceptional(e.message,
13
- :backtrace => e.backtrace.join("\n"),
13
+ :backtrace => e.backtrace.join("<br />"),
14
14
  :timestamp => Time.zone.now,
15
15
  :method => request.method,
16
16
  :url => request.url,
17
17
  :params => params.inspect.to_s,
18
18
  :user_agent => request.user_agent,
19
- #:client_ip => request.remote_ip,
20
19
  :client_ip => request.env["HTTP_X_FORWARDED_FOR"].split(',').first,
21
20
  :request_env => request.env.inspect.to_s).deliver
22
21
 
@@ -1,3 +1,3 @@
1
1
  module MeExceptional
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency('activesupport')
23
23
  s.add_dependency('rails')
24
- s.add_dependency('geokit')
24
+ s.add_dependency('geocoder')
25
25
 
26
26
  end
27
27
 
metadata CHANGED
@@ -1,74 +1,72 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: me_exceptional
3
- version: !ruby/object:Gem::Version
4
- hash: 31
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 2
10
- version: 0.1.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Kai Rubarth
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-01-08 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activesupport
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rails
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rails
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: geokit
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
52
41
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: geocoder
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
60
54
  type: :runtime
61
- version_requirements: *id003
62
- description: The gem catches exceptions and creates and sends emails with backtrace and other informations.
63
- email:
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: The gem catches exceptions and creates and sends emails with backtrace
63
+ and other informations.
64
+ email:
64
65
  - kai@doxter.de
65
66
  executables: []
66
-
67
67
  extensions: []
68
-
69
68
  extra_rdoc_files: []
70
-
71
- files:
69
+ files:
72
70
  - .gitignore
73
71
  - Gemfile
74
72
  - README.rdoc
@@ -87,38 +85,28 @@ files:
87
85
  - lib/me_exceptional/extension.rb
88
86
  - lib/me_exceptional/version.rb
89
87
  - me_exceptional.gemspec
90
- homepage: ""
88
+ homepage: ''
91
89
  licenses: []
92
-
93
90
  post_install_message:
94
91
  rdoc_options: []
95
-
96
- require_paths:
92
+ require_paths:
97
93
  - lib
98
- required_ruby_version: !ruby/object:Gem::Requirement
94
+ required_ruby_version: !ruby/object:Gem::Requirement
99
95
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
107
- required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
101
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- hash: 3
113
- segments:
114
- - 0
115
- version: "0"
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
116
106
  requirements: []
117
-
118
107
  rubyforge_project: me_exceptional
119
- rubygems_version: 1.8.10
108
+ rubygems_version: 1.8.23
120
109
  signing_key:
121
110
  specification_version: 3
122
111
  summary: notifies you of exceptions by email
123
112
  test_files: []
124
-