gabrake 0.1.1 → 0.1.2

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: 393cf07a78d624c2c96e70e11a29032fdaf05bb5
4
- data.tar.gz: 66aa2c17928f7e6a16c80835998c819a56f52a08
3
+ metadata.gz: d9af72b12789b026be70fb6f40c952803e65c585
4
+ data.tar.gz: c77b5c2378ce643e57777159a1b330aa780ee1c4
5
5
  SHA512:
6
- metadata.gz: d89b3719da514981b6196b997811f75ccd53da220926ef3abb4da69ba5456c8d53e6c6b64f586df76066f2f2db96b0ff3c678bf16ebc0b9f164b38832f5b4327
7
- data.tar.gz: 61e15a48fe158ea70775725d1920197cebf9b4eebc5bae55822e3d780b2358c275d0e2c7cc37213c19fc938cd799f2065e619f2568ee2077fc0deae3638a28f7
6
+ metadata.gz: 3351f483cdf5f9397cb95f30ea0960bd53027023b5854acd1fdc0b2190e143c6772766b992578ae09f76933291e2d35a94e8ddee02420b187c39eb5aeeeee537
7
+ data.tar.gz: 0e07e231c723c1eefb46eacff0d9986d083c8f51dda9b1f0ad47176d6d75282f996aa31a72d8a24ddfd6d870016c31d4ed667aad58c5469c3d5ea3adf87ab12d
data/.gitignore CHANGED
@@ -7,3 +7,5 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+
11
+ *.gem
data/README.md CHANGED
@@ -6,6 +6,8 @@ Let's have a look.
6
6
 
7
7
  [Realtime Tracking by category](https://www.dropbox.com/s/k0bhpd1f90hhe6e/gabrake-realtime.png?dl=0)
8
8
 
9
+ [JavaScript Tracking by messages](https://www.dropbox.com/s/8pa1j5vujcma9oq/gabrake-js.png?dl=0)
10
+
9
11
  [Overview by error message and location](https://www.dropbox.com/s/hrmyy9cgo1jkclw/gabrake-overview.png?dl=0)
10
12
 
11
13
  [Overview by error message and browser](https://www.dropbox.com/s/q736nd92vzz5r4a/gabrake-overview-by-browser.png?dl=0)
@@ -59,7 +61,7 @@ Wait couple minutes.
59
61
 
60
62
  1. Go to **Behaviour** > **Events** > **Overview**.
61
63
  2. Click on one of the Gabrake categories. On top of table, choose primary dimension as **Event Action**.
62
- 3. Choose secondary dimension by your taste — *Event Label (backtrace location), Page, Browser,* …
64
+ 3. Choose secondary dimension by your taste — *Event Label (backtrace location), Page, Browser.*
63
65
 
64
66
  **Important**: *Make sure that the overview date includes TODAY! You'll save yourself a headache.*
65
67
 
@@ -9,7 +9,7 @@ module Gabrake
9
9
 
10
10
  class Env
11
11
  def self.extract_context(env)
12
- cookies = env ? env['action_dispatch.cookies'] : Hash.new
12
+ cookies = env['action_dispatch.cookies'] || Hash.new
13
13
  default_client_id = "GA1.1.#{(rand() * 2147483647).to_i}.#{Time.now.to_i}"
14
14
  _, version, client_id = *(cookies['_ga'] || default_client_id).match(/GA(\d+)\..+\.(\d+\.\d+)\z/)
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Gabrake
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gabrake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Molnar