sweet-alert-confirm-turbo 0.4.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.
Files changed (142) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +21 -0
  4. data/Gemfile +42 -0
  5. data/MIT-LICENSE +20 -0
  6. data/README.md +84 -0
  7. data/Rakefile +12 -0
  8. data/lib/assets/javascripts/sweet-alert-confirm.js +118 -0
  9. data/lib/assets/stylesheets/sweet-alert-confirm.css +2 -0
  10. data/lib/sweet-alert-confirm/rails/engine.rb +6 -0
  11. data/lib/sweet-alert-confirm/railtie.rb +8 -0
  12. data/lib/sweet-alert-confirm/version.rb +3 -0
  13. data/lib/sweet-alert-confirm/view_helpers.rb +37 -0
  14. data/lib/sweet-alert-confirm.rb +7 -0
  15. data/spec/dummy/.gitignore +2 -0
  16. data/spec/dummy/.rspec +1 -0
  17. data/spec/dummy/README.rdoc +28 -0
  18. data/spec/dummy/Rakefile +6 -0
  19. data/spec/dummy/app/assets/images/.keep +0 -0
  20. data/spec/dummy/app/assets/javascripts/application.js +17 -0
  21. data/spec/dummy/app/assets/javascripts/application_turbolinks.js +18 -0
  22. data/spec/dummy/app/assets/javascripts/confirms.js +2 -0
  23. data/spec/dummy/app/assets/stylesheets/application.css +16 -0
  24. data/spec/dummy/app/assets/stylesheets/application.scss.css +16 -0
  25. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  26. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  27. data/spec/dummy/app/controllers/confirms_controller.rb +13 -0
  28. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  29. data/spec/dummy/app/mailers/.keep +0 -0
  30. data/spec/dummy/app/models/.keep +0 -0
  31. data/spec/dummy/app/models/concerns/.keep +0 -0
  32. data/spec/dummy/app/views/confirms/delete_cow.html.erb +1 -0
  33. data/spec/dummy/app/views/confirms/delete_cow.js.erb +1 -0
  34. data/spec/dummy/app/views/confirms/get_cow.html.erb +1 -0
  35. data/spec/dummy/app/views/confirms/index.html.erb +19 -0
  36. data/spec/dummy/app/views/confirms/pre_index.html.erb +1 -0
  37. data/spec/dummy/app/views/layouts/application.html.erb +18 -0
  38. data/spec/dummy/bin/bundle +3 -0
  39. data/spec/dummy/bin/rails +4 -0
  40. data/spec/dummy/bin/rake +4 -0
  41. data/spec/dummy/config/application.rb +29 -0
  42. data/spec/dummy/config/boot.rb +5 -0
  43. data/spec/dummy/config/database.yml +25 -0
  44. data/spec/dummy/config/environment.rb +5 -0
  45. data/spec/dummy/config/environments/development.rb +37 -0
  46. data/spec/dummy/config/environments/production.rb +78 -0
  47. data/spec/dummy/config/environments/test.rb +43 -0
  48. data/spec/dummy/config/initializers/assets.rb +8 -0
  49. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  50. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  51. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  52. data/spec/dummy/config/initializers/inflections.rb +16 -0
  53. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  54. data/spec/dummy/config/initializers/secret_token.rb +1 -0
  55. data/spec/dummy/config/initializers/session_store.rb +3 -0
  56. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  57. data/spec/dummy/config/locales/en.yml +23 -0
  58. data/spec/dummy/config/routes.rb +60 -0
  59. data/spec/dummy/config/secrets.yml +22 -0
  60. data/spec/dummy/config.ru +4 -0
  61. data/spec/dummy/lib/assets/.keep +0 -0
  62. data/spec/dummy/log/.keep +0 -0
  63. data/spec/dummy/public/404.html +67 -0
  64. data/spec/dummy/public/422.html +67 -0
  65. data/spec/dummy/public/500.html +66 -0
  66. data/spec/dummy/public/favicon.ico +0 -0
  67. data/spec/dummy-rails3/.DS_Store +0 -0
  68. data/spec/dummy-rails3/README.rdoc +261 -0
  69. data/spec/dummy-rails3/Rakefile +7 -0
  70. data/spec/dummy-rails3/app/.DS_Store +0 -0
  71. data/spec/dummy-rails3/app/assets/.DS_Store +0 -0
  72. data/spec/dummy-rails3/app/assets/javascripts/application.js +16 -0
  73. data/spec/dummy-rails3/app/assets/javascripts/application_turbolinks.js +18 -0
  74. data/spec/dummy-rails3/app/assets/stylesheets/application.css +16 -0
  75. data/spec/dummy-rails3/app/assets/stylesheets/application.scss.css +16 -0
  76. data/spec/dummy-rails3/app/controllers/application_controller.rb +3 -0
  77. data/spec/dummy-rails3/app/controllers/confirms_controller.rb +13 -0
  78. data/spec/dummy-rails3/app/helpers/application_helper.rb +2 -0
  79. data/spec/dummy-rails3/app/mailers/.gitkeep +0 -0
  80. data/spec/dummy-rails3/app/models/.gitkeep +0 -0
  81. data/spec/dummy-rails3/app/views/confirms/delete_cow.html.erb +1 -0
  82. data/spec/dummy-rails3/app/views/confirms/delete_cow.js.erb +1 -0
  83. data/spec/dummy-rails3/app/views/confirms/get_cow.html.erb +1 -0
  84. data/spec/dummy-rails3/app/views/confirms/index.html.erb +19 -0
  85. data/spec/dummy-rails3/app/views/confirms/pre_index.html.erb +1 -0
  86. data/spec/dummy-rails3/app/views/layouts/application.html.erb +18 -0
  87. data/spec/dummy-rails3/config/application.rb +65 -0
  88. data/spec/dummy-rails3/config/boot.rb +10 -0
  89. data/spec/dummy-rails3/config/database.yml +25 -0
  90. data/spec/dummy-rails3/config/environment.rb +5 -0
  91. data/spec/dummy-rails3/config/environments/development.rb +37 -0
  92. data/spec/dummy-rails3/config/environments/production.rb +67 -0
  93. data/spec/dummy-rails3/config/environments/test.rb +37 -0
  94. data/spec/dummy-rails3/config/initializers/backtrace_silencers.rb +7 -0
  95. data/spec/dummy-rails3/config/initializers/inflections.rb +15 -0
  96. data/spec/dummy-rails3/config/initializers/mime_types.rb +5 -0
  97. data/spec/dummy-rails3/config/initializers/secret_token.rb +7 -0
  98. data/spec/dummy-rails3/config/initializers/session_store.rb +8 -0
  99. data/spec/dummy-rails3/config/initializers/wrap_parameters.rb +14 -0
  100. data/spec/dummy-rails3/config/locales/en.yml +5 -0
  101. data/spec/dummy-rails3/config/routes.rb +62 -0
  102. data/spec/dummy-rails3/config.ru +4 -0
  103. data/spec/dummy-rails3/db/development.sqlite3 +0 -0
  104. data/spec/dummy-rails3/db/schema.rb +16 -0
  105. data/spec/dummy-rails3/db/test.sqlite3 +0 -0
  106. data/spec/dummy-rails3/lib/assets/.gitkeep +0 -0
  107. data/spec/dummy-rails3/log/.gitkeep +0 -0
  108. data/spec/dummy-rails3/log/development.log +16 -0
  109. data/spec/dummy-rails3/log/test.log +170 -0
  110. data/spec/dummy-rails3/public/404.html +26 -0
  111. data/spec/dummy-rails3/public/422.html +26 -0
  112. data/spec/dummy-rails3/public/500.html +25 -0
  113. data/spec/dummy-rails3/public/favicon.ico +0 -0
  114. data/spec/dummy-rails3/script/rails +6 -0
  115. data/spec/dummy-rails3/tmp/cache/assets/BF6/DF0/sprockets%2F285744e0e3233126b590652597a6846c +0 -0
  116. data/spec/dummy-rails3/tmp/cache/assets/C5D/260/sprockets%2Ffe17576541881f7db15017c3b9647194 +0 -0
  117. data/spec/dummy-rails3/tmp/cache/assets/C71/960/sprockets%2F5c3859335128c2f0cc31422bb33e1674 +0 -0
  118. data/spec/dummy-rails3/tmp/cache/assets/CA1/D70/sprockets%2F32526aac68f06e61515371c202fe44a7 +0 -0
  119. data/spec/dummy-rails3/tmp/cache/assets/CD4/E60/sprockets%2F0ae34929c3b851d7104f8307a2c02ed8 +0 -0
  120. data/spec/dummy-rails3/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  121. data/spec/dummy-rails3/tmp/cache/assets/CEC/780/sprockets%2Fc3c981b384b293911ee64e25c1c5779f +0 -0
  122. data/spec/dummy-rails3/tmp/cache/assets/CEE/CF0/sprockets%2F5d33a38968a71a6b4772723ae94ee77c +0 -0
  123. data/spec/dummy-rails3/tmp/cache/assets/CF3/FC0/sprockets%2F9b695713056bfc62c3198c75829dbd6e +0 -0
  124. data/spec/dummy-rails3/tmp/cache/assets/D0D/320/sprockets%2Fb2a9b609874a7a625a68223b607ac6ee +0 -0
  125. data/spec/dummy-rails3/tmp/cache/assets/D1A/340/sprockets%2Fb9708e6882954f6dabf115cf4df62330 +0 -0
  126. data/spec/dummy-rails3/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  127. data/spec/dummy-rails3/tmp/cache/assets/D4C/240/sprockets%2F3d9d437b39287fd1b6cc5a556a590f5f +0 -0
  128. data/spec/dummy-rails3/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  129. data/spec/dummy-rails3/tmp/cache/assets/D55/740/sprockets%2F4963d046e3b5cf4e73cd9cd6c8089f29 +0 -0
  130. data/spec/dummy-rails3/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  131. data/spec/dummy-rails3/tmp/cache/assets/D71/6F0/sprockets%2F67621a32b646ce75e6dff65f8aa710bc +0 -0
  132. data/spec/dummy-rails3/tmp/cache/assets/DA3/C40/sprockets%2F93fac7c58d64b927fa52c22cbb38d93a +0 -0
  133. data/spec/dummy-rails3/tmp/cache/assets/DAD/440/sprockets%2Fb0ab4f86a4241a5ba22ecd830eb02e5a +0 -0
  134. data/spec/dummy-rails3/tmp/cache/assets/DC5/160/sprockets%2Fc403bbe0253f8ef0158efced2c2d4f45 +0 -0
  135. data/spec/dummy-rails3/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  136. data/spec/dummy-rails3/tmp/cache/assets/DDD/0A0/sprockets%2F924e879dd0cae5bfcd974a9f046df50c +0 -0
  137. data/spec/dummy-rails3/tmp/cache/assets/DFB/530/sprockets%2Fda0209bfac7d7fd73e9da2d19d2b156f +0 -0
  138. data/spec/dummy-rails3/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  139. data/spec/features/sweet_alert_confirm_spec.rb +116 -0
  140. data/spec/spec_helper.rb +50 -0
  141. data/sweet-alert-confirm.gemspec +26 -0
  142. metadata +239 -0
@@ -0,0 +1,37 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Raise exception on mass assignment protection for Active Record models
33
+ #config.active_record.mass_assignment_sanitizer = :strict
34
+
35
+ # Print deprecation notices to the stderr
36
+ config.active_support.deprecation = :stderr
37
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
11
+ #
12
+ # These inflection rules are supported but not enabled by default:
13
+ # ActiveSupport::Inflector.inflections do |inflect|
14
+ # inflect.acronym 'RESTful'
15
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = 'd3cef39b07bd814b30e9294bdbc2548cdef885656156f806af8639c7bb705a33f7eefb286a671beae000e32b77c5467a4c2d288feba41050d80b081f20f7fd11'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,62 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get 'short'
20
+ # post 'toggle'
21
+ # end
22
+ #
23
+ # collection do
24
+ # get 'sold'
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get 'recent', :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => 'welcome#index'
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id))(.:format)'
58
+ root to: 'confirms#pre_index'
59
+ get :confirms_page, to: 'confirms#index'
60
+ get :get_cow, to: 'confirms#get_cow'
61
+ delete :delete_cow, to: 'confirms#delete_cow'
62
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 0) do
15
+
16
+ end
Binary file
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+ Connecting to database specified by database.yml
2
+  (0.6ms) select sqlite_version(*)
3
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) select sqlite_version(*)
8
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9
+ Connecting to database specified by database.yml
10
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
11
+  (0.1ms) select sqlite_version(*)
12
+  (9.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14
+  (0.1ms) SELECT version FROM "schema_migrations"
15
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
16
+ Connecting to database specified by database.yml
@@ -0,0 +1,170 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+  (0.3ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:25 -0430
8
+ Processing by ConfirmsController#index as HTML
9
+ Rendered confirms/index.html.erb within layouts/application (3.4ms)
10
+ Completed 200 OK in 14.2ms (Views: 13.8ms | ActiveRecord: 0.0ms)
11
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-10-13 18:25:25 -0430
12
+ Warning. Error encountered while saving cache /Users/moises/proyectos/gems/sweet_rails_confirm/spec/dummy-rails3/tmp/cache/sass/bd708edc765b11d933154b88e166294c3e98cb7a/sweet-alert.scssc: can't dump anonymous class #<Class:0x007fb72e0e8840>
13
+
14
+ Compiled sweet-alert/sweet-alert.css (109ms) (pid 3130)
15
+ Compiled sweet-alert/index.css (114ms) (pid 3130)
16
+ Compiled application.scss.css (2ms) (pid 3130)
17
+ Compiled application.css (132ms) (pid 3130)
18
+ Served asset /application.css - 200 OK (138ms)
19
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-10-13 18:25:25 -0430
20
+ Compiled jquery.js (6ms) (pid 3130)
21
+ Compiled jquery_ujs.js (1ms) (pid 3130)
22
+ Compiled sweet-alert/sweet-alert.js (1ms) (pid 3130)
23
+ Compiled sweet-alert/sweet-alert.min.js (0ms) (pid 3130)
24
+ Compiled sweet-alert/index.js (12ms) (pid 3130)
25
+ Compiled sweet-alert-confirm.js (2ms) (pid 3130)
26
+ Compiled application.js (48ms) (pid 3130)
27
+ Served asset /application.js - 200 OK (56ms)
28
+  (0.1ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:25 -0430
31
+ Processing by ConfirmsController#index as HTML
32
+ Rendered confirms/index.html.erb within layouts/application (0.7ms)
33
+ Completed 200 OK in 1.8ms (Views: 1.7ms | ActiveRecord: 0.0ms)
34
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:26 -0430
35
+ Processing by ConfirmsController#delete_cow as JS
36
+ Rendered confirms/delete_cow.js.erb (0.5ms)
37
+ Completed 200 OK in 10.7ms (Views: 10.3ms | ActiveRecord: 0.0ms)
38
+  (0.2ms) rollback transaction
39
+  (0.1ms) begin transaction
40
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:27 -0430
41
+ Processing by ConfirmsController#index as HTML
42
+ Rendered confirms/index.html.erb within layouts/application (0.6ms)
43
+ Completed 200 OK in 1.7ms (Views: 1.6ms | ActiveRecord: 0.0ms)
44
+  (0.1ms) rollback transaction
45
+  (0.1ms) begin transaction
46
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:27 -0430
47
+ Processing by ConfirmsController#index as HTML
48
+ Rendered confirms/index.html.erb within layouts/application (0.7ms)
49
+ Completed 200 OK in 1.8ms (Views: 1.7ms | ActiveRecord: 0.0ms)
50
+ Started GET "/get_cow" for 127.0.0.1 at 2014-10-13 18:25:28 -0430
51
+ Processing by ConfirmsController#get_cow as HTML
52
+ Rendered confirms/get_cow.html.erb within layouts/application (0.3ms)
53
+ Completed 200 OK in 2.8ms (Views: 2.4ms | ActiveRecord: 0.0ms)
54
+  (0.1ms) rollback transaction
55
+  (0.1ms) begin transaction
56
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:28 -0430
57
+ Processing by ConfirmsController#index as HTML
58
+ Rendered confirms/index.html.erb within layouts/application (0.7ms)
59
+ Completed 200 OK in 1.9ms (Views: 1.7ms | ActiveRecord: 0.0ms)
60
+  (0.0ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:28 -0430
63
+ Processing by ConfirmsController#index as HTML
64
+ Rendered confirms/index.html.erb within layouts/application (0.7ms)
65
+ Completed 200 OK in 1.9ms (Views: 1.8ms | ActiveRecord: 0.0ms)
66
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:29 -0430
67
+ Processing by ConfirmsController#delete_cow as HTML
68
+ Rendered confirms/delete_cow.html.erb within layouts/application (0.5ms)
69
+ Completed 200 OK in 3.2ms (Views: 2.9ms | ActiveRecord: 0.0ms)
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:29 -0430
75
+ Processing by ConfirmsController#index as HTML
76
+ Rendered confirms/index.html.erb within layouts/application (0.9ms)
77
+ Completed 200 OK in 2.1ms (Views: 2.0ms | ActiveRecord: 0.0ms)
78
+  (0.1ms) rollback transaction
79
+  (0.1ms) begin transaction
80
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:29 -0430
81
+ Processing by ConfirmsController#index as HTML
82
+ Rendered confirms/index.html.erb within layouts/application (0.9ms)
83
+ Completed 200 OK in 2.0ms (Views: 1.9ms | ActiveRecord: 0.0ms)
84
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:31 -0430
85
+ Processing by ConfirmsController#delete_cow as JS
86
+ Rendered confirms/delete_cow.js.erb (0.0ms)
87
+ Completed 200 OK in 0.6ms (Views: 0.4ms | ActiveRecord: 0.0ms)
88
+  (0.1ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:31 -0430
91
+ Processing by ConfirmsController#index as HTML
92
+ Rendered confirms/index.html.erb within layouts/application (0.6ms)
93
+ Completed 200 OK in 1.8ms (Views: 1.7ms | ActiveRecord: 0.0ms)
94
+  (0.1ms) rollback transaction
95
+  (0.1ms) begin transaction
96
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:31 -0430
97
+ Processing by ConfirmsController#index as HTML
98
+ Rendered confirms/index.html.erb within layouts/application (1.2ms)
99
+ Completed 200 OK in 3.3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
100
+ Started GET "/get_cow" for 127.0.0.1 at 2014-10-13 18:25:32 -0430
101
+ Processing by ConfirmsController#get_cow as HTML
102
+ Rendered confirms/get_cow.html.erb within layouts/application (0.0ms)
103
+ Completed 200 OK in 1.3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
104
+  (0.1ms) rollback transaction
105
+  (0.1ms) begin transaction
106
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:32 -0430
107
+ Processing by ConfirmsController#index as HTML
108
+ Rendered confirms/index.html.erb within layouts/application (0.8ms)
109
+ Completed 200 OK in 2.0ms (Views: 1.9ms | ActiveRecord: 0.0ms)
110
+  (0.0ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:32 -0430
113
+ Processing by ConfirmsController#index as HTML
114
+ Rendered confirms/index.html.erb within layouts/application (0.8ms)
115
+ Completed 200 OK in 2.1ms (Views: 2.0ms | ActiveRecord: 0.0ms)
116
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:33 -0430
117
+ Processing by ConfirmsController#delete_cow as HTML
118
+ Rendered confirms/delete_cow.html.erb within layouts/application (0.0ms)
119
+ Completed 200 OK in 1.3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
120
+  (0.1ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:33 -0430
125
+ Processing by ConfirmsController#index as HTML
126
+ Rendered confirms/index.html.erb within layouts/application (7.7ms)
127
+ Completed 200 OK in 9.1ms (Views: 9.0ms | ActiveRecord: 0.0ms)
128
+  (0.1ms) rollback transaction
129
+  (0.1ms) begin transaction
130
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:33 -0430
131
+ Processing by ConfirmsController#index as HTML
132
+ Rendered confirms/index.html.erb within layouts/application (0.7ms)
133
+ Completed 200 OK in 1.9ms (Views: 1.8ms | ActiveRecord: 0.0ms)
134
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:35 -0430
135
+ Processing by ConfirmsController#delete_cow as JS
136
+ Rendered confirms/delete_cow.js.erb (0.0ms)
137
+ Completed 200 OK in 0.5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
138
+  (0.0ms) rollback transaction
139
+  (0.1ms) begin transaction
140
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:35 -0430
141
+ Processing by ConfirmsController#index as HTML
142
+ Rendered confirms/index.html.erb within layouts/application (0.6ms)
143
+ Completed 200 OK in 1.7ms (Views: 1.6ms | ActiveRecord: 0.0ms)
144
+  (0.1ms) rollback transaction
145
+  (0.1ms) begin transaction
146
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:35 -0430
147
+ Processing by ConfirmsController#index as HTML
148
+ Rendered confirms/index.html.erb within layouts/application (0.6ms)
149
+ Completed 200 OK in 1.6ms (Views: 1.5ms | ActiveRecord: 0.0ms)
150
+ Started GET "/get_cow" for 127.0.0.1 at 2014-10-13 18:25:36 -0430
151
+ Processing by ConfirmsController#get_cow as HTML
152
+ Rendered confirms/get_cow.html.erb within layouts/application (0.0ms)
153
+ Completed 200 OK in 1.0ms (Views: 1.0ms | ActiveRecord: 0.0ms)
154
+  (0.1ms) rollback transaction
155
+  (0.0ms) begin transaction
156
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:36 -0430
157
+ Processing by ConfirmsController#index as HTML
158
+ Rendered confirms/index.html.erb within layouts/application (0.6ms)
159
+ Completed 200 OK in 1.8ms (Views: 1.7ms | ActiveRecord: 0.0ms)
160
+  (0.1ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+ Started GET "/confirms_page" for 127.0.0.1 at 2014-10-13 18:25:36 -0430
163
+ Processing by ConfirmsController#index as HTML
164
+ Rendered confirms/index.html.erb within layouts/application (0.8ms)
165
+ Completed 200 OK in 2.3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
166
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2014-10-13 18:25:37 -0430
167
+ Processing by ConfirmsController#delete_cow as HTML
168
+ Rendered confirms/delete_cow.html.erb within layouts/application (0.0ms)
169
+ Completed 200 OK in 1.1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
170
+  (0.1ms) rollback transaction
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
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
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
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,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
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
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'