opbeat 0.5 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8c862b00532d010cbd49108561ea840c8cbe98cf
4
+ data.tar.gz: cc79eaec3be6dba36f26ea5131a6bc4ad13cecb6
5
+ SHA512:
6
+ metadata.gz: 97ab27bd81b41b12a0ad8e32793f6e4c873b5e2ffd003a51e5e979fc08999c22e87d1104ca5121416ef4a2adb688ddc74ba94a9994d991ebb723cfdebb42fc84
7
+ data.tar.gz: d4dfc1cdfbe7db7e0168df70e8157a11375f72e3d1a253908d0ab59068d13987a71e042ff7b08f05917d53ac07451ff38c99db5144d1bdbd00605a08ddc77663
data/README.md CHANGED
@@ -10,7 +10,7 @@ A client and integration layer for [Opbeat](https://opbeat.com). Forked from the
10
10
  Add the following to your `Gemfile`:
11
11
 
12
12
  ```ruby
13
- gem "opbeat", :git => "https://github.com/opbeat/opbeat_ruby.git"
13
+ gem "opbeat"
14
14
  ```
15
15
 
16
16
  <!-- Or install manually
@@ -20,7 +20,7 @@ $ gem install sentry-opbeat_ruby
20
20
  -->
21
21
  ## Usage
22
22
 
23
- ### Rails 3
23
+ ### Rails 3 and Rails 4
24
24
 
25
25
  Add a `config/initializers/opbeat.rb` containing:
26
26
 
data/lib/opbeat/event.rb CHANGED
@@ -179,8 +179,8 @@ module Opbeat
179
179
  end
180
180
 
181
181
  def strip_load_path_from(path)
182
- prefix = $:.select {|s| path.start_with?(s)}.sort_by {|s| s.length}.last
183
- prefix ? path[prefix.chomp(File::SEPARATOR).length+1..-1] : path
182
+ prefix = $:.select {|s| path.start_with?(s.to_s)}.sort_by {|s| s.to_s.length}.last
183
+ prefix ? path[prefix.to_s.chomp(File::SEPARATOR).length+1..-1] : path
184
184
  end
185
185
  end
186
186
  end
@@ -1,3 +1,3 @@
1
1
  module Opbeat
2
- VERSION = "0.5"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opbeat
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
5
- prerelease:
4
+ version: 0.5.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Noah Kantrowitz
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-10-16 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: faraday
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,23 +28,20 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: uuidtools
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: multi_json
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ~>
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ~>
61
54
  - !ruby/object:Gem::Version
@@ -63,17 +56,15 @@ dependencies:
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: hashie
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  description:
@@ -106,26 +97,25 @@ files:
106
97
  - LICENSE
107
98
  homepage: http://github.com/opbeat/opbeat_ruby
108
99
  licenses: []
100
+ metadata: {}
109
101
  post_install_message:
110
102
  rdoc_options: []
111
103
  require_paths:
112
104
  - lib
113
105
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
106
  requirements:
116
- - - ! '>='
107
+ - - '>='
117
108
  - !ruby/object:Gem::Version
118
109
  version: '0'
119
110
  required_rubygems_version: !ruby/object:Gem::Requirement
120
- none: false
121
111
  requirements:
122
- - - ! '>='
112
+ - - '>='
123
113
  - !ruby/object:Gem::Version
124
114
  version: '0'
125
115
  requirements: []
126
116
  rubyforge_project:
127
- rubygems_version: 1.8.25
117
+ rubygems_version: 2.0.3
128
118
  signing_key:
129
- specification_version: 3
119
+ specification_version: 4
130
120
  summary: A gem that provides a client interface for the Opbeat error logger
131
121
  test_files: []