errplane 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjkxNjk0MmM5ZWUyMWE2MDE0YWYwMWYyOGQ5OTBkN2EyMWQ1MTU0Mw==
4
+ Mzk4OGNmMGI5ZWYxYzFjY2QyMjM3NDg5MTllZGE5NDM5NjQ3ZDUyNw==
5
5
  data.tar.gz: !binary |-
6
- YTEwOTdjMjU5NjQ0ODZmZDhjMDAyOTE1NGYwZGZiNWE0OWIyYzY5Yg==
6
+ MzlkNmRiZTgzZDZlODM3OGE4YzczYmE1MzBkNTJmM2Y0YzFkNGFjMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Y2Y1NzZlOGU2MWEyNTE1YzFlNGRkYjg3ZTg2MmUzNjZlMjQyNDIxYjM4ZmZh
10
- Y2Q2YjIxNTA1MmQ5NDEwMGQ5NWY4NGYwMTNlNDdlNDhhZjQzMTRhNDBhYmZi
11
- NDI2ZjFkNTVjMWJkOGNmZWNiOTAxMTI2YjI0ZmQxZjU5Y2MyMmE=
9
+ ZTZiZDVjYjY3YmYyOTY1NDliNWMzYTBjOThmMzRmODU5Yjk5ZjBhZjMwOTdh
10
+ MzJjMDhiZDUzNWZmNTRiOGM3YTc0ZmM1ZjI1NGJhZjJlNGZjODA4NTFjZTcy
11
+ ZTBhNzc4MDAxNmJkOTMxYTdmMjNjMDE2M2EzMGNiMGI3NGZiZTI=
12
12
  data.tar.gz: !binary |-
13
- MWZjZGQ2NjMzZWE2NWI2MTM4MDA1NmNiMGUyMTU3NGUyMzE5MGM3MzdjYTZh
14
- NDBjNDdjOTQ1NWQ3MTgyNmY4OTEzNmMxOTBjNzk3MWYxMmNjYzg5MDAwZDFm
15
- NGE1MDE1ODdlYTc4MThiZmFlZWY3MzQ2NDdlMjU4ZjBlMTdjNzQ=
13
+ MDQ1OGEzMzJiNjNkMDc2NjFkNTU5YjM4YWZlNTI0ZjA1M2ViNTBmN2FkZjI1
14
+ NTNhY2I5NzBmMWI3YzljZDg1ODdhYjZjOWRmY2JjYzk4YmY4MDVhZWNjZWQ1
15
+ MWRlYWE4OTMyYWI3ZWQ3NjMzZDNkN2NmNjgyYjAzODlhYTM5YWM=
@@ -13,6 +13,8 @@ module Errplane
13
13
  attr_reader :controller
14
14
  attr_reader :action
15
15
  attr_reader :request_url
16
+ attr_reader :referer
17
+ attr_reader :remote_ip
16
18
  attr_reader :user_agent
17
19
  attr_reader :custom_data
18
20
 
@@ -30,6 +32,7 @@ module Errplane
30
32
  @request_url = params[:request_url]
31
33
  @user_agent = params[:user_agent]
32
34
  @referer = params[:referer]
35
+ @remote_ip = params[:remote_ip]
33
36
  @custom_data = params[:custom_data] || {}
34
37
  @environment_variables = ENV.to_hash || {}
35
38
  @dimensions = {}
@@ -86,6 +89,7 @@ module Errplane
86
89
  :action => @action,
87
90
  :request_url => @request_url,
88
91
  :referer => @referer,
92
+ :remote_ip => @remote_ip,
89
93
  :user_agent => @user_agent
90
94
  }
91
95
  end
@@ -18,6 +18,7 @@ module Errplane
18
18
  :action => params[:action],
19
19
  :request_url => errplane_request_url,
20
20
  :user_agent => request.env["HTTP_USER_AGENT"],
21
+ :remote_ip => request.remote_ip,
21
22
  :referer => request.referer,
22
23
  :current_user => (current_user rescue nil)
23
24
  }
@@ -1,3 +1,3 @@
1
1
  module Errplane
2
- VERSION = "1.0.14"
2
+ VERSION = "1.0.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errplane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Persen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-05 00:00:00.000000000 Z
11
+ date: 2013-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json