airbrake-sinatra 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -1
- data/lib/airbrake-sinatra/version.rb +1 -1
- data/lib/sinatra/airbrake-javascript.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -8,7 +8,7 @@ serve as a Sinatra helper method for the Airbrake Javascript.
|
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
|
-
gem 'airbrake-sinatra'
|
11
|
+
gem 'airbrake-sinatra', :require => 'sinatra/airbrake-javascript'
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
|
@@ -37,6 +37,13 @@ helper in your views. An example layout might look something like this:
|
|
37
37
|
%pre= h airbrake_javascript_sinatra
|
38
38
|
```
|
39
39
|
|
40
|
+
Note that if you do not use `Bundler.require` with the `gem` line specified in
|
41
|
+
the above section you will need to require the gem manually like so:
|
42
|
+
|
43
|
+
``` ruby
|
44
|
+
require 'sinatra/airbrake-javascript'
|
45
|
+
```
|
46
|
+
|
40
47
|
## Developing
|
41
48
|
|
42
49
|
There are two Rake tasks that are there for development purposes:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml
|
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
segments:
|
133
133
|
- 0
|
134
|
-
hash: -
|
134
|
+
hash: -1294271344315236522
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
none: false
|
137
137
|
requirements:
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
segments:
|
142
142
|
- 0
|
143
|
-
hash: -
|
143
|
+
hash: -1294271344315236522
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
146
|
rubygems_version: 1.8.24
|