alert_message 1.1.6 → 1.1.7
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 +4 -4
 - data/.gitignore +2 -0
 - data/.rspec +3 -1
 - data/.ruby-gemset +1 -0
 - data/.ruby-version +1 -0
 - data/.travis.yml +7 -0
 - data/Gemfile +3 -0
 - data/README.md +15 -4
 - data/Rakefile +20 -1
 - data/alert_message.gemspec +7 -3
 - data/lib/alert_message/engine.rb +8 -1
 - data/lib/generators/alert_message/templates/_alerts.html.erb +2 -2
 - data/lib/version/version.rb +1 -1
 - data/spec/alert_message/version_spec.rb +1 -1
 - data/spec/dummy/Gemfile +8 -0
 - data/spec/dummy/Rakefile +6 -0
 - data/spec/dummy/app/assets/images/.keep +0 -0
 - data/spec/dummy/app/assets/javascripts/application.js +14 -0
 - data/spec/dummy/app/assets/stylesheets/application.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/home_controller.rb +5 -0
 - data/spec/dummy/app/helpers/application_helper.rb +2 -0
 - data/spec/dummy/app/helpers/home_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/home/index.html.erb +1 -0
 - data/spec/dummy/app/views/layouts/_alerts.html.erb +10 -0
 - data/spec/dummy/app/views/layouts/application.html.erb +14 -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/bin/setup +29 -0
 - data/spec/dummy/config.ru +4 -0
 - data/spec/dummy/config/application.rb +30 -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 +41 -0
 - data/spec/dummy/config/environments/production.rb +79 -0
 - data/spec/dummy/config/environments/test.rb +42 -0
 - data/spec/dummy/config/initializers/assets.rb +11 -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/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/locales/simple_form.en.yml +31 -0
 - data/spec/dummy/config/routes.rb +5 -0
 - data/spec/dummy/config/secrets.yml +22 -0
 - data/spec/dummy/db/migrate/20160713200802_create_content_builder_categories.rb +10 -0
 - data/spec/dummy/db/migrate/20160713200803_create_content_builders.rb +15 -0
 - data/spec/dummy/db/migrate/20160713200804_create_content_builder_images.rb +10 -0
 - data/spec/dummy/db/schema.rb +44 -0
 - data/spec/dummy/lib/assets/.keep +0 -0
 - data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
 - data/spec/dummy/log/.keep +0 -0
 - data/spec/dummy/log/development.log +214 -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/public/uploads/rails_admin_content_builder/content_builder_image/image/1/center_example.jpg +0 -0
 - data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/example.jpg +0 -0
 - data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/left_or_right_example.jpg +0 -0
 - data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/center_example.jpg +0 -0
 - data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/example.jpg +0 -0
 - data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/left_or_right_example.jpg +0 -0
 - data/spec/features/alert_message_spec.rb +14 -0
 - data/spec/spec_helper.rb +12 -85
 - data/vendor/assets/javascripts/alert_message.coffee +6 -3
 - data/vendor/assets/stylesheets/alert_message.scss +28 -7
 - metadata +159 -12
 
| 
         @@ -0,0 +1,67 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!DOCTYPE html>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 3 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 4 
     | 
    
         
            +
              <title>The page you were looking for doesn't exist (404)</title>
         
     | 
| 
      
 5 
     | 
    
         
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <style>
         
     | 
| 
      
 7 
     | 
    
         
            +
              body {
         
     | 
| 
      
 8 
     | 
    
         
            +
                background-color: #EFEFEF;
         
     | 
| 
      
 9 
     | 
    
         
            +
                color: #2E2F30;
         
     | 
| 
      
 10 
     | 
    
         
            +
                text-align: center;
         
     | 
| 
      
 11 
     | 
    
         
            +
                font-family: arial, sans-serif;
         
     | 
| 
      
 12 
     | 
    
         
            +
                margin: 0;
         
     | 
| 
      
 13 
     | 
    
         
            +
              }
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              div.dialog {
         
     | 
| 
      
 16 
     | 
    
         
            +
                width: 95%;
         
     | 
| 
      
 17 
     | 
    
         
            +
                max-width: 33em;
         
     | 
| 
      
 18 
     | 
    
         
            +
                margin: 4em auto 0;
         
     | 
| 
      
 19 
     | 
    
         
            +
              }
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              div.dialog > div {
         
     | 
| 
      
 22 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 23 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 24 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 25 
     | 
    
         
            +
                border-bottom-color: #BBB;
         
     | 
| 
      
 26 
     | 
    
         
            +
                border-top: #B00100 solid 4px;
         
     | 
| 
      
 27 
     | 
    
         
            +
                border-top-left-radius: 9px;
         
     | 
| 
      
 28 
     | 
    
         
            +
                border-top-right-radius: 9px;
         
     | 
| 
      
 29 
     | 
    
         
            +
                background-color: white;
         
     | 
| 
      
 30 
     | 
    
         
            +
                padding: 7px 12% 0;
         
     | 
| 
      
 31 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 32 
     | 
    
         
            +
              }
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
              h1 {
         
     | 
| 
      
 35 
     | 
    
         
            +
                font-size: 100%;
         
     | 
| 
      
 36 
     | 
    
         
            +
                color: #730E15;
         
     | 
| 
      
 37 
     | 
    
         
            +
                line-height: 1.5em;
         
     | 
| 
      
 38 
     | 
    
         
            +
              }
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              div.dialog > p {
         
     | 
| 
      
 41 
     | 
    
         
            +
                margin: 0 0 1em;
         
     | 
| 
      
 42 
     | 
    
         
            +
                padding: 1em;
         
     | 
| 
      
 43 
     | 
    
         
            +
                background-color: #F7F7F7;
         
     | 
| 
      
 44 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 45 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 46 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 47 
     | 
    
         
            +
                border-bottom-color: #999;
         
     | 
| 
      
 48 
     | 
    
         
            +
                border-bottom-left-radius: 4px;
         
     | 
| 
      
 49 
     | 
    
         
            +
                border-bottom-right-radius: 4px;
         
     | 
| 
      
 50 
     | 
    
         
            +
                border-top-color: #DADADA;
         
     | 
| 
      
 51 
     | 
    
         
            +
                color: #666;
         
     | 
| 
      
 52 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 53 
     | 
    
         
            +
              }
         
     | 
| 
      
 54 
     | 
    
         
            +
              </style>
         
     | 
| 
      
 55 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 58 
     | 
    
         
            +
              <!-- This file lives in public/404.html -->
         
     | 
| 
      
 59 
     | 
    
         
            +
              <div class="dialog">
         
     | 
| 
      
 60 
     | 
    
         
            +
                <div>
         
     | 
| 
      
 61 
     | 
    
         
            +
                  <h1>The page you were looking for doesn't exist.</h1>
         
     | 
| 
      
 62 
     | 
    
         
            +
                  <p>You may have mistyped the address or the page may have moved.</p>
         
     | 
| 
      
 63 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 64 
     | 
    
         
            +
                <p>If you are the application owner check the logs for more information.</p>
         
     | 
| 
      
 65 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 66 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 67 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,67 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!DOCTYPE html>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 3 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 4 
     | 
    
         
            +
              <title>The change you wanted was rejected (422)</title>
         
     | 
| 
      
 5 
     | 
    
         
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <style>
         
     | 
| 
      
 7 
     | 
    
         
            +
              body {
         
     | 
| 
      
 8 
     | 
    
         
            +
                background-color: #EFEFEF;
         
     | 
| 
      
 9 
     | 
    
         
            +
                color: #2E2F30;
         
     | 
| 
      
 10 
     | 
    
         
            +
                text-align: center;
         
     | 
| 
      
 11 
     | 
    
         
            +
                font-family: arial, sans-serif;
         
     | 
| 
      
 12 
     | 
    
         
            +
                margin: 0;
         
     | 
| 
      
 13 
     | 
    
         
            +
              }
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              div.dialog {
         
     | 
| 
      
 16 
     | 
    
         
            +
                width: 95%;
         
     | 
| 
      
 17 
     | 
    
         
            +
                max-width: 33em;
         
     | 
| 
      
 18 
     | 
    
         
            +
                margin: 4em auto 0;
         
     | 
| 
      
 19 
     | 
    
         
            +
              }
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              div.dialog > div {
         
     | 
| 
      
 22 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 23 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 24 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 25 
     | 
    
         
            +
                border-bottom-color: #BBB;
         
     | 
| 
      
 26 
     | 
    
         
            +
                border-top: #B00100 solid 4px;
         
     | 
| 
      
 27 
     | 
    
         
            +
                border-top-left-radius: 9px;
         
     | 
| 
      
 28 
     | 
    
         
            +
                border-top-right-radius: 9px;
         
     | 
| 
      
 29 
     | 
    
         
            +
                background-color: white;
         
     | 
| 
      
 30 
     | 
    
         
            +
                padding: 7px 12% 0;
         
     | 
| 
      
 31 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 32 
     | 
    
         
            +
              }
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
              h1 {
         
     | 
| 
      
 35 
     | 
    
         
            +
                font-size: 100%;
         
     | 
| 
      
 36 
     | 
    
         
            +
                color: #730E15;
         
     | 
| 
      
 37 
     | 
    
         
            +
                line-height: 1.5em;
         
     | 
| 
      
 38 
     | 
    
         
            +
              }
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              div.dialog > p {
         
     | 
| 
      
 41 
     | 
    
         
            +
                margin: 0 0 1em;
         
     | 
| 
      
 42 
     | 
    
         
            +
                padding: 1em;
         
     | 
| 
      
 43 
     | 
    
         
            +
                background-color: #F7F7F7;
         
     | 
| 
      
 44 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 45 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 46 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 47 
     | 
    
         
            +
                border-bottom-color: #999;
         
     | 
| 
      
 48 
     | 
    
         
            +
                border-bottom-left-radius: 4px;
         
     | 
| 
      
 49 
     | 
    
         
            +
                border-bottom-right-radius: 4px;
         
     | 
| 
      
 50 
     | 
    
         
            +
                border-top-color: #DADADA;
         
     | 
| 
      
 51 
     | 
    
         
            +
                color: #666;
         
     | 
| 
      
 52 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 53 
     | 
    
         
            +
              }
         
     | 
| 
      
 54 
     | 
    
         
            +
              </style>
         
     | 
| 
      
 55 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 58 
     | 
    
         
            +
              <!-- This file lives in public/422.html -->
         
     | 
| 
      
 59 
     | 
    
         
            +
              <div class="dialog">
         
     | 
| 
      
 60 
     | 
    
         
            +
                <div>
         
     | 
| 
      
 61 
     | 
    
         
            +
                  <h1>The change you wanted was rejected.</h1>
         
     | 
| 
      
 62 
     | 
    
         
            +
                  <p>Maybe you tried to change something you didn't have access to.</p>
         
     | 
| 
      
 63 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 64 
     | 
    
         
            +
                <p>If you are the application owner check the logs for more information.</p>
         
     | 
| 
      
 65 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 66 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 67 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,66 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!DOCTYPE html>
         
     | 
| 
      
 2 
     | 
    
         
            +
            <html>
         
     | 
| 
      
 3 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 4 
     | 
    
         
            +
              <title>We're sorry, but something went wrong (500)</title>
         
     | 
| 
      
 5 
     | 
    
         
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <style>
         
     | 
| 
      
 7 
     | 
    
         
            +
              body {
         
     | 
| 
      
 8 
     | 
    
         
            +
                background-color: #EFEFEF;
         
     | 
| 
      
 9 
     | 
    
         
            +
                color: #2E2F30;
         
     | 
| 
      
 10 
     | 
    
         
            +
                text-align: center;
         
     | 
| 
      
 11 
     | 
    
         
            +
                font-family: arial, sans-serif;
         
     | 
| 
      
 12 
     | 
    
         
            +
                margin: 0;
         
     | 
| 
      
 13 
     | 
    
         
            +
              }
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              div.dialog {
         
     | 
| 
      
 16 
     | 
    
         
            +
                width: 95%;
         
     | 
| 
      
 17 
     | 
    
         
            +
                max-width: 33em;
         
     | 
| 
      
 18 
     | 
    
         
            +
                margin: 4em auto 0;
         
     | 
| 
      
 19 
     | 
    
         
            +
              }
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              div.dialog > div {
         
     | 
| 
      
 22 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 23 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 24 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 25 
     | 
    
         
            +
                border-bottom-color: #BBB;
         
     | 
| 
      
 26 
     | 
    
         
            +
                border-top: #B00100 solid 4px;
         
     | 
| 
      
 27 
     | 
    
         
            +
                border-top-left-radius: 9px;
         
     | 
| 
      
 28 
     | 
    
         
            +
                border-top-right-radius: 9px;
         
     | 
| 
      
 29 
     | 
    
         
            +
                background-color: white;
         
     | 
| 
      
 30 
     | 
    
         
            +
                padding: 7px 12% 0;
         
     | 
| 
      
 31 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 32 
     | 
    
         
            +
              }
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
              h1 {
         
     | 
| 
      
 35 
     | 
    
         
            +
                font-size: 100%;
         
     | 
| 
      
 36 
     | 
    
         
            +
                color: #730E15;
         
     | 
| 
      
 37 
     | 
    
         
            +
                line-height: 1.5em;
         
     | 
| 
      
 38 
     | 
    
         
            +
              }
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              div.dialog > p {
         
     | 
| 
      
 41 
     | 
    
         
            +
                margin: 0 0 1em;
         
     | 
| 
      
 42 
     | 
    
         
            +
                padding: 1em;
         
     | 
| 
      
 43 
     | 
    
         
            +
                background-color: #F7F7F7;
         
     | 
| 
      
 44 
     | 
    
         
            +
                border: 1px solid #CCC;
         
     | 
| 
      
 45 
     | 
    
         
            +
                border-right-color: #999;
         
     | 
| 
      
 46 
     | 
    
         
            +
                border-left-color: #999;
         
     | 
| 
      
 47 
     | 
    
         
            +
                border-bottom-color: #999;
         
     | 
| 
      
 48 
     | 
    
         
            +
                border-bottom-left-radius: 4px;
         
     | 
| 
      
 49 
     | 
    
         
            +
                border-bottom-right-radius: 4px;
         
     | 
| 
      
 50 
     | 
    
         
            +
                border-top-color: #DADADA;
         
     | 
| 
      
 51 
     | 
    
         
            +
                color: #666;
         
     | 
| 
      
 52 
     | 
    
         
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         
     | 
| 
      
 53 
     | 
    
         
            +
              }
         
     | 
| 
      
 54 
     | 
    
         
            +
              </style>
         
     | 
| 
      
 55 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 58 
     | 
    
         
            +
              <!-- This file lives in public/500.html -->
         
     | 
| 
      
 59 
     | 
    
         
            +
              <div class="dialog">
         
     | 
| 
      
 60 
     | 
    
         
            +
                <div>
         
     | 
| 
      
 61 
     | 
    
         
            +
                  <h1>We're sorry, but something went wrong.</h1>
         
     | 
| 
      
 62 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 63 
     | 
    
         
            +
                <p>If you are the application owner check the logs for more information.</p>
         
     | 
| 
      
 64 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 65 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 66 
     | 
    
         
            +
            </html>
         
     | 
| 
         
            File without changes
         
     | 
| 
         Binary file 
     | 
    
        data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/example.jpg
    ADDED
    
    | 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
    
        data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/example.jpg
    ADDED
    
    | 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            feature 'show message', type: :feature do
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              selectors = %w(error notice success)
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
              selectors.each do |selector|
         
     | 
| 
      
 8 
     | 
    
         
            +
                scenario selector, js: false do
         
     | 
| 
      
 9 
     | 
    
         
            +
                  visit home_path(message: selector)
         
     | 
| 
      
 10 
     | 
    
         
            +
                  expect(page).to have_selector(".alert-message-#{selector}")
         
     | 
| 
      
 11 
     | 
    
         
            +
                  expect(page).to have_text("test #{selector} message")
         
     | 
| 
      
 12 
     | 
    
         
            +
                end
         
     | 
| 
      
 13 
     | 
    
         
            +
              end
         
     | 
| 
      
 14 
     | 
    
         
            +
            end
         
     | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    | 
         @@ -1,89 +1,16 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
            # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
         
     | 
| 
       3 
     | 
    
         
            -
            # The generated `.rspec` file contains `--require spec_helper` which will cause this
         
     | 
| 
       4 
     | 
    
         
            -
            # file to always be loaded, without a need to explicitly require it in any files.
         
     | 
| 
       5 
     | 
    
         
            -
            #
         
     | 
| 
       6 
     | 
    
         
            -
            # Given that it is always loaded, you are encouraged to keep this file as
         
     | 
| 
       7 
     | 
    
         
            -
            # light-weight as possible. Requiring heavyweight dependencies from this file
         
     | 
| 
       8 
     | 
    
         
            -
            # will add to the boot time of your test suite on EVERY test run, even for an
         
     | 
| 
       9 
     | 
    
         
            -
            # individual file that may not need all of that loaded. Instead, consider making
         
     | 
| 
       10 
     | 
    
         
            -
            # a separate helper file that requires the additional dependencies and performs
         
     | 
| 
       11 
     | 
    
         
            -
            # the additional setup, and require it from the spec files that actually need it.
         
     | 
| 
       12 
     | 
    
         
            -
            #
         
     | 
| 
       13 
     | 
    
         
            -
            # The `.rspec` file also contains a few flags that are not defaults but that
         
     | 
| 
       14 
     | 
    
         
            -
            # users commonly want.
         
     | 
| 
       15 
     | 
    
         
            -
            #
         
     | 
| 
       16 
     | 
    
         
            -
            # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
         
     | 
| 
       17 
     | 
    
         
            -
            RSpec.configure do |config|
         
     | 
| 
       18 
     | 
    
         
            -
              # rspec-expectations config goes here. You can use an alternate
         
     | 
| 
       19 
     | 
    
         
            -
              # assertion/expectation library such as wrong or the stdlib/minitest
         
     | 
| 
       20 
     | 
    
         
            -
              # assertions if you prefer.
         
     | 
| 
       21 
     | 
    
         
            -
              config.expect_with :rspec do |expectations|
         
     | 
| 
       22 
     | 
    
         
            -
                # This option will default to `true` in RSpec 4. It makes the `description`
         
     | 
| 
       23 
     | 
    
         
            -
                # and `failure_message` of custom matchers include text for helper methods
         
     | 
| 
       24 
     | 
    
         
            -
                # defined using `chain`, e.g.:
         
     | 
| 
       25 
     | 
    
         
            -
                # be_bigger_than(2).and_smaller_than(4).description
         
     | 
| 
       26 
     | 
    
         
            -
                #   # => "be bigger than 2 and smaller than 4"
         
     | 
| 
       27 
     | 
    
         
            -
                # ...rather than:
         
     | 
| 
       28 
     | 
    
         
            -
                #   # => "be bigger than 2"
         
     | 
| 
       29 
     | 
    
         
            -
                expectations.include_chain_clauses_in_custom_matcher_descriptions = true
         
     | 
| 
       30 
     | 
    
         
            -
              end
         
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
              # rspec-mocks config goes here. You can use an alternate test double
         
     | 
| 
       33 
     | 
    
         
            -
              # library (such as bogus or mocha) by changing the `mock_with` option here.
         
     | 
| 
       34 
     | 
    
         
            -
              config.mock_with :rspec do |mocks|
         
     | 
| 
       35 
     | 
    
         
            -
                # Prevents you from mocking or stubbing a method that does not exist on
         
     | 
| 
       36 
     | 
    
         
            -
                # a real object. This is generally recommended, and will default to
         
     | 
| 
       37 
     | 
    
         
            -
                # `true` in RSpec 4.
         
     | 
| 
       38 
     | 
    
         
            -
                mocks.verify_partial_doubles = true
         
     | 
| 
       39 
     | 
    
         
            -
              end
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
            # The settings below are suggested to provide a good initial experience
         
     | 
| 
       42 
     | 
    
         
            -
            # with RSpec, but feel free to customize to your heart's content.
         
     | 
| 
       43 
     | 
    
         
            -
            =begin
         
     | 
| 
       44 
     | 
    
         
            -
              # These two settings work together to allow you to limit a spec run
         
     | 
| 
       45 
     | 
    
         
            -
              # to individual examples or groups you care about by tagging them with
         
     | 
| 
       46 
     | 
    
         
            -
              # `:focus` metadata. When nothing is tagged with `:focus`, all examples
         
     | 
| 
       47 
     | 
    
         
            -
              # get run.
         
     | 
| 
       48 
     | 
    
         
            -
              config.filter_run :focus
         
     | 
| 
       49 
     | 
    
         
            -
              config.run_all_when_everything_filtered = true
         
     | 
| 
      
 1 
     | 
    
         
            +
            ENV['RAILS_ENV'] ||= 'test'
         
     | 
| 
       50 
2 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
              #   - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
         
     | 
| 
       54 
     | 
    
         
            -
              #   - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
         
     | 
| 
       55 
     | 
    
         
            -
              #   - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
         
     | 
| 
       56 
     | 
    
         
            -
              config.disable_monkey_patching!
         
     | 
| 
      
 3 
     | 
    
         
            +
            require File.expand_path("../dummy/config/environment.rb", __FILE__)
         
     | 
| 
      
 4 
     | 
    
         
            +
            require 'rspec/rails'
         
     | 
| 
       57 
5 
     | 
    
         | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
              # be too noisy due to issues in dependencies.
         
     | 
| 
       60 
     | 
    
         
            -
              config.warnings = true
         
     | 
| 
      
 6 
     | 
    
         
            +
            Rails.backtrace_cleaner.remove_silencers!
         
     | 
| 
       61 
7 
     | 
    
         | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
              # individual spec file.
         
     | 
| 
       65 
     | 
    
         
            -
              if config.files_to_run.one?
         
     | 
| 
       66 
     | 
    
         
            -
                # Use the documentation formatter for detailed output,
         
     | 
| 
       67 
     | 
    
         
            -
                # unless a formatter has already been configured
         
     | 
| 
       68 
     | 
    
         
            -
                # (e.g. via a command-line flag).
         
     | 
| 
       69 
     | 
    
         
            -
                config.default_formatter = 'doc'
         
     | 
| 
       70 
     | 
    
         
            -
              end
         
     | 
| 
      
 8 
     | 
    
         
            +
            # Load support files
         
     | 
| 
      
 9 
     | 
    
         
            +
            Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
         
     | 
| 
       71 
10 
     | 
    
         | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
               
     | 
| 
       74 
     | 
    
         
            -
               
     | 
| 
       75 
     | 
    
         
            -
              config. 
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
              # order dependency and want to debug it, you can fix the order by providing
         
     | 
| 
       79 
     | 
    
         
            -
              # the seed, which is printed after each run.
         
     | 
| 
       80 
     | 
    
         
            -
              #     --seed 1234
         
     | 
| 
       81 
     | 
    
         
            -
              config.order = :random
         
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
              # Seed global randomization in this process using the `--seed` CLI option.
         
     | 
| 
       84 
     | 
    
         
            -
              # Setting this allows you to use `--seed` to deterministically reproduce
         
     | 
| 
       85 
     | 
    
         
            -
              # test failures related to randomization by passing the same `--seed` value
         
     | 
| 
       86 
     | 
    
         
            -
              # as the one that triggered the failure.
         
     | 
| 
       87 
     | 
    
         
            -
              Kernel.srand config.seed
         
     | 
| 
       88 
     | 
    
         
            -
            =end
         
     | 
| 
       89 
     | 
    
         
            -
            end
         
     | 
| 
      
 11 
     | 
    
         
            +
            RSpec.configure do |config|
         
     | 
| 
      
 12 
     | 
    
         
            +
              config.mock_with :rspec
         
     | 
| 
      
 13 
     | 
    
         
            +
              config.use_transactional_fixtures = true
         
     | 
| 
      
 14 
     | 
    
         
            +
              config.infer_base_class_for_anonymous_controllers = false
         
     | 
| 
      
 15 
     | 
    
         
            +
              config.order = "random"
         
     | 
| 
      
 16 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -1,10 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            $ ->
         
     | 
| 
       2 
2 
     | 
    
         
             
              alerts = $('.alert-message')
         
     | 
| 
      
 3 
     | 
    
         
            +
              alerts.addClass('alert-message--visible')
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
       3 
5 
     | 
    
         
             
              setTimeout (->
         
     | 
| 
       4 
     | 
    
         
            -
                alerts. 
     | 
| 
      
 6 
     | 
    
         
            +
                alerts.removeClass('alert-message--visible')
         
     | 
| 
       5 
7 
     | 
    
         
             
                return
         
     | 
| 
       6 
     | 
    
         
            -
              ),  
     | 
| 
      
 8 
     | 
    
         
            +
              ), 10000
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
       7 
10 
     | 
    
         
             
              alerts.click ->
         
     | 
| 
       8 
     | 
    
         
            -
                alerts. 
     | 
| 
      
 11 
     | 
    
         
            +
                alerts.removeClass('alert-message--visible')
         
     | 
| 
       9 
12 
     | 
    
         
             
                return
         
     | 
| 
       10 
13 
     | 
    
         
             
              return
         
     | 
| 
         @@ -4,22 +4,43 @@ 
     | 
|
| 
       4 
4 
     | 
    
         
             
              position: fixed;
         
     | 
| 
       5 
5 
     | 
    
         
             
              z-index: 9999;
         
     | 
| 
       6 
6 
     | 
    
         
             
              top: 0;
         
     | 
| 
       7 
     | 
    
         
            -
               
     | 
| 
      
 7 
     | 
    
         
            +
              right: 0;
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
      
 9 
     | 
    
         
            +
              box-sizing: border-box;
         
     | 
| 
       9 
10 
     | 
    
         
             
              width: 100%;
         
     | 
| 
      
 11 
     | 
    
         
            +
              padding: 10px;
         
     | 
| 
      
 12 
     | 
    
         
            +
              background-color: #444;
         
     | 
| 
       10 
13 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
              color: # 
     | 
| 
       12 
     | 
    
         
            -
              font-size:  
     | 
| 
      
 14 
     | 
    
         
            +
              color: #ffffff;
         
     | 
| 
      
 15 
     | 
    
         
            +
              font-size: 13px;
         
     | 
| 
       13 
16 
     | 
    
         
             
              text-align: center;
         
     | 
| 
       14 
17 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
               
     | 
| 
      
 18 
     | 
    
         
            +
              -webkit-transform: translateY(-100%);
         
     | 
| 
      
 19 
     | 
    
         
            +
              -moz-transform: translateY(-100%);
         
     | 
| 
      
 20 
     | 
    
         
            +
              transform: translateY(-100%);
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              -webkit-transition: .2s ease;
         
     | 
| 
      
 23 
     | 
    
         
            +
              -moz-transition: .2s ease;
         
     | 
| 
      
 24 
     | 
    
         
            +
              transition: .2s ease;
         
     | 
| 
       16 
25 
     | 
    
         
             
            }
         
     | 
| 
       17 
26 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            .alert-message 
     | 
| 
       19 
     | 
    
         
            -
               
     | 
| 
      
 27 
     | 
    
         
            +
            .alert-message--visible {
         
     | 
| 
      
 28 
     | 
    
         
            +
              -webkit-transform: translateY(0);
         
     | 
| 
      
 29 
     | 
    
         
            +
              -moz-transform: translateY(0);
         
     | 
| 
      
 30 
     | 
    
         
            +
              transform: translateY(0);
         
     | 
| 
      
 31 
     | 
    
         
            +
            }
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            .alert-message-error {
         
     | 
| 
      
 34 
     | 
    
         
            +
              background-color: #D33D3D;
         
     | 
| 
       20 
35 
     | 
    
         
             
            }
         
     | 
| 
       21 
36 
     | 
    
         | 
| 
       22 
37 
     | 
    
         
             
            .alert-message-notice,
         
     | 
| 
       23 
38 
     | 
    
         
             
            .alert-message-success {
         
     | 
| 
       24 
     | 
    
         
            -
              background: # 
     | 
| 
      
 39 
     | 
    
         
            +
              background-color: #67AF72;
         
     | 
| 
      
 40 
     | 
    
         
            +
            }
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            @media screen and (min-width: 768px) {
         
     | 
| 
      
 43 
     | 
    
         
            +
              .alert-message {
         
     | 
| 
      
 44 
     | 
    
         
            +
                font-size: 15px;
         
     | 
| 
      
 45 
     | 
    
         
            +
              }
         
     | 
| 
       25 
46 
     | 
    
         
             
            }
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: alert_message
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.7
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Luiz Picolo
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2016- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2016-11-10 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -17,48 +17,102 @@ dependencies: 
     | 
|
| 
       17 
17 
     | 
    
         
             
                requirements:
         
     | 
| 
       18 
18 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       19 
19 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       20 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 20 
     | 
    
         
            +
                    version: '1.11'
         
     | 
| 
       21 
21 
     | 
    
         
             
              type: :development
         
     | 
| 
       22 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       23 
23 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       24 
24 
     | 
    
         
             
                requirements:
         
     | 
| 
       25 
25 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       26 
26 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       27 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 27 
     | 
    
         
            +
                    version: '1.11'
         
     | 
| 
       28 
28 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       29 
     | 
    
         
            -
              name:  
     | 
| 
      
 29 
     | 
    
         
            +
              name: capybara
         
     | 
| 
       30 
30 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       31 
31 
     | 
    
         
             
                requirements:
         
     | 
| 
      
 32 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 33 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 34 
     | 
    
         
            +
                    version: '2.7'
         
     | 
| 
       32 
35 
     | 
    
         
             
                - - ">="
         
     | 
| 
       33 
36 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       34 
     | 
    
         
            -
                    version:  
     | 
| 
      
 37 
     | 
    
         
            +
                    version: 2.7.0
         
     | 
| 
       35 
38 
     | 
    
         
             
              type: :development
         
     | 
| 
       36 
39 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       37 
40 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       38 
41 
     | 
    
         
             
                requirements:
         
     | 
| 
      
 42 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 43 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 44 
     | 
    
         
            +
                    version: '2.7'
         
     | 
| 
       39 
45 
     | 
    
         
             
                - - ">="
         
     | 
| 
       40 
46 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       41 
     | 
    
         
            -
                    version:  
     | 
| 
      
 47 
     | 
    
         
            +
                    version: 2.7.0
         
     | 
| 
      
 48 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 49 
     | 
    
         
            +
              name: rake
         
     | 
| 
      
 50 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 51 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 52 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 53 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 54 
     | 
    
         
            +
                    version: '10.0'
         
     | 
| 
      
 55 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 56 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 57 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 58 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 59 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 61 
     | 
    
         
            +
                    version: '10.0'
         
     | 
| 
       42 
62 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       43 
     | 
    
         
            -
              name:  
     | 
| 
      
 63 
     | 
    
         
            +
              name: rails
         
     | 
| 
       44 
64 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       45 
65 
     | 
    
         
             
                requirements:
         
     | 
| 
       46 
66 
     | 
    
         
             
                - - ">="
         
     | 
| 
       47 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       48 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 68 
     | 
    
         
            +
                    version: '4.0'
         
     | 
| 
       49 
69 
     | 
    
         
             
                - - "<"
         
     | 
| 
       50 
70 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       51 
71 
     | 
    
         
             
                    version: '5'
         
     | 
| 
       52 
     | 
    
         
            -
              type: : 
     | 
| 
      
 72 
     | 
    
         
            +
              type: :development
         
     | 
| 
       53 
73 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       54 
74 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       55 
75 
     | 
    
         
             
                requirements:
         
     | 
| 
       56 
76 
     | 
    
         
             
                - - ">="
         
     | 
| 
       57 
77 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       58 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 78 
     | 
    
         
            +
                    version: '4.0'
         
     | 
| 
       59 
79 
     | 
    
         
             
                - - "<"
         
     | 
| 
       60 
80 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
81 
     | 
    
         
             
                    version: '5'
         
     | 
| 
      
 82 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 83 
     | 
    
         
            +
              name: rspec-rails
         
     | 
| 
      
 84 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 85 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 86 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 87 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 88 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
      
 89 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 90 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 91 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 92 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 93 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 95 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
      
 96 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 97 
     | 
    
         
            +
              name: selenium-webdriver
         
     | 
| 
      
 98 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 99 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 100 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 101 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 102 
     | 
    
         
            +
                    version: '2.53'
         
     | 
| 
      
 103 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 104 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 105 
     | 
    
         
            +
                    version: 2.53.4
         
     | 
| 
      
 106 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 107 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 108 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 109 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 110 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 111 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 112 
     | 
    
         
            +
                    version: '2.53'
         
     | 
| 
      
 113 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 114 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 115 
     | 
    
         
            +
                    version: 2.53.4
         
     | 
| 
       62 
116 
     | 
    
         
             
            description: Simple gem for alerts messages
         
     | 
| 
       63 
117 
     | 
    
         
             
            email:
         
     | 
| 
       64 
118 
     | 
    
         
             
            - luizpicolo@gmail.com
         
     | 
| 
         @@ -69,6 +123,9 @@ extra_rdoc_files: [] 
     | 
|
| 
       69 
123 
     | 
    
         
             
            files:
         
     | 
| 
       70 
124 
     | 
    
         
             
            - ".gitignore"
         
     | 
| 
       71 
125 
     | 
    
         
             
            - ".rspec"
         
     | 
| 
      
 126 
     | 
    
         
            +
            - ".ruby-gemset"
         
     | 
| 
      
 127 
     | 
    
         
            +
            - ".ruby-version"
         
     | 
| 
      
 128 
     | 
    
         
            +
            - ".travis.yml"
         
     | 
| 
       72 
129 
     | 
    
         
             
            - Gemfile
         
     | 
| 
       73 
130 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       74 
131 
     | 
    
         
             
            - README.md
         
     | 
| 
         @@ -81,6 +138,96 @@ files: 
     | 
|
| 
       81 
138 
     | 
    
         
             
            - lib/version/version.rb
         
     | 
| 
       82 
139 
     | 
    
         
             
            - spec/alert_message/alert_message_spec.rb
         
     | 
| 
       83 
140 
     | 
    
         
             
            - spec/alert_message/version_spec.rb
         
     | 
| 
      
 141 
     | 
    
         
            +
            - spec/dummy/Gemfile
         
     | 
| 
      
 142 
     | 
    
         
            +
            - spec/dummy/Rakefile
         
     | 
| 
      
 143 
     | 
    
         
            +
            - spec/dummy/app/assets/images/.keep
         
     | 
| 
      
 144 
     | 
    
         
            +
            - spec/dummy/app/assets/javascripts/application.js
         
     | 
| 
      
 145 
     | 
    
         
            +
            - spec/dummy/app/assets/stylesheets/application.css
         
     | 
| 
      
 146 
     | 
    
         
            +
            - spec/dummy/app/controllers/application_controller.rb
         
     | 
| 
      
 147 
     | 
    
         
            +
            - spec/dummy/app/controllers/concerns/.keep
         
     | 
| 
      
 148 
     | 
    
         
            +
            - spec/dummy/app/controllers/home_controller.rb
         
     | 
| 
      
 149 
     | 
    
         
            +
            - spec/dummy/app/helpers/application_helper.rb
         
     | 
| 
      
 150 
     | 
    
         
            +
            - spec/dummy/app/helpers/home_helper.rb
         
     | 
| 
      
 151 
     | 
    
         
            +
            - spec/dummy/app/mailers/.keep
         
     | 
| 
      
 152 
     | 
    
         
            +
            - spec/dummy/app/models/.keep
         
     | 
| 
      
 153 
     | 
    
         
            +
            - spec/dummy/app/models/concerns/.keep
         
     | 
| 
      
 154 
     | 
    
         
            +
            - spec/dummy/app/views/home/index.html.erb
         
     | 
| 
      
 155 
     | 
    
         
            +
            - spec/dummy/app/views/layouts/_alerts.html.erb
         
     | 
| 
      
 156 
     | 
    
         
            +
            - spec/dummy/app/views/layouts/application.html.erb
         
     | 
| 
      
 157 
     | 
    
         
            +
            - spec/dummy/bin/bundle
         
     | 
| 
      
 158 
     | 
    
         
            +
            - spec/dummy/bin/rails
         
     | 
| 
      
 159 
     | 
    
         
            +
            - spec/dummy/bin/rake
         
     | 
| 
      
 160 
     | 
    
         
            +
            - spec/dummy/bin/setup
         
     | 
| 
      
 161 
     | 
    
         
            +
            - spec/dummy/config.ru
         
     | 
| 
      
 162 
     | 
    
         
            +
            - spec/dummy/config/application.rb
         
     | 
| 
      
 163 
     | 
    
         
            +
            - spec/dummy/config/boot.rb
         
     | 
| 
      
 164 
     | 
    
         
            +
            - spec/dummy/config/database.yml
         
     | 
| 
      
 165 
     | 
    
         
            +
            - spec/dummy/config/environment.rb
         
     | 
| 
      
 166 
     | 
    
         
            +
            - spec/dummy/config/environments/development.rb
         
     | 
| 
      
 167 
     | 
    
         
            +
            - spec/dummy/config/environments/production.rb
         
     | 
| 
      
 168 
     | 
    
         
            +
            - spec/dummy/config/environments/test.rb
         
     | 
| 
      
 169 
     | 
    
         
            +
            - spec/dummy/config/initializers/assets.rb
         
     | 
| 
      
 170 
     | 
    
         
            +
            - spec/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
      
 171 
     | 
    
         
            +
            - spec/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
      
 172 
     | 
    
         
            +
            - spec/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
      
 173 
     | 
    
         
            +
            - spec/dummy/config/initializers/inflections.rb
         
     | 
| 
      
 174 
     | 
    
         
            +
            - spec/dummy/config/initializers/mime_types.rb
         
     | 
| 
      
 175 
     | 
    
         
            +
            - spec/dummy/config/initializers/session_store.rb
         
     | 
| 
      
 176 
     | 
    
         
            +
            - spec/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
      
 177 
     | 
    
         
            +
            - spec/dummy/config/locales/en.yml
         
     | 
| 
      
 178 
     | 
    
         
            +
            - spec/dummy/config/locales/simple_form.en.yml
         
     | 
| 
      
 179 
     | 
    
         
            +
            - spec/dummy/config/routes.rb
         
     | 
| 
      
 180 
     | 
    
         
            +
            - spec/dummy/config/secrets.yml
         
     | 
| 
      
 181 
     | 
    
         
            +
            - spec/dummy/db/migrate/20160713200802_create_content_builder_categories.rb
         
     | 
| 
      
 182 
     | 
    
         
            +
            - spec/dummy/db/migrate/20160713200803_create_content_builders.rb
         
     | 
| 
      
 183 
     | 
    
         
            +
            - spec/dummy/db/migrate/20160713200804_create_content_builder_images.rb
         
     | 
| 
      
 184 
     | 
    
         
            +
            - spec/dummy/db/schema.rb
         
     | 
| 
      
 185 
     | 
    
         
            +
            - spec/dummy/db/test.sqlite3
         
     | 
| 
      
 186 
     | 
    
         
            +
            - spec/dummy/lib/assets/.keep
         
     | 
| 
      
 187 
     | 
    
         
            +
            - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
         
     | 
| 
      
 188 
     | 
    
         
            +
            - spec/dummy/log/.keep
         
     | 
| 
      
 189 
     | 
    
         
            +
            - spec/dummy/log/development.log
         
     | 
| 
      
 190 
     | 
    
         
            +
            - spec/dummy/log/test.log
         
     | 
| 
      
 191 
     | 
    
         
            +
            - spec/dummy/public/404.html
         
     | 
| 
      
 192 
     | 
    
         
            +
            - spec/dummy/public/422.html
         
     | 
| 
      
 193 
     | 
    
         
            +
            - spec/dummy/public/500.html
         
     | 
| 
      
 194 
     | 
    
         
            +
            - spec/dummy/public/favicon.ico
         
     | 
| 
      
 195 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/center_example.jpg
         
     | 
| 
      
 196 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/example.jpg
         
     | 
| 
      
 197 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/left_or_right_example.jpg
         
     | 
| 
      
 198 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/center_example.jpg
         
     | 
| 
      
 199 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/example.jpg
         
     | 
| 
      
 200 
     | 
    
         
            +
            - spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/left_or_right_example.jpg
         
     | 
| 
      
 201 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8phVIGLXWulhkDuRCGQ-544n89XyNUBGZagLIFkWF8.cache
         
     | 
| 
      
 202 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/0K/0KKl0_pHdv8K_w7ercL4aWkD5BNDrj9Ud_LORSXb3wM.cache
         
     | 
| 
      
 203 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/1H/1H5_oR2jCpLjYJZcsn22Ki95d707wqA_KjFOJurOIfc.cache
         
     | 
| 
      
 204 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/1u/1uabmzhIssfK8bEAgnwdCRUsTiOXOFbbn3nOgkuxW48.cache
         
     | 
| 
      
 205 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/4L/4L9CHGXjmHtLofRMoUiejhpxFm2D6uGDQ80XS-h3IOs.cache
         
     | 
| 
      
 206 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/BK/BKZlJT7M_KuAoZ1wSopHeaZ4_qsu1GFheBPTwr5XPNc.cache
         
     | 
| 
      
 207 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/C9/C9XqWJz0C4bovFDScIyh0GynNMKPYE2b__U3fh1qMfk.cache
         
     | 
| 
      
 208 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/CN/CNSEWeB2ewXvnFxaAOieVQ2-NhdxBYiynOTdOBuJIpU.cache
         
     | 
| 
      
 209 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/CN/cn4NO6Gpi1TmzJzXlwqsSz0R_aQisv0stPI82Fv3Y0g.cache
         
     | 
| 
      
 210 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/LS/LSFfDJ5-koMS4YIGbiJ2h4uZA8F3NgtcI9anatJ37xg.cache
         
     | 
| 
      
 211 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/Mu/MuaSo_KOoOey-8Pj9B5wGtvJ-1MRk66inANspWfEkkQ.cache
         
     | 
| 
      
 212 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/N2/N2YuSs7IthN8uqOrFuCcPatO-kdSZ-nxfibmFMsJevQ.cache
         
     | 
| 
      
 213 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ok/OkDlaZcN8rrgBMIS-sjrleLMHmfwGb7uytdHFGAKyKQ.cache
         
     | 
| 
      
 214 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/PV/PVBO46Q1_CamxNf7kjGRA8f1WlYCGGMVYGrHrW6VBMI.cache
         
     | 
| 
      
 215 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/QM/QMUiivRdxFCeRM9TCF9MnYVpBJyvo0QfR_98E2Wze2M.cache
         
     | 
| 
      
 216 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/YH/YHiMs1cfCu8eG2afEJsHosFQ7nRvvxDmwAVCXkHs_lI.cache
         
     | 
| 
      
 217 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/_o/_osAIJs8OgKZlscKswxMQMdcqaaXW_SKELEpgfhlsAA.cache
         
     | 
| 
      
 218 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/aS/aS5EVRpqcbWegeMfUdwol8yNlFOLhLrf3XhKxuuAvH0.cache
         
     | 
| 
      
 219 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/fT/fTeeEDXiEpwXc5bSyRFPGEc5o4WpgmezFrzZHsv3MgI.cache
         
     | 
| 
      
 220 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/ga/gaiV5l-cBidm1mFQvd_0VoFprJvxsNFlIkR3V8omtqY.cache
         
     | 
| 
      
 221 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/jL/jL7k7-KgU6sqvTphO9-yQX2mRkMFBufpP-czffkYEQs.cache
         
     | 
| 
      
 222 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/kI/kIvf6fU_BflUil2OG0roV9Qww6gdJ97nGA0HmUWLpgs.cache
         
     | 
| 
      
 223 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/n0/n06xMvqGzkJGIrhqav7E1JhWDUiyP1FHrjvZuUmAEDk.cache
         
     | 
| 
      
 224 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/oE/oEFYMOrUHGAWiuMVpQWA1kwtc9m85W0vSD_92OmsVVs.cache
         
     | 
| 
      
 225 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/sq/sqRJAPp3sYS_wtbY5j5nvpJlCEYuA8wu4e00sMtGEu8.cache
         
     | 
| 
      
 226 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtVa2jY11sapQGYQt6tZloSC7fC6DgJQI5WUq5aa-Yg.cache
         
     | 
| 
      
 227 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/yM/yMaZ1oYUjl9amUE5Q_unMTTVOYonwGo5dc0aY3U3djA.cache
         
     | 
| 
      
 228 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/zs/ZS8pSPfsWwaSDTn84yULigPhELkVQctO1qHfXohl9bM.cache
         
     | 
| 
      
 229 
     | 
    
         
            +
            - spec/dummy/tmp/cache/assets/sprockets/v3.0/zs/zsuKM_d03om6Co0SxgPgtInvOk6S5phfhDR4WvgqZR4.cache
         
     | 
| 
      
 230 
     | 
    
         
            +
            - spec/features/alert_message_spec.rb
         
     | 
| 
       84 
231 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       85 
232 
     | 
    
         
             
            - vendor/assets/javascripts/alert_message.coffee
         
     | 
| 
       86 
233 
     | 
    
         
             
            - vendor/assets/stylesheets/alert_message.scss
         
     | 
| 
         @@ -104,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       104 
251 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       105 
252 
     | 
    
         
             
            requirements: []
         
     | 
| 
       106 
253 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       107 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 254 
     | 
    
         
            +
            rubygems_version: 2.5.1
         
     | 
| 
       108 
255 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       109 
256 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       110 
257 
     | 
    
         
             
            summary: Alert Message
         
     |