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.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.travis.yml +21 -0
- data/Gemfile +42 -0
- data/MIT-LICENSE +20 -0
- data/README.md +84 -0
- data/Rakefile +12 -0
- data/lib/assets/javascripts/sweet-alert-confirm.js +118 -0
- data/lib/assets/stylesheets/sweet-alert-confirm.css +2 -0
- data/lib/sweet-alert-confirm/rails/engine.rb +6 -0
- data/lib/sweet-alert-confirm/railtie.rb +8 -0
- data/lib/sweet-alert-confirm/version.rb +3 -0
- data/lib/sweet-alert-confirm/view_helpers.rb +37 -0
- data/lib/sweet-alert-confirm.rb +7 -0
- data/spec/dummy/.gitignore +2 -0
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +17 -0
- data/spec/dummy/app/assets/javascripts/application_turbolinks.js +18 -0
- data/spec/dummy/app/assets/javascripts/confirms.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +16 -0
- data/spec/dummy/app/assets/stylesheets/application.scss.css +16 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/confirms_controller.rb +13 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/confirms/delete_cow.html.erb +1 -0
- data/spec/dummy/app/views/confirms/delete_cow.js.erb +1 -0
- data/spec/dummy/app/views/confirms/get_cow.html.erb +1 -0
- data/spec/dummy/app/views/confirms/index.html.erb +19 -0
- data/spec/dummy/app/views/confirms/pre_index.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +18 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +78 -0
- data/spec/dummy/config/environments/test.rb +43 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/secret_token.rb +1 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy-rails3/.DS_Store +0 -0
- data/spec/dummy-rails3/README.rdoc +261 -0
- data/spec/dummy-rails3/Rakefile +7 -0
- data/spec/dummy-rails3/app/.DS_Store +0 -0
- data/spec/dummy-rails3/app/assets/.DS_Store +0 -0
- data/spec/dummy-rails3/app/assets/javascripts/application.js +16 -0
- data/spec/dummy-rails3/app/assets/javascripts/application_turbolinks.js +18 -0
- data/spec/dummy-rails3/app/assets/stylesheets/application.css +16 -0
- data/spec/dummy-rails3/app/assets/stylesheets/application.scss.css +16 -0
- data/spec/dummy-rails3/app/controllers/application_controller.rb +3 -0
- data/spec/dummy-rails3/app/controllers/confirms_controller.rb +13 -0
- data/spec/dummy-rails3/app/helpers/application_helper.rb +2 -0
- data/spec/dummy-rails3/app/mailers/.gitkeep +0 -0
- data/spec/dummy-rails3/app/models/.gitkeep +0 -0
- data/spec/dummy-rails3/app/views/confirms/delete_cow.html.erb +1 -0
- data/spec/dummy-rails3/app/views/confirms/delete_cow.js.erb +1 -0
- data/spec/dummy-rails3/app/views/confirms/get_cow.html.erb +1 -0
- data/spec/dummy-rails3/app/views/confirms/index.html.erb +19 -0
- data/spec/dummy-rails3/app/views/confirms/pre_index.html.erb +1 -0
- data/spec/dummy-rails3/app/views/layouts/application.html.erb +18 -0
- data/spec/dummy-rails3/config/application.rb +65 -0
- data/spec/dummy-rails3/config/boot.rb +10 -0
- data/spec/dummy-rails3/config/database.yml +25 -0
- data/spec/dummy-rails3/config/environment.rb +5 -0
- data/spec/dummy-rails3/config/environments/development.rb +37 -0
- data/spec/dummy-rails3/config/environments/production.rb +67 -0
- data/spec/dummy-rails3/config/environments/test.rb +37 -0
- data/spec/dummy-rails3/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy-rails3/config/initializers/inflections.rb +15 -0
- data/spec/dummy-rails3/config/initializers/mime_types.rb +5 -0
- data/spec/dummy-rails3/config/initializers/secret_token.rb +7 -0
- data/spec/dummy-rails3/config/initializers/session_store.rb +8 -0
- data/spec/dummy-rails3/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy-rails3/config/locales/en.yml +5 -0
- data/spec/dummy-rails3/config/routes.rb +62 -0
- data/spec/dummy-rails3/config.ru +4 -0
- data/spec/dummy-rails3/db/development.sqlite3 +0 -0
- data/spec/dummy-rails3/db/schema.rb +16 -0
- data/spec/dummy-rails3/db/test.sqlite3 +0 -0
- data/spec/dummy-rails3/lib/assets/.gitkeep +0 -0
- data/spec/dummy-rails3/log/.gitkeep +0 -0
- data/spec/dummy-rails3/log/development.log +16 -0
- data/spec/dummy-rails3/log/test.log +170 -0
- data/spec/dummy-rails3/public/404.html +26 -0
- data/spec/dummy-rails3/public/422.html +26 -0
- data/spec/dummy-rails3/public/500.html +25 -0
- data/spec/dummy-rails3/public/favicon.ico +0 -0
- data/spec/dummy-rails3/script/rails +6 -0
- data/spec/dummy-rails3/tmp/cache/assets/BF6/DF0/sprockets%2F285744e0e3233126b590652597a6846c +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/C5D/260/sprockets%2Ffe17576541881f7db15017c3b9647194 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/C71/960/sprockets%2F5c3859335128c2f0cc31422bb33e1674 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CA1/D70/sprockets%2F32526aac68f06e61515371c202fe44a7 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CD4/E60/sprockets%2F0ae34929c3b851d7104f8307a2c02ed8 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CEC/780/sprockets%2Fc3c981b384b293911ee64e25c1c5779f +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CEE/CF0/sprockets%2F5d33a38968a71a6b4772723ae94ee77c +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/CF3/FC0/sprockets%2F9b695713056bfc62c3198c75829dbd6e +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D0D/320/sprockets%2Fb2a9b609874a7a625a68223b607ac6ee +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D1A/340/sprockets%2Fb9708e6882954f6dabf115cf4df62330 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D4C/240/sprockets%2F3d9d437b39287fd1b6cc5a556a590f5f +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D55/740/sprockets%2F4963d046e3b5cf4e73cd9cd6c8089f29 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/D71/6F0/sprockets%2F67621a32b646ce75e6dff65f8aa710bc +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DA3/C40/sprockets%2F93fac7c58d64b927fa52c22cbb38d93a +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DAD/440/sprockets%2Fb0ab4f86a4241a5ba22ecd830eb02e5a +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DC5/160/sprockets%2Fc403bbe0253f8ef0158efced2c2d4f45 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DDD/0A0/sprockets%2F924e879dd0cae5bfcd974a9f046df50c +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/DFB/530/sprockets%2Fda0209bfac7d7fd73e9da2d19d2b156f +0 -0
- data/spec/dummy-rails3/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/features/sweet_alert_confirm_spec.rb +116 -0
- data/spec/spec_helper.rb +50 -0
- data/sweet-alert-confirm.gemspec +26 -0
- 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,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,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
|
Binary file
|
@@ -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
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
+
Connecting to database specified by database.yml
|
7
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9
|
+
Connecting to database specified by database.yml
|
10
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
12
|
+
[1m[36m (9.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
14
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
15
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
61
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
72
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
73
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
79
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
95
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m 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'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|