raise_js 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/MIT-LICENSE +20 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/raise_js.js +14 -0
- data/app/controllers/raise_js/javascript_errors_controller.rb +11 -0
- data/config/routes.rb +5 -0
- data/lib/raise_js.rb +5 -0
- data/lib/raise_js/engine.rb +4 -0
- data/lib/raise_js/javascript_error.rb +14 -0
- data/lib/raise_js/version.rb +3 -0
- data/test/controllers/raise_js/javascript_errors_controller_test.rb +22 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/pages_controller.rb +4 -0
- data/test/dummy/app/views/layouts/application.html.erb +13 -0
- data/test/dummy/app/views/pages/index.html.erb +5 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +28 -0
- data/test/dummy/config/boot.rb +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +25 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +51 -0
- data/test/dummy/log/development.log +3087 -0
- data/test/dummy/log/test.log +231 -0
- data/test/dummy/public/404.html +27 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1db5720dbf08c9c7387a5031c7692578 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6a907cc52893b27b0e9cf17e8caeca20 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/84bb651437b52cf2be0de8b03df26f12 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8b9338bdf730c9f47e771f4dda7dac58 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9773f5b0d1d0fcdf89d22a1cc9719037 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9a5aa032a0d3f0640a9024f3a8e408e9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ab2e9f1deb2dcd8968ea6d476747e8aa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d8e6906ed5e276e0d9b586c3beb6bb02 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e6fd4a85c09e11ce699da752c2d1a870 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/javascript_error_test.rb +12 -0
- data/test/raise_js_test.rb +7 -0
- data/test/test_helper.rb +7 -0
- metadata +189 -0
@@ -0,0 +1,231 @@
|
|
1
|
+
-------------------------------
|
2
|
+
JavascriptErrorTest: test_truth
|
3
|
+
-------------------------------
|
4
|
+
-----------------------
|
5
|
+
RaiseJsTest: test_truth
|
6
|
+
-----------------------
|
7
|
+
-------------------------------
|
8
|
+
JavascriptErrorTest: test_truth
|
9
|
+
-------------------------------
|
10
|
+
-----------------------
|
11
|
+
RaiseJsTest: test_truth
|
12
|
+
-----------------------
|
13
|
+
-------------------------------
|
14
|
+
JavascriptErrorTest: test_truth
|
15
|
+
-------------------------------
|
16
|
+
-----------------------
|
17
|
+
RaiseJsTest: test_truth
|
18
|
+
-----------------------
|
19
|
+
-------------------------------
|
20
|
+
JavascriptErrorTest: test_truth
|
21
|
+
-------------------------------
|
22
|
+
-------------------------------
|
23
|
+
JavascriptErrorTest: test_truth
|
24
|
+
-------------------------------
|
25
|
+
-------------------------------
|
26
|
+
JavascriptErrorTest: test_truth
|
27
|
+
-------------------------------
|
28
|
+
-------------------------------
|
29
|
+
JavascriptErrorTest: test_truth
|
30
|
+
-------------------------------
|
31
|
+
-------------------------------
|
32
|
+
JavascriptErrorTest: test_truth
|
33
|
+
-------------------------------
|
34
|
+
-------------------------------
|
35
|
+
JavascriptErrorTest: test_truth
|
36
|
+
-------------------------------
|
37
|
+
-------------------------------
|
38
|
+
JavascriptErrorTest: test_truth
|
39
|
+
-------------------------------
|
40
|
+
-------------------------------
|
41
|
+
JavascriptErrorTest: test_truth
|
42
|
+
-------------------------------
|
43
|
+
-------------------------------
|
44
|
+
JavascriptErrorTest: test_truth
|
45
|
+
-------------------------------
|
46
|
+
-----------------------
|
47
|
+
RaiseJsTest: test_truth
|
48
|
+
-----------------------
|
49
|
+
-------------------------------
|
50
|
+
JavascriptErrorTest: test_truth
|
51
|
+
-------------------------------
|
52
|
+
-------------------------------
|
53
|
+
JavascriptErrorTest: test_truth
|
54
|
+
-------------------------------
|
55
|
+
----------------------------------------------------
|
56
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
57
|
+
----------------------------------------------------
|
58
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
59
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
60
|
+
Completed 500 Internal Server Error in 0ms
|
61
|
+
----------------------------------------------------
|
62
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
63
|
+
----------------------------------------------------
|
64
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
65
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
66
|
+
Completed 500 Internal Server Error in 0ms
|
67
|
+
----------------------------------------------------
|
68
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
69
|
+
----------------------------------------------------
|
70
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
71
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
72
|
+
Completed 500 Internal Server Error in 1ms
|
73
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
74
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
75
|
+
Completed 500 Internal Server Error in 0ms
|
76
|
+
----------------------------------------------------
|
77
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
78
|
+
----------------------------------------------------
|
79
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
80
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
81
|
+
Completed 500 Internal Server Error in 0ms
|
82
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
83
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
84
|
+
Completed 500 Internal Server Error in 0ms
|
85
|
+
----------------------------------------------------
|
86
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
87
|
+
----------------------------------------------------
|
88
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
89
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
90
|
+
Completed 500 Internal Server Error in 0ms
|
91
|
+
-------------------------------------------------
|
92
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
93
|
+
-------------------------------------------------
|
94
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
95
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
96
|
+
Completed 500 Internal Server Error in 0ms
|
97
|
+
----------------------------------------------------
|
98
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
99
|
+
----------------------------------------------------
|
100
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
101
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
102
|
+
Completed 500 Internal Server Error in 0ms
|
103
|
+
----------------------------------------------------
|
104
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
105
|
+
----------------------------------------------------
|
106
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
107
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
108
|
+
Completed 500 Internal Server Error in 0ms
|
109
|
+
----------------------------------------------------
|
110
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
111
|
+
----------------------------------------------------
|
112
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
113
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
114
|
+
Completed 500 Internal Server Error in 0ms
|
115
|
+
----------------------------------------------------
|
116
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
117
|
+
----------------------------------------------------
|
118
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
119
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
120
|
+
Completed 500 Internal Server Error in 0ms
|
121
|
+
-------------------------------------------------
|
122
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
123
|
+
-------------------------------------------------
|
124
|
+
----------------------------------------------------
|
125
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
126
|
+
----------------------------------------------------
|
127
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
128
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
129
|
+
Completed 500 Internal Server Error in 0ms
|
130
|
+
-------------------------------------------------
|
131
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
132
|
+
-------------------------------------------------
|
133
|
+
----------------------------------------------------
|
134
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
135
|
+
----------------------------------------------------
|
136
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
137
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
138
|
+
Completed 500 Internal Server Error in 0ms
|
139
|
+
-------------------------------------------------
|
140
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
141
|
+
-------------------------------------------------
|
142
|
+
----------------------------------------------------
|
143
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
144
|
+
----------------------------------------------------
|
145
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
146
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
147
|
+
Completed 500 Internal Server Error in 0ms
|
148
|
+
-------------------------------------------------
|
149
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
150
|
+
-------------------------------------------------
|
151
|
+
----------------------------------------------------
|
152
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
153
|
+
----------------------------------------------------
|
154
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
155
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
156
|
+
Completed 500 Internal Server Error in 0ms
|
157
|
+
-------------------------------------------------
|
158
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
159
|
+
-------------------------------------------------
|
160
|
+
----------------------------------------------------
|
161
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
162
|
+
----------------------------------------------------
|
163
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
164
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
165
|
+
Completed 500 Internal Server Error in 0ms
|
166
|
+
-------------------------------------------------
|
167
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
168
|
+
-------------------------------------------------
|
169
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
170
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
171
|
+
Completed 500 Internal Server Error in 0ms
|
172
|
+
----------------------------------------------------
|
173
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
174
|
+
----------------------------------------------------
|
175
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
176
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
177
|
+
Completed 500 Internal Server Error in 0ms
|
178
|
+
-------------------------------------------------
|
179
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
180
|
+
-------------------------------------------------
|
181
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
182
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
183
|
+
Completed 500 Internal Server Error in 0ms
|
184
|
+
----------------------------------------------------
|
185
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create
|
186
|
+
----------------------------------------------------
|
187
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
188
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
189
|
+
Completed 500 Internal Server Error in 0ms
|
190
|
+
-------------------------------------------------
|
191
|
+
RaiseJs::JavascriptErrorsControllerTest: test_foo
|
192
|
+
-------------------------------------------------
|
193
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
194
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
195
|
+
Completed 500 Internal Server Error in 0ms
|
196
|
+
------------------------------------------------------------------------
|
197
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create_raises_an_exception
|
198
|
+
------------------------------------------------------------------------
|
199
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
200
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
201
|
+
Completed 500 Internal Server Error in 0ms
|
202
|
+
--------------------------------------------------------------------------------
|
203
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create_raises_a_JavscriptException
|
204
|
+
--------------------------------------------------------------------------------
|
205
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
206
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
207
|
+
Completed 500 Internal Server Error in 0ms
|
208
|
+
-------------------------------
|
209
|
+
JavascriptErrorTest: test_truth
|
210
|
+
-------------------------------
|
211
|
+
--------------------------------------------------------------------------------
|
212
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create_raises_a_JavscriptException
|
213
|
+
--------------------------------------------------------------------------------
|
214
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
215
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
216
|
+
Completed 500 Internal Server Error in 0ms
|
217
|
+
-----------------------
|
218
|
+
RaiseJsTest: test_truth
|
219
|
+
-----------------------
|
220
|
+
-------------------------------
|
221
|
+
JavascriptErrorTest: test_truth
|
222
|
+
-------------------------------
|
223
|
+
--------------------------------------------------------------------------------
|
224
|
+
RaiseJs::JavascriptErrorsControllerTest: test_create_raises_a_JavscriptException
|
225
|
+
--------------------------------------------------------------------------------
|
226
|
+
Processing by RaiseJs::JavascriptErrorsController#create as HTML
|
227
|
+
Parameters: {"msg"=>"Error!", "url"=>"http://example.org", "line"=>"42"}
|
228
|
+
Completed 500 Internal Server Error in 0ms
|
229
|
+
-----------------------
|
230
|
+
RaiseJsTest: test_truth
|
231
|
+
-----------------------
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
<p>If you are the application owner check the logs for more information.</p>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
<p>If you are the application owner check the logs for more information.</p>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class JavascriptErrorTest < ActiveSupport::TestCase
|
4
|
+
test "truth" do
|
5
|
+
error = RaiseJs::JavascriptError.new("Error!", "http://example.org", 42)
|
6
|
+
assert_kind_of Exception, error
|
7
|
+
assert_equal error.msg, "Error!"
|
8
|
+
assert_equal error.url, "http://example.org"
|
9
|
+
assert_equal error.line, 42
|
10
|
+
assert_equal error.message, "JavaScript error at http://example.org on line 42: Error!"
|
11
|
+
end
|
12
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: raise_js
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Sunny Ripert
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-05-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 4.0.0.beta1
|
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: 4.0.0.beta1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: jquery-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Raise JavaScript errors as Ruby exceptions in your Rails app. Usefull
|
47
|
+
when you have a good Exception catcher.
|
48
|
+
email:
|
49
|
+
- sunny@sunfox.org
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- app/assets/javascripts/raise_js.js
|
55
|
+
- app/controllers/raise_js/javascript_errors_controller.rb
|
56
|
+
- config/routes.rb
|
57
|
+
- lib/raise_js/engine.rb
|
58
|
+
- lib/raise_js/javascript_error.rb
|
59
|
+
- lib/raise_js/version.rb
|
60
|
+
- lib/raise_js.rb
|
61
|
+
- MIT-LICENSE
|
62
|
+
- Rakefile
|
63
|
+
- test/controllers/raise_js/javascript_errors_controller_test.rb
|
64
|
+
- test/dummy/app/assets/javascripts/application.js
|
65
|
+
- test/dummy/app/controllers/application_controller.rb
|
66
|
+
- test/dummy/app/controllers/pages_controller.rb
|
67
|
+
- test/dummy/app/views/layouts/application.html.erb
|
68
|
+
- test/dummy/app/views/pages/index.html.erb
|
69
|
+
- test/dummy/bin/bundle
|
70
|
+
- test/dummy/bin/rails
|
71
|
+
- test/dummy/bin/rake
|
72
|
+
- test/dummy/config/application.rb
|
73
|
+
- test/dummy/config/boot.rb
|
74
|
+
- test/dummy/config/environment.rb
|
75
|
+
- test/dummy/config/environments/development.rb
|
76
|
+
- test/dummy/config/environments/production.rb
|
77
|
+
- test/dummy/config/environments/test.rb
|
78
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
79
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
80
|
+
- test/dummy/config/initializers/inflections.rb
|
81
|
+
- test/dummy/config/initializers/mime_types.rb
|
82
|
+
- test/dummy/config/initializers/secret_token.rb
|
83
|
+
- test/dummy/config/initializers/session_store.rb
|
84
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
85
|
+
- test/dummy/config/locales/en.yml
|
86
|
+
- test/dummy/config/routes.rb
|
87
|
+
- test/dummy/config.ru
|
88
|
+
- test/dummy/log/development.log
|
89
|
+
- test/dummy/log/test.log
|
90
|
+
- test/dummy/public/404.html
|
91
|
+
- test/dummy/public/422.html
|
92
|
+
- test/dummy/public/500.html
|
93
|
+
- test/dummy/public/favicon.ico
|
94
|
+
- test/dummy/Rakefile
|
95
|
+
- test/dummy/README.rdoc
|
96
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1db5720dbf08c9c7387a5031c7692578
|
97
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
98
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6a907cc52893b27b0e9cf17e8caeca20
|
99
|
+
- test/dummy/tmp/cache/assets/development/sprockets/84bb651437b52cf2be0de8b03df26f12
|
100
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8b9338bdf730c9f47e771f4dda7dac58
|
101
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9773f5b0d1d0fcdf89d22a1cc9719037
|
102
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9a5aa032a0d3f0640a9024f3a8e408e9
|
103
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ab2e9f1deb2dcd8968ea6d476747e8aa
|
104
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
105
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d8e6906ed5e276e0d9b586c3beb6bb02
|
106
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e6fd4a85c09e11ce699da752c2d1a870
|
107
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
108
|
+
- test/javascript_error_test.rb
|
109
|
+
- test/raise_js_test.rb
|
110
|
+
- test/test_helper.rb
|
111
|
+
homepage: http://github.com/sunny/raise_js
|
112
|
+
licenses: []
|
113
|
+
post_install_message:
|
114
|
+
rdoc_options: []
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
hash: 4542100156792783744
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
hash: 4542100156792783744
|
135
|
+
requirements: []
|
136
|
+
rubyforge_project:
|
137
|
+
rubygems_version: 1.8.24
|
138
|
+
signing_key:
|
139
|
+
specification_version: 3
|
140
|
+
summary: Raise JavaScript errors as Ruby exceptions in your Rails app.
|
141
|
+
test_files:
|
142
|
+
- test/controllers/raise_js/javascript_errors_controller_test.rb
|
143
|
+
- test/dummy/app/assets/javascripts/application.js
|
144
|
+
- test/dummy/app/controllers/application_controller.rb
|
145
|
+
- test/dummy/app/controllers/pages_controller.rb
|
146
|
+
- test/dummy/app/views/layouts/application.html.erb
|
147
|
+
- test/dummy/app/views/pages/index.html.erb
|
148
|
+
- test/dummy/bin/bundle
|
149
|
+
- test/dummy/bin/rails
|
150
|
+
- test/dummy/bin/rake
|
151
|
+
- test/dummy/config/application.rb
|
152
|
+
- test/dummy/config/boot.rb
|
153
|
+
- test/dummy/config/environment.rb
|
154
|
+
- test/dummy/config/environments/development.rb
|
155
|
+
- test/dummy/config/environments/production.rb
|
156
|
+
- test/dummy/config/environments/test.rb
|
157
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
158
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
159
|
+
- test/dummy/config/initializers/inflections.rb
|
160
|
+
- test/dummy/config/initializers/mime_types.rb
|
161
|
+
- test/dummy/config/initializers/secret_token.rb
|
162
|
+
- test/dummy/config/initializers/session_store.rb
|
163
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
164
|
+
- test/dummy/config/locales/en.yml
|
165
|
+
- test/dummy/config/routes.rb
|
166
|
+
- test/dummy/config.ru
|
167
|
+
- test/dummy/log/development.log
|
168
|
+
- test/dummy/log/test.log
|
169
|
+
- test/dummy/public/404.html
|
170
|
+
- test/dummy/public/422.html
|
171
|
+
- test/dummy/public/500.html
|
172
|
+
- test/dummy/public/favicon.ico
|
173
|
+
- test/dummy/Rakefile
|
174
|
+
- test/dummy/README.rdoc
|
175
|
+
- test/dummy/tmp/cache/assets/development/sprockets/1db5720dbf08c9c7387a5031c7692578
|
176
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
177
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6a907cc52893b27b0e9cf17e8caeca20
|
178
|
+
- test/dummy/tmp/cache/assets/development/sprockets/84bb651437b52cf2be0de8b03df26f12
|
179
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8b9338bdf730c9f47e771f4dda7dac58
|
180
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9773f5b0d1d0fcdf89d22a1cc9719037
|
181
|
+
- test/dummy/tmp/cache/assets/development/sprockets/9a5aa032a0d3f0640a9024f3a8e408e9
|
182
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ab2e9f1deb2dcd8968ea6d476747e8aa
|
183
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
184
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d8e6906ed5e276e0d9b586c3beb6bb02
|
185
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e6fd4a85c09e11ce699da752c2d1a870
|
186
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
187
|
+
- test/javascript_error_test.rb
|
188
|
+
- test/raise_js_test.rb
|
189
|
+
- test/test_helper.rb
|