dismissible_helpers 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/assets/javascripts/dismissible_helpers.coffee +15 -13
  4. data/lib/dismissible_helpers/helpers/dismissible_helpers.rb +4 -2
  5. data/lib/dismissible_helpers/version.rb +1 -1
  6. data/spec/dummy/db/test.sqlite3 +0 -0
  7. data/spec/dummy/log/development.log +1080 -0
  8. data/spec/dummy/log/test.log +2627 -0
  9. data/spec/dummy/tmp/cache/assets/C50/1F0/sprockets%2Ff99382e227031a381d3d326b87e08037 +0 -0
  10. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  11. data/spec/dummy/tmp/cache/assets/CE3/590/sprockets%2F60f1e97d7008b3ed41f72855a4228bb9 +0 -0
  12. data/spec/dummy/tmp/cache/assets/D03/E50/sprockets%2F169bc1c3638f38ab485ecb5202fc3501 +0 -0
  13. data/spec/dummy/tmp/cache/assets/D0B/350/sprockets%2F0c6a94a65b00a6e80488b89705ee0c5a +0 -0
  14. data/spec/dummy/tmp/cache/assets/D0C/F20/sprockets%2F3869efaa2d2da3e0349f0106b855b782 +0 -0
  15. data/spec/dummy/tmp/cache/assets/D23/B10/sprockets%2Fc2a831ed79df487d6485a5c9c52766c2 +0 -0
  16. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  17. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  18. data/spec/dummy/tmp/cache/assets/D69/820/sprockets%2Ffe1a12587102ec194ea9b2e6dcb2495e +0 -0
  19. data/spec/dummy/tmp/cache/assets/D78/B10/sprockets%2F971d83856d3e7be5f2d7d4aa371e2ee1 +0 -0
  20. data/spec/dummy/tmp/cache/assets/DE9/260/sprockets%2Fadd025ab0eb13a6d4180af43d5df39df +0 -0
  21. data/spec/dummy/tmp/cache/assets/E72/C10/sprockets%2Fcee94ff2e026b6ecc66c7fcef96c1fc8 +0 -0
  22. data/spec/dummy/tmp/pids/server.pid +1 -0
  23. data/spec/requests/authenticated_spec.rb +1 -0
  24. data/spec/requests/unauthenticated_spec.rb +1 -0
  25. metadata +12 -2
@@ -0,0 +1 @@
1
+ 81763
@@ -9,6 +9,7 @@ feature 'Signed in user', :js => true do
9
9
  page.should_not have_content 'Hello world'
10
10
  visit root_path
11
11
  page.should_not have_content 'Hello world'
12
+ page.should_not have_selector '.dismissible'
12
13
  visit sign_out_path
13
14
  page.should have_content 'Hello world'
14
15
  end
@@ -9,6 +9,7 @@ feature 'Signed out user', :js => true do
9
9
  page.should_not have_content 'Hello world'
10
10
  visit root_path
11
11
  page.should_not have_content 'Hello world'
12
+ page.should_not have_selector '.dismissible'
12
13
  end
13
14
 
14
15
  scenario 'Sees, dismisses and restores a restorable helper', :js => true do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dismissible_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan McClain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-06 00:00:00.000000000 Z
11
+ date: 2013-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -242,9 +242,11 @@ files:
242
242
  - spec/dummy/README.rdoc
243
243
  - spec/dummy/script/rails
244
244
  - spec/dummy/tmp/cache/assets/C4F/B20/sprockets%2F24f6108078517240a0f0797a7e5cf625
245
+ - spec/dummy/tmp/cache/assets/C50/1F0/sprockets%2Ff99382e227031a381d3d326b87e08037
245
246
  - spec/dummy/tmp/cache/assets/C50/D30/sprockets%2F1474665e253024aef8d1855624146e2e
246
247
  - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
247
248
  - spec/dummy/tmp/cache/assets/CE3/590/sprockets%2F60f1e97d7008b3ed41f72855a4228bb9
249
+ - spec/dummy/tmp/cache/assets/D03/E50/sprockets%2F169bc1c3638f38ab485ecb5202fc3501
248
250
  - spec/dummy/tmp/cache/assets/D0B/350/sprockets%2F0c6a94a65b00a6e80488b89705ee0c5a
249
251
  - spec/dummy/tmp/cache/assets/D0C/F20/sprockets%2F3869efaa2d2da3e0349f0106b855b782
250
252
  - spec/dummy/tmp/cache/assets/D23/B10/sprockets%2Fc2a831ed79df487d6485a5c9c52766c2
@@ -254,7 +256,9 @@ files:
254
256
  - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
255
257
  - spec/dummy/tmp/cache/assets/D50/A10/sprockets%2F3a2c2a214dd3ba1a0e4b7f52a96522f3
256
258
  - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
259
+ - spec/dummy/tmp/cache/assets/D69/820/sprockets%2Ffe1a12587102ec194ea9b2e6dcb2495e
257
260
  - spec/dummy/tmp/cache/assets/D78/420/sprockets%2F854d9dd84c8d20bac9d9f741250e9b3a
261
+ - spec/dummy/tmp/cache/assets/D78/B10/sprockets%2F971d83856d3e7be5f2d7d4aa371e2ee1
258
262
  - spec/dummy/tmp/cache/assets/DAA/020/sprockets%2F7516ea1c5cf4d7b80fb9fd65153eff19
259
263
  - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
260
264
  - spec/dummy/tmp/cache/assets/DDF/AE0/sprockets%2F1fe879e6aff943d89f3f0cca571d2bc4
@@ -265,6 +269,7 @@ files:
265
269
  - spec/dummy/tmp/capybara/capybara-201212302021348367660995.html
266
270
  - spec/dummy/tmp/capybara/capybara-201212302023384130211415.html
267
271
  - spec/dummy/tmp/capybara/capybara-201212302103058314654716.html
272
+ - spec/dummy/tmp/pids/server.pid
268
273
  - spec/requests/authenticated_spec.rb
269
274
  - spec/requests/step_helpers/authentication.rb
270
275
  - spec/requests/unauthenticated_spec.rb
@@ -349,9 +354,11 @@ test_files:
349
354
  - spec/dummy/README.rdoc
350
355
  - spec/dummy/script/rails
351
356
  - spec/dummy/tmp/cache/assets/C4F/B20/sprockets%2F24f6108078517240a0f0797a7e5cf625
357
+ - spec/dummy/tmp/cache/assets/C50/1F0/sprockets%2Ff99382e227031a381d3d326b87e08037
352
358
  - spec/dummy/tmp/cache/assets/C50/D30/sprockets%2F1474665e253024aef8d1855624146e2e
353
359
  - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
354
360
  - spec/dummy/tmp/cache/assets/CE3/590/sprockets%2F60f1e97d7008b3ed41f72855a4228bb9
361
+ - spec/dummy/tmp/cache/assets/D03/E50/sprockets%2F169bc1c3638f38ab485ecb5202fc3501
355
362
  - spec/dummy/tmp/cache/assets/D0B/350/sprockets%2F0c6a94a65b00a6e80488b89705ee0c5a
356
363
  - spec/dummy/tmp/cache/assets/D0C/F20/sprockets%2F3869efaa2d2da3e0349f0106b855b782
357
364
  - spec/dummy/tmp/cache/assets/D23/B10/sprockets%2Fc2a831ed79df487d6485a5c9c52766c2
@@ -361,7 +368,9 @@ test_files:
361
368
  - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
362
369
  - spec/dummy/tmp/cache/assets/D50/A10/sprockets%2F3a2c2a214dd3ba1a0e4b7f52a96522f3
363
370
  - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
371
+ - spec/dummy/tmp/cache/assets/D69/820/sprockets%2Ffe1a12587102ec194ea9b2e6dcb2495e
364
372
  - spec/dummy/tmp/cache/assets/D78/420/sprockets%2F854d9dd84c8d20bac9d9f741250e9b3a
373
+ - spec/dummy/tmp/cache/assets/D78/B10/sprockets%2F971d83856d3e7be5f2d7d4aa371e2ee1
365
374
  - spec/dummy/tmp/cache/assets/DAA/020/sprockets%2F7516ea1c5cf4d7b80fb9fd65153eff19
366
375
  - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
367
376
  - spec/dummy/tmp/cache/assets/DDF/AE0/sprockets%2F1fe879e6aff943d89f3f0cca571d2bc4
@@ -372,6 +381,7 @@ test_files:
372
381
  - spec/dummy/tmp/capybara/capybara-201212302021348367660995.html
373
382
  - spec/dummy/tmp/capybara/capybara-201212302023384130211415.html
374
383
  - spec/dummy/tmp/capybara/capybara-201212302103058314654716.html
384
+ - spec/dummy/tmp/pids/server.pid
375
385
  - spec/requests/authenticated_spec.rb
376
386
  - spec/requests/step_helpers/authentication.rb
377
387
  - spec/requests/unauthenticated_spec.rb