customer_vault 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/customer_vault/individuals.css.scss +1 -1
- data/app/models/customer_vault/corporation.rb +1 -3
- data/app/models/customer_vault/individual.rb +0 -3
- data/app/models/customer_vault/person.rb +4 -1
- data/app/views/customer_vault/corporations/_form.html.slim +15 -28
- data/app/views/customer_vault/corporations/_show_details.html.slim +9 -36
- data/app/views/customer_vault/corporations/edit.html.slim +18 -22
- data/app/views/customer_vault/corporations/new.html.slim +19 -22
- data/app/views/customer_vault/corporations/show.html.slim +37 -39
- data/app/views/customer_vault/individuals/_form.html.slim +21 -58
- data/app/views/customer_vault/individuals/_show_details.html.slim +18 -52
- data/app/views/customer_vault/individuals/edit.html.slim +18 -22
- data/app/views/customer_vault/individuals/new.html.slim +18 -24
- data/app/views/customer_vault/individuals/show.html.slim +36 -38
- data/app/views/customer_vault/links/edit.html.slim +24 -29
- data/app/views/customer_vault/links/new.html.slim +21 -31
- data/app/views/customer_vault/people/_show_details.html.slim +4 -0
- data/app/views/customer_vault/people/index.html.slim +38 -42
- data/lib/customer_vault/version.rb +1 -1
- data/spec/dummy/app/assets/stylesheets/application.css.scss +4 -1
- data/spec/dummy/app/views/layouts/application.html.erb +4 -1
- data/spec/dummy/config/initializers/simple_form.rb +166 -0
- data/spec/dummy/config/initializers/simple_form_bootstrap.rb +136 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +23 -0
- data/spec/dummy/log/test.log +5997 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/56e857cea6600c31fdc065577fa5347e2da021e2/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/corporations.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/individuals.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/links.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/pagination.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/fc4b9279400c8168c697f5ed561bb8ccb52e5f67/_bootstrap-sprockets.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/fc4b9279400c8168c697f5ed561bb8ccb52e5f67/_bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0c6cbcfd2ac7886202376c7ff932d8d5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0e50063452927b05bf1f53a77b8e1137 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1aa6c8eaf0c76ce805ac43b02283d751 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1ee39033188b9385986e53a569323f2d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/22344f083e6fdddd40440917b532687f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2c871132412a58427eec073d719b9c38 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2dba1fb8d155139d6e88e90a54e8ea8b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3161dca95ec50f801a01d3e22fb5a571 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/32f555f2191136849fe39ad6d37dee22 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/354c87ada66ea34ea3c3449b27de58d4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/36781c5ac8b6dd644e3ca64350e7c4e9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3721b00ad6c043329fa66726d9b9766b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/374e8b5a7fe9a2a0e05d456e3fdec438 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4158957758e07d2d90c27f200a55df25 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/45aae7f5bdd0876ef98c35e412449d7c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/509cd3bf7f4178cdd28f6396059d8064 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5593457c78faf74ab5308d8e28b42f30 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5695dcc93e3c4ef99a30619b849d1c3d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5998b5c9de215f55b8b703679fbcc8ff +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5a1f7c9a00361b886dd09ad73978c41b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5d044f664c09e7a71e2f8d23dc5bb56b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/616166c8bb883e423e177bd4d0d2bfea +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/78352579e0a2c6b74f748f3f72cd1740 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7d34cbd8d9384581d87985945ae4b2dd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/816ac58210c0e421e3b917d1b904ec56 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/874dd89a49c981cf15547f8d4516e687 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8848aeeeb383bb5baf3d5f392ec1059b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8a8cfc599d8aea7460fed2beba8fc345 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8e55cf0f42842afed2d9cae7f635fb01 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9b427fa817fc87c50cd9c2303ea86f48 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9cdbd650c50c41fdad744161154494a8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a10a46afa0ac441a29a9efa24daf92bd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa6fa76c4337a1adad7826733bc3e663 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ae2e6efe49141b338780cb8edab0c36d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c21b81dce4b87e00269e63c88e442790 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ccf97877cc1f4cd5908d329f4658389b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ce2f31234f91c10ad1f25d45ef853cb8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d01dbffb7f991cfaee5cab6047ca38ab +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d252cd2d8331650e15079d2f240d2fac +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/de3bbe108e9180b23f46194de4798d16 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e0694f7a79337d4122781ad44459b1be +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e6d68508fff41e6a609844ae027f8876 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e7cf35278e58bf137a350db4a5b671ba +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ef3ef1c4ffb6f99196e212111134278b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f3afb46614704db50013e463449e2a5b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fd07e1a9bf65d83191423a76bced6350 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fd6200b8231389d837487fc9f0e6682e +0 -0
- metadata +265 -17
- data/app/views/customer_vault/links/_aside.html.slim +0 -4
@@ -1,4 +0,0 @@
|
|
1
|
-
- if @person.instance_of? CustomerVault::Individual
|
2
|
-
= render partial: 'customer_vault/individuals/show_details', :locals => {:individual => @person}
|
3
|
-
- if @person.instance_of? CustomerVault::Corporation
|
4
|
-
= render partial: 'customer_vault/corporations/show_details', :locals => {:corporation => @person}
|