raygun 0.0.34 → 0.9.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/CHANGES.md +7 -1
  4. data/README.md +7 -11
  5. data/bin/raygun +4 -181
  6. data/cleanup.sh +1 -6
  7. data/lib/raygun/raygun.rb +238 -0
  8. data/lib/raygun/version.rb +1 -1
  9. metadata +6 -223
  10. data/TODO.md +0 -16
  11. data/rails_32/.env +0 -8
  12. data/rails_32/.gitignore +0 -19
  13. data/rails_32/.rspec +0 -1
  14. data/rails_32/.ruby-gemset +0 -1
  15. data/rails_32/.ruby-version +0 -1
  16. data/rails_32/Gemfile +0 -54
  17. data/rails_32/Guardfile +0 -32
  18. data/rails_32/Procfile +0 -2
  19. data/rails_32/README.md +0 -69
  20. data/rails_32/Rakefile +0 -15
  21. data/rails_32/app/assets/javascripts/application.js +0 -16
  22. data/rails_32/app/assets/javascripts/users.js.coffee +0 -3
  23. data/rails_32/app/assets/stylesheets/_footer.less +0 -30
  24. data/rails_32/app/assets/stylesheets/_navbar.less +0 -5
  25. data/rails_32/app/assets/stylesheets/application.css.less +0 -3
  26. data/rails_32/app/controllers/application_controller.rb +0 -15
  27. data/rails_32/app/controllers/pages_controller.rb +0 -8
  28. data/rails_32/app/controllers/password_resets_controller.rb +0 -36
  29. data/rails_32/app/controllers/registrations_controller.rb +0 -29
  30. data/rails_32/app/controllers/user_sessions_controller.rb +0 -26
  31. data/rails_32/app/controllers/users_controller.rb +0 -41
  32. data/rails_32/app/helpers/application_helper.rb +0 -11
  33. data/rails_32/app/helpers/users_helper.rb +0 -2
  34. data/rails_32/app/mailers/.gitkeep +0 -0
  35. data/rails_32/app/mailers/user_mailer.rb +0 -19
  36. data/rails_32/app/models/.gitkeep +0 -0
  37. data/rails_32/app/models/ability.rb +0 -40
  38. data/rails_32/app/models/user.rb +0 -21
  39. data/rails_32/app/models/user_session.rb +0 -6
  40. data/rails_32/app/views/layouts/application.html.slim +0 -36
  41. data/rails_32/app/views/pages/root.html.slim +0 -9
  42. data/rails_32/app/views/password_resets/edit.html.slim +0 -15
  43. data/rails_32/app/views/password_resets/new.html.slim +0 -11
  44. data/rails_32/app/views/registrations/new.html.slim +0 -13
  45. data/rails_32/app/views/user_mailer/activation_needed_email.html.erb +0 -17
  46. data/rails_32/app/views/user_mailer/activation_needed_email.text.erb +0 -9
  47. data/rails_32/app/views/user_mailer/activation_success_email.html.erb +0 -17
  48. data/rails_32/app/views/user_mailer/activation_success_email.text.erb +0 -9
  49. data/rails_32/app/views/user_mailer/reset_password_email.html.erb +0 -16
  50. data/rails_32/app/views/user_mailer/reset_password_email.text.erb +0 -8
  51. data/rails_32/app/views/user_sessions/new.html.slim +0 -13
  52. data/rails_32/app/views/users/_form.html.slim +0 -12
  53. data/rails_32/app/views/users/edit.html.slim +0 -5
  54. data/rails_32/app/views/users/index.html.slim +0 -26
  55. data/rails_32/app/views/users/new.html.slim +0 -4
  56. data/rails_32/app/views/users/show.html.slim +0 -17
  57. data/rails_32/config/application.rb +0 -77
  58. data/rails_32/config/boot.rb +0 -6
  59. data/rails_32/config/database.yml +0 -13
  60. data/rails_32/config/environment.rb +0 -5
  61. data/rails_32/config/environments/acceptance.rb +0 -69
  62. data/rails_32/config/environments/development.rb +0 -39
  63. data/rails_32/config/environments/production.rb +0 -69
  64. data/rails_32/config/environments/test.rb +0 -42
  65. data/rails_32/config/initializers/backtrace_silencers.rb +0 -7
  66. data/rails_32/config/initializers/inflections.rb +0 -15
  67. data/rails_32/config/initializers/mailcatcher.rb +0 -15
  68. data/rails_32/config/initializers/mime_types.rb +0 -5
  69. data/rails_32/config/initializers/secret_token.rb +0 -7
  70. data/rails_32/config/initializers/session_store.rb +0 -8
  71. data/rails_32/config/initializers/simple_form.rb +0 -142
  72. data/rails_32/config/initializers/simple_form_bootstrap.rb +0 -45
  73. data/rails_32/config/initializers/sorcery.rb +0 -398
  74. data/rails_32/config/initializers/wrap_parameters.rb +0 -14
  75. data/rails_32/config/locales/en.yml +0 -5
  76. data/rails_32/config/locales/simple_form.en.yml +0 -26
  77. data/rails_32/config/routes.rb +0 -21
  78. data/rails_32/config/unicorn.rb +0 -27
  79. data/rails_32/config.ru +0 -21
  80. data/rails_32/db/migrate/20121128215324_sorcery_core.rb +0 -19
  81. data/rails_32/db/migrate/20121128215325_sorcery_brute_force_protection.rb +0 -13
  82. data/rails_32/db/migrate/20121128215326_sorcery_activity_logging.rb +0 -17
  83. data/rails_32/db/migrate/20121128215327_sorcery_user_activation.rb +0 -17
  84. data/rails_32/db/migrate/20121128215328_sorcery_remember_me.rb +0 -15
  85. data/rails_32/db/migrate/20121128215329_sorcery_reset_password.rb +0 -17
  86. data/rails_32/db/migrate/20121128215330_sorcery_external.rb +0 -14
  87. data/rails_32/db/migrate/20121128215337_add_admin_to_users.rb +0 -5
  88. data/rails_32/db/sample_data.rb +0 -24
  89. data/rails_32/db/schema.rb +0 -54
  90. data/rails_32/db/seeds.rb +0 -7
  91. data/rails_32/lib/assets/.gitkeep +0 -0
  92. data/rails_32/lib/tasks/.gitkeep +0 -0
  93. data/rails_32/lib/tasks/cane.rake +0 -30
  94. data/rails_32/lib/tasks/coverage.rake +0 -10
  95. data/rails_32/lib/tasks/db.rake +0 -7
  96. data/rails_32/lib/tasks/spec.rake +0 -35
  97. data/rails_32/lib/templates/rails/scaffold_controller/controller.rb +0 -45
  98. data/rails_32/lib/templates/rspec/scaffold/controller_spec.rb +0 -155
  99. data/rails_32/lib/templates/rspec/scaffold/edit_spec.rb +0 -18
  100. data/rails_32/lib/templates/rspec/scaffold/index_spec.rb +0 -26
  101. data/rails_32/lib/templates/rspec/scaffold/new_spec.rb +0 -18
  102. data/rails_32/lib/templates/rspec/scaffold/show_spec.rb +0 -16
  103. data/rails_32/lib/templates/slim/scaffold/_form.html.slim +0 -13
  104. data/rails_32/lib/templates/slim/scaffold/edit.html.slim +0 -5
  105. data/rails_32/lib/templates/slim/scaffold/index.html.slim +0 -28
  106. data/rails_32/lib/templates/slim/scaffold/new.html.slim +0 -4
  107. data/rails_32/lib/templates/slim/scaffold/show.html.slim +0 -17
  108. data/rails_32/log/.gitkeep +0 -0
  109. data/rails_32/public/404.html +0 -26
  110. data/rails_32/public/422.html +0 -26
  111. data/rails_32/public/500.html +0 -25
  112. data/rails_32/public/favicon.ico +0 -0
  113. data/rails_32/public/robots.txt +0 -5
  114. data/rails_32/script/rails +0 -6
  115. data/rails_32/spec/controllers/user_sessions_controller_spec.rb +0 -42
  116. data/rails_32/spec/controllers/users_controller_spec.rb +0 -150
  117. data/rails_32/spec/factories/users.rb +0 -14
  118. data/rails_32/spec/features/activation_spec.rb +0 -18
  119. data/rails_32/spec/features/password_reset_spec.rb +0 -41
  120. data/rails_32/spec/features/registration_spec.rb +0 -39
  121. data/rails_32/spec/features/sign_in_spec.rb +0 -30
  122. data/rails_32/spec/javascripts/example_spec.js.coffee +0 -20
  123. data/rails_32/spec/javascripts/spec.css +0 -3
  124. data/rails_32/spec/javascripts/spec.js.coffee +0 -2
  125. data/rails_32/spec/mailers/user_mailer_spec.rb +0 -48
  126. data/rails_32/spec/models/ability_spec.rb +0 -38
  127. data/rails_32/spec/models/user_spec.rb +0 -36
  128. data/rails_32/spec/spec_helper.rb +0 -64
  129. data/rails_32/spec/support/accept_values.rb +0 -55
  130. data/rails_32/spec/support/database_cleaner.rb +0 -24
  131. data/rails_32/spec/support/factory_girl.rb +0 -3
  132. data/rails_32/spec/support/sorcery.rb +0 -3
  133. data/rails_32/spec/support/user_sessions_feature_helper.rb +0 -21
  134. data/rails_32/spec/views/users/edit.html.slim_spec.rb +0 -16
  135. data/rails_32/spec/views/users/index.html.slim_spec.rb +0 -16
  136. data/rails_32/spec/views/users/new.html.slim_spec.rb +0 -16
  137. data/rails_32/spec/views/users/show.html.slim_spec.rb +0 -13
  138. data/rails_32/vendor/assets/javascripts/.gitkeep +0 -0
  139. data/rails_32/vendor/assets/stylesheets/.gitkeep +0 -0
  140. data/rails_32/vendor/plugins/.gitkeep +0 -0
  141. data/rails_40/.env +0 -8
  142. data/rails_40/.gitignore +0 -16
  143. data/rails_40/.rspec +0 -1
  144. data/rails_40/.ruby-gemset +0 -1
  145. data/rails_40/.ruby-version +0 -1
  146. data/rails_40/Gemfile +0 -53
  147. data/rails_40/Guardfile +0 -34
  148. data/rails_40/Procfile +0 -2
  149. data/rails_40/README.md +0 -90
  150. data/rails_40/Rakefile +0 -15
  151. data/rails_40/app/assets/javascripts/application.js +0 -17
  152. data/rails_40/app/assets/stylesheets/_footer.less +0 -30
  153. data/rails_40/app/assets/stylesheets/_navbar.less +0 -3
  154. data/rails_40/app/assets/stylesheets/application.css.less +0 -3
  155. data/rails_40/app/controllers/application_controller.rb +0 -5
  156. data/rails_40/app/controllers/concerns/.keep +0 -0
  157. data/rails_40/app/controllers/pages_controller.rb +0 -6
  158. data/rails_40/app/helpers/application_helper.rb +0 -11
  159. data/rails_40/app/mailers/.keep +0 -0
  160. data/rails_40/app/models/.keep +0 -0
  161. data/rails_40/app/models/concerns/.keep +0 -0
  162. data/rails_40/app/views/layouts/application.html.slim +0 -39
  163. data/rails_40/app/views/pages/root.html.slim +0 -13
  164. data/rails_40/bin/bundle +0 -3
  165. data/rails_40/bin/deploy.sh +0 -47
  166. data/rails_40/bin/rails +0 -4
  167. data/rails_40/bin/rake +0 -4
  168. data/rails_40/circle.yml +0 -16
  169. data/rails_40/config/application.rb +0 -36
  170. data/rails_40/config/boot.rb +0 -4
  171. data/rails_40/config/database.yml +0 -15
  172. data/rails_40/config/environment.rb +0 -5
  173. data/rails_40/config/environments/acceptance.rb +0 -8
  174. data/rails_40/config/environments/development.rb +0 -31
  175. data/rails_40/config/environments/production.rb +0 -82
  176. data/rails_40/config/environments/test.rb +0 -38
  177. data/rails_40/config/initializers/backtrace_silencers.rb +0 -7
  178. data/rails_40/config/initializers/filter_parameter_logging.rb +0 -4
  179. data/rails_40/config/initializers/inflections.rb +0 -16
  180. data/rails_40/config/initializers/mailcatcher.rb +0 -15
  181. data/rails_40/config/initializers/mime_types.rb +0 -5
  182. data/rails_40/config/initializers/secret_token.rb +0 -12
  183. data/rails_40/config/initializers/session_store.rb +0 -3
  184. data/rails_40/config/initializers/simple_form.rb +0 -142
  185. data/rails_40/config/initializers/simple_form_bootstrap.rb +0 -45
  186. data/rails_40/config/initializers/wrap_parameters.rb +0 -14
  187. data/rails_40/config/locales/en.yml +0 -23
  188. data/rails_40/config/locales/simple_form.en.yml +0 -26
  189. data/rails_40/config/routes.rb +0 -5
  190. data/rails_40/config/unicorn.rb +0 -27
  191. data/rails_40/config.ru +0 -18
  192. data/rails_40/db/sample_data.rb +0 -11
  193. data/rails_40/db/schema.rb +0 -19
  194. data/rails_40/db/seeds.rb +0 -7
  195. data/rails_40/lib/assets/.keep +0 -0
  196. data/rails_40/lib/tasks/.keep +0 -0
  197. data/rails_40/lib/tasks/coverage.rake +0 -10
  198. data/rails_40/lib/tasks/db.rake +0 -7
  199. data/rails_40/lib/tasks/spec.rake +0 -60
  200. data/rails_40/lib/templates/rails/scaffold_controller/controller.rb +0 -61
  201. data/rails_40/lib/templates/rspec/controller/controller_spec.rb +0 -16
  202. data/rails_40/lib/templates/rspec/scaffold/controller_spec.rb +0 -155
  203. data/rails_40/lib/templates/rspec/scaffold/edit_spec.rb +0 -18
  204. data/rails_40/lib/templates/rspec/scaffold/index_spec.rb +0 -26
  205. data/rails_40/lib/templates/rspec/scaffold/new_spec.rb +0 -19
  206. data/rails_40/lib/templates/rspec/scaffold/show_spec.rb +0 -16
  207. data/rails_40/lib/templates/slim/scaffold/_form.html.slim +0 -13
  208. data/rails_40/lib/templates/slim/scaffold/edit.html.slim +0 -5
  209. data/rails_40/lib/templates/slim/scaffold/index.html.slim +0 -29
  210. data/rails_40/lib/templates/slim/scaffold/new.html.slim +0 -4
  211. data/rails_40/lib/templates/slim/scaffold/show.html.slim +0 -17
  212. data/rails_40/log/.keep +0 -0
  213. data/rails_40/public/404.html +0 -58
  214. data/rails_40/public/422.html +0 -58
  215. data/rails_40/public/500.html +0 -57
  216. data/rails_40/public/favicon.ico +0 -0
  217. data/rails_40/public/robots.txt +0 -5
  218. data/rails_40/spec/controllers/pages_controller_spec.rb +0 -12
  219. data/rails_40/spec/features/pages_spec.rb +0 -18
  220. data/rails_40/spec/javascripts/example_spec.js.coffee +0 -20
  221. data/rails_40/spec/javascripts/spec.css +0 -3
  222. data/rails_40/spec/javascripts/spec.js.coffee +0 -2
  223. data/rails_40/spec/spec_helper.rb +0 -79
  224. data/rails_40/spec/support/database_cleaner.rb +0 -24
  225. data/rails_40/spec/support/factory_girl.rb +0 -3
  226. data/rails_40/vendor/assets/javascripts/.keep +0 -0
  227. data/rails_40/vendor/assets/stylesheets/.keep +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.9.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nelson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-15 00:00:00.000000000 Z
13
+ date: 2013-11-06 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Carbon Five Rails application generator
16
16
  email:
@@ -28,229 +28,12 @@ files:
28
28
  - LICENSE.txt
29
29
  - README.md
30
30
  - Rakefile
31
- - TODO.md
32
31
  - bin/raygun
33
32
  - cleanup.sh
34
33
  - lib/colorize.rb
34
+ - lib/raygun/raygun.rb
35
35
  - lib/raygun/version.rb
36
36
  - marvin.jpg
37
- - rails_32/.env
38
- - rails_32/.gitignore
39
- - rails_32/.rspec
40
- - rails_32/.ruby-gemset
41
- - rails_32/.ruby-version
42
- - rails_32/Gemfile
43
- - rails_32/Guardfile
44
- - rails_32/Procfile
45
- - rails_32/README.md
46
- - rails_32/Rakefile
47
- - rails_32/app/assets/javascripts/application.js
48
- - rails_32/app/assets/javascripts/users.js.coffee
49
- - rails_32/app/assets/stylesheets/_footer.less
50
- - rails_32/app/assets/stylesheets/_navbar.less
51
- - rails_32/app/assets/stylesheets/application.css.less
52
- - rails_32/app/controllers/application_controller.rb
53
- - rails_32/app/controllers/pages_controller.rb
54
- - rails_32/app/controllers/password_resets_controller.rb
55
- - rails_32/app/controllers/registrations_controller.rb
56
- - rails_32/app/controllers/user_sessions_controller.rb
57
- - rails_32/app/controllers/users_controller.rb
58
- - rails_32/app/helpers/application_helper.rb
59
- - rails_32/app/helpers/users_helper.rb
60
- - rails_32/app/mailers/.gitkeep
61
- - rails_32/app/mailers/user_mailer.rb
62
- - rails_32/app/models/.gitkeep
63
- - rails_32/app/models/ability.rb
64
- - rails_32/app/models/user.rb
65
- - rails_32/app/models/user_session.rb
66
- - rails_32/app/views/layouts/application.html.slim
67
- - rails_32/app/views/pages/root.html.slim
68
- - rails_32/app/views/password_resets/edit.html.slim
69
- - rails_32/app/views/password_resets/new.html.slim
70
- - rails_32/app/views/registrations/new.html.slim
71
- - rails_32/app/views/user_mailer/activation_needed_email.html.erb
72
- - rails_32/app/views/user_mailer/activation_needed_email.text.erb
73
- - rails_32/app/views/user_mailer/activation_success_email.html.erb
74
- - rails_32/app/views/user_mailer/activation_success_email.text.erb
75
- - rails_32/app/views/user_mailer/reset_password_email.html.erb
76
- - rails_32/app/views/user_mailer/reset_password_email.text.erb
77
- - rails_32/app/views/user_sessions/new.html.slim
78
- - rails_32/app/views/users/_form.html.slim
79
- - rails_32/app/views/users/edit.html.slim
80
- - rails_32/app/views/users/index.html.slim
81
- - rails_32/app/views/users/new.html.slim
82
- - rails_32/app/views/users/show.html.slim
83
- - rails_32/config.ru
84
- - rails_32/config/application.rb
85
- - rails_32/config/boot.rb
86
- - rails_32/config/database.yml
87
- - rails_32/config/environment.rb
88
- - rails_32/config/environments/acceptance.rb
89
- - rails_32/config/environments/development.rb
90
- - rails_32/config/environments/production.rb
91
- - rails_32/config/environments/test.rb
92
- - rails_32/config/initializers/backtrace_silencers.rb
93
- - rails_32/config/initializers/inflections.rb
94
- - rails_32/config/initializers/mailcatcher.rb
95
- - rails_32/config/initializers/mime_types.rb
96
- - rails_32/config/initializers/secret_token.rb
97
- - rails_32/config/initializers/session_store.rb
98
- - rails_32/config/initializers/simple_form.rb
99
- - rails_32/config/initializers/simple_form_bootstrap.rb
100
- - rails_32/config/initializers/sorcery.rb
101
- - rails_32/config/initializers/wrap_parameters.rb
102
- - rails_32/config/locales/en.yml
103
- - rails_32/config/locales/simple_form.en.yml
104
- - rails_32/config/routes.rb
105
- - rails_32/config/unicorn.rb
106
- - rails_32/db/migrate/20121128215324_sorcery_core.rb
107
- - rails_32/db/migrate/20121128215325_sorcery_brute_force_protection.rb
108
- - rails_32/db/migrate/20121128215326_sorcery_activity_logging.rb
109
- - rails_32/db/migrate/20121128215327_sorcery_user_activation.rb
110
- - rails_32/db/migrate/20121128215328_sorcery_remember_me.rb
111
- - rails_32/db/migrate/20121128215329_sorcery_reset_password.rb
112
- - rails_32/db/migrate/20121128215330_sorcery_external.rb
113
- - rails_32/db/migrate/20121128215337_add_admin_to_users.rb
114
- - rails_32/db/sample_data.rb
115
- - rails_32/db/schema.rb
116
- - rails_32/db/seeds.rb
117
- - rails_32/lib/assets/.gitkeep
118
- - rails_32/lib/tasks/.gitkeep
119
- - rails_32/lib/tasks/cane.rake
120
- - rails_32/lib/tasks/coverage.rake
121
- - rails_32/lib/tasks/db.rake
122
- - rails_32/lib/tasks/spec.rake
123
- - rails_32/lib/templates/rails/scaffold_controller/controller.rb
124
- - rails_32/lib/templates/rspec/scaffold/controller_spec.rb
125
- - rails_32/lib/templates/rspec/scaffold/edit_spec.rb
126
- - rails_32/lib/templates/rspec/scaffold/index_spec.rb
127
- - rails_32/lib/templates/rspec/scaffold/new_spec.rb
128
- - rails_32/lib/templates/rspec/scaffold/show_spec.rb
129
- - rails_32/lib/templates/slim/scaffold/_form.html.slim
130
- - rails_32/lib/templates/slim/scaffold/edit.html.slim
131
- - rails_32/lib/templates/slim/scaffold/index.html.slim
132
- - rails_32/lib/templates/slim/scaffold/new.html.slim
133
- - rails_32/lib/templates/slim/scaffold/show.html.slim
134
- - rails_32/log/.gitkeep
135
- - rails_32/public/404.html
136
- - rails_32/public/422.html
137
- - rails_32/public/500.html
138
- - rails_32/public/favicon.ico
139
- - rails_32/public/robots.txt
140
- - rails_32/script/rails
141
- - rails_32/spec/controllers/user_sessions_controller_spec.rb
142
- - rails_32/spec/controllers/users_controller_spec.rb
143
- - rails_32/spec/factories/users.rb
144
- - rails_32/spec/features/activation_spec.rb
145
- - rails_32/spec/features/password_reset_spec.rb
146
- - rails_32/spec/features/registration_spec.rb
147
- - rails_32/spec/features/sign_in_spec.rb
148
- - rails_32/spec/javascripts/example_spec.js.coffee
149
- - rails_32/spec/javascripts/spec.css
150
- - rails_32/spec/javascripts/spec.js.coffee
151
- - rails_32/spec/mailers/user_mailer_spec.rb
152
- - rails_32/spec/models/ability_spec.rb
153
- - rails_32/spec/models/user_spec.rb
154
- - rails_32/spec/spec_helper.rb
155
- - rails_32/spec/support/accept_values.rb
156
- - rails_32/spec/support/database_cleaner.rb
157
- - rails_32/spec/support/factory_girl.rb
158
- - rails_32/spec/support/sorcery.rb
159
- - rails_32/spec/support/user_sessions_feature_helper.rb
160
- - rails_32/spec/views/users/edit.html.slim_spec.rb
161
- - rails_32/spec/views/users/index.html.slim_spec.rb
162
- - rails_32/spec/views/users/new.html.slim_spec.rb
163
- - rails_32/spec/views/users/show.html.slim_spec.rb
164
- - rails_32/vendor/assets/javascripts/.gitkeep
165
- - rails_32/vendor/assets/stylesheets/.gitkeep
166
- - rails_32/vendor/plugins/.gitkeep
167
- - rails_40/.env
168
- - rails_40/.gitignore
169
- - rails_40/.rspec
170
- - rails_40/.ruby-gemset
171
- - rails_40/.ruby-version
172
- - rails_40/Gemfile
173
- - rails_40/Guardfile
174
- - rails_40/Procfile
175
- - rails_40/README.md
176
- - rails_40/Rakefile
177
- - rails_40/app/assets/javascripts/application.js
178
- - rails_40/app/assets/stylesheets/_footer.less
179
- - rails_40/app/assets/stylesheets/_navbar.less
180
- - rails_40/app/assets/stylesheets/application.css.less
181
- - rails_40/app/controllers/application_controller.rb
182
- - rails_40/app/controllers/concerns/.keep
183
- - rails_40/app/controllers/pages_controller.rb
184
- - rails_40/app/helpers/application_helper.rb
185
- - rails_40/app/mailers/.keep
186
- - rails_40/app/models/.keep
187
- - rails_40/app/models/concerns/.keep
188
- - rails_40/app/views/layouts/application.html.slim
189
- - rails_40/app/views/pages/root.html.slim
190
- - rails_40/bin/bundle
191
- - rails_40/bin/deploy.sh
192
- - rails_40/bin/rails
193
- - rails_40/bin/rake
194
- - rails_40/circle.yml
195
- - rails_40/config.ru
196
- - rails_40/config/application.rb
197
- - rails_40/config/boot.rb
198
- - rails_40/config/database.yml
199
- - rails_40/config/environment.rb
200
- - rails_40/config/environments/acceptance.rb
201
- - rails_40/config/environments/development.rb
202
- - rails_40/config/environments/production.rb
203
- - rails_40/config/environments/test.rb
204
- - rails_40/config/initializers/backtrace_silencers.rb
205
- - rails_40/config/initializers/filter_parameter_logging.rb
206
- - rails_40/config/initializers/inflections.rb
207
- - rails_40/config/initializers/mailcatcher.rb
208
- - rails_40/config/initializers/mime_types.rb
209
- - rails_40/config/initializers/secret_token.rb
210
- - rails_40/config/initializers/session_store.rb
211
- - rails_40/config/initializers/simple_form.rb
212
- - rails_40/config/initializers/simple_form_bootstrap.rb
213
- - rails_40/config/initializers/wrap_parameters.rb
214
- - rails_40/config/locales/en.yml
215
- - rails_40/config/locales/simple_form.en.yml
216
- - rails_40/config/routes.rb
217
- - rails_40/config/unicorn.rb
218
- - rails_40/db/sample_data.rb
219
- - rails_40/db/schema.rb
220
- - rails_40/db/seeds.rb
221
- - rails_40/lib/assets/.keep
222
- - rails_40/lib/tasks/.keep
223
- - rails_40/lib/tasks/coverage.rake
224
- - rails_40/lib/tasks/db.rake
225
- - rails_40/lib/tasks/spec.rake
226
- - rails_40/lib/templates/rails/scaffold_controller/controller.rb
227
- - rails_40/lib/templates/rspec/controller/controller_spec.rb
228
- - rails_40/lib/templates/rspec/scaffold/controller_spec.rb
229
- - rails_40/lib/templates/rspec/scaffold/edit_spec.rb
230
- - rails_40/lib/templates/rspec/scaffold/index_spec.rb
231
- - rails_40/lib/templates/rspec/scaffold/new_spec.rb
232
- - rails_40/lib/templates/rspec/scaffold/show_spec.rb
233
- - rails_40/lib/templates/slim/scaffold/_form.html.slim
234
- - rails_40/lib/templates/slim/scaffold/edit.html.slim
235
- - rails_40/lib/templates/slim/scaffold/index.html.slim
236
- - rails_40/lib/templates/slim/scaffold/new.html.slim
237
- - rails_40/lib/templates/slim/scaffold/show.html.slim
238
- - rails_40/log/.keep
239
- - rails_40/public/404.html
240
- - rails_40/public/422.html
241
- - rails_40/public/500.html
242
- - rails_40/public/favicon.ico
243
- - rails_40/public/robots.txt
244
- - rails_40/spec/controllers/pages_controller_spec.rb
245
- - rails_40/spec/features/pages_spec.rb
246
- - rails_40/spec/javascripts/example_spec.js.coffee
247
- - rails_40/spec/javascripts/spec.css
248
- - rails_40/spec/javascripts/spec.js.coffee
249
- - rails_40/spec/spec_helper.rb
250
- - rails_40/spec/support/database_cleaner.rb
251
- - rails_40/spec/support/factory_girl.rb
252
- - rails_40/vendor/assets/javascripts/.keep
253
- - rails_40/vendor/assets/stylesheets/.keep
254
37
  - raygun.gemspec
255
38
  homepage: https://github.com/carbonfive/raygun
256
39
  licenses: []
@@ -266,12 +49,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
266
49
  version: '0'
267
50
  required_rubygems_version: !ruby/object:Gem::Requirement
268
51
  requirements:
269
- - - '>='
52
+ - - '>'
270
53
  - !ruby/object:Gem::Version
271
- version: '0'
54
+ version: 1.3.1
272
55
  requirements: []
273
56
  rubyforge_project:
274
- rubygems_version: 2.0.6
57
+ rubygems_version: 2.0.3
275
58
  signing_key:
276
59
  specification_version: 4
277
60
  summary: Generates and customizes Rails applications with Carbon Five best practices
data/TODO.md DELETED
@@ -1,16 +0,0 @@
1
- # TODOs
2
-
3
- Looking for inspiration? Here are some ideas for things that still could be done. Don't forget to check the open issus too.
4
-
5
- * Automated testing of raygun (e.g. generate an app and run its specs?)
6
- * Invite user flow
7
- * Continue to improve bootstrap view templates
8
- * JS/coffeescript best practices
9
- * Add pagination to the default index scaffold (kaminari)
10
- * Use foreigner for database constraints
11
- * Fast tests best practices
12
- * Paperclip + S3 configuration
13
- * Application monitoring
14
- * Analytics
15
- * One step configuration for Heroku (production and acceptance)
16
- * One step configuration on CI
data/rails_32/.env DELETED
@@ -1,8 +0,0 @@
1
- # Set environment variables needed for development here. These values will be
2
- # used unless they're already set.
3
- #
4
- # http://ddollar.github.com/foreman/#ENVIRONMENT
5
-
6
- PORT=3000
7
- UNICORN_WORKERS=3
8
- UNICORN_BACKLOG=16
data/rails_32/.gitignore DELETED
@@ -1,19 +0,0 @@
1
- # See http://help.github.com/ignore-files/ for more about ignoring files.
2
- #
3
- # If you find yourself ignoring temporary files generated by your text editor
4
- # or operating system, you probably want to add a global ignore instead:
5
- # git config --global core.excludesfile ~/.gitignore_global
6
-
7
- # Ignore bundler config
8
- /.bundle
9
- /gem_graph.png
10
-
11
- # Ignore the default SQLite database
12
- /db/*.sqlite3
13
-
14
- # Ignore all logfiles and tempfiles
15
- /log/*.log
16
- /tmp
17
-
18
- # Ignore coverage data.
19
- /coverage
data/rails_32/.rspec DELETED
@@ -1 +0,0 @@
1
- --color
@@ -1 +0,0 @@
1
- app-prototype
@@ -1 +0,0 @@
1
- 2.0.0-p247
data/rails_32/Gemfile DELETED
@@ -1,54 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Heroku uses the ruby version to configure your application's runtime.
4
- ruby '2.0.0'
5
-
6
- gem 'unicorn'
7
- gem 'rack-canonical-host'
8
- gem 'rails', '~> 3.2.13'
9
- gem 'slim-rails'
10
- gem 'jquery-rails'
11
- gem 'sorcery'
12
- gem 'cancan'
13
- gem 'simple_form'
14
- gem 'active_attr'
15
- gem 'valid_email'
16
- gem 'pg'
17
- gem 'awesome_print'
18
-
19
- group :assets do
20
- gem 'less-rails'
21
- gem 'less-rails-bootstrap'
22
- gem 'coffee-rails'
23
- gem 'uglifier'
24
-
25
- # Heroku suggests that these gems aren't necessary, but they're required to compile less assets on deploy.
26
- gem 'therubyracer'
27
- gem 'libv8', '~> 3.11.8'
28
- end
29
-
30
- group :test, :development do
31
- gem 'rspec-rails'
32
- gem 'capybara'
33
- gem 'capybara-email'
34
- gem 'database_cleaner'
35
- gem 'factory_girl_rails'
36
- gem 'jasminerice'
37
- gem 'timecop'
38
- gem 'simplecov'
39
- gem 'cane'
40
- gem 'morecane'
41
- gem 'quiet_assets'
42
- end
43
-
44
- group :development do
45
- gem 'foreman'
46
- gem 'launchy'
47
- gem 'mailcatcher'
48
- gem 'guard'
49
- gem 'guard-rspec'
50
- gem 'guard-jasmine'
51
- gem 'guard-livereload'
52
- gem 'rb-fsevent'
53
- gem 'growl'
54
- end
data/rails_32/Guardfile DELETED
@@ -1,32 +0,0 @@
1
- # More info at https://github.com/guard/guard#readme
2
-
3
- guard :livereload do
4
- watch(%r{app/views/.+\.slim$})
5
- watch(%r{app/helpers/.+\.rb})
6
- watch(%r{public/.+\.(css|js|html)})
7
- watch(%r{config/locales/.+\.yml})
8
- # Rails Assets Pipeline
9
- watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html))).*}) { |m| "/assets/#{m[3]}" }
10
- end
11
-
12
- guard :rspec do
13
- watch(%r{^spec/.+_spec\.rb$})
14
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
15
- watch('spec/spec_helper.rb') { "spec" }
16
-
17
- # Rails example
18
- watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
19
- watch(%r{^app/(.*)(\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
20
- watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/requests/#{m[1]}_spec.rb"] }
21
- watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
22
- watch('app/controllers/application_controller.rb') { "spec/controllers" }
23
-
24
- # Capybara request specs
25
- watch(%r{^app/views/(.+)/.*(\.slim)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
26
- end
27
-
28
- guard :jasmine do
29
- watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
30
- watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
31
- watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
32
- end
data/rails_32/Procfile DELETED
@@ -1,2 +0,0 @@
1
- web: bundle exec unicorn -c ./config/unicorn.rb
2
- #worker: bundle exec rake jobs:work
data/rails_32/README.md DELETED
@@ -1,69 +0,0 @@
1
- # App Prototype
2
-
3
- ...
4
-
5
- Generated with [Raygun](https://github.com/carbonfive/raygun).
6
-
7
- # Requirements
8
-
9
- To run the specs or fire up the server, be sure you have these:
10
-
11
- * Ruby 2.0.0-p247
12
- * PostgreSQL 9.x with superuser 'postgres' with no password (```createuser -s postgres```)
13
- * PhantomJS for JavaScript testing (```brew install phantomjs```)
14
-
15
- # Development
16
-
17
- ### First Time Setup
18
-
19
- After cloning, run these commands to install missing gems and prepare the database.
20
-
21
- $ gem install bundler
22
- $ bundle update
23
- $ rake db:setup db:sample_data
24
-
25
- Note, ```rake db:sample_data``` loads a small set of data for development. Check out ```db/sample_data.rb``` for details.
26
-
27
- ### Running the Specs
28
-
29
- To run all ruby and jasmine specs.
30
-
31
- $ rake
32
-
33
- Again, with coverage for the ruby specs:
34
-
35
- $ rake spec:coverage
36
-
37
- ### Running the Application Locally
38
-
39
- $ foreman start
40
- $ open http://0.0.0.0:3000
41
-
42
- ### Using Guard
43
-
44
- Guard is configured to run ruby and jasmine specs, and also listen for livereload connections. Growl is used for notifications.
45
-
46
- $ bundle exec guard
47
-
48
- ### Deploying to Heroku
49
-
50
- Install the heroku toolbelt if you don't already have it (https://toolbelt.heroku.com/).
51
-
52
- $ heroku apps:create app-prototype
53
- $ git push heroku master
54
- $ heroku run rake db:setup
55
-
56
- ### Environment Variables
57
-
58
- Several common features and operational parameters can be set using environment variables. These are all optional.
59
-
60
- * ```HOSTNAME``` - Canonical hostname for this application. Other incoming requests will be redirected to this hostname.
61
- * ```BASIC_AUTH_PASSWORD``` - Enable basic auth with this password.
62
- * ```BASIC_AUTH_USER``` - Set a basic auth username (not required, password enables basic auth).
63
- * ```PORT``` - Port to listen on (default: 3000).
64
- * ```UNICORN_WORKERS``` - Number of unicorn workers to spawn (default: development 1, otherwisee 3) .
65
- * ```UNICORN_BACKLOG``` - Depth of unicorn backlog (default: 16).
66
-
67
- # Considerations
68
-
69
- ...
data/rails_32/Rakefile DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env rake
2
- # Add your own tasks in files placed in lib/tasks ending in .rake,
3
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
-
5
- require File.expand_path('../config/application', __FILE__)
6
-
7
- AppPrototype::Application.load_tasks
8
-
9
- # Disable schema.sql generation, unless we're in development.
10
- # http://stackoverflow.com/questions/12413306/error-when-doing-rake-dbmigrate-on-heroku
11
- Rake::Task['db:structure:dump'].clear unless Rails.env.development?
12
-
13
- # Spec is the default rake target.
14
- task(:default).clear
15
- task default: 'spec'
@@ -1,16 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
9
- //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require twitter/bootstrap
16
- //= require_tree .
@@ -1,3 +0,0 @@
1
- # Place all the behaviors and hooks related to the matching controller here.
2
- # All this logic will automatically be available in application.js.
3
- # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
@@ -1,30 +0,0 @@
1
- @footerHeight: 30px;
2
-
3
- html, body {
4
- height: 100%;
5
- }
6
-
7
- .wrapper {
8
- min-height: 100%;
9
- height: auto !important;
10
- height: 100%;
11
- margin: 0 auto -(@footerHeight + 1);
12
- }
13
-
14
- .push {
15
- height: @footerHeight + 20px; // The extra prevents content from bumping right into our footer.
16
- }
17
-
18
- footer {
19
- height: @footerHeight;
20
- line-height: @footerHeight;
21
-
22
- .container {
23
- border-top: 1px solid @grayLighter;
24
- }
25
-
26
- p {
27
- margin: 0;
28
- color: @grayLight;
29
- }
30
- }
@@ -1,5 +0,0 @@
1
- // Navbar
2
-
3
- .wrapper > .container {
4
- padding-top: 60px; // Push the content down so that it's below our pinned navbar.
5
- }
@@ -1,3 +0,0 @@
1
- @import 'twitter/bootstrap';
2
- @import '_navbar';
3
- @import '_footer';
@@ -1,15 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
-
3
- # Uncomment to require auth on all actions (and opt-out when necessary).
4
- # before_filter :require_login, except: [:not_authenticated]
5
-
6
- protect_from_forgery
7
- check_authorization
8
-
9
- protected
10
-
11
- def not_authenticated
12
- redirect_to sign_in_path, alert: "Please sign in first."
13
- end
14
-
15
- end
@@ -1,8 +0,0 @@
1
- class PagesController < ApplicationController
2
-
3
- skip_authorization_check
4
-
5
- def root
6
- end
7
-
8
- end
@@ -1,36 +0,0 @@
1
- class PasswordResetsController < ApplicationController
2
-
3
- skip_before_filter :require_login
4
- skip_authorization_check
5
-
6
- def create
7
- @user = User.find_by_email(params[:email])
8
-
9
- # Send an email to the user with instructions on how to reset their password.
10
- @user.deliver_reset_password_instructions! if @user
11
-
12
- # Tell the user instructions have been sent whether or not email was found.
13
- # This is to not leak information to attackers about which emails exist in the system.
14
- redirect_to sign_in_path, notice: "Password reset instructions have been sent to your email."
15
- end
16
-
17
- def edit
18
- @token = params[:token]
19
- @user = User.load_from_reset_password_token(@token)
20
- not_authenticated if !@user
21
- end
22
-
23
- def update
24
- @token = params[:token] # needed to render the form again in case of error
25
- @user = User.load_from_reset_password_token(@token)
26
- not_authenticated if !@user
27
-
28
- # Clear the temporary token and update the password.
29
- if @user.change_password!(params[:user][:password])
30
- redirect_to sign_in_path, notice: "Password was successfully updated."
31
- else
32
- render action: 'edit'
33
- end
34
- end
35
-
36
- end
@@ -1,29 +0,0 @@
1
- class RegistrationsController < ApplicationController
2
-
3
- skip_authorization_check
4
-
5
- def new
6
- @user = User.new
7
- end
8
-
9
- def create
10
- @user = User.new(params[:user]) # TODO Safe attributes
11
-
12
- if @user.save
13
- redirect_to sign_in_path, notice: "Thanks for signing up. Please check your email for activation instructions."
14
- else
15
- render action: 'new'
16
- end
17
- end
18
-
19
- def activate
20
- if (@user = User.load_from_activation_token(params[:token]))
21
- @user.activate!
22
- auto_login @user
23
- redirect_to sign_in_path, notice: "Your account has been activated and you're now signed in. Enjoy!"
24
- else
25
- not_authenticated
26
- end
27
- end
28
-
29
- end