cloudtrapper 0.0.2.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG +823 -0
  2. data/Gemfile +12 -0
  3. data/Guardfile +6 -0
  4. data/INSTALL +20 -0
  5. data/MIT-LICENSE +22 -0
  6. data/README.md +465 -0
  7. data/README_FOR_HEROKU_ADDON.md +94 -0
  8. data/Rakefile +223 -0
  9. data/SUPPORTED_RAILS_VERSIONS +23 -0
  10. data/TESTING.md +33 -0
  11. data/cloudtrapper.gemspec +35 -0
  12. data/features/metal.feature +18 -0
  13. data/features/rack.feature +56 -0
  14. data/features/rails.feature +211 -0
  15. data/features/rails_with_js_notifier.feature +97 -0
  16. data/features/rake.feature +27 -0
  17. data/features/sinatra.feature +29 -0
  18. data/features/step_definitions/file_steps.rb +10 -0
  19. data/features/step_definitions/metal_steps.rb +23 -0
  20. data/features/step_definitions/rack_steps.rb +23 -0
  21. data/features/step_definitions/rails_application_steps.rb +433 -0
  22. data/features/step_definitions/rake_steps.rb +17 -0
  23. data/features/support/airbrake_shim.rb.template +11 -0
  24. data/features/support/env.rb +18 -0
  25. data/features/support/matchers.rb +35 -0
  26. data/features/support/rails.rb +201 -0
  27. data/features/support/rake/Rakefile +68 -0
  28. data/features/support/terminal.rb +107 -0
  29. data/features/user_informer.feature +63 -0
  30. data/generators/cloudtrapper/airbrake_generator.rb +94 -0
  31. data/generators/cloudtrapper/lib/insert_commands.rb +34 -0
  32. data/generators/cloudtrapper/lib/rake_commands.rb +24 -0
  33. data/generators/cloudtrapper/templates/capistrano_hook.rb +6 -0
  34. data/generators/cloudtrapper/templates/cloudtrapper_tasks.rake +25 -0
  35. data/generators/cloudtrapper/templates/initializer.rb +6 -0
  36. data/install.rb +1 -0
  37. data/lib/cloudtrapper/backtrace.rb +100 -0
  38. data/lib/cloudtrapper/capistrano.rb +44 -0
  39. data/lib/cloudtrapper/configuration.rb +281 -0
  40. data/lib/cloudtrapper/notice.rb +348 -0
  41. data/lib/cloudtrapper/rack.rb +55 -0
  42. data/lib/cloudtrapper/rails/action_controller_catcher.rb +30 -0
  43. data/lib/cloudtrapper/rails/controller_methods.rb +74 -0
  44. data/lib/cloudtrapper/rails/error_lookup.rb +33 -0
  45. data/lib/cloudtrapper/rails/javascript_notifier.rb +48 -0
  46. data/lib/cloudtrapper/rails/middleware/exceptions_catcher.rb +29 -0
  47. data/lib/cloudtrapper/rails.rb +40 -0
  48. data/lib/cloudtrapper/rails3_tasks.rb +85 -0
  49. data/lib/cloudtrapper/railtie.rb +48 -0
  50. data/lib/cloudtrapper/rake_handler.rb +66 -0
  51. data/lib/cloudtrapper/sender.rb +116 -0
  52. data/lib/cloudtrapper/shared_tasks.rb +36 -0
  53. data/lib/cloudtrapper/tasks.rb +83 -0
  54. data/lib/cloudtrapper/user_informer.rb +27 -0
  55. data/lib/cloudtrapper/version.rb +3 -0
  56. data/lib/cloudtrapper.rb +155 -0
  57. data/lib/cloudtrapper_tasks.rb +65 -0
  58. data/lib/rails/generators/cloudtrapper/cloudtrapper_generator.rb +100 -0
  59. data/lib/templates/javascript_notifier.erb +15 -0
  60. data/lib/templates/rescue.erb +91 -0
  61. data/rails/init.rb +1 -0
  62. data/resources/README.md +34 -0
  63. data/resources/ca-bundle.crt +3376 -0
  64. data/script/integration_test.rb +38 -0
  65. data/test/backtrace_test.rb +162 -0
  66. data/test/capistrano_test.rb +34 -0
  67. data/test/catcher_test.rb +333 -0
  68. data/test/cloudtrapper_2_2.xsd +78 -0
  69. data/test/cloudtrapper_tasks_test.rb +170 -0
  70. data/test/configuration_test.rb +221 -0
  71. data/test/helper.rb +263 -0
  72. data/test/javascript_notifier_test.rb +52 -0
  73. data/test/logger_test.rb +73 -0
  74. data/test/notice_test.rb +468 -0
  75. data/test/notifier_test.rb +246 -0
  76. data/test/rack_test.rb +58 -0
  77. data/test/rails_initializer_test.rb +36 -0
  78. data/test/recursion_test.rb +10 -0
  79. data/test/sender_test.rb +261 -0
  80. data/test/user_informer_test.rb +29 -0
  81. metadata +301 -0
metadata ADDED
@@ -0,0 +1,301 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cloudtrapper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2.pre
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Cloudtrapper
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: builder
16
+ requirement: &70357889618000 !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: *70357889618000
25
+ - !ruby/object:Gem::Dependency
26
+ name: activesupport
27
+ requirement: &70357889617440 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70357889617440
36
+ - !ruby/object:Gem::Dependency
37
+ name: actionpack
38
+ requirement: &70357889616860 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 2.3.8
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70357889616860
47
+ - !ruby/object:Gem::Dependency
48
+ name: activerecord
49
+ requirement: &70357889616220 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.3.8
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70357889616220
58
+ - !ruby/object:Gem::Dependency
59
+ name: activesupport
60
+ requirement: &70357889615640 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 2.3.8
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70357889615640
69
+ - !ruby/object:Gem::Dependency
70
+ name: bourne
71
+ requirement: &70357889615080 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '1.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70357889615080
80
+ - !ruby/object:Gem::Dependency
81
+ name: cucumber
82
+ requirement: &70357889614420 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: 0.10.6
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *70357889614420
91
+ - !ruby/object:Gem::Dependency
92
+ name: fakeweb
93
+ requirement: &70357889613800 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 1.3.0
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *70357889613800
102
+ - !ruby/object:Gem::Dependency
103
+ name: nokogiri
104
+ requirement: &70357889613300 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.4.3.1
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *70357889613300
113
+ - !ruby/object:Gem::Dependency
114
+ name: rspec
115
+ requirement: &70357889612800 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ~>
119
+ - !ruby/object:Gem::Version
120
+ version: 2.6.0
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *70357889612800
124
+ - !ruby/object:Gem::Dependency
125
+ name: sham_rack
126
+ requirement: &70357889598400 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 1.3.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: *70357889598400
135
+ - !ruby/object:Gem::Dependency
136
+ name: shoulda
137
+ requirement: &70357889597760 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 2.11.3
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: *70357889597760
146
+ - !ruby/object:Gem::Dependency
147
+ name: capistrano
148
+ requirement: &70357889597180 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ~>
152
+ - !ruby/object:Gem::Version
153
+ version: 2.8.0
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: *70357889597180
157
+ description:
158
+ email: noma4i@gmail.com
159
+ executables: []
160
+ extensions: []
161
+ extra_rdoc_files: []
162
+ files:
163
+ - generators/cloudtrapper/airbrake_generator.rb
164
+ - generators/cloudtrapper/lib/insert_commands.rb
165
+ - generators/cloudtrapper/lib/rake_commands.rb
166
+ - generators/cloudtrapper/templates/capistrano_hook.rb
167
+ - generators/cloudtrapper/templates/cloudtrapper_tasks.rake
168
+ - generators/cloudtrapper/templates/initializer.rb
169
+ - lib/cloudtrapper/backtrace.rb
170
+ - lib/cloudtrapper/capistrano.rb
171
+ - lib/cloudtrapper/configuration.rb
172
+ - lib/cloudtrapper/notice.rb
173
+ - lib/cloudtrapper/rack.rb
174
+ - lib/cloudtrapper/rails/action_controller_catcher.rb
175
+ - lib/cloudtrapper/rails/controller_methods.rb
176
+ - lib/cloudtrapper/rails/error_lookup.rb
177
+ - lib/cloudtrapper/rails/javascript_notifier.rb
178
+ - lib/cloudtrapper/rails/middleware/exceptions_catcher.rb
179
+ - lib/cloudtrapper/rails.rb
180
+ - lib/cloudtrapper/rails3_tasks.rb
181
+ - lib/cloudtrapper/railtie.rb
182
+ - lib/cloudtrapper/rake_handler.rb
183
+ - lib/cloudtrapper/sender.rb
184
+ - lib/cloudtrapper/shared_tasks.rb
185
+ - lib/cloudtrapper/tasks.rb
186
+ - lib/cloudtrapper/user_informer.rb
187
+ - lib/cloudtrapper/version.rb
188
+ - lib/cloudtrapper.rb
189
+ - lib/cloudtrapper_tasks.rb
190
+ - lib/rails/generators/cloudtrapper/cloudtrapper_generator.rb
191
+ - lib/templates/javascript_notifier.erb
192
+ - lib/templates/rescue.erb
193
+ - rails/init.rb
194
+ - resources/ca-bundle.crt
195
+ - resources/README.md
196
+ - script/integration_test.rb
197
+ - cloudtrapper.gemspec
198
+ - CHANGELOG
199
+ - Gemfile
200
+ - Guardfile
201
+ - INSTALL
202
+ - MIT-LICENSE
203
+ - Rakefile
204
+ - README_FOR_HEROKU_ADDON.md
205
+ - README.md
206
+ - TESTING.md
207
+ - SUPPORTED_RAILS_VERSIONS
208
+ - install.rb
209
+ - test/backtrace_test.rb
210
+ - test/capistrano_test.rb
211
+ - test/catcher_test.rb
212
+ - test/cloudtrapper_2_2.xsd
213
+ - test/cloudtrapper_tasks_test.rb
214
+ - test/configuration_test.rb
215
+ - test/helper.rb
216
+ - test/javascript_notifier_test.rb
217
+ - test/logger_test.rb
218
+ - test/notice_test.rb
219
+ - test/notifier_test.rb
220
+ - test/rack_test.rb
221
+ - test/rails_initializer_test.rb
222
+ - test/recursion_test.rb
223
+ - test/sender_test.rb
224
+ - test/user_informer_test.rb
225
+ - features/metal.feature
226
+ - features/rack.feature
227
+ - features/rails.feature
228
+ - features/rails_with_js_notifier.feature
229
+ - features/rake.feature
230
+ - features/sinatra.feature
231
+ - features/step_definitions/file_steps.rb
232
+ - features/step_definitions/metal_steps.rb
233
+ - features/step_definitions/rack_steps.rb
234
+ - features/step_definitions/rails_application_steps.rb
235
+ - features/step_definitions/rake_steps.rb
236
+ - features/support/airbrake_shim.rb.template
237
+ - features/support/env.rb
238
+ - features/support/matchers.rb
239
+ - features/support/rails.rb
240
+ - features/support/rake/Rakefile
241
+ - features/support/terminal.rb
242
+ - features/user_informer.feature
243
+ homepage: http://www.noma4i.com
244
+ licenses: []
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ required_rubygems_version: !ruby/object:Gem::Requirement
256
+ none: false
257
+ requirements:
258
+ - - ! '>'
259
+ - !ruby/object:Gem::Version
260
+ version: 1.3.1
261
+ requirements: []
262
+ rubyforge_project:
263
+ rubygems_version: 1.8.15
264
+ signing_key:
265
+ specification_version: 3
266
+ summary: Just testing gem
267
+ test_files:
268
+ - test/backtrace_test.rb
269
+ - test/capistrano_test.rb
270
+ - test/catcher_test.rb
271
+ - test/cloudtrapper_2_2.xsd
272
+ - test/cloudtrapper_tasks_test.rb
273
+ - test/configuration_test.rb
274
+ - test/helper.rb
275
+ - test/javascript_notifier_test.rb
276
+ - test/logger_test.rb
277
+ - test/notice_test.rb
278
+ - test/notifier_test.rb
279
+ - test/rack_test.rb
280
+ - test/rails_initializer_test.rb
281
+ - test/recursion_test.rb
282
+ - test/sender_test.rb
283
+ - test/user_informer_test.rb
284
+ - features/metal.feature
285
+ - features/rack.feature
286
+ - features/rails.feature
287
+ - features/rails_with_js_notifier.feature
288
+ - features/rake.feature
289
+ - features/sinatra.feature
290
+ - features/step_definitions/file_steps.rb
291
+ - features/step_definitions/metal_steps.rb
292
+ - features/step_definitions/rack_steps.rb
293
+ - features/step_definitions/rails_application_steps.rb
294
+ - features/step_definitions/rake_steps.rb
295
+ - features/support/airbrake_shim.rb.template
296
+ - features/support/env.rb
297
+ - features/support/matchers.rb
298
+ - features/support/rails.rb
299
+ - features/support/rake/Rakefile
300
+ - features/support/terminal.rb
301
+ - features/user_informer.feature