rails_exception_handler 2.3.0 → 2.3.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/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_exception_handler (2.
|
4
|
+
rails_exception_handler (2.3.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
@@ -31,49 +31,53 @@ GEM
|
|
31
31
|
thread_safe (~> 0.1)
|
32
32
|
tzinfo (~> 0.3.37)
|
33
33
|
addressable (2.3.5)
|
34
|
-
arel (4.0.
|
34
|
+
arel (4.0.1)
|
35
35
|
atomic (1.1.14)
|
36
36
|
builder (3.1.4)
|
37
|
-
coderay (1.0
|
38
|
-
|
37
|
+
coderay (1.1.0)
|
38
|
+
descendants_tracker (0.0.3)
|
39
|
+
diff-lcs (1.2.5)
|
39
40
|
erubis (2.7.0)
|
40
41
|
faraday (0.8.8)
|
41
42
|
multipart-post (~> 1.2.0)
|
42
43
|
git (1.2.6)
|
43
|
-
github_api (0.
|
44
|
-
addressable
|
45
|
-
|
44
|
+
github_api (0.11.1)
|
45
|
+
addressable (~> 2.3)
|
46
|
+
descendants_tracker (~> 0.0.1)
|
47
|
+
faraday (~> 0.8, < 0.10)
|
46
48
|
hashie (>= 1.2)
|
47
|
-
multi_json (
|
48
|
-
nokogiri (~> 1.
|
49
|
+
multi_json (>= 1.7.5, < 2.0)
|
50
|
+
nokogiri (~> 1.6.0)
|
49
51
|
oauth2
|
50
52
|
hashie (2.0.5)
|
51
|
-
highline (1.6.
|
53
|
+
highline (1.6.20)
|
52
54
|
hike (1.2.3)
|
53
55
|
httpauth (0.2.0)
|
54
|
-
i18n (0.6.
|
55
|
-
jeweler (
|
56
|
+
i18n (0.6.9)
|
57
|
+
jeweler (2.0.0)
|
56
58
|
builder
|
57
|
-
bundler (
|
59
|
+
bundler (>= 1.0)
|
58
60
|
git (>= 1.2.5)
|
59
|
-
github_api
|
61
|
+
github_api
|
60
62
|
highline (>= 1.6.15)
|
61
|
-
nokogiri (
|
63
|
+
nokogiri (>= 1.5.10)
|
62
64
|
rake
|
63
65
|
rdoc
|
64
|
-
json (1.8.
|
66
|
+
json (1.8.1)
|
65
67
|
jwt (0.1.8)
|
66
68
|
multi_json (>= 1.5)
|
67
69
|
mail (2.5.4)
|
68
70
|
mime-types (~> 1.16)
|
69
71
|
treetop (~> 1.4.8)
|
70
72
|
method_source (0.8.2)
|
71
|
-
mime-types (1.25)
|
73
|
+
mime-types (1.25.1)
|
74
|
+
mini_portile (0.5.2)
|
72
75
|
minitest (4.7.5)
|
73
|
-
multi_json (1.8.
|
76
|
+
multi_json (1.8.2)
|
74
77
|
multi_xml (0.5.5)
|
75
78
|
multipart-post (1.2.0)
|
76
|
-
nokogiri (1.
|
79
|
+
nokogiri (1.6.1)
|
80
|
+
mini_portile (~> 0.5.0)
|
77
81
|
oauth2 (0.9.2)
|
78
82
|
faraday (~> 0.8)
|
79
83
|
httpauth (~> 0.2)
|
@@ -82,8 +86,8 @@ GEM
|
|
82
86
|
multi_xml (~> 0.5)
|
83
87
|
rack (~> 1.2)
|
84
88
|
polyglot (0.3.3)
|
85
|
-
pry (0.9.12.
|
86
|
-
coderay (~> 1.0
|
89
|
+
pry (0.9.12.4)
|
90
|
+
coderay (~> 1.0)
|
87
91
|
method_source (~> 0.8)
|
88
92
|
slop (~> 3.4)
|
89
93
|
rack (1.5.2)
|
@@ -102,27 +106,28 @@ GEM
|
|
102
106
|
activesupport (= 4.0.0)
|
103
107
|
rake (>= 0.8.7)
|
104
108
|
thor (>= 0.18.1, < 2.0)
|
105
|
-
rake (10.1.
|
106
|
-
rdoc (4.0
|
109
|
+
rake (10.1.1)
|
110
|
+
rdoc (4.1.0)
|
107
111
|
json (~> 1.4)
|
108
|
-
rspec-core (2.14.
|
109
|
-
rspec-expectations (2.14.
|
112
|
+
rspec-core (2.14.7)
|
113
|
+
rspec-expectations (2.14.4)
|
110
114
|
diff-lcs (>= 1.1.3, < 2.0)
|
111
|
-
rspec-mocks (2.14.
|
112
|
-
rspec-rails (2.14.
|
115
|
+
rspec-mocks (2.14.4)
|
116
|
+
rspec-rails (2.14.1)
|
113
117
|
actionpack (>= 3.0)
|
118
|
+
activemodel (>= 3.0)
|
114
119
|
activesupport (>= 3.0)
|
115
120
|
railties (>= 3.0)
|
116
121
|
rspec-core (~> 2.14.0)
|
117
122
|
rspec-expectations (~> 2.14.0)
|
118
123
|
rspec-mocks (~> 2.14.0)
|
119
|
-
slop (3.4.
|
120
|
-
sprockets (2.10.
|
124
|
+
slop (3.4.7)
|
125
|
+
sprockets (2.10.1)
|
121
126
|
hike (~> 1.2)
|
122
127
|
multi_json (~> 1.0)
|
123
128
|
rack (~> 1.0)
|
124
129
|
tilt (~> 1.1, != 1.3.0)
|
125
|
-
sprockets-rails (2.0.
|
130
|
+
sprockets-rails (2.0.1)
|
126
131
|
actionpack (>= 3.0)
|
127
132
|
activesupport (>= 3.0)
|
128
133
|
sprockets (~> 2.8)
|
@@ -134,7 +139,7 @@ GEM
|
|
134
139
|
treetop (1.4.15)
|
135
140
|
polyglot
|
136
141
|
polyglot (>= 0.3.1)
|
137
|
-
tzinfo (0.3.
|
142
|
+
tzinfo (0.3.38)
|
138
143
|
|
139
144
|
PLATFORMS
|
140
145
|
ruby
|
data/HISTORY
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
class RailsExceptionHandler::ActiveRecord
|
3
3
|
|
4
4
|
class ErrorMessage < defined?(ActiveRecord) ? ActiveRecord::Base : Object
|
5
|
-
if
|
5
|
+
if(defined?(ActiveRecord) && RailsExceptionHandler.configuration.activate? && RailsExceptionHandler.configuration.active_record?)
|
6
6
|
establish_connection(:exception_database)
|
7
7
|
self.table_name = :error_messages
|
8
8
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class RailsExceptionHandler::Mongoid
|
2
2
|
class ErrorMessage
|
3
|
+
#if(defined?(Mongoid) && RailsExceptionHandler.configuration.activate? && RailsExceptionHandler.configuration.mongoid?)
|
3
4
|
if defined?(Mongoid)
|
4
5
|
include Mongoid::Document
|
5
6
|
include Mongoid::Timestamps
|
@@ -24,4 +25,4 @@ class RailsExceptionHandler::Mongoid
|
|
24
25
|
end
|
25
26
|
end
|
26
27
|
|
27
|
-
end
|
28
|
+
end
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rails_exception_handler"
|
8
|
-
s.version = "2.3.
|
8
|
+
s.version = "2.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Sharagoz"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-01-07"
|
13
13
|
s.description = ""
|
14
14
|
s.email = "contact@sharagoz.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_exception_handler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
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:
|
12
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -199,6 +199,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
- - ! '>='
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
|
+
segments:
|
203
|
+
- 0
|
204
|
+
hash: -163553395504491843
|
202
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
206
|
none: false
|
204
207
|
requirements:
|