dismissible_blocks 0.0.2

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 (86) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/LICENSE.text +22 -0
  4. data/README.markdown +152 -0
  5. data/Rakefile +34 -0
  6. data/app/assets/javascripts/dismissible_blocks.js +37 -0
  7. data/app/assets/javascripts/dismissible_blocks_loader.js +3 -0
  8. data/app/controllers/dismissible_blocks_controller.rb +3 -0
  9. data/app/helpers/dismissible_blocks_helper.rb +3 -0
  10. data/config/routes.rb +3 -0
  11. data/lib/dismissible_blocks/controller.rb +18 -0
  12. data/lib/dismissible_blocks/engine.rb +4 -0
  13. data/lib/dismissible_blocks/helper.rb +34 -0
  14. data/lib/dismissible_blocks/version.rb +3 -0
  15. data/lib/dismissible_blocks.rb +13 -0
  16. data/test/capybara_helper.rb +33 -0
  17. data/test/controllers/dismissible_blocks_controller_test.rb +18 -0
  18. data/test/dummy/Rakefile +3 -0
  19. data/test/dummy/app/assets/javascripts/application.js +3 -0
  20. data/test/dummy/app/assets/stylesheets/application.css +17 -0
  21. data/test/dummy/app/controllers/application_controller.rb +29 -0
  22. data/test/dummy/app/controllers/landings_controller.rb +6 -0
  23. data/test/dummy/app/controllers/sessions_controller.rb +28 -0
  24. data/test/dummy/app/helpers/application_helper.rb +2 -0
  25. data/test/dummy/app/helpers/landings_helper.rb +2 -0
  26. data/test/dummy/app/helpers/sessions_helper.rb +2 -0
  27. data/test/dummy/app/models/user.rb +9 -0
  28. data/test/dummy/app/views/landings/show.html.erb +10 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +18 -0
  30. data/test/dummy/app/views/sessions/new.html.erb +15 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +4 -0
  33. data/test/dummy/bin/rake +4 -0
  34. data/test/dummy/config/application.rb +10 -0
  35. data/test/dummy/config/boot.rb +4 -0
  36. data/test/dummy/config/database.yml +11 -0
  37. data/test/dummy/config/environment.rb +3 -0
  38. data/test/dummy/config/environments/development.rb +29 -0
  39. data/test/dummy/config/environments/test.rb +36 -0
  40. data/test/dummy/config/initializers/filter_parameter_logging.rb +1 -0
  41. data/test/dummy/config/initializers/secret_token.rb +1 -0
  42. data/test/dummy/config/initializers/session_store.rb +1 -0
  43. data/test/dummy/config/routes.rb +7 -0
  44. data/test/dummy/config.ru +3 -0
  45. data/test/dummy/db/migrate/20140303154458_create_users.rb +10 -0
  46. data/test/dummy/db/migrate/20140303161500_add_dismissed_blocks_to_users.rb +9 -0
  47. data/test/dummy/db/schema.rb +24 -0
  48. data/test/dummy/db/test.sqlite3 +0 -0
  49. data/test/dummy/log/development.log +6003 -0
  50. data/test/dummy/log/test.log +21144 -0
  51. data/test/dummy/public/404.html +58 -0
  52. data/test/dummy/public/422.html +58 -0
  53. data/test/dummy/public/500.html +57 -0
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/489c5c881967a5316ffa31442761ffcb +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/48d901fc62129ded86005b628a7f0f6f +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/58a8328804a777933d757eb9a448eaf5 +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/96c147c638b08a4c0178d9c66c3b9c48 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/9708d20fa7cc14e3657195722d1a3948 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/996481d37a8199e763e8fcf21a801422 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/ac2d5385dbcd9cea11c510dc83189bba +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/bec12e1e92fe458e19b5f9869454ac1a +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/58a8328804a777933d757eb9a448eaf5 +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/96c147c638b08a4c0178d9c66c3b9c48 +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/9708d20fa7cc14e3657195722d1a3948 +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/ac2d5385dbcd9cea11c510dc83189bba +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/bec12e1e92fe458e19b5f9869454ac1a +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  82. data/test/features/dismissible_blocks_test.rb +21 -0
  83. data/test/fixtures/users.yml +9 -0
  84. data/test/helpers/dismissible_blocks_helper_test.rb +53 -0
  85. data/test/test_helper.rb +9 -0
  86. metadata +297 -0
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1,21 @@
1
+ require 'capybara_helper'
2
+
3
+ class DismissibleBlocksTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ Capybara.current_driver = Capybara.javascript_driver
6
+ end
7
+
8
+ test "block is displayed and dismissed" do
9
+ login users(:one)
10
+ assert page.has_selector? '.block'
11
+ click_on 'Hide'
12
+ assert page.has_no_selector? '.block'
13
+ logout
14
+ end
15
+
16
+ test "block is not displayed; already dismissed" do
17
+ login users(:two)
18
+ assert page.has_no_selector? '.block'
19
+ logout
20
+ end
21
+ end
@@ -0,0 +1,9 @@
1
+ one:
2
+ username: john
3
+ password: lorem
4
+ dismissed_blocks:
5
+
6
+ two:
7
+ username: mike
8
+ password: ipsum
9
+ dismissed_blocks: ['lorem']
@@ -0,0 +1,53 @@
1
+ require 'test_helper'
2
+
3
+ class DismissibleBlocksHelperTest < ActionView::TestCase
4
+
5
+ test "render block because not dismissed" do
6
+ def self.current_user; users(:one); end
7
+ assert_not_nil render_dismissible_block('lorem') { 'lorem ipsum' }
8
+ end
9
+
10
+ test "omit block because dismissed" do
11
+ def self.current_user; users(:two); end
12
+ assert_nil render_dismissible_block('lorem') { 'lorem ipsum' }
13
+ end
14
+
15
+ test "raise exception because content missing" do
16
+ def self.current_user; users(:one); end
17
+ assert_raise DismissibleBlocks::ContentMissing do
18
+ render_dismissible_block('lorem')
19
+ end
20
+ end
21
+
22
+ test "raise exception because model unavailable" do
23
+ assert_raise DismissibleBlocks::ModelUnavailable do
24
+ render_dismissible_block('lorem') { 'lorem ipsum' }
25
+ end
26
+ end
27
+
28
+ test "raise exception because attribute unavailable" do
29
+ UserNoAttr = Struct.new(:username, :password)
30
+ def self.current_user; UserNoAttr.new; end
31
+ assert_raise DismissibleBlocks::AttributeUnavailable do
32
+ render_dismissible_block('lorem') { 'lorem ipsum' }
33
+ end
34
+ end
35
+
36
+ test "raise exception because attribute not array" do
37
+ UserNotArray = Struct.new(:username, :password, :dismissed_blocks)
38
+ def self.current_user; UserNotArray.new; end
39
+ assert_raise DismissibleBlocks::AttributeNotArray do
40
+ render_dismissible_block('lorem') { 'lorem ipsum' }
41
+ end
42
+ end
43
+
44
+ test "verify block name added to html5 data attributes" do
45
+ block = '<div data-dismissible>'
46
+ block += '<span data-dismissible-hide></span>'
47
+ block += '</div>'
48
+ def self.current_user; users(:one); end
49
+ html = render_dismissible_block('lorem') { block.html_safe }
50
+ assert html.include? "data-dismissible='lorem'"
51
+ assert html.include? "data-dismissible-hide='lorem'"
52
+ end
53
+ end
@@ -0,0 +1,9 @@
1
+ ENV['RAILS_ENV'] = 'test'
2
+
3
+ require File.expand_path('../dummy/config/environment.rb', __FILE__)
4
+ require 'rails/test_help'
5
+
6
+ Rails.backtrace_cleaner.remove_silencers!
7
+ ActiveRecord::Migrator.migrate File.expand_path('../dummy/db/migrate', __FILE__)
8
+ ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
9
+ ActiveSupport::TestCase.fixtures :all
metadata ADDED
@@ -0,0 +1,297 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dismissible_blocks
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Patrick Bougie
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: capybara
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: selenium-webdriver
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Dismiss HTML blocks and save state in the database. Engine for Ruby on
112
+ Rails.
113
+ email:
114
+ - hello@patrickbougie.com
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - Gemfile
120
+ - LICENSE.text
121
+ - README.markdown
122
+ - Rakefile
123
+ - app/assets/javascripts/dismissible_blocks.js
124
+ - app/assets/javascripts/dismissible_blocks_loader.js
125
+ - app/controllers/dismissible_blocks_controller.rb
126
+ - app/helpers/dismissible_blocks_helper.rb
127
+ - config/routes.rb
128
+ - lib/dismissible_blocks.rb
129
+ - lib/dismissible_blocks/controller.rb
130
+ - lib/dismissible_blocks/engine.rb
131
+ - lib/dismissible_blocks/helper.rb
132
+ - lib/dismissible_blocks/version.rb
133
+ - test/capybara_helper.rb
134
+ - test/controllers/dismissible_blocks_controller_test.rb
135
+ - test/dummy/Rakefile
136
+ - test/dummy/app/assets/javascripts/application.js
137
+ - test/dummy/app/assets/stylesheets/application.css
138
+ - test/dummy/app/controllers/application_controller.rb
139
+ - test/dummy/app/controllers/landings_controller.rb
140
+ - test/dummy/app/controllers/sessions_controller.rb
141
+ - test/dummy/app/helpers/application_helper.rb
142
+ - test/dummy/app/helpers/landings_helper.rb
143
+ - test/dummy/app/helpers/sessions_helper.rb
144
+ - test/dummy/app/models/user.rb
145
+ - test/dummy/app/views/landings/show.html.erb
146
+ - test/dummy/app/views/layouts/application.html.erb
147
+ - test/dummy/app/views/sessions/new.html.erb
148
+ - test/dummy/bin/bundle
149
+ - test/dummy/bin/rails
150
+ - test/dummy/bin/rake
151
+ - test/dummy/config.ru
152
+ - test/dummy/config/application.rb
153
+ - test/dummy/config/boot.rb
154
+ - test/dummy/config/database.yml
155
+ - test/dummy/config/environment.rb
156
+ - test/dummy/config/environments/development.rb
157
+ - test/dummy/config/environments/test.rb
158
+ - test/dummy/config/initializers/filter_parameter_logging.rb
159
+ - test/dummy/config/initializers/secret_token.rb
160
+ - test/dummy/config/initializers/session_store.rb
161
+ - test/dummy/config/routes.rb
162
+ - test/dummy/db/migrate/20140303154458_create_users.rb
163
+ - test/dummy/db/migrate/20140303161500_add_dismissed_blocks_to_users.rb
164
+ - test/dummy/db/schema.rb
165
+ - test/dummy/db/test.sqlite3
166
+ - test/dummy/log/development.log
167
+ - test/dummy/log/test.log
168
+ - test/dummy/public/404.html
169
+ - test/dummy/public/422.html
170
+ - test/dummy/public/500.html
171
+ - test/dummy/public/favicon.ico
172
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
173
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
174
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
175
+ - test/dummy/tmp/cache/assets/development/sprockets/489c5c881967a5316ffa31442761ffcb
176
+ - test/dummy/tmp/cache/assets/development/sprockets/48d901fc62129ded86005b628a7f0f6f
177
+ - test/dummy/tmp/cache/assets/development/sprockets/58a8328804a777933d757eb9a448eaf5
178
+ - test/dummy/tmp/cache/assets/development/sprockets/96c147c638b08a4c0178d9c66c3b9c48
179
+ - test/dummy/tmp/cache/assets/development/sprockets/9708d20fa7cc14e3657195722d1a3948
180
+ - test/dummy/tmp/cache/assets/development/sprockets/996481d37a8199e763e8fcf21a801422
181
+ - test/dummy/tmp/cache/assets/development/sprockets/ac2d5385dbcd9cea11c510dc83189bba
182
+ - test/dummy/tmp/cache/assets/development/sprockets/bec12e1e92fe458e19b5f9869454ac1a
183
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
184
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
185
+ - test/dummy/tmp/cache/assets/development/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f
186
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
187
+ - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
188
+ - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
189
+ - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
190
+ - test/dummy/tmp/cache/assets/test/sprockets/58a8328804a777933d757eb9a448eaf5
191
+ - test/dummy/tmp/cache/assets/test/sprockets/96c147c638b08a4c0178d9c66c3b9c48
192
+ - test/dummy/tmp/cache/assets/test/sprockets/9708d20fa7cc14e3657195722d1a3948
193
+ - test/dummy/tmp/cache/assets/test/sprockets/ac2d5385dbcd9cea11c510dc83189bba
194
+ - test/dummy/tmp/cache/assets/test/sprockets/bec12e1e92fe458e19b5f9869454ac1a
195
+ - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
196
+ - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
197
+ - test/dummy/tmp/cache/assets/test/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f
198
+ - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
199
+ - test/features/dismissible_blocks_test.rb
200
+ - test/fixtures/users.yml
201
+ - test/helpers/dismissible_blocks_helper_test.rb
202
+ - test/test_helper.rb
203
+ homepage: https://github.com/pbougie/dismissible_blocks
204
+ licenses:
205
+ - MIT
206
+ metadata: {}
207
+ post_install_message:
208
+ rdoc_options: []
209
+ require_paths:
210
+ - lib
211
+ required_ruby_version: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ required_rubygems_version: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ requirements: []
222
+ rubyforge_project:
223
+ rubygems_version: 2.2.2
224
+ signing_key:
225
+ specification_version: 4
226
+ summary: Dismissible HTML blocks for Ruby on Rails
227
+ test_files:
228
+ - test/capybara_helper.rb
229
+ - test/controllers/dismissible_blocks_controller_test.rb
230
+ - test/dummy/app/assets/javascripts/application.js
231
+ - test/dummy/app/assets/stylesheets/application.css
232
+ - test/dummy/app/controllers/application_controller.rb
233
+ - test/dummy/app/controllers/landings_controller.rb
234
+ - test/dummy/app/controllers/sessions_controller.rb
235
+ - test/dummy/app/helpers/application_helper.rb
236
+ - test/dummy/app/helpers/landings_helper.rb
237
+ - test/dummy/app/helpers/sessions_helper.rb
238
+ - test/dummy/app/models/user.rb
239
+ - test/dummy/app/views/landings/show.html.erb
240
+ - test/dummy/app/views/layouts/application.html.erb
241
+ - test/dummy/app/views/sessions/new.html.erb
242
+ - test/dummy/bin/bundle
243
+ - test/dummy/bin/rails
244
+ - test/dummy/bin/rake
245
+ - test/dummy/config/application.rb
246
+ - test/dummy/config/boot.rb
247
+ - test/dummy/config/database.yml
248
+ - test/dummy/config/environment.rb
249
+ - test/dummy/config/environments/development.rb
250
+ - test/dummy/config/environments/test.rb
251
+ - test/dummy/config/initializers/filter_parameter_logging.rb
252
+ - test/dummy/config/initializers/secret_token.rb
253
+ - test/dummy/config/initializers/session_store.rb
254
+ - test/dummy/config/routes.rb
255
+ - test/dummy/config.ru
256
+ - test/dummy/db/migrate/20140303154458_create_users.rb
257
+ - test/dummy/db/migrate/20140303161500_add_dismissed_blocks_to_users.rb
258
+ - test/dummy/db/schema.rb
259
+ - test/dummy/db/test.sqlite3
260
+ - test/dummy/log/development.log
261
+ - test/dummy/log/test.log
262
+ - test/dummy/public/404.html
263
+ - test/dummy/public/422.html
264
+ - test/dummy/public/500.html
265
+ - test/dummy/public/favicon.ico
266
+ - test/dummy/Rakefile
267
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
268
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
269
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
270
+ - test/dummy/tmp/cache/assets/development/sprockets/489c5c881967a5316ffa31442761ffcb
271
+ - test/dummy/tmp/cache/assets/development/sprockets/48d901fc62129ded86005b628a7f0f6f
272
+ - test/dummy/tmp/cache/assets/development/sprockets/58a8328804a777933d757eb9a448eaf5
273
+ - test/dummy/tmp/cache/assets/development/sprockets/96c147c638b08a4c0178d9c66c3b9c48
274
+ - test/dummy/tmp/cache/assets/development/sprockets/9708d20fa7cc14e3657195722d1a3948
275
+ - test/dummy/tmp/cache/assets/development/sprockets/996481d37a8199e763e8fcf21a801422
276
+ - test/dummy/tmp/cache/assets/development/sprockets/ac2d5385dbcd9cea11c510dc83189bba
277
+ - test/dummy/tmp/cache/assets/development/sprockets/bec12e1e92fe458e19b5f9869454ac1a
278
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
279
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
280
+ - test/dummy/tmp/cache/assets/development/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f
281
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
282
+ - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
283
+ - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
284
+ - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
285
+ - test/dummy/tmp/cache/assets/test/sprockets/58a8328804a777933d757eb9a448eaf5
286
+ - test/dummy/tmp/cache/assets/test/sprockets/96c147c638b08a4c0178d9c66c3b9c48
287
+ - test/dummy/tmp/cache/assets/test/sprockets/9708d20fa7cc14e3657195722d1a3948
288
+ - test/dummy/tmp/cache/assets/test/sprockets/ac2d5385dbcd9cea11c510dc83189bba
289
+ - test/dummy/tmp/cache/assets/test/sprockets/bec12e1e92fe458e19b5f9869454ac1a
290
+ - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
291
+ - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
292
+ - test/dummy/tmp/cache/assets/test/sprockets/ecbb0d7ff91e9d89fc001dcc70d1d48f
293
+ - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
294
+ - test/features/dismissible_blocks_test.rb
295
+ - test/fixtures/users.yml
296
+ - test/helpers/dismissible_blocks_helper_test.rb
297
+ - test/test_helper.rb