send_grid_mailer 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +102 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.rubocop.yml +19 -579
- data/.ruby-version +1 -1
- data/CHANGELOG.md +10 -0
- data/README.md +33 -1
- data/lib/send_grid_mailer/definition.rb +32 -14
- data/lib/send_grid_mailer/dev_deliverer.rb +11 -2
- data/lib/send_grid_mailer/logger.rb +6 -1
- data/lib/send_grid_mailer/mailer_base_ext.rb +2 -0
- data/lib/send_grid_mailer/version.rb +1 -1
- data/send_grid_mailer.gemspec +12 -7
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +3 -3
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/{assets/javascripts → javascript/packs}/application.js +3 -1
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +1 -1
- data/spec/dummy/app/mailers/test_mailer.rb +6 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +10 -9
- data/spec/dummy/bin/rails +3 -3
- data/spec/dummy/bin/rake +2 -2
- data/spec/dummy/bin/setup +18 -14
- data/spec/dummy/config.ru +3 -1
- data/spec/dummy/config/application.rb +12 -22
- data/spec/dummy/config/boot.rb +3 -3
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +2 -2
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +48 -18
- data/spec/dummy/config/environments/production.rb +63 -22
- data/spec/dummy/config/environments/test.rb +29 -12
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +4 -3
- data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/locales/en.yml +11 -1
- data/spec/dummy/config/puma.rb +43 -0
- data/spec/dummy/config/routes.rb +1 -54
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/public/404.html +6 -6
- data/spec/dummy/public/422.html +6 -6
- data/spec/dummy/public/500.html +6 -6
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/spec/lib/send_grid_mailer/definition_spec.rb +52 -23
- data/spec/dummy/spec/mailers/test_mailer_spec.rb +84 -46
- data/spec/rails_helper.rb +3 -5
- metadata +142 -71
- data/.hound.yml +0 -4
- data/.travis.yml +0 -15
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/schema.rb +0 -16
- data/spec/dummy/spec/support/test_helpers.rb +0 -5
data/.hound.yml
DELETED
data/.travis.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.3.1
|
4
|
-
before_install: gem install bundler -v 1.12.5
|
5
|
-
script:
|
6
|
-
- RAILS_ENV=test bundle exec rake db:create db:migrate
|
7
|
-
- bundle exec rspec spec
|
8
|
-
deploy:
|
9
|
-
provider: rubygems
|
10
|
-
api_key:
|
11
|
-
secure: jz96HPqztppwVFcy2j7W+82dGfZC4XlQ+8A/Lgzkc2l1Xkdnq8ZeWG+WLpTra5ufRTOFNUTDoFy8Un3zg0UPzRZUnrQciWegYUAodyJXlUECLXT7ARwecaHfJC8cpsKpnKRsn8uD27J9fFPKpYnab4ch7aChmfx5vJuPw2aAJPJWmj/FjwFcOx1E7aAz3LsHbrFd3eT8RL1fQBevuCv4ZFIvJfYl+OxjnlGPdwlW4Rx8ZUIfLwa9PfRBKKsWhyYYipPwhsimPbqPd2VszkVDvBIfFikAIRRLAiP1Vx4DbNhO7VQkqtdYi8DRrHAEJ3tJEfA5+UGB/jVAzRqSKAHde8PDvjNbrPtepK+891Laly5r7/BjtAq5eyyVmQYDAvvZYZseaclUcu2JqdA1H3A0+8xb17QWTQbdNs0016OBdznDQuPGDo6GO0iKrlFkSYoadee6l1DWEnfLzMz7CPEr/mnFcJL4gPGkE5GYwWTN72yG5Y+ryzmoKkWwr/TcBKITDCGRoHS7BBrzxzxwVWAUqojnsM4F+LcWV47V4/bwFAVXt0oPPGak7RVR4Fvh42Mpjik+JS31QeEKZDB0m/17w/wfWjsgYw2xyJXznu1nr+RMrrZVPfAC9Qpq/j0zQlTWif+81G+CjT/ENDCRX9++waAXurY+VZ0STbfMEJNYxdU=
|
12
|
-
gem: send_grid_mailer
|
13
|
-
on:
|
14
|
-
tags: true
|
15
|
-
repo: platanus/send_grid_mailer
|
data/spec/dummy/bin/bundle
DELETED
@@ -1,22 +0,0 @@
|
|
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: cbe852cea02deaf75409d502746a62f8df2978e031119e2e464cb43ef9e6cd59d9cfdddedda3a05a2bb8b86f61bf79d24e65b6f3514d4c1343dbb1935251f8e4
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: 5119a7f201842cd4bd31a735702146c23bd502088bccf9f3dd51e6e23a5615c1918d1b5b7df92d8e894b408198ca291eb57b4e1de7944f11254fa4800671c81f
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
data/spec/dummy/db/schema.rb
DELETED
@@ -1,16 +0,0 @@
|
|
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: 0) do
|
15
|
-
|
16
|
-
end
|