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.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/customer_vault/individuals.css.scss +1 -1
  3. data/app/models/customer_vault/corporation.rb +1 -3
  4. data/app/models/customer_vault/individual.rb +0 -3
  5. data/app/models/customer_vault/person.rb +4 -1
  6. data/app/views/customer_vault/corporations/_form.html.slim +15 -28
  7. data/app/views/customer_vault/corporations/_show_details.html.slim +9 -36
  8. data/app/views/customer_vault/corporations/edit.html.slim +18 -22
  9. data/app/views/customer_vault/corporations/new.html.slim +19 -22
  10. data/app/views/customer_vault/corporations/show.html.slim +37 -39
  11. data/app/views/customer_vault/individuals/_form.html.slim +21 -58
  12. data/app/views/customer_vault/individuals/_show_details.html.slim +18 -52
  13. data/app/views/customer_vault/individuals/edit.html.slim +18 -22
  14. data/app/views/customer_vault/individuals/new.html.slim +18 -24
  15. data/app/views/customer_vault/individuals/show.html.slim +36 -38
  16. data/app/views/customer_vault/links/edit.html.slim +24 -29
  17. data/app/views/customer_vault/links/new.html.slim +21 -31
  18. data/app/views/customer_vault/people/_show_details.html.slim +4 -0
  19. data/app/views/customer_vault/people/index.html.slim +38 -42
  20. data/lib/customer_vault/version.rb +1 -1
  21. data/spec/dummy/app/assets/stylesheets/application.css.scss +4 -1
  22. data/spec/dummy/app/views/layouts/application.html.erb +4 -1
  23. data/spec/dummy/config/initializers/simple_form.rb +166 -0
  24. data/spec/dummy/config/initializers/simple_form_bootstrap.rb +136 -0
  25. data/spec/dummy/db/development.sqlite3 +0 -0
  26. data/spec/dummy/db/test.sqlite3 +0 -0
  27. data/spec/dummy/log/development.log +23 -0
  28. data/spec/dummy/log/test.log +5997 -0
  29. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_alerts.scssc +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_background-variant.scssc +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_border-radius.scssc +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_buttons.scssc +0 -0
  33. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_center-block.scssc +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_clearfix.scssc +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_forms.scssc +0 -0
  36. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_gradients.scssc +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_grid-framework.scssc +0 -0
  38. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_grid.scssc +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_hide-text.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_image.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_labels.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_list-group.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_nav-divider.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_nav-vertical-align.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_opacity.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_pagination.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_panels.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_progress-bar.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_reset-filter.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_resize.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_responsive-visibility.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_size.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_tab-focus.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_table-row.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_text-emphasis.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_text-overflow.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/0006ff0dbef3ccde25358c9ccd9623709ea81b53/_vendor-prefixes.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_alerts.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_badges.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_breadcrumbs.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_button-groups.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_buttons.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_carousel.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_close.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_code.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_component-animations.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_dropdowns.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_forms.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_glyphicons.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_grid.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_input-groups.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_jumbotron.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_labels.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_list-group.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_media.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_mixins.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_modals.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_navbar.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_navs.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_normalize.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_pager.scssc +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_pagination.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_panels.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_popovers.scssc +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_print.scssc +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_progress-bars.scssc +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_responsive-embed.scssc +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_responsive-utilities.scssc +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_scaffolding.scssc +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_tables.scssc +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_thumbnails.scssc +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_tooltip.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_type.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_utilities.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_variables.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sass/28f5033b184a8d363e7df1895646031709bf23d9/_wells.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sass/56e857cea6600c31fdc065577fa5347e2da021e2/application.css.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/application.css.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/corporations.css.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/individuals.css.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/links.css.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sass/c45223a4229be18e4ef8b2889ae32d342f503af2/pagination.css.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sass/fc4b9279400c8168c697f5ed561bb8ccb52e5f67/_bootstrap-sprockets.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sass/fc4b9279400c8168c697f5ed561bb8ccb52e5f67/_bootstrap.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/0c6cbcfd2ac7886202376c7ff932d8d5 +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/0e50063452927b05bf1f53a77b8e1137 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/1aa6c8eaf0c76ce805ac43b02283d751 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/1ee39033188b9385986e53a569323f2d +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/22344f083e6fdddd40440917b532687f +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/2c871132412a58427eec073d719b9c38 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/2dba1fb8d155139d6e88e90a54e8ea8b +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/3161dca95ec50f801a01d3e22fb5a571 +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/32f555f2191136849fe39ad6d37dee22 +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/354c87ada66ea34ea3c3449b27de58d4 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/36781c5ac8b6dd644e3ca64350e7c4e9 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/3721b00ad6c043329fa66726d9b9766b +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/374e8b5a7fe9a2a0e05d456e3fdec438 +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/4158957758e07d2d90c27f200a55df25 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/45aae7f5bdd0876ef98c35e412449d7c +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/509cd3bf7f4178cdd28f6396059d8064 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/5593457c78faf74ab5308d8e28b42f30 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/5695dcc93e3c4ef99a30619b849d1c3d +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/5998b5c9de215f55b8b703679fbcc8ff +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/5a1f7c9a00361b886dd09ad73978c41b +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/5d044f664c09e7a71e2f8d23dc5bb56b +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/616166c8bb883e423e177bd4d0d2bfea +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/78352579e0a2c6b74f748f3f72cd1740 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/7d34cbd8d9384581d87985945ae4b2dd +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/816ac58210c0e421e3b917d1b904ec56 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/874dd89a49c981cf15547f8d4516e687 +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/8848aeeeb383bb5baf3d5f392ec1059b +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/8a8cfc599d8aea7460fed2beba8fc345 +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/8e55cf0f42842afed2d9cae7f635fb01 +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/9b427fa817fc87c50cd9c2303ea86f48 +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/9cdbd650c50c41fdad744161154494a8 +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/a10a46afa0ac441a29a9efa24daf92bd +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/aa6fa76c4337a1adad7826733bc3e663 +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/ae2e6efe49141b338780cb8edab0c36d +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/c21b81dce4b87e00269e63c88e442790 +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/ccf97877cc1f4cd5908d329f4658389b +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/ce2f31234f91c10ad1f25d45ef853cb8 +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/d01dbffb7f991cfaee5cab6047ca38ab +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/d252cd2d8331650e15079d2f240d2fac +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/de3bbe108e9180b23f46194de4798d16 +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/e0694f7a79337d4122781ad44459b1be +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/e6d68508fff41e6a609844ae027f8876 +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/e7cf35278e58bf137a350db4a5b671ba +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/ef3ef1c4ffb6f99196e212111134278b +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/f3afb46614704db50013e463449e2a5b +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/fd07e1a9bf65d83191423a76bced6350 +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/fd6200b8231389d837487fc9f0e6682e +0 -0
  158. metadata +265 -17
  159. 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}