busboy 0.0.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/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.md +25 -0
- data/Rakefile +1 -0
- data/busboy.gemspec +24 -0
- data/lib/busboy.rb +5 -0
- data/lib/busboy/version.rb +3 -0
- metadata +53 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# `busboy` A Circular File Client
|
2
|
+
|
3
|
+
## API
|
4
|
+
|
5
|
+
```ruby
|
6
|
+
# Must setup the endpoint
|
7
|
+
Busboy.setup(endpoint, )
|
8
|
+
|
9
|
+
begin
|
10
|
+
raise "foo"
|
11
|
+
rescue => e
|
12
|
+
Busboy.report(e, :user_id => user.id, :type => :resque)
|
13
|
+
end
|
14
|
+
|
15
|
+
Busboy.report(e, request)
|
16
|
+
|
17
|
+
use Busboy::Middleware
|
18
|
+
run MyApp
|
19
|
+
```
|
20
|
+
|
21
|
+
## How it works
|
22
|
+
|
23
|
+
This is a very simple API that posts exceptions to circular_file.
|
24
|
+
|
25
|
+
It uses an HTTP api to post to the exceptions index.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/busboy.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "busboy/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "busboy"
|
7
|
+
s.version = Busboy::VERSION
|
8
|
+
s.authors = ["Andy Delcambre"]
|
9
|
+
s.email = ["adelcambre@engineyard.com"]
|
10
|
+
s.homepage = ""
|
11
|
+
s.summary = %q{A gem for pushing exceptions to circular_file}
|
12
|
+
s.description = %q{Includes a middleware, and a direct api for capturing exceptions and pushing them to circular_file}
|
13
|
+
|
14
|
+
s.rubyforge_project = "busboy"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
# specify any dependencies here; for example:
|
22
|
+
# s.add_development_dependency "rspec"
|
23
|
+
# s.add_runtime_dependency "rest-client"
|
24
|
+
end
|
data/lib/busboy.rb
ADDED
metadata
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: busboy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Andy Delcambre
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-01-23 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Includes a middleware, and a direct api for capturing exceptions and
|
15
|
+
pushing them to circular_file
|
16
|
+
email:
|
17
|
+
- adelcambre@engineyard.com
|
18
|
+
executables: []
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files: []
|
21
|
+
files:
|
22
|
+
- .gitignore
|
23
|
+
- Gemfile
|
24
|
+
- README.md
|
25
|
+
- Rakefile
|
26
|
+
- busboy.gemspec
|
27
|
+
- lib/busboy.rb
|
28
|
+
- lib/busboy/version.rb
|
29
|
+
homepage: ''
|
30
|
+
licenses: []
|
31
|
+
post_install_message:
|
32
|
+
rdoc_options: []
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
requirements: []
|
48
|
+
rubyforge_project: busboy
|
49
|
+
rubygems_version: 1.8.10
|
50
|
+
signing_key:
|
51
|
+
specification_version: 3
|
52
|
+
summary: A gem for pushing exceptions to circular_file
|
53
|
+
test_files: []
|