kono_mailup 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +26 -0
- data/app/assets/images/kono_mailup/.keep +0 -0
- data/app/assets/javascripts/kono_mailup/application.js +13 -0
- data/app/assets/stylesheets/kono_mailup/application.css +15 -0
- data/app/controllers/kono_mailup/application_controller.rb +3 -0
- data/app/controllers/kono_mailup/main_controller.rb +12 -0
- data/app/controllers/kono_mailup/test_apis_controller.rb +18 -0
- data/app/controllers/kono_mailup/tokens_controller.rb +15 -0
- data/app/helpers/kono_mailup/application_helper.rb +4 -0
- data/app/helpers/kono_mailup/main_helper.rb +4 -0
- data/app/models/kono_mailup/cfg.rb +7 -0
- data/app/views/kono_mailup/main/index.html.erb +0 -0
- data/app/views/kono_mailup/test_apis/list.html.erb +3 -0
- data/app/views/kono_mailup/tokens/create.html.erb +0 -0
- data/app/views/layouts/kono_mailup/application.html.erb +29 -0
- data/config/app.yml +15 -0
- data/config/routes.rb +11 -0
- data/db/migrate/20171124083941_create_settings.rb +17 -0
- data/lib/generators/kono_mailup/install/USAGE +9 -0
- data/lib/generators/kono_mailup/install/install_generator.rb +22 -0
- data/lib/generators/kono_mailup/install/templates/initializers.rb +13 -0
- data/lib/kono_mailup.rb +32 -0
- data/lib/kono_mailup/api.rb +60 -0
- data/lib/kono_mailup/engine.rb +33 -0
- data/lib/kono_mailup/version.rb +3 -0
- data/lib/tasks/kono_mailup_tasks.rake +4 -0
- data/spec/dummy/.gitignore +4 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/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 +32 -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/kono_mailup.rb +13 -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/to_time_preserves_timezone.rb +10 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +9 -0
- data/spec/dummy/config/secrets_example.yml +25 -0
- data/spec/dummy/db/migrate/20171124094841_create_settings.kono_mailup.rb +18 -0
- data/spec/dummy/db/schema.rb +27 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- metadata +265 -0
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            # Be sure to restart your server when you modify this file.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Add new inflection rules using the following format. Inflections
         | 
| 4 | 
            +
            # are locale specific, and you may define rules for as many different
         | 
| 5 | 
            +
            # locales as you wish. All of these examples are active by default:
         | 
| 6 | 
            +
            # ActiveSupport::Inflector.inflections(:en) do |inflect|
         | 
| 7 | 
            +
            #   inflect.plural /^(ox)$/i, '\1en'
         | 
| 8 | 
            +
            #   inflect.singular /^(ox)en/i, '\1'
         | 
| 9 | 
            +
            #   inflect.irregular 'person', 'people'
         | 
| 10 | 
            +
            #   inflect.uncountable %w( fish sheep )
         | 
| 11 | 
            +
            # end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            # These inflection rules are supported but not enabled by default:
         | 
| 14 | 
            +
            # ActiveSupport::Inflector.inflections(:en) do |inflect|
         | 
| 15 | 
            +
            #   inflect.acronym 'RESTful'
         | 
| 16 | 
            +
            # end
         | 
| @@ -0,0 +1,13 @@ | |
| 1 | 
            +
            # Utilizza questo file per configurare l'engine
         | 
| 2 | 
            +
            KonoMailup.setup do |config|
         | 
| 3 | 
            +
             | 
| 4 | 
            +
              ##
         | 
| 5 | 
            +
              # MAILUP_CLIENT_ID
         | 
| 6 | 
            +
              config.mailup_client_id = Rails.application.secrets.kono_mailup["mailup_client_id"]
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              ##
         | 
| 9 | 
            +
              # MAILUP_CLIENT_SECRET
         | 
| 10 | 
            +
              config.mailup_client_secret = Rails.application.secrets.kono_mailup["mailup_client_secret"]
         | 
| 11 | 
            +
             | 
| 12 | 
            +
             | 
| 13 | 
            +
            end
         | 
| @@ -0,0 +1,10 @@ | |
| 1 | 
            +
            # Be sure to restart your server when you modify this file.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Preserve the timezone of the receiver when calling to `to_time`.
         | 
| 4 | 
            +
            # Ruby 2.4 will change the behavior of `to_time` to preserve the timezone
         | 
| 5 | 
            +
            # when converting to an instance of `Time` instead of the previous behavior
         | 
| 6 | 
            +
            # of converting to the local system timezone.
         | 
| 7 | 
            +
            #
         | 
| 8 | 
            +
            # Rails 5.0 introduced this config option so that apps made with earlier
         | 
| 9 | 
            +
            # versions of Rails are not affected when upgrading.
         | 
| 10 | 
            +
            ActiveSupport.to_time_preserves_timezone = true
         | 
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            # Be sure to restart your server when you modify this file.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # This file contains settings for ActionController::ParamsWrapper which
         | 
| 4 | 
            +
            # is enabled by default.
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
         | 
| 7 | 
            +
            ActiveSupport.on_load(:action_controller) do
         | 
| 8 | 
            +
              wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
         | 
| 9 | 
            +
            end
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            # To enable root element in JSON for ActiveRecord objects.
         | 
| 12 | 
            +
            # ActiveSupport.on_load(:active_record) do
         | 
| 13 | 
            +
            #  self.include_root_in_json = true
         | 
| 14 | 
            +
            # end
         | 
| @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            # Files in the config/locales directory are used for internationalization
         | 
| 2 | 
            +
            # and are automatically loaded by Rails. If you want to use locales other
         | 
| 3 | 
            +
            # than English, add the necessary files in this directory.
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # To use the locales, use `I18n.t`:
         | 
| 6 | 
            +
            #
         | 
| 7 | 
            +
            #     I18n.t 'hello'
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            # In views, this is aliased to just `t`:
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            #     <%= t('hello') %>
         | 
| 12 | 
            +
            #
         | 
| 13 | 
            +
            # To use a different locale, set it with `I18n.locale`:
         | 
| 14 | 
            +
            #
         | 
| 15 | 
            +
            #     I18n.locale = :es
         | 
| 16 | 
            +
            #
         | 
| 17 | 
            +
            # This would use the information in config/locales/es.yml.
         | 
| 18 | 
            +
            #
         | 
| 19 | 
            +
            # To learn more, please read the Rails Internationalization guide
         | 
| 20 | 
            +
            # available at http://guides.rubyonrails.org/i18n.html.
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            en:
         | 
| 23 | 
            +
              hello: "Hello world"
         | 
| @@ -0,0 +1,25 @@ | |
| 1 | 
            +
            # Be sure to restart your server when you modify this file.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Your secret key is used for verifying the integrity of signed cookies.
         | 
| 4 | 
            +
            # If you change this key, all old signed cookies will become invalid!
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            # Make sure the secret is at least 30 characters and all random,
         | 
| 7 | 
            +
            # no regular words or you'll be exposed to dictionary attacks.
         | 
| 8 | 
            +
            # You can use `rake secret` to generate a secure secret key.
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            # Make sure the secrets in this file are kept private
         | 
| 11 | 
            +
            # if you're sharing your code publicly.
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            development:
         | 
| 14 | 
            +
              secret_key_base: 5cf353f87753ecf964dd5d5aef39c1c04c25620e6ea1ce933512be0d2bacdb7f76ca88b4e7389e8e07037401e1125b0f11dfa8ee84916611f6150969d466328a
         | 
| 15 | 
            +
              kono_mailup:
         | 
| 16 | 
            +
                mailup_client_id: 'XXXXX'
         | 
| 17 | 
            +
                mailup_client_secret: 'XXXXXX'
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            test:
         | 
| 20 | 
            +
              secret_key_base: f07b1153c3b51b168d8b737670cd79499795f5c8241a90b192d4870fa6572d1ccff7ed5e752df69604e103873528792cf5b846f62931982864d50a8d81943eb6
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            # Do not keep production secrets in the repository,
         | 
| 23 | 
            +
            # instead read values from the environment.
         | 
| 24 | 
            +
            production:
         | 
| 25 | 
            +
              secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
         | 
| @@ -0,0 +1,18 @@ | |
| 1 | 
            +
            # This migration comes from kono_mailup (originally 20171124083941)
         | 
| 2 | 
            +
            class CreateSettings < ActiveRecord::Migration
         | 
| 3 | 
            +
              def self.up
         | 
| 4 | 
            +
                create_table :settings do |t|
         | 
| 5 | 
            +
                  t.string  :var,        null: false
         | 
| 6 | 
            +
                  t.text    :value,      null: true
         | 
| 7 | 
            +
                  t.integer :thing_id,   null: true
         | 
| 8 | 
            +
                  t.string  :thing_type, null: true, limit: 30
         | 
| 9 | 
            +
                  t.timestamps
         | 
| 10 | 
            +
                end
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                add_index :settings, %i(thing_type thing_id var), unique: true
         | 
| 13 | 
            +
              end
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              def self.down
         | 
| 16 | 
            +
                drop_table :settings
         | 
| 17 | 
            +
              end
         | 
| 18 | 
            +
            end
         | 
| @@ -0,0 +1,27 @@ | |
| 1 | 
            +
            # encoding: UTF-8
         | 
| 2 | 
            +
            # This file is auto-generated from the current state of the database. Instead
         | 
| 3 | 
            +
            # of editing this file, please use the migrations feature of Active Record to
         | 
| 4 | 
            +
            # incrementally modify your database, and then regenerate this schema definition.
         | 
| 5 | 
            +
            #
         | 
| 6 | 
            +
            # Note that this schema.rb definition is the authoritative source for your
         | 
| 7 | 
            +
            # database schema. If you need to create the application database on another
         | 
| 8 | 
            +
            # system, you should be using db:schema:load, not running all the migrations
         | 
| 9 | 
            +
            # from scratch. The latter is a flawed and unsustainable approach (the more migrations
         | 
| 10 | 
            +
            # you'll amass, the slower it'll run and the greater likelihood for issues).
         | 
| 11 | 
            +
            #
         | 
| 12 | 
            +
            # It's strongly recommended that you check this file into your version control system.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            ActiveRecord::Schema.define(version: 20171124094841) do
         | 
| 15 | 
            +
             | 
| 16 | 
            +
              create_table "settings", force: :cascade do |t|
         | 
| 17 | 
            +
                t.string   "var",                   null: false
         | 
| 18 | 
            +
                t.text     "value"
         | 
| 19 | 
            +
                t.integer  "thing_id"
         | 
| 20 | 
            +
                t.string   "thing_type", limit: 30
         | 
| 21 | 
            +
                t.datetime "created_at"
         | 
| 22 | 
            +
                t.datetime "updated_at"
         | 
| 23 | 
            +
              end
         | 
| 24 | 
            +
             | 
| 25 | 
            +
              add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            end
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| @@ -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
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,265 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: kono_mailup
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.0.1
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Marino Bonetti
         | 
| 8 | 
            +
            autorequire: 
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2017-11-24 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: 4.2.10
         | 
| 20 | 
            +
              type: :runtime
         | 
| 21 | 
            +
              prerelease: false
         | 
| 22 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            +
                requirements:
         | 
| 24 | 
            +
                - - "~>"
         | 
| 25 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                    version: 4.2.10
         | 
| 27 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 28 | 
            +
              name: mailup
         | 
| 29 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 | 
            +
                requirements:
         | 
| 31 | 
            +
                - - "~>"
         | 
| 32 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            +
                    version: '1.2'
         | 
| 34 | 
            +
              type: :runtime
         | 
| 35 | 
            +
              prerelease: false
         | 
| 36 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 | 
            +
                requirements:
         | 
| 38 | 
            +
                - - "~>"
         | 
| 39 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            +
                    version: '1.2'
         | 
| 41 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 42 | 
            +
              name: omniauth-mailup
         | 
| 43 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 | 
            +
                requirements:
         | 
| 45 | 
            +
                - - "~>"
         | 
| 46 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            +
                    version: 0.0.5
         | 
| 48 | 
            +
              type: :runtime
         | 
| 49 | 
            +
              prerelease: false
         | 
| 50 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 | 
            +
                requirements:
         | 
| 52 | 
            +
                - - "~>"
         | 
| 53 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            +
                    version: 0.0.5
         | 
| 55 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 56 | 
            +
              name: rails-settings-cached
         | 
| 57 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 | 
            +
                requirements:
         | 
| 59 | 
            +
                - - "~>"
         | 
| 60 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 61 | 
            +
                    version: 0.6.6
         | 
| 62 | 
            +
              type: :runtime
         | 
| 63 | 
            +
              prerelease: false
         | 
| 64 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 | 
            +
                requirements:
         | 
| 66 | 
            +
                - - "~>"
         | 
| 67 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            +
                    version: 0.6.6
         | 
| 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: rspec-rails
         | 
| 85 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 86 | 
            +
                requirements:
         | 
| 87 | 
            +
                - - "~>"
         | 
| 88 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            +
                    version: '3.0'
         | 
| 90 | 
            +
              type: :development
         | 
| 91 | 
            +
              prerelease: false
         | 
| 92 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 | 
            +
                requirements:
         | 
| 94 | 
            +
                - - "~>"
         | 
| 95 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            +
                    version: '3.0'
         | 
| 97 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 98 | 
            +
              name: factory_girl_rails
         | 
| 99 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 | 
            +
                requirements:
         | 
| 101 | 
            +
                - - "~>"
         | 
| 102 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            +
                    version: '4.5'
         | 
| 104 | 
            +
              type: :development
         | 
| 105 | 
            +
              prerelease: false
         | 
| 106 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 | 
            +
                requirements:
         | 
| 108 | 
            +
                - - "~>"
         | 
| 109 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            +
                    version: '4.5'
         | 
| 111 | 
            +
            description: |-
         | 
| 112 | 
            +
              KonoMailup is a Mailup layer for rails applications that
         | 
| 113 | 
            +
                                  provides configuration and saving of user tokens; with mailup
         | 
| 114 | 
            +
                                  gems for autentication/authorization and api connector
         | 
| 115 | 
            +
            email:
         | 
| 116 | 
            +
            - marinobonetti@gmail.com
         | 
| 117 | 
            +
            executables: []
         | 
| 118 | 
            +
            extensions: []
         | 
| 119 | 
            +
            extra_rdoc_files: []
         | 
| 120 | 
            +
            files:
         | 
| 121 | 
            +
            - MIT-LICENSE
         | 
| 122 | 
            +
            - README.rdoc
         | 
| 123 | 
            +
            - Rakefile
         | 
| 124 | 
            +
            - app/assets/images/kono_mailup/.keep
         | 
| 125 | 
            +
            - app/assets/javascripts/kono_mailup/application.js
         | 
| 126 | 
            +
            - app/assets/stylesheets/kono_mailup/application.css
         | 
| 127 | 
            +
            - app/controllers/kono_mailup/application_controller.rb
         | 
| 128 | 
            +
            - app/controllers/kono_mailup/main_controller.rb
         | 
| 129 | 
            +
            - app/controllers/kono_mailup/test_apis_controller.rb
         | 
| 130 | 
            +
            - app/controllers/kono_mailup/tokens_controller.rb
         | 
| 131 | 
            +
            - app/helpers/kono_mailup/application_helper.rb
         | 
| 132 | 
            +
            - app/helpers/kono_mailup/main_helper.rb
         | 
| 133 | 
            +
            - app/models/kono_mailup/cfg.rb
         | 
| 134 | 
            +
            - app/views/kono_mailup/main/index.html.erb
         | 
| 135 | 
            +
            - app/views/kono_mailup/test_apis/list.html.erb
         | 
| 136 | 
            +
            - app/views/kono_mailup/tokens/create.html.erb
         | 
| 137 | 
            +
            - app/views/layouts/kono_mailup/application.html.erb
         | 
| 138 | 
            +
            - config/app.yml
         | 
| 139 | 
            +
            - config/routes.rb
         | 
| 140 | 
            +
            - db/migrate/20171124083941_create_settings.rb
         | 
| 141 | 
            +
            - lib/generators/kono_mailup/install/USAGE
         | 
| 142 | 
            +
            - lib/generators/kono_mailup/install/install_generator.rb
         | 
| 143 | 
            +
            - lib/generators/kono_mailup/install/templates/initializers.rb
         | 
| 144 | 
            +
            - lib/kono_mailup.rb
         | 
| 145 | 
            +
            - lib/kono_mailup/api.rb
         | 
| 146 | 
            +
            - lib/kono_mailup/engine.rb
         | 
| 147 | 
            +
            - lib/kono_mailup/version.rb
         | 
| 148 | 
            +
            - lib/tasks/kono_mailup_tasks.rake
         | 
| 149 | 
            +
            - spec/dummy/.gitignore
         | 
| 150 | 
            +
            - spec/dummy/README.rdoc
         | 
| 151 | 
            +
            - spec/dummy/Rakefile
         | 
| 152 | 
            +
            - spec/dummy/app/assets/images/.keep
         | 
| 153 | 
            +
            - spec/dummy/app/assets/javascripts/application.js
         | 
| 154 | 
            +
            - spec/dummy/app/assets/stylesheets/application.css
         | 
| 155 | 
            +
            - spec/dummy/app/controllers/application_controller.rb
         | 
| 156 | 
            +
            - spec/dummy/app/controllers/concerns/.keep
         | 
| 157 | 
            +
            - spec/dummy/app/helpers/application_helper.rb
         | 
| 158 | 
            +
            - spec/dummy/app/mailers/.keep
         | 
| 159 | 
            +
            - spec/dummy/app/models/.keep
         | 
| 160 | 
            +
            - spec/dummy/app/models/concerns/.keep
         | 
| 161 | 
            +
            - spec/dummy/app/views/layouts/application.html.erb
         | 
| 162 | 
            +
            - spec/dummy/bin/bundle
         | 
| 163 | 
            +
            - spec/dummy/bin/rails
         | 
| 164 | 
            +
            - spec/dummy/bin/rake
         | 
| 165 | 
            +
            - spec/dummy/bin/setup
         | 
| 166 | 
            +
            - spec/dummy/config.ru
         | 
| 167 | 
            +
            - spec/dummy/config/application.rb
         | 
| 168 | 
            +
            - spec/dummy/config/boot.rb
         | 
| 169 | 
            +
            - spec/dummy/config/database.yml
         | 
| 170 | 
            +
            - spec/dummy/config/environment.rb
         | 
| 171 | 
            +
            - spec/dummy/config/environments/development.rb
         | 
| 172 | 
            +
            - spec/dummy/config/environments/production.rb
         | 
| 173 | 
            +
            - spec/dummy/config/environments/test.rb
         | 
| 174 | 
            +
            - spec/dummy/config/initializers/assets.rb
         | 
| 175 | 
            +
            - spec/dummy/config/initializers/backtrace_silencers.rb
         | 
| 176 | 
            +
            - spec/dummy/config/initializers/cookies_serializer.rb
         | 
| 177 | 
            +
            - spec/dummy/config/initializers/filter_parameter_logging.rb
         | 
| 178 | 
            +
            - spec/dummy/config/initializers/inflections.rb
         | 
| 179 | 
            +
            - spec/dummy/config/initializers/kono_mailup.rb
         | 
| 180 | 
            +
            - spec/dummy/config/initializers/mime_types.rb
         | 
| 181 | 
            +
            - spec/dummy/config/initializers/session_store.rb
         | 
| 182 | 
            +
            - spec/dummy/config/initializers/to_time_preserves_timezone.rb
         | 
| 183 | 
            +
            - spec/dummy/config/initializers/wrap_parameters.rb
         | 
| 184 | 
            +
            - spec/dummy/config/locales/en.yml
         | 
| 185 | 
            +
            - spec/dummy/config/routes.rb
         | 
| 186 | 
            +
            - spec/dummy/config/secrets_example.yml
         | 
| 187 | 
            +
            - spec/dummy/db/migrate/20171124094841_create_settings.kono_mailup.rb
         | 
| 188 | 
            +
            - spec/dummy/db/schema.rb
         | 
| 189 | 
            +
            - spec/dummy/lib/assets/.keep
         | 
| 190 | 
            +
            - spec/dummy/log/.keep
         | 
| 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 | 
            +
            homepage: https://github.com/ArchimediaZerogroup/KonoMailup
         | 
| 196 | 
            +
            licenses:
         | 
| 197 | 
            +
            - MIT
         | 
| 198 | 
            +
            metadata: {}
         | 
| 199 | 
            +
            post_install_message: 
         | 
| 200 | 
            +
            rdoc_options: []
         | 
| 201 | 
            +
            require_paths:
         | 
| 202 | 
            +
            - lib
         | 
| 203 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 204 | 
            +
              requirements:
         | 
| 205 | 
            +
              - - ">="
         | 
| 206 | 
            +
                - !ruby/object:Gem::Version
         | 
| 207 | 
            +
                  version: '0'
         | 
| 208 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 209 | 
            +
              requirements:
         | 
| 210 | 
            +
              - - ">="
         | 
| 211 | 
            +
                - !ruby/object:Gem::Version
         | 
| 212 | 
            +
                  version: '0'
         | 
| 213 | 
            +
            requirements: []
         | 
| 214 | 
            +
            rubyforge_project: 
         | 
| 215 | 
            +
            rubygems_version: 2.6.13
         | 
| 216 | 
            +
            signing_key: 
         | 
| 217 | 
            +
            specification_version: 4
         | 
| 218 | 
            +
            summary: Mailup Layer
         | 
| 219 | 
            +
            test_files:
         | 
| 220 | 
            +
            - spec/dummy/.gitignore
         | 
| 221 | 
            +
            - spec/dummy/README.rdoc
         | 
| 222 | 
            +
            - spec/dummy/Rakefile
         | 
| 223 | 
            +
            - spec/dummy/app/assets/images/.keep
         | 
| 224 | 
            +
            - spec/dummy/app/assets/javascripts/application.js
         | 
| 225 | 
            +
            - spec/dummy/app/assets/stylesheets/application.css
         | 
| 226 | 
            +
            - spec/dummy/app/controllers/application_controller.rb
         | 
| 227 | 
            +
            - spec/dummy/app/controllers/concerns/.keep
         | 
| 228 | 
            +
            - spec/dummy/app/helpers/application_helper.rb
         | 
| 229 | 
            +
            - spec/dummy/app/mailers/.keep
         | 
| 230 | 
            +
            - spec/dummy/app/models/.keep
         | 
| 231 | 
            +
            - spec/dummy/app/models/concerns/.keep
         | 
| 232 | 
            +
            - spec/dummy/app/views/layouts/application.html.erb
         | 
| 233 | 
            +
            - spec/dummy/bin/bundle
         | 
| 234 | 
            +
            - spec/dummy/bin/rails
         | 
| 235 | 
            +
            - spec/dummy/bin/rake
         | 
| 236 | 
            +
            - spec/dummy/bin/setup
         | 
| 237 | 
            +
            - spec/dummy/config.ru
         | 
| 238 | 
            +
            - spec/dummy/config/application.rb
         | 
| 239 | 
            +
            - spec/dummy/config/boot.rb
         | 
| 240 | 
            +
            - spec/dummy/config/database.yml
         | 
| 241 | 
            +
            - spec/dummy/config/environment.rb
         | 
| 242 | 
            +
            - spec/dummy/config/environments/development.rb
         | 
| 243 | 
            +
            - spec/dummy/config/environments/production.rb
         | 
| 244 | 
            +
            - spec/dummy/config/environments/test.rb
         | 
| 245 | 
            +
            - spec/dummy/config/initializers/assets.rb
         | 
| 246 | 
            +
            - spec/dummy/config/initializers/backtrace_silencers.rb
         | 
| 247 | 
            +
            - spec/dummy/config/initializers/cookies_serializer.rb
         | 
| 248 | 
            +
            - spec/dummy/config/initializers/filter_parameter_logging.rb
         | 
| 249 | 
            +
            - spec/dummy/config/initializers/inflections.rb
         | 
| 250 | 
            +
            - spec/dummy/config/initializers/kono_mailup.rb
         | 
| 251 | 
            +
            - spec/dummy/config/initializers/mime_types.rb
         | 
| 252 | 
            +
            - spec/dummy/config/initializers/session_store.rb
         | 
| 253 | 
            +
            - spec/dummy/config/initializers/to_time_preserves_timezone.rb
         | 
| 254 | 
            +
            - spec/dummy/config/initializers/wrap_parameters.rb
         | 
| 255 | 
            +
            - spec/dummy/config/locales/en.yml
         | 
| 256 | 
            +
            - spec/dummy/config/routes.rb
         | 
| 257 | 
            +
            - spec/dummy/config/secrets_example.yml
         | 
| 258 | 
            +
            - spec/dummy/db/migrate/20171124094841_create_settings.kono_mailup.rb
         | 
| 259 | 
            +
            - spec/dummy/db/schema.rb
         | 
| 260 | 
            +
            - spec/dummy/lib/assets/.keep
         | 
| 261 | 
            +
            - spec/dummy/log/.keep
         | 
| 262 | 
            +
            - spec/dummy/public/404.html
         | 
| 263 | 
            +
            - spec/dummy/public/422.html
         | 
| 264 | 
            +
            - spec/dummy/public/500.html
         | 
| 265 | 
            +
            - spec/dummy/public/favicon.ico
         |