sfalma 0.7 → 0.7.1

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.
data/lib/sfalma/config.rb CHANGED
@@ -7,9 +7,9 @@ module Sfalma
7
7
  class << self
8
8
  DEFAULTS = {
9
9
  :ssl => false,
10
- :remote_host_http => 'http://www.sfalma.com',
11
- :http_open_timeout => 2,
12
- :http_read_timeout => 4,
10
+ :remote_host_http => 'www.sfalma.com',#'www.sfalma.com',
11
+ :http_open_timeout => 3,
12
+ :http_read_timeout => 5,
13
13
  :disabled_by_default => %w(development test)
14
14
  }
15
15
 
@@ -74,7 +74,7 @@ module Sfalma
74
74
  end
75
75
 
76
76
  def remote_port
77
- @remote_port =80 #||= ssl? ? 443 : 80, we wait for naked domain SSL on GAE
77
+ @remote_port = 80 #||= ssl? ? 443 : 80, we wait for naked domain SSL on GAE
78
78
  end
79
79
 
80
80
  def reset
@@ -89,7 +89,7 @@ module Sfalma
89
89
  def uniqueness_hash
90
90
  return nil if (@exception.backtrace.nil? || @exception.backtrace.empty?)
91
91
  # in case we have the same exception class at the same line but caused by different method
92
- @exception.backtrace.push(@exception.message)
92
+ @exception.backtrace.push(@exception.message.split('#')[0])
93
93
  traces = @exception.backtrace.collect{ |line|
94
94
  line if line.scan(/_run__\d+__process_action__\d+__callbacks/).size<1
95
95
  }.compact
@@ -1,3 +1,3 @@
1
1
  module Sfalma
2
- VERSION = '0.7'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfalma
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
17
- requirement: &15079640 !ruby/object:Gem::Requirement
17
+ requirement: &22194680 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *15079640
25
+ version_requirements: *22194680
26
26
  description: ! 'Sfalma is the Ruby gem for communicating with http://sfalma.com (hosted
27
27
  error tracking service). Use it to find out about errors that happen in your web
28
28
  or mobile app. '