flail 0.1.3 → 0.1.4
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/README.md +22 -5
- data/flail.gemspec +2 -0
- data/lib/flail/version.rb +1 -1
- metadata +18 -2
data/README.md
CHANGED
@@ -6,16 +6,29 @@ Flail is an exception catcher for Rack applications.
|
|
6
6
|
* Rails 3.x
|
7
7
|
|
8
8
|
|
9
|
-
|
9
|
+
### Install
|
10
10
|
|
11
|
+
###### Rails 3
|
12
|
+
```ruby
|
13
|
+
gem :flail
|
11
14
|
```
|
12
|
-
|
15
|
+
|
16
|
+
|
17
|
+
###### Rails 2.3.x
|
18
|
+
```ruby
|
19
|
+
gem :flail, :require => false
|
13
20
|
```
|
14
21
|
|
15
|
-
|
22
|
+
When configuring in the initializer as seen in Usage below be sure to add
|
23
|
+
```ruby
|
24
|
+
require 'flail/rails'
|
25
|
+
```
|
26
|
+
|
27
|
+
so the proper requires are done for Rails 2.3.x
|
16
28
|
|
17
29
|
|
18
|
-
|
30
|
+
|
31
|
+
### Usage
|
19
32
|
|
20
33
|
|
21
34
|
Add an initializer to configure (or call configure during application startup):
|
@@ -45,7 +58,11 @@ end
|
|
45
58
|
```
|
46
59
|
|
47
60
|
|
48
|
-
|
61
|
+
### Helpful Additions
|
62
|
+
See flail_web for a Rails 3 application designed to receive flail exceptions so you can inspect them.
|
63
|
+
https://github.com/asceth/flail_web
|
64
|
+
|
65
|
+
### Author
|
49
66
|
|
50
67
|
|
51
68
|
Original author: John "asceth" Long
|
data/flail.gemspec
CHANGED
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
+
s.add_dependency 'json'
|
22
|
+
|
21
23
|
s.add_development_dependency 'actionpack', '~> 2.3.8'
|
22
24
|
s.add_development_dependency 'activerecord', '~> 2.3.8'
|
23
25
|
s.add_development_dependency 'activesupport', '~> 2.3.8'
|
data/lib/flail/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: json
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: actionpack
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|