raygun 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/.ruby-gemset +1 -0
  2. data/.ruby-version +1 -1
  3. data/CHANGES.md +7 -0
  4. data/README.md +3 -1
  5. data/bin/raygun +67 -44
  6. data/cleanup.sh +5 -0
  7. data/lib/colorize.rb +194 -0
  8. data/lib/raygun/version.rb +1 -1
  9. data/rails_32/.ruby-gemset +1 -0
  10. data/rails_32/Gemfile +1 -0
  11. data/rails_32/spec/spec_helper.rb +1 -17
  12. data/rails_32/spec/support/database_cleaner.rb +24 -0
  13. data/rails_40/.env +8 -0
  14. data/rails_40/.gitignore +16 -0
  15. data/rails_40/.rspec +1 -0
  16. data/rails_40/.ruby-gemset +1 -0
  17. data/rails_40/.ruby-version +1 -0
  18. data/rails_40/Gemfile +53 -0
  19. data/rails_40/Guardfile +32 -0
  20. data/rails_40/Procfile +2 -0
  21. data/rails_40/README.md +66 -0
  22. data/rails_40/Rakefile +15 -0
  23. data/rails_40/app/assets/javascripts/application.js +17 -0
  24. data/rails_40/app/assets/stylesheets/_footer.less +30 -0
  25. data/rails_40/app/assets/stylesheets/_navbar.less +5 -0
  26. data/rails_40/app/assets/stylesheets/application.css.less +3 -0
  27. data/rails_40/app/controllers/application_controller.rb +5 -0
  28. data/rails_40/app/controllers/concerns/.keep +0 -0
  29. data/rails_40/app/controllers/pages_controller.rb +6 -0
  30. data/rails_40/app/helpers/application_helper.rb +11 -0
  31. data/rails_40/app/mailers/.keep +0 -0
  32. data/rails_40/app/models/.keep +0 -0
  33. data/rails_40/app/models/concerns/.keep +0 -0
  34. data/rails_40/app/views/layouts/application.html.slim +36 -0
  35. data/rails_40/app/views/pages/root.html.slim +12 -0
  36. data/rails_40/bin/bundle +3 -0
  37. data/rails_40/bin/rails +4 -0
  38. data/rails_40/bin/rake +4 -0
  39. data/rails_40/config/application.rb +36 -0
  40. data/rails_40/config/boot.rb +4 -0
  41. data/rails_40/config/database.yml +15 -0
  42. data/rails_40/config/environment.rb +5 -0
  43. data/rails_40/config/environments/acceptance.rb +82 -0
  44. data/rails_40/config/environments/development.rb +31 -0
  45. data/rails_40/config/environments/production.rb +82 -0
  46. data/rails_40/config/environments/test.rb +38 -0
  47. data/rails_40/config/initializers/backtrace_silencers.rb +7 -0
  48. data/rails_40/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/rails_40/config/initializers/inflections.rb +16 -0
  50. data/rails_40/config/initializers/mailcacher.rb +15 -0
  51. data/rails_40/config/initializers/mime_types.rb +5 -0
  52. data/rails_40/config/initializers/secret_token.rb +12 -0
  53. data/rails_40/config/initializers/session_store.rb +3 -0
  54. data/rails_40/config/initializers/simple_form.rb +142 -0
  55. data/rails_40/config/initializers/simple_form_bootstrap.rb +45 -0
  56. data/rails_40/config/initializers/wrap_parameters.rb +14 -0
  57. data/rails_40/config/locales/en.yml +23 -0
  58. data/rails_40/config/locales/simple_form.en.yml +26 -0
  59. data/rails_40/config/routes.rb +5 -0
  60. data/rails_40/config/unicorn.rb +27 -0
  61. data/rails_40/config.ru +18 -0
  62. data/rails_40/db/sample_data.rb +11 -0
  63. data/rails_40/db/schema.rb +19 -0
  64. data/rails_40/db/seeds.rb +7 -0
  65. data/rails_40/lib/assets/.keep +0 -0
  66. data/rails_40/lib/tasks/.keep +0 -0
  67. data/rails_40/lib/tasks/coverage.rake +10 -0
  68. data/rails_40/lib/tasks/db.rake +7 -0
  69. data/rails_40/lib/tasks/spec.rake +23 -0
  70. data/rails_40/lib/templates/rails/scaffold_controller/controller.rb +61 -0
  71. data/rails_40/lib/templates/rspec/controller/controller_spec.rb +16 -0
  72. data/rails_40/lib/templates/rspec/scaffold/controller_spec.rb +155 -0
  73. data/rails_40/lib/templates/rspec/scaffold/edit_spec.rb +18 -0
  74. data/rails_40/lib/templates/rspec/scaffold/index_spec.rb +26 -0
  75. data/rails_40/lib/templates/rspec/scaffold/new_spec.rb +19 -0
  76. data/rails_40/lib/templates/rspec/scaffold/show_spec.rb +16 -0
  77. data/rails_40/lib/templates/slim/scaffold/_form.html.slim +13 -0
  78. data/rails_40/lib/templates/slim/scaffold/edit.html.slim +5 -0
  79. data/rails_40/lib/templates/slim/scaffold/index.html.slim +29 -0
  80. data/rails_40/lib/templates/slim/scaffold/new.html.slim +4 -0
  81. data/rails_40/lib/templates/slim/scaffold/show.html.slim +17 -0
  82. data/rails_40/log/.keep +0 -0
  83. data/rails_40/public/404.html +58 -0
  84. data/rails_40/public/422.html +58 -0
  85. data/rails_40/public/500.html +57 -0
  86. data/rails_40/public/favicon.ico +0 -0
  87. data/rails_40/public/robots.txt +5 -0
  88. data/rails_40/spec/controllers/pages_controller_spec.rb +12 -0
  89. data/rails_40/spec/features/pages_spec.rb +18 -0
  90. data/rails_40/spec/spec_helper.rb +79 -0
  91. data/rails_40/spec/support/database_cleaner.rb +24 -0
  92. data/rails_40/spec/support/factory_girl.rb +3 -0
  93. data/rails_40/vendor/assets/javascripts/.keep +0 -0
  94. data/rails_40/vendor/assets/stylesheets/.keep +0 -0
  95. metadata +88 -6
  96. data/.rvmrc +0 -1
  97. data/app_prototype/config/routes.rb +0 -21
  98. data/app_prototype/db/schema.rb +0 -54
  99. data/rails_32/.rvmrc +0 -1
@@ -0,0 +1,26 @@
1
+ require 'spec_helper'
2
+
3
+ <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
4
+ describe "<%= ns_table_name %>/index" do
5
+ before(:each) do
6
+ assign(:<%= table_name %>, [
7
+ <% [1,2].each_with_index do |id, model_index| -%>
8
+ build_stubbed(:<%= class_name.underscore %><%= output_attributes.empty? ? (model_index == 1 ? ')' : '),') : ',' %>
9
+ <% output_attributes.each_with_index do |attribute, attribute_index| -%>
10
+ <%= attribute.name %>: <%= value_for(attribute) %><%= attribute_index == output_attributes.length - 1 ? '' : ','%>
11
+ <% end -%>
12
+ <% if !output_attributes.empty? -%>
13
+ <%= model_index == 1 ? ')' : '),' %>
14
+ <% end -%>
15
+ <% end -%>
16
+ ])
17
+ end
18
+
19
+ it "renders a list of <%= ns_table_name %>" do
20
+ render
21
+
22
+ <% for attribute in output_attributes -%>
23
+ assert_select "tr>td", text: <%= value_for(attribute) %>.to_s, count: 2
24
+ <% end -%>
25
+ end
26
+ end
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
4
+ describe "<%= ns_table_name %>/new" do
5
+ before(:each) do
6
+ assign(:<%= ns_file_name %>, build_stubbed(:<%= class_name.underscore %>))
7
+ end
8
+
9
+ it "renders new <%= ns_file_name %> form" do
10
+ render
11
+
12
+ assert_select "form", action: <%= index_helper %>_path, method: "post" do
13
+ <% for attribute in output_attributes -%>
14
+ assert_select "<%= attribute.input_type -%>#<%= ns_file_name %>_<%= attribute.name %>", name: "<%= ns_file_name %>[<%= attribute.name %>]"
15
+ <% end -%>
16
+ end
17
+ end
18
+ end
19
+
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
4
+ describe "<%= ns_table_name %>/show" do
5
+ before(:each) do
6
+ @<%= ns_file_name %> = assign(:<%= ns_file_name %>, build_stubbed(:<%= class_name.underscore %>))
7
+ end
8
+
9
+ it "renders attributes" do
10
+ render
11
+
12
+ <% for attribute in output_attributes -%>
13
+ expect(rendered).to match(/<%= eval(value_for(attribute)) %>/)
14
+ <% end -%>
15
+ end
16
+ end
@@ -0,0 +1,13 @@
1
+ = simple_form_for(@<%= singular_table_name %>) do |f|
2
+ = f.error_notification
3
+
4
+ .form-inputs
5
+ <%- attributes.each_with_index do |attribute, i| -%>
6
+ = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %><%= ', autofocus: true' if i == 0 %>
7
+ <%- end -%>
8
+
9
+ .form-actions
10
+ = f.button :submit, class: 'btn btn-primary'
11
+ '
12
+ = link_to 'Back', <%= index_helper %>_path, class: 'btn'
13
+
@@ -0,0 +1,5 @@
1
+ .page-header
2
+ h1 Editing <%= singular_table_name %>
3
+
4
+ == render 'form'
5
+
@@ -0,0 +1,29 @@
1
+ div.page-header
2
+ h1 Listing <%= plural_table_name %>
3
+
4
+ table.table.table-striped
5
+ thead
6
+ tr
7
+ th ID
8
+ <% attributes.each do |attribute| -%>
9
+ th <%= attribute.human_name %>
10
+ <% end -%>
11
+ th Actions
12
+
13
+ tbody
14
+ - @<%= plural_table_name %>.each do |<%= singular_table_name %>|
15
+ tr
16
+ /td= link_to_if can?(:show, <%= singular_table_name %>), <%= singular_table_name %>.id, <%= singular_table_name %>_path(<%= singular_table_name %>)
17
+ td= link_to <%= singular_table_name %>.id, <%= singular_table_name %>_path(<%= singular_table_name %>)
18
+ <% attributes.each do |attribute| -%>
19
+ td= <%= singular_table_name %>.<%= attribute.name %>
20
+ <% end -%>
21
+ td
22
+ /- if can? :edit, <%= singular_table_name %>
23
+ = link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>), class: 'btn btn-mini'
24
+ '
25
+ /- if can? :destroy, <%= singular_table_name %>
26
+ = link_to 'Destroy', <%= singular_table_name %>_path(<%= singular_table_name %>), method: :delete, data: { confirm: "Are you sure?" }, class: 'btn btn-mini btn-danger'
27
+
28
+ /- if can? :create, <%= singular_table_name.classify %>
29
+ = link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path, class: 'btn btn-primary'
@@ -0,0 +1,4 @@
1
+ .page-header
2
+ h1 Create <%= singular_table_name %>
3
+
4
+ == render 'form'
@@ -0,0 +1,17 @@
1
+ .page-header
2
+ h1 <%= singular_table_name.capitalize %>
3
+
4
+ dl
5
+ <% attributes.each do |attribute| -%>
6
+ dt <%= attribute.human_name %>
7
+ dd= @<%= singular_table_name %>.<%= attribute.name %>
8
+ <% end -%>
9
+
10
+ /- if can?(:edit, @<%= singular_table_name %>)
11
+ = link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'btn'
12
+ '
13
+ = link_to 'Back', <%= index_helper %>_path, class: 'btn'
14
+
15
+ /- if can?(:destroy, @<%= singular_table_name %>)
16
+ '
17
+ = link_to'Destroy', <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete, data: { confirm: "Are you sure?" }, class: 'btn btn-danger'
File without changes
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ describe PagesController do
4
+
5
+ describe "GET 'root'" do
6
+ it "returns http success" do
7
+ get 'root'
8
+ expect(response).to be_success
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,18 @@
1
+ require 'spec_helper'
2
+
3
+ feature "Static Pages" do
4
+
5
+ # Here's a placeholder feature spec to use as an example, uses the default driver.
6
+ scenario "/ should include the application name in its title" do
7
+ visit root_path
8
+
9
+ expect(page).to have_title "App Prototype"
10
+ end
11
+
12
+ # Another contrived example, this one relies on the javascript driver.
13
+ scenario "/ should include the warm closing text 'Enjoy!'", js: true do
14
+ visit root_path
15
+
16
+ expect(page).to have_content "Enjoy!"
17
+ end
18
+ end
@@ -0,0 +1,79 @@
1
+ # Coverage must be enabled before the application is loaded.
2
+ if ENV['COVERAGE']
3
+ require 'simplecov'
4
+
5
+ # Writes the coverage stat to a file to be used by Cane.
6
+ class SimpleCov::Formatter::QualityFormatter
7
+ def format(result)
8
+ SimpleCov::Formatter::HTMLFormatter.new.format(result)
9
+ File.open('coverage/covered_percent', 'w') do |f|
10
+ f.puts result.source_files.covered_percent.to_f
11
+ end
12
+ end
13
+ end
14
+ SimpleCov.formatter = SimpleCov::Formatter::QualityFormatter
15
+
16
+ SimpleCov.start do
17
+ add_filter '/spec/'
18
+ add_filter '/config/'
19
+ add_filter '/vendor/'
20
+ add_group 'Models', 'app/models'
21
+ add_group 'Controllers', 'app/controllers'
22
+ add_group 'Helpers', 'app/helpers'
23
+ add_group 'Views', 'app/views'
24
+ add_group 'Mailers', 'app/mailers'
25
+ end
26
+ end
27
+
28
+
29
+ ENV['RAILS_ENV'] ||= 'test'
30
+
31
+ require File.expand_path('../../config/environment', __FILE__)
32
+ require 'rspec/rails'
33
+ require 'rspec/autorun'
34
+
35
+ # Requires supporting ruby files with custom matchers and macros, etc,
36
+ # in spec/support/ and its subdirectories.
37
+ Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
38
+
39
+ require 'capybara/poltergeist'
40
+
41
+ Capybara.register_driver :poltergeist do |app|
42
+ Capybara::Poltergeist::Driver.new(app, js_errors: true, inspector: true)
43
+ end
44
+
45
+ Capybara.default_driver = :rack_test
46
+ Capybara.javascript_driver = :poltergeist
47
+
48
+ # Checks for pending migrations before tests are run.
49
+ # If you are not using ActiveRecord, you can remove this line.
50
+ ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
51
+
52
+ RSpec.configure do |config|
53
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
54
+ #config.fixture_path = "#{::Rails.root}/spec/fixtures"
55
+
56
+ # See database_cleaner.rb for details.
57
+ config.use_transactional_fixtures = false
58
+
59
+ # If true, the base class of anonymous controllers will be inferred
60
+ # automatically. This will be the default behavior in future versions of
61
+ # rspec-rails.
62
+ config.infer_base_class_for_anonymous_controllers = false
63
+
64
+ # Use the new expect() syntax.
65
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
66
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
67
+ config.expect_with :rspec do |c|
68
+ c.syntax = :expect
69
+ end
70
+
71
+ # Run specs in random order to surface order dependencies. If you find an
72
+ # order dependency and want to debug it, you can fix the order by providing
73
+ # the seed, which is printed after each run.
74
+ # --seed 1234
75
+ config.order = 'random'
76
+ end
77
+
78
+ # Turn down the logging while testing.
79
+ Rails.logger.level = 4
@@ -0,0 +1,24 @@
1
+ # Good read on using database_cleaner (in lieu of a shared connection):
2
+ # - http://devblog.avdi.org/2012/08/31/configuring-database_cleaner-with-rails-rspec-capybara-and-selenium/
3
+
4
+ RSpec.configure do |config|
5
+ config.before(:suite) do
6
+ DatabaseCleaner.clean_with(:truncation)
7
+ end
8
+
9
+ config.before(:each) do
10
+ DatabaseCleaner.strategy = :transaction
11
+ end
12
+
13
+ config.before(:each, js: true) do
14
+ DatabaseCleaner.strategy = :truncation
15
+ end
16
+
17
+ config.before(:each) do
18
+ DatabaseCleaner.start
19
+ end
20
+
21
+ config.after(:each) do
22
+ DatabaseCleaner.clean
23
+ end
24
+ end
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryGirl::Syntax::Methods
3
+ end
File without changes
File without changes
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.28
4
+ version: 0.0.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-03-26 00:00:00.000000000 Z
14
+ date: 2013-06-14 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: Carbon Five Rails application generator
17
17
  email:
@@ -22,25 +22,24 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
  files:
24
24
  - .gitignore
25
+ - .ruby-gemset
25
26
  - .ruby-version
26
- - .rvmrc
27
27
  - CHANGES.md
28
28
  - Gemfile
29
29
  - LICENSE.txt
30
30
  - README.md
31
31
  - Rakefile
32
32
  - TODO.md
33
- - app_prototype/config/routes.rb
34
- - app_prototype/db/schema.rb
35
33
  - bin/raygun
36
34
  - cleanup.sh
35
+ - lib/colorize.rb
37
36
  - lib/raygun/version.rb
38
37
  - marvin.jpg
39
38
  - rails_32/.env
40
39
  - rails_32/.gitignore
41
40
  - rails_32/.rspec
41
+ - rails_32/.ruby-gemset
42
42
  - rails_32/.ruby-version
43
- - rails_32/.rvmrc
44
43
  - rails_32/Gemfile
45
44
  - rails_32/Guardfile
46
45
  - rails_32/Procfile
@@ -155,6 +154,7 @@ files:
155
154
  - rails_32/spec/models/user_spec.rb
156
155
  - rails_32/spec/spec_helper.rb
157
156
  - rails_32/spec/support/accept_values.rb
157
+ - rails_32/spec/support/database_cleaner.rb
158
158
  - rails_32/spec/support/factory_girl.rb
159
159
  - rails_32/spec/support/sorcery.rb
160
160
  - rails_32/spec/support/user_sessions_feature_helper.rb
@@ -165,6 +165,88 @@ files:
165
165
  - rails_32/vendor/assets/javascripts/.gitkeep
166
166
  - rails_32/vendor/assets/stylesheets/.gitkeep
167
167
  - rails_32/vendor/plugins/.gitkeep
168
+ - rails_40/.env
169
+ - rails_40/.gitignore
170
+ - rails_40/.rspec
171
+ - rails_40/.ruby-gemset
172
+ - rails_40/.ruby-version
173
+ - rails_40/Gemfile
174
+ - rails_40/Guardfile
175
+ - rails_40/Procfile
176
+ - rails_40/README.md
177
+ - rails_40/Rakefile
178
+ - rails_40/app/assets/javascripts/application.js
179
+ - rails_40/app/assets/stylesheets/_footer.less
180
+ - rails_40/app/assets/stylesheets/_navbar.less
181
+ - rails_40/app/assets/stylesheets/application.css.less
182
+ - rails_40/app/controllers/application_controller.rb
183
+ - rails_40/app/controllers/concerns/.keep
184
+ - rails_40/app/controllers/pages_controller.rb
185
+ - rails_40/app/helpers/application_helper.rb
186
+ - rails_40/app/mailers/.keep
187
+ - rails_40/app/models/.keep
188
+ - rails_40/app/models/concerns/.keep
189
+ - rails_40/app/views/layouts/application.html.slim
190
+ - rails_40/app/views/pages/root.html.slim
191
+ - rails_40/bin/bundle
192
+ - rails_40/bin/rails
193
+ - rails_40/bin/rake
194
+ - rails_40/config.ru
195
+ - rails_40/config/application.rb
196
+ - rails_40/config/boot.rb
197
+ - rails_40/config/database.yml
198
+ - rails_40/config/environment.rb
199
+ - rails_40/config/environments/acceptance.rb
200
+ - rails_40/config/environments/development.rb
201
+ - rails_40/config/environments/production.rb
202
+ - rails_40/config/environments/test.rb
203
+ - rails_40/config/initializers/backtrace_silencers.rb
204
+ - rails_40/config/initializers/filter_parameter_logging.rb
205
+ - rails_40/config/initializers/inflections.rb
206
+ - rails_40/config/initializers/mailcacher.rb
207
+ - rails_40/config/initializers/mime_types.rb
208
+ - rails_40/config/initializers/secret_token.rb
209
+ - rails_40/config/initializers/session_store.rb
210
+ - rails_40/config/initializers/simple_form.rb
211
+ - rails_40/config/initializers/simple_form_bootstrap.rb
212
+ - rails_40/config/initializers/wrap_parameters.rb
213
+ - rails_40/config/locales/en.yml
214
+ - rails_40/config/locales/simple_form.en.yml
215
+ - rails_40/config/routes.rb
216
+ - rails_40/config/unicorn.rb
217
+ - rails_40/db/sample_data.rb
218
+ - rails_40/db/schema.rb
219
+ - rails_40/db/seeds.rb
220
+ - rails_40/lib/assets/.keep
221
+ - rails_40/lib/tasks/.keep
222
+ - rails_40/lib/tasks/coverage.rake
223
+ - rails_40/lib/tasks/db.rake
224
+ - rails_40/lib/tasks/spec.rake
225
+ - rails_40/lib/templates/rails/scaffold_controller/controller.rb
226
+ - rails_40/lib/templates/rspec/controller/controller_spec.rb
227
+ - rails_40/lib/templates/rspec/scaffold/controller_spec.rb
228
+ - rails_40/lib/templates/rspec/scaffold/edit_spec.rb
229
+ - rails_40/lib/templates/rspec/scaffold/index_spec.rb
230
+ - rails_40/lib/templates/rspec/scaffold/new_spec.rb
231
+ - rails_40/lib/templates/rspec/scaffold/show_spec.rb
232
+ - rails_40/lib/templates/slim/scaffold/_form.html.slim
233
+ - rails_40/lib/templates/slim/scaffold/edit.html.slim
234
+ - rails_40/lib/templates/slim/scaffold/index.html.slim
235
+ - rails_40/lib/templates/slim/scaffold/new.html.slim
236
+ - rails_40/lib/templates/slim/scaffold/show.html.slim
237
+ - rails_40/log/.keep
238
+ - rails_40/public/404.html
239
+ - rails_40/public/422.html
240
+ - rails_40/public/500.html
241
+ - rails_40/public/favicon.ico
242
+ - rails_40/public/robots.txt
243
+ - rails_40/spec/controllers/pages_controller_spec.rb
244
+ - rails_40/spec/features/pages_spec.rb
245
+ - rails_40/spec/spec_helper.rb
246
+ - rails_40/spec/support/database_cleaner.rb
247
+ - rails_40/spec/support/factory_girl.rb
248
+ - rails_40/vendor/assets/javascripts/.keep
249
+ - rails_40/vendor/assets/stylesheets/.keep
168
250
  - raygun.gemspec
169
251
  homepage: https://github.com/carbonfive/raygun
170
252
  licenses: []
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use 1.9.3-p392@raygun --create
@@ -1,21 +0,0 @@
1
- AppPrototype::Application.routes.draw do
2
-
3
- root to: 'pages#root'
4
-
5
- match 'sign_in' => 'user_sessions#new', as: :sign_in
6
- match 'sign_out' => 'user_sessions#destroy', as: :sign_out
7
-
8
- resources :user_sessions, only: [:new, :create, :destroy]
9
-
10
- match 'sign_up' => 'registrations#new', via: :get, as: :sign_up
11
- match 'sign_up' => 'registrations#create', via: :post, as: :sign_up
12
- match 'activate/:token' => 'registrations#activate', via: :get, as: :activation
13
-
14
- match 'forgotten_password' => 'password_resets#new', via: :get, as: :forgotten_password
15
- match 'forgotten_password' => 'password_resets#create', via: :post, as: :forgotten_password
16
- match 'reset_password/:token' => 'password_resets#edit', via: :get, as: :reset_password
17
- match 'reset_password/:id' => 'password_resets#update', via: :put
18
-
19
- resources :users
20
-
21
- end