sweet-alert-confirm 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/Gemfile +6 -1
  4. data/README.md +6 -0
  5. data/lib/assets/javascripts/sweet-alert-confirm.js +33 -17
  6. data/lib/sweet-alert-confirm/version.rb +1 -1
  7. data/spec/dummy-rails3/app/assets/javascripts/application.js +1 -1
  8. data/spec/dummy-rails3/app/assets/javascripts/application_turbolinks.js +1 -1
  9. data/spec/dummy-rails3/app/assets/stylesheets/application.css +1 -1
  10. data/spec/dummy-rails3/app/assets/stylesheets/application.scss.css +1 -1
  11. data/spec/dummy-rails3/log/development.log +376 -0
  12. data/spec/dummy-rails3/log/test.log +948 -0
  13. data/spec/dummy-rails3/tmp/cache/assets/BF6/DF0/sprockets%2F285744e0e3233126b590652597a6846c +0 -0
  14. data/spec/dummy-rails3/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  15. data/spec/dummy-rails3/tmp/cache/assets/CF3/FC0/sprockets%2F9b695713056bfc62c3198c75829dbd6e +0 -0
  16. data/spec/dummy-rails3/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  17. data/spec/dummy-rails3/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  18. data/spec/dummy-rails3/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  19. data/spec/dummy-rails3/tmp/cache/assets/DA3/C40/sprockets%2F93fac7c58d64b927fa52c22cbb38d93a +0 -0
  20. data/spec/dummy-rails3/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  21. data/spec/dummy-rails3/tmp/cache/assets/DDD/0A0/sprockets%2F924e879dd0cae5bfcd974a9f046df50c +0 -0
  22. data/spec/dummy-rails3/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  23. data/spec/dummy/app/assets/javascripts/application.js +1 -1
  24. data/spec/dummy/app/assets/javascripts/application_turbolinks.js +1 -1
  25. data/spec/dummy/app/assets/stylesheets/application.css +1 -1
  26. data/spec/dummy/app/assets/stylesheets/application.scss.css +1 -1
  27. data/spec/features/sweet_alert_confirm_spec.rb +1 -1
  28. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea4f5c077671637ba0c4834240d4a6bbb692939a
4
- data.tar.gz: eecc5b36bf90b5eb522339722c4f04c15b2e7505
3
+ metadata.gz: 640e76e94b79915734bf8924ea86399c4305c684
4
+ data.tar.gz: 374c4740d8c4cb9a942f23fe12c0580bd69b55a8
5
5
  SHA512:
6
- metadata.gz: f276753badf6959713cc8737e45c462411ec8685417339644e16923d0c3096ab57750279e66f8a9243a92d7f06d9995f3059a8b3f2fda0093f03c68c3b6eee2f
7
- data.tar.gz: af003c3f71308c49a7f1a4e78033e54bd9dea6be5b79fbb6112ab4d1304e6c0202bb2b3ce6689afae2801bd14e5ca582c09866aa0293137e6c69dc0588213dbd
6
+ metadata.gz: 13c3cd90ffc6e4a8dbaa296ff63a20fa89b7a7d96c453e3e7f278b5aede891dccfc863c6b77ffbfc150b562376d5a835d6160f66bdc75456a5e2bf92cc222320
7
+ data.tar.gz: e00ca56dfbc88addd88dc0c0bfd804b980e88ee7c7a311d4fe7d65eb6762ec8f1801685561d45e02ff8913d51268d32e6ee823dde921759ded04b43d99a17f12
@@ -11,7 +11,7 @@ env:
11
11
 
12
12
  rvm:
13
13
  - 1.9.3
14
- - 2.0.0
14
+ - 2.2.1
15
15
  - jruby-19mode
16
16
 
17
17
 
data/Gemfile CHANGED
@@ -27,11 +27,16 @@ rails = case rails_version
27
27
  gem "rails", rails
28
28
  gem "turbolinks"
29
29
 
30
+ source 'https://rails-assets.org' do
31
+ gem 'rails-assets-sweetalert'
32
+ end
33
+
30
34
  group :development, :test do
31
35
  gem "jquery-rails"
36
+ gem "test-unit"
32
37
  gem 'sass-rails'
33
38
  gem "sweet-alert"
34
39
  gem "capybara"
35
- gem "poltergeist", git: 'https://github.com/teampoltergeist/poltergeist.git'
40
+ gem "poltergeist"
36
41
  gem "rake"
37
42
  end
data/README.md CHANGED
@@ -81,6 +81,12 @@ var sweetAlertConfirmConfig = {
81
81
  };
82
82
  ```
83
83
 
84
+ ### Before Callback
85
+
86
+ A callback that will be runned before alert is shown. Returning `false` will display the alert and `true` will _not_ display it.
87
+
88
+ `data-saBeforeFunction='myFunction'`
89
+
84
90
  ## Contribute
85
91
 
86
92
  Fork the repo & pull request you fix/feature
@@ -28,27 +28,15 @@ var sweetAlertConfirmConfig = sweetAlertConfirmConfig || {}; // Add default conf
28
28
  'confirmButtonText',
29
29
  'cancelButtonText',
30
30
  'closeOnConfirm',
31
+ 'html',
31
32
  'imageUrl',
32
33
  'allowOutsideClick',
33
34
  'remote',
34
35
  'method',
35
36
  'function'
36
- ]
37
-
38
- $.each($linkToVerify.data(), function(key, val){
39
- if ($.inArray(key, optionKeys) >= 0) {
40
- swalOptions[key] = val
41
- if (key == 'sweetAlertType') {
42
- swalOptions['type'] = val;
43
- }
44
-
45
- }
46
- })
47
-
48
- var nameFunction = swalOptions['function'];
49
- message = $linkToVerify.attr('data-sweet-alert-confirm')
50
- swalOptions['title'] = message
51
- swal(swalOptions, function(r){
37
+ ];
38
+
39
+ function afterAlertCallback(r){
52
40
  if (nameFunction) {
53
41
  window[nameFunction]();
54
42
  }
@@ -79,10 +67,38 @@ var sweetAlertConfirmConfig = sweetAlertConfirmConfig || {}; // Add default conf
79
67
  else {
80
68
  window.location.href = $linkToVerify.attr('href');
81
69
  }
82
-
70
+
83
71
  }
84
72
  }
73
+ }
74
+
75
+ var beforeFunction = null;
76
+
77
+ $.each($linkToVerify.data(), function(key, val){
78
+ if ($.inArray(key, optionKeys) >= 0) {
79
+ swalOptions[key] = val
80
+ if (key == 'sweetAlertType') {
81
+ swalOptions['type'] = val;
82
+ }
83
+ }
84
+ // Make a before callback to verify that swal should be shown
85
+ if(key == 'sabeforefunction') {
86
+ beforeFunction = val;
87
+ }
85
88
  });
89
+
90
+ // Skip alert if false
91
+ if(beforeFunction != null) {
92
+ var beforeRes = window[beforeFunction]($linkToVerify);
93
+ if(beforeRes === true) {
94
+ return afterAlertCallback(true); // Skip alert
95
+ }
96
+ }
97
+
98
+ var nameFunction = swalOptions['function'];
99
+ message = $linkToVerify.attr('data-sweet-alert-confirm')
100
+ swalOptions['title'] = message
101
+ swal(swalOptions, afterAlertCallback);
86
102
 
87
103
  return false;
88
104
  }
@@ -1,3 +1,3 @@
1
1
  module SweetAlertConfirm
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -12,5 +12,5 @@
12
12
  //
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
- //= require sweet-alert
15
+ //= require sweetalert
16
16
  //= require sweet-alert-confirm
@@ -13,6 +13,6 @@
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
15
  //= require turbolinks
16
- //= require sweet-alert
16
+ //= require sweetalert
17
17
  //= require sweet-alert-confirm
18
18
  // require_tree .
@@ -10,7 +10,7 @@
10
10
  * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
11
  * file per style scope.
12
12
  *
13
- *= require sweet-alert
13
+ *= require sweetalert
14
14
  *= require_tree .
15
15
  *= require_self
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
11
  * file per style scope.
12
12
  *
13
- *= require sweet-alert.css
13
+ *= require sweetalert.css
14
14
  *=* require_tree .
15
15
  *=* require_self
16
16
  */
@@ -14,3 +14,379 @@ Connecting to database specified by database.yml
14
14
   (0.1ms) SELECT version FROM "schema_migrations"
15
15
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
16
16
  Connecting to database specified by database.yml
17
+
18
+
19
+ Started GET "/" for 127.0.0.1 at 2015-11-25 19:02:18 -0430
20
+ Processing by ConfirmsController#pre_index as HTML
21
+ Rendered confirms/pre_index.html.erb within layouts/application (4.4ms)
22
+ Completed 500 Internal Server Error in 63.5ms
23
+
24
+ ActionView::Template::Error (couldn't find file 'sweet-alert.css'
25
+ (in /Users/moises/proyectos/gems/sweet_rails_confirm/spec/dummy-rails3/app/assets/stylesheets/application.scss.css:13)):
26
+ 2: <html>
27
+ 3: <head>
28
+ 4: <title>Dummy</title>
29
+ 5: <%= stylesheet_link_tag "application", :media => "all" %>
30
+ 6: <% if ENV['USE_TURBOLINKS'] %>
31
+ 7: <%= javascript_include_tag 'application_turbolinks', "data-turbolinks-track" => true %>
32
+ 8: <% else %>
33
+ app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3693687185361712893_70322403768740'
34
+
35
+
36
+ Rendered /Users/moises/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
37
+ Rendered /Users/moises/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
38
+ Rendered /Users/moises/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.0ms)
39
+
40
+
41
+ Started GET "/" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
42
+ Processing by ConfirmsController#pre_index as HTML
43
+ Rendered confirms/pre_index.html.erb within layouts/application (0.7ms)
44
+ Compiled application.scss.css (3ms) (pid 12757)
45
+ Compiled application.css (20ms) (pid 12757)
46
+ Compiled sweet-alert-confirm.js (0ms) (pid 12757)
47
+ Compiled application.js (50ms) (pid 12757)
48
+ Completed 200 OK in 115.9ms (Views: 115.5ms)
49
+
50
+
51
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
52
+ Served asset /application.scss.css - 200 OK (14ms)
53
+
54
+
55
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
56
+ Served asset /sweetalert.css - 200 OK (4ms)
57
+
58
+
59
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
60
+ Served asset /application.css - 200 OK (8ms)
61
+
62
+
63
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
64
+ Served asset /sweetalert/sweetalert.min.js - 200 OK (2ms)
65
+
66
+
67
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
68
+ Served asset /sweetalert.js - 200 OK (3ms)
69
+
70
+
71
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
72
+ Served asset /jquery.js - 200 OK (3ms)
73
+
74
+
75
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
76
+ Served asset /jquery_ujs.js - 200 OK (2ms)
77
+
78
+
79
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:15 -0430
80
+ Served asset /sweet-alert-confirm.js - 200 OK (3ms)
81
+
82
+
83
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:03:16 -0430
84
+ Served asset /application.js - 200 OK (8ms)
85
+
86
+
87
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:03:18 -0430
88
+ Processing by ConfirmsController#index as HTML
89
+ Rendered confirms/index.html.erb within layouts/application (8.5ms)
90
+ Completed 200 OK in 15.1ms (Views: 14.4ms)
91
+
92
+
93
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:03:18 -0430
94
+ Served asset /application.scss.css - 304 Not Modified (0ms)
95
+
96
+
97
+ Started DELETE "/delete_cow" for 127.0.0.1 at 2015-11-25 19:04:09 -0430
98
+ Processing by ConfirmsController#delete_cow as HTML
99
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8XyXI0D9N9QBDATgrHEoE07NOdvn+TUaudkxna9LgiA="}
100
+ Rendered confirms/delete_cow.html.erb within layouts/application (1.6ms)
101
+ Completed 200 OK in 51.0ms (Views: 49.8ms)
102
+
103
+
104
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:04:09 -0430
105
+ Served asset /application.scss.css - 304 Not Modified (5ms)
106
+
107
+
108
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:09 -0430
109
+ Served asset /application.js - 304 Not Modified (12ms)
110
+
111
+
112
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:04:09 -0430
113
+ Served asset /application.css - 304 Not Modified (6ms)
114
+
115
+
116
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
117
+ Processing by ConfirmsController#index as HTML
118
+ Rendered confirms/index.html.erb within layouts/application (8.8ms)
119
+ Completed 200 OK in 17.1ms (Views: 16.3ms)
120
+
121
+
122
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
123
+ Served asset /application.css - 304 Not Modified (0ms)
124
+
125
+
126
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
127
+ Served asset /application.scss.css - 304 Not Modified (0ms)
128
+
129
+
130
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
131
+ Served asset /jquery_ujs.js - 304 Not Modified (7ms)
132
+
133
+
134
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
135
+ Served asset /jquery.js - 304 Not Modified (9ms)
136
+
137
+
138
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
139
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (4ms)
140
+
141
+
142
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
143
+ Served asset /sweetalert.css - 304 Not Modified (4ms)
144
+
145
+
146
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
147
+ Served asset /sweetalert.js - 304 Not Modified (4ms)
148
+
149
+
150
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
151
+ Served asset /sweet-alert-confirm.js - 304 Not Modified (3ms)
152
+
153
+
154
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:04:51 -0430
155
+ Served asset /application.js - 304 Not Modified (0ms)
156
+
157
+
158
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
159
+ Processing by ConfirmsController#index as HTML
160
+ Rendered confirms/index.html.erb within layouts/application (6.5ms)
161
+ Compiled sweet-alert-confirm.js (0ms) (pid 12883)
162
+ Compiled application.js (9ms) (pid 12883)
163
+ Completed 200 OK in 121.2ms (Views: 121.0ms)
164
+
165
+
166
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
167
+ Served asset /application.css - 304 Not Modified (0ms)
168
+
169
+
170
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
171
+ Served asset /sweetalert.css - 304 Not Modified (0ms)
172
+
173
+
174
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
175
+ Served asset /jquery.js - 304 Not Modified (0ms)
176
+
177
+
178
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
179
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (0ms)
180
+
181
+
182
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
183
+ Served asset /application.scss.css - 304 Not Modified (0ms)
184
+
185
+
186
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
187
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
188
+
189
+
190
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
191
+ Served asset /sweetalert.js - 304 Not Modified (0ms)
192
+
193
+
194
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
195
+ Served asset /sweet-alert-confirm.js - 200 OK (3ms)
196
+
197
+
198
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:03 -0430
199
+ Served asset /application.js - 304 Not Modified (7ms)
200
+
201
+
202
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:10:33 -0430
203
+ Processing by ConfirmsController#index as HTML
204
+ Rendered confirms/index.html.erb within layouts/application (4.6ms)
205
+ Compiled sweet-alert-confirm.js (0ms) (pid 12883)
206
+ Compiled application.js (9ms) (pid 12883)
207
+ Completed 200 OK in 187.8ms (Views: 187.5ms)
208
+
209
+
210
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
211
+ Served asset /sweetalert.css - 304 Not Modified (0ms)
212
+
213
+
214
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
215
+ Served asset /application.scss.css - 304 Not Modified (0ms)
216
+
217
+
218
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
219
+ Served asset /application.css - 304 Not Modified (0ms)
220
+
221
+
222
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
223
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (0ms)
224
+
225
+
226
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
227
+ Served asset /jquery.js - 304 Not Modified (0ms)
228
+
229
+
230
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
231
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
232
+
233
+
234
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
235
+ Served asset /sweetalert.js - 304 Not Modified (0ms)
236
+
237
+
238
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
239
+ Served asset /sweet-alert-confirm.js - 200 OK (4ms)
240
+
241
+
242
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:34 -0430
243
+ Served asset /application.js - 304 Not Modified (11ms)
244
+
245
+
246
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
247
+ Processing by ConfirmsController#index as HTML
248
+ Rendered confirms/index.html.erb within layouts/application (2.7ms)
249
+ Compiled sweet-alert-confirm.js (0ms) (pid 12883)
250
+ Compiled application.js (6ms) (pid 12883)
251
+ Completed 200 OK in 52.5ms (Views: 52.0ms)
252
+
253
+
254
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
255
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
256
+
257
+
258
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
259
+ Served asset /jquery.js - 304 Not Modified (0ms)
260
+
261
+
262
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
263
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (0ms)
264
+
265
+
266
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
267
+ Served asset /sweetalert.css - 304 Not Modified (0ms)
268
+
269
+
270
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
271
+ Served asset /application.css - 304 Not Modified (0ms)
272
+
273
+
274
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
275
+ Served asset /application.scss.css - 304 Not Modified (0ms)
276
+
277
+
278
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:52 -0430
279
+ Served asset /sweetalert.js - 304 Not Modified (0ms)
280
+
281
+
282
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:53 -0430
283
+ Served asset /sweet-alert-confirm.js - 200 OK (7ms)
284
+
285
+
286
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:10:53 -0430
287
+ Served asset /application.js - 304 Not Modified (9ms)
288
+
289
+
290
+ Started GET "/confirms_page" for 127.0.0.1 at 2015-11-25 19:23:10 -0430
291
+ Processing by ConfirmsController#index as HTML
292
+ Rendered confirms/index.html.erb within layouts/application (6.9ms)
293
+ Warning. Error encountered while saving cache /Users/moises/proyectos/gems/sweet_rails_confirm/spec/dummy-rails3/tmp/cache/sass/82d4e0b49cdf94a71a3144cbf991c58a689e0cf6/sweetalert.scssc: can't dump anonymous class #<Class:0x007fc2ba254458>
294
+
295
+ Warning. Error encountered while saving cache /Users/moises/proyectos/gems/sweet_rails_confirm/spec/dummy-rails3/tmp/cache/sass/90d704e96c1b7b508738a6a083df66783a0fa02b/sweetalert.scssc: can't dump anonymous class #<Class:0x007fc2ba254458>
296
+
297
+ Compiled sweetalert.css (192ms) (pid 14128)
298
+ Compiled application.scss.css (4ms) (pid 14128)
299
+ Compiled application.css (217ms) (pid 14128)
300
+ Compiled jquery.js (5ms) (pid 14128)
301
+ Compiled jquery_ujs.js (1ms) (pid 14128)
302
+ Compiled sweetalert/sweetalert.min.js (0ms) (pid 14128)
303
+ Compiled sweetalert.js (7ms) (pid 14128)
304
+ Compiled sweet-alert-confirm.js (0ms) (pid 14128)
305
+ Compiled application.js (61ms) (pid 14128)
306
+ Completed 200 OK in 362.7ms (Views: 362.1ms)
307
+
308
+
309
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
310
+ Served asset /sweetalert.css - 304 Not Modified (7ms)
311
+
312
+
313
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
314
+ Served asset /application.css - 304 Not Modified (12ms)
315
+
316
+
317
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
318
+ Served asset /jquery.js - 304 Not Modified (8ms)
319
+
320
+
321
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
322
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (3ms)
323
+
324
+
325
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
326
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
327
+
328
+
329
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
330
+ Served asset /application.scss.css - 304 Not Modified (4ms)
331
+
332
+
333
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
334
+ Served asset /sweetalert.js - 304 Not Modified (7ms)
335
+
336
+
337
+ Started GET "/assets/sweet-alert-confirm.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
338
+ Served asset /sweet-alert-confirm.js - 200 OK (3ms)
339
+
340
+
341
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:11 -0430
342
+ Served asset /application.js - 304 Not Modified (6ms)
343
+
344
+
345
+ Started GET "/get_cow" for 127.0.0.1 at 2015-11-25 19:23:21 -0430
346
+ Processing by ConfirmsController#get_cow as HTML
347
+ Rendered confirms/get_cow.html.erb within layouts/application (0.6ms)
348
+ Completed 200 OK in 11.2ms (Views: 10.3ms)
349
+
350
+
351
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
352
+ Served asset /sweetalert.css - 304 Not Modified (0ms)
353
+
354
+
355
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
356
+ Served asset /application.scss.css - 304 Not Modified (0ms)
357
+
358
+
359
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
360
+ Served asset /application.css - 304 Not Modified (0ms)
361
+
362
+
363
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
364
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
365
+
366
+
367
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
368
+ Served asset /jquery.js - 304 Not Modified (0ms)
369
+
370
+
371
+ Started GET "/assets/sweetalert/sweetalert.min.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
372
+ Served asset /sweetalert/sweetalert.min.js - 304 Not Modified (0ms)
373
+
374
+
375
+ Started GET "/assets/sweetalert.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
376
+ Served asset /sweetalert.js - 304 Not Modified (0ms)
377
+
378
+
379
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-11-25 19:23:22 -0430
380
+ Served asset /application.js - 304 Not Modified (0ms)
381
+
382
+
383
+ Started GET "/assets/sweetalert.css?body=1" for 127.0.0.1 at 2015-11-25 19:24:49 -0430
384
+ Served asset /sweetalert.css - 304 Not Modified (0ms)
385
+
386
+
387
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-11-25 19:24:49 -0430
388
+ Served asset /application.css - 304 Not Modified (0ms)
389
+
390
+
391
+ Started GET "/assets/application.scss.css?body=1" for 127.0.0.1 at 2015-11-25 19:24:49 -0430
392
+ Served asset /application.scss.css - 304 Not Modified (0ms)