fine_print 3.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +6 -6
- data/app/controllers/fine_print/application_controller.rb +1 -1
- data/app/controllers/fine_print/contracts_controller.rb +1 -1
- data/app/controllers/fine_print/signatures_controller.rb +5 -5
- data/app/models/fine_print/contract.rb +5 -4
- data/app/views/fine_print/signatures/_form.html.erb +2 -1
- data/config/initializers/fine_print.rb +14 -19
- data/db/migrate/0_install_fine_print.rb +1 -1
- data/db/migrate/1_add_implicit_signatures.rb +1 -1
- data/lib/fine_print/action_controller/base.rb +5 -5
- data/lib/fine_print/engine.rb +5 -5
- data/lib/fine_print/version.rb +1 -1
- data/lib/fine_print.rb +24 -13
- data/spec/controllers/contracts_controller_spec.rb +22 -22
- data/spec/controllers/signatures_controller_spec.rb +11 -11
- data/spec/dummy/Rakefile +2 -2
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/app/assets/javascripts/application.js +5 -3
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +6 -4
- 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/dummy_models_controller.rb +1 -1
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/dummy_user.rb +1 -1
- data/spec/dummy/app/views/layouts/application.html.erb +10 -10
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/bin/setup +36 -0
- data/spec/dummy/bin/update +31 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config/application.rb +7 -13
- data/spec/dummy/config/boot.rb +3 -3
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +9 -9
- data/spec/dummy/config/environment.rb +2 -2
- data/spec/dummy/config/environments/development.rb +37 -5
- data/spec/dummy/config/environments/production.rb +43 -29
- data/spec/dummy/config/environments/test.rb +14 -4
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/fine_print.rb +1 -2
- data/spec/dummy/config/initializers/mime_types.rb +0 -1
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/locales/en.yml +10 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +2 -1
- data/spec/dummy/db/migrate/1000_create_dummy_users.rb +1 -1
- data/spec/dummy/db/schema.rb +15 -18
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +790 -3835
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +24 -15
- data/spec/dummy/public/422.html +24 -15
- data/spec/dummy/public/500.html +23 -14
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/factories/fine_print/contract.rb +2 -2
- data/spec/factories/fine_print/signature.rb +2 -2
- data/spec/factories/user.rb +1 -1
- data/spec/lib/fine_print_spec.rb +4 -4
- data/spec/models/contract_spec.rb +6 -6
- data/spec/models/signature_spec.rb +2 -2
- data/spec/spec_helper.rb +3 -1
- data/spec/support/controller.rb +2 -2
- metadata +97 -43
- data/spec/dummy/README.md +0 -3
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
data/spec/dummy/README.md
DELETED
@@ -1,12 +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 your secret_key_base is kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
Dummy::Application.config.secret_key_base = 'd2b1305db4640dc238e977414f76c1a03e2abd6b1233b968cd750f27878c39cd1397c220186de49b0a29c137bb69fb27e6ad2b66c1e100b2f9a9d50e1deb7f78'
|