rails_marketplace 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (424) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/rails_marketplace/application.js +46 -0
  6. data/app/assets/javascripts/rails_marketplace/catalog.coffee +3 -0
  7. data/app/assets/javascripts/rails_marketplace/flash.js +6 -0
  8. data/app/assets/javascripts/rails_marketplace/footermanifest.js +1 -0
  9. data/app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js +267 -0
  10. data/app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js +986 -0
  11. data/app/assets/javascripts/rails_marketplace/js/bootstrap.min.js +7 -0
  12. data/app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js +9 -0
  13. data/app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js +14 -0
  14. data/app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js +1087 -0
  15. data/app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js +17 -0
  16. data/app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js +10 -0
  17. data/app/assets/javascripts/rails_marketplace/js/cropping/main.js +321 -0
  18. data/app/assets/javascripts/rails_marketplace/js/cropping/main2.js +160 -0
  19. data/app/assets/javascripts/rails_marketplace/js/custom.js +380 -0
  20. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css +1 -0
  21. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js +6 -0
  22. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js +22 -0
  23. data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js +4 -0
  24. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js +8 -0
  25. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js +36 -0
  26. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js +17 -0
  27. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js +18 -0
  28. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js +25 -0
  29. data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js +26 -0
  30. data/app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css +1 -0
  31. data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css +333 -0
  32. data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js +166 -0
  33. data/app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json +2502 -0
  34. data/app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js +14 -0
  35. data/app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js +22 -0
  36. data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css +1 -0
  37. data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js +7 -0
  38. data/app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css +1 -0
  39. data/app/assets/javascripts/rails_marketplace/js/datatables/vfs_fonts.js +1 -0
  40. data/app/assets/javascripts/rails_marketplace/js/datepicker/daterangepicker.js +1 -0
  41. data/app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js +2 -0
  42. data/app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js +9 -0
  43. data/app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js +35 -0
  44. data/app/assets/javascripts/rails_marketplace/js/echart/green.js +212 -0
  45. data/app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js +200 -0
  46. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js +2 -0
  47. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js +3 -0
  48. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js +18 -0
  49. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js +2 -0
  50. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js +3 -0
  51. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js +2 -0
  52. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js +1 -0
  53. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js +2 -0
  54. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js +3 -0
  55. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js +1 -0
  56. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js +2 -0
  57. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js +6 -0
  58. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js +2 -0
  59. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js +2 -0
  60. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js +4 -0
  61. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js +3 -0
  62. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js +1 -0
  63. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js +2 -0
  64. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js +1 -0
  65. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js +2 -0
  66. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js +2 -0
  67. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js +3 -0
  68. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js +1 -0
  69. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js +2 -0
  70. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js +3 -0
  71. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js +2 -0
  72. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js +3 -0
  73. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js +2 -0
  74. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js +30 -0
  75. data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js +34 -0
  76. data/app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js +100 -0
  77. data/app/assets/javascripts/rails_marketplace/js/flot/curvedLines.js +483 -0
  78. data/app/assets/javascripts/rails_marketplace/js/flot/date.js +104 -0
  79. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js +2 -0
  80. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js +201 -0
  81. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js +820 -0
  82. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js +57 -0
  83. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.spline.js +212 -0
  84. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js +188 -0
  85. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.time.min.js +1 -0
  86. data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js +12 -0
  87. data/app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js +1 -0
  88. data/app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js +21 -0
  89. data/app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js +11 -0
  90. data/app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js +2 -0
  91. data/app/assets/javascripts/rails_marketplace/js/ion_range/ion.rangeSlider.min.js +66 -0
  92. data/app/assets/javascripts/rails_marketplace/js/jquery.min.js +5 -0
  93. data/app/assets/javascripts/rails_marketplace/js/knob/jquery.knob.min.js +1 -0
  94. data/app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js +185 -0
  95. data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js +2 -0
  96. data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-us-aea-en.js +1 -0
  97. data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-world-mill-en.js +1 -0
  98. data/app/assets/javascripts/rails_marketplace/js/maps/us-unemployment.json +1 -0
  99. data/app/assets/javascripts/rails_marketplace/js/moment/moment.min.js +7 -0
  100. data/app/assets/javascripts/rails_marketplace/js/moris/example.js +127 -0
  101. data/app/assets/javascripts/rails_marketplace/js/moris/morris.min.js +7 -0
  102. data/app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js +11 -0
  103. data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js +132 -0
  104. data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.core.js +1 -0
  105. data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js +151 -0
  106. data/app/assets/javascripts/rails_marketplace/js/nprogress.js +476 -0
  107. data/app/assets/javascripts/rails_marketplace/js/pace/pace.min.js +2 -0
  108. data/app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js +9 -0
  109. data/app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js +2 -0
  110. data/app/assets/javascripts/rails_marketplace/js/select/select2.full.js +2 -0
  111. data/app/assets/javascripts/rails_marketplace/js/sidebar/classie.js +80 -0
  112. data/app/assets/javascripts/rails_marketplace/js/sidebar/component.css +569 -0
  113. data/app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js +4 -0
  114. data/app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js +63 -0
  115. data/app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js +1 -0
  116. data/app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js +5 -0
  117. data/app/assets/javascripts/rails_marketplace/js/switchery/switchery.min.js +1 -0
  118. data/app/assets/javascripts/rails_marketplace/js/tags/jquery.tagsinput.min.js +1 -0
  119. data/app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js +6 -0
  120. data/app/assets/javascripts/rails_marketplace/js/validator/validator.js +411 -0
  121. data/app/assets/javascripts/rails_marketplace/js/wizard/jquery.smartWizard.js +489 -0
  122. data/app/assets/javascripts/rails_marketplace/less/custom.css +6355 -0
  123. data/app/assets/javascripts/rails_marketplace/marketplace.js +17 -0
  124. data/app/assets/javascripts/rails_marketplace/welcome.coffee +3 -0
  125. data/app/assets/stylesheets/rails_marketplace/application.scss +31 -0
  126. data/app/assets/stylesheets/rails_marketplace/catalog.scss +132 -0
  127. data/app/assets/stylesheets/rails_marketplace/css/animate.min.css +11 -0
  128. data/app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css +6 -0
  129. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css +1116 -0
  130. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css +5 -0
  131. data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css +208 -0
  132. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css +9 -0
  133. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  134. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/alpha.png +0 -0
  135. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
  136. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/hue.png +0 -0
  137. data/app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/saturation.png +0 -0
  138. data/app/assets/stylesheets/rails_marketplace/css/custom.css +5347 -0
  139. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css +103 -0
  140. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css +258 -0
  141. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css +501 -0
  142. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css +221 -0
  143. data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css +244 -0
  144. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/Sorting icons.psd +0 -0
  145. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/back_disabled.png +0 -0
  146. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/back_enabled.png +0 -0
  147. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/back_enabled_hover.png +0 -0
  148. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/favicon.ico +0 -0
  149. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_disabled.png +0 -0
  150. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_enabled.png +0 -0
  151. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_enabled_hover.png +0 -0
  152. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_asc.png +0 -0
  153. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_asc_disabled.png +0 -0
  154. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_both.png +0 -0
  155. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_desc.png +0 -0
  156. data/app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_desc_disabled.png +0 -0
  157. data/app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css +336 -0
  158. data/app/assets/stylesheets/rails_marketplace/css/editor/external/google-code-prettify/prettify.css +1 -0
  159. data/app/assets/stylesheets/rails_marketplace/css/editor/index.css +42 -0
  160. data/app/assets/stylesheets/rails_marketplace/css/floatexamples.css +22 -0
  161. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css +530 -0
  162. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css +53 -0
  163. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.png +0 -0
  164. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero@2x.png +0 -0
  165. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css +53 -0
  166. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.png +0 -0
  167. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue@2x.png +0 -0
  168. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css +53 -0
  169. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.png +0 -0
  170. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat@2x.png +0 -0
  171. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css +53 -0
  172. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.png +0 -0
  173. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green@2x.png +0 -0
  174. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css +53 -0
  175. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.png +0 -0
  176. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey@2x.png +0 -0
  177. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css +53 -0
  178. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.png +0 -0
  179. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange@2x.png +0 -0
  180. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css +53 -0
  181. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.png +0 -0
  182. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink@2x.png +0 -0
  183. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css +53 -0
  184. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.png +0 -0
  185. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple@2x.png +0 -0
  186. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css +53 -0
  187. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.png +0 -0
  188. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red@2x.png +0 -0
  189. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css +53 -0
  190. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.png +0 -0
  191. data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow@2x.png +0 -0
  192. data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css +146 -0
  193. data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css +106 -0
  194. data/app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css +135 -0
  195. data/app/assets/stylesheets/rails_marketplace/css/normalize.css +421 -0
  196. data/app/assets/stylesheets/rails_marketplace/css/nprogress.css +74 -0
  197. data/app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css +161 -0
  198. data/app/assets/stylesheets/rails_marketplace/css/select/select2.min.css +404 -0
  199. data/app/assets/stylesheets/rails_marketplace/css/switchery/switchery.min.css +1 -0
  200. data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css +2086 -0
  201. data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css +4 -0
  202. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf +0 -0
  203. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot +0 -0
  204. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg +655 -0
  205. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf +0 -0
  206. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff +0 -0
  207. data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2 +0 -0
  208. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot +0 -0
  209. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg +288 -0
  210. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf +0 -0
  211. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff +0 -0
  212. data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2 +0 -0
  213. data/app/assets/stylesheets/rails_marketplace/fonts/less/animated.less +34 -0
  214. data/app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less +25 -0
  215. data/app/assets/stylesheets/rails_marketplace/fonts/less/core.less +12 -0
  216. data/app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less +6 -0
  217. data/app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less +17 -0
  218. data/app/assets/stylesheets/rails_marketplace/fonts/less/icons.less +697 -0
  219. data/app/assets/stylesheets/rails_marketplace/fonts/less/larger.less +13 -0
  220. data/app/assets/stylesheets/rails_marketplace/fonts/less/list.less +19 -0
  221. data/app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less +26 -0
  222. data/app/assets/stylesheets/rails_marketplace/fonts/less/path.less +15 -0
  223. data/app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less +20 -0
  224. data/app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less +29 -0
  225. data/app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less +20 -0
  226. data/app/assets/stylesheets/rails_marketplace/fonts/less/variables.less +708 -0
  227. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss +34 -0
  228. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss +25 -0
  229. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss +12 -0
  230. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss +6 -0
  231. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss +697 -0
  232. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss +13 -0
  233. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss +19 -0
  234. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss +26 -0
  235. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss +15 -0
  236. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss +20 -0
  237. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss +29 -0
  238. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss +20 -0
  239. data/app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss +708 -0
  240. data/app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss +17 -0
  241. data/app/assets/stylesheets/rails_marketplace/images/1.png +0 -0
  242. data/app/assets/stylesheets/rails_marketplace/images/4.jpg +0 -0
  243. data/app/assets/stylesheets/rails_marketplace/images/american-express.png +0 -0
  244. data/app/assets/stylesheets/rails_marketplace/images/back_disabled.png +0 -0
  245. data/app/assets/stylesheets/rails_marketplace/images/back_enabled.png +0 -0
  246. data/app/assets/stylesheets/rails_marketplace/images/back_enabled_hover.png +0 -0
  247. data/app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  248. data/app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/alpha.png +0 -0
  249. data/app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
  250. data/app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/hue.png +0 -0
  251. data/app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/saturation.png +0 -0
  252. data/app/assets/stylesheets/rails_marketplace/images/data.png +0 -0
  253. data/app/assets/stylesheets/rails_marketplace/images/favicon.ico +0 -0
  254. data/app/assets/stylesheets/rails_marketplace/images/forward_disabled.png +0 -0
  255. data/app/assets/stylesheets/rails_marketplace/images/forward_enabled.png +0 -0
  256. data/app/assets/stylesheets/rails_marketplace/images/forward_enabled_hover.png +0 -0
  257. data/app/assets/stylesheets/rails_marketplace/images/icons.png +0 -0
  258. data/app/assets/stylesheets/rails_marketplace/images/img.jpg +0 -0
  259. data/app/assets/stylesheets/rails_marketplace/images/loading.gif +0 -0
  260. data/app/assets/stylesheets/rails_marketplace/images/mastercard.png +0 -0
  261. data/app/assets/stylesheets/rails_marketplace/images/paypal2.png +0 -0
  262. data/app/assets/stylesheets/rails_marketplace/images/picture-2.jpg +0 -0
  263. data/app/assets/stylesheets/rails_marketplace/images/picture.jpg +0 -0
  264. data/app/assets/stylesheets/rails_marketplace/images/picture2.jpg +0 -0
  265. data/app/assets/stylesheets/rails_marketplace/images/prod1.jpg +0 -0
  266. data/app/assets/stylesheets/rails_marketplace/images/prod2.jpg +0 -0
  267. data/app/assets/stylesheets/rails_marketplace/images/prod3.jpg +0 -0
  268. data/app/assets/stylesheets/rails_marketplace/images/prod4.jpg +0 -0
  269. data/app/assets/stylesheets/rails_marketplace/images/prod5.jpg +0 -0
  270. data/app/assets/stylesheets/rails_marketplace/images/sprite-skin-flat.png +0 -0
  271. data/app/assets/stylesheets/rails_marketplace/images/sprite-skin-modern.png +0 -0
  272. data/app/assets/stylesheets/rails_marketplace/images/sprite-skin-nice.png +0 -0
  273. data/app/assets/stylesheets/rails_marketplace/images/sprite-skin-simple.png +0 -0
  274. data/app/assets/stylesheets/rails_marketplace/images/user.png +0 -0
  275. data/app/assets/stylesheets/rails_marketplace/images/visa.png +0 -0
  276. data/app/assets/stylesheets/rails_marketplace/marketplace.scss +20 -0
  277. data/app/assets/stylesheets/rails_marketplace/pace.css +76 -0
  278. data/app/assets/stylesheets/rails_marketplace/welcome.scss +3 -0
  279. data/app/assets/stylesheets/scaffold.css +56 -0
  280. data/app/controllers/rails_marketplace/admin_controller.rb +151 -0
  281. data/app/controllers/rails_marketplace/application_controller.rb +4 -0
  282. data/app/controllers/rails_marketplace/catalog_controller.rb +172 -0
  283. data/app/controllers/rails_marketplace/seller_controller.rb +181 -0
  284. data/app/helpers/rails_marketplace/admin_helper.rb +16 -0
  285. data/app/helpers/rails_marketplace/application_helper.rb +4 -0
  286. data/app/helpers/rails_marketplace/catalog_helper.rb +4 -0
  287. data/app/helpers/rails_marketplace/plainpage_helper.rb +4 -0
  288. data/app/helpers/rails_marketplace/seller_helper.rb +16 -0
  289. data/app/models/rails_marketplace/admin.rb +10 -0
  290. data/app/models/rails_marketplace/admin_setting.rb +13 -0
  291. data/app/models/rails_marketplace/cart.rb +49 -0
  292. data/app/models/rails_marketplace/cart_product.rb +7 -0
  293. data/app/models/rails_marketplace/category.rb +22 -0
  294. data/app/models/rails_marketplace/category_product.rb +6 -0
  295. data/app/models/rails_marketplace/customer.rb +6 -0
  296. data/app/models/rails_marketplace/order.rb +22 -0
  297. data/app/models/rails_marketplace/order_product.rb +7 -0
  298. data/app/models/rails_marketplace/product.rb +34 -0
  299. data/app/models/rails_marketplace/seller.rb +13 -0
  300. data/app/models/rails_marketplace/seller_setting.rb +5 -0
  301. data/app/views/layouts/rails_marketplace/application.html.erb +37 -0
  302. data/app/views/layouts/rails_marketplace/seller_central.html.erb +58 -0
  303. data/app/views/layouts/rails_marketplace/super_admin.html.erb +58 -0
  304. data/app/views/rails_marketplace/admin/add_category.html.erb +63 -0
  305. data/app/views/rails_marketplace/admin/categories.html.erb +50 -0
  306. data/app/views/rails_marketplace/admin/category_products.html.erb +54 -0
  307. data/app/views/rails_marketplace/admin/dashboard.html.erb +50 -0
  308. data/app/views/rails_marketplace/admin/edit_category.html.erb +63 -0
  309. data/app/views/rails_marketplace/admin/login_form.html.erb +20 -0
  310. data/app/views/rails_marketplace/admin/products.html.erb +54 -0
  311. data/app/views/rails_marketplace/admin/seller_products.html.erb +54 -0
  312. data/app/views/rails_marketplace/admin/sellers.html.erb +48 -0
  313. data/app/views/rails_marketplace/admin/settings_form.html.erb +39 -0
  314. data/app/views/rails_marketplace/admin/signup_form.html.erb +25 -0
  315. data/app/views/rails_marketplace/catalog/cart.html.erb +80 -0
  316. data/app/views/rails_marketplace/catalog/category_products.html.erb +52 -0
  317. data/app/views/rails_marketplace/catalog/checkout.html.erb +207 -0
  318. data/app/views/rails_marketplace/catalog/checkout_success.html.erb +15 -0
  319. data/app/views/rails_marketplace/catalog/index.html.erb +1 -0
  320. data/app/views/rails_marketplace/catalog/product_detail.html.erb +88 -0
  321. data/app/views/rails_marketplace/partials/_admin_sidenav.html.erb +80 -0
  322. data/app/views/rails_marketplace/partials/_admin_topnav.html.erb +111 -0
  323. data/app/views/rails_marketplace/partials/_footer.html.erb +19 -0
  324. data/app/views/rails_marketplace/partials/_menu.html.erb +42 -0
  325. data/app/views/rails_marketplace/partials/_sidenav.html.erb +77 -0
  326. data/app/views/rails_marketplace/partials/_topnav.html.erb +105 -0
  327. data/app/views/rails_marketplace/seller/add_bulk_products.html.erb +0 -0
  328. data/app/views/rails_marketplace/seller/add_product.html.erb +67 -0
  329. data/app/views/rails_marketplace/seller/dashboard.html.erb +50 -0
  330. data/app/views/rails_marketplace/seller/edit_product.html.erb +69 -0
  331. data/app/views/rails_marketplace/seller/login_form.html.erb +36 -0
  332. data/app/views/rails_marketplace/seller/order_details.html.erb +69 -0
  333. data/app/views/rails_marketplace/seller/orders.html.erb +68 -0
  334. data/app/views/rails_marketplace/seller/products.html.erb +55 -0
  335. data/app/views/rails_marketplace/seller/settings_general.html.erb +64 -0
  336. data/app/views/rails_marketplace/seller/settings_payment.html.erb +34 -0
  337. data/app/views/rails_marketplace/seller/settings_shipping.html.erb +34 -0
  338. data/app/views/rails_marketplace/seller/settings_tax.html.erb +34 -0
  339. data/app/views/rails_marketplace/seller/signup_form.html.erb +28 -0
  340. data/app/views/rails_marketplace/seller/step_two.html.erb +17 -0
  341. data/app/views/rails_marketplace/shared/_admin_error_messages.html.erb +12 -0
  342. data/app/views/rails_marketplace/shared/_product_error_messages.html.erb +12 -0
  343. data/app/views/rails_marketplace/shared/_seller_error_messages.html.erb +12 -0
  344. data/config/routes.rb +58 -0
  345. data/db/migrate/20161013194852_create_sellers.rb +13 -0
  346. data/db/migrate/20161013195006_create_customers.rb +13 -0
  347. data/db/migrate/20161013195758_create_orders.rb +8 -0
  348. data/db/migrate/20161014013032_create_category_products.rb +10 -0
  349. data/db/migrate/20161014013058_create_order_products.rb +13 -0
  350. data/db/migrate/20161017185755_create_admins.rb +12 -0
  351. data/db/migrate/20161017232347_create_products.rb +14 -0
  352. data/db/migrate/20161019012043_add_reference_product_seller.rb +5 -0
  353. data/db/migrate/20161019013502_change_data_type_images_files.rb +6 -0
  354. data/db/migrate/20161019022020_add_reference_order_customers.rb +5 -0
  355. data/db/migrate/20161109191644_create_categories.rb +15 -0
  356. data/db/migrate/20161110021043_create_friendly_id_slugs.rb +15 -0
  357. data/db/migrate/20161110021131_add_slug_to_category.rb +6 -0
  358. data/db/migrate/20161110024118_add_slug_to_product.rb +6 -0
  359. data/db/migrate/20161111001446_create_carts.rb +8 -0
  360. data/db/migrate/20161111004451_create_cart_products.rb +12 -0
  361. data/db/migrate/20161115013956_add_currency_format_to_price.rb +6 -0
  362. data/db/migrate/20161115015227_monetize_product.rb +5 -0
  363. data/db/migrate/20161115032905_add_stripe_key_to_admin.rb +6 -0
  364. data/db/migrate/20161124015608_add_order_fields.rb +16 -0
  365. data/db/migrate/20161207193917_add_seller_to_orders.rb +6 -0
  366. data/db/migrate/20161208012601_add_price_to_cart_products.rb +6 -0
  367. data/db/migrate/20161208013402_add_money_to_cart_products.rb +6 -0
  368. data/db/migrate/20170217183953_create_seller_settings.rb +29 -0
  369. data/db/migrate/20170218003202_create_admin_settings.rb +24 -0
  370. data/db/migrate/20170224230449_create_stripe_managed_accounts.rb +9 -0
  371. data/db/migrate/20170224233736_add_stripe_to_admin_settings.rb +9 -0
  372. data/db/migrate/20170224235259_add_id_to_settings.rb +6 -0
  373. data/db/migrate/20170225002939_delete_stripe_accounts.rb +8 -0
  374. data/db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb +5 -0
  375. data/lib/rails_marketplace.rb +4 -0
  376. data/lib/rails_marketplace/engine.rb +9 -0
  377. data/lib/rails_marketplace/version.rb +3 -0
  378. data/lib/tasks/rails_marketplace_tasks.rake +4 -0
  379. data/spec/controllers/rails_marketplace/catalog_controller_spec.rb +75 -0
  380. data/spec/dummy/README.rdoc +28 -0
  381. data/spec/dummy/Rakefile +6 -0
  382. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  383. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  384. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  385. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  386. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  387. data/spec/dummy/bin/bundle +3 -0
  388. data/spec/dummy/bin/rails +4 -0
  389. data/spec/dummy/bin/rake +4 -0
  390. data/spec/dummy/bin/setup +29 -0
  391. data/spec/dummy/config.ru +4 -0
  392. data/spec/dummy/config/application.rb +32 -0
  393. data/spec/dummy/config/boot.rb +5 -0
  394. data/spec/dummy/config/database.yml +25 -0
  395. data/spec/dummy/config/environment.rb +5 -0
  396. data/spec/dummy/config/environments/development.rb +41 -0
  397. data/spec/dummy/config/environments/production.rb +79 -0
  398. data/spec/dummy/config/environments/test.rb +42 -0
  399. data/spec/dummy/config/initializers/assets.rb +11 -0
  400. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  401. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  402. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  403. data/spec/dummy/config/initializers/inflections.rb +16 -0
  404. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  405. data/spec/dummy/config/initializers/session_store.rb +3 -0
  406. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  407. data/spec/dummy/config/locales/en.yml +23 -0
  408. data/spec/dummy/config/routes.rb +4 -0
  409. data/spec/dummy/config/secrets.yml +22 -0
  410. data/spec/dummy/db/schema.rb +194 -0
  411. data/spec/dummy/log/development.log +889 -0
  412. data/spec/dummy/log/test.log +1229 -0
  413. data/spec/dummy/public/404.html +67 -0
  414. data/spec/dummy/public/422.html +67 -0
  415. data/spec/dummy/public/500.html +66 -0
  416. data/spec/dummy/public/favicon.ico +0 -0
  417. data/spec/helpers/rails_marketplace/catalog_helper_spec.rb +17 -0
  418. data/spec/routing/rails_marketplace/catalog_routing_spec.rb +44 -0
  419. data/spec/spec_helper.rb +44 -0
  420. data/spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb +15 -0
  421. data/spec/views/rails_marketplace/catalog/index.html.erb_spec.rb +15 -0
  422. data/spec/views/rails_marketplace/catalog/new.html.erb_spec.rb +15 -0
  423. data/spec/views/rails_marketplace/catalog/show.html.erb_spec.rb +12 -0
  424. metadata +595 -0
@@ -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
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ # Specs in this file have access to a helper object that includes
4
+ # the AppointmentsHelper. For example:
5
+ #
6
+ # describe AppointmentsHelper do
7
+ # describe "string concat" do
8
+ # it "concats two strings with spaces" do
9
+ # expect(helper.concat_strings("this","that")).to eq("this that")
10
+ # end
11
+ # end
12
+ # end
13
+ module RailsMarketplace
14
+ describe CatalogHelper do
15
+ pending "add some examples to (or delete) #{__FILE__}"
16
+ end
17
+ end
@@ -0,0 +1,44 @@
1
+ require "spec_helper"
2
+
3
+ module RailsMarketplace
4
+ describe CatalogController do
5
+ describe "routing" do
6
+
7
+ it "routes to #catalog" do
8
+ get("/catalog/books").should route_to("catalog#category_products", :name => "books")
9
+ end
10
+
11
+ it "routes to #product" do
12
+ get("/product/bible").should route_to("catalog#product_detail", :title => "bible")
13
+ end
14
+
15
+ it "routes to #add_to_cart" do
16
+ post("/cart/add").should route_to("catalog#add_to_cart")
17
+ end
18
+
19
+ it "routes to #cart" do
20
+ get("/cart").should route_to("catalog#cart")
21
+ end
22
+
23
+ it "routes to #cart_update" do
24
+ put("/cart/update").should route_to("catalog#cart_update")
25
+ end
26
+
27
+ it "routes to #cart_delete" do
28
+ delete("/cart/delete/1").should route_to("catalog#cart_delete", :product_id => "1")
29
+ end
30
+
31
+ it "routes to #checkout" do
32
+ get("/checkout").should route_to("catalog#checkout")
33
+ end
34
+
35
+ it "routes to #charge" do
36
+ post("/charge").should route_to("catalog#charge")
37
+ end
38
+
39
+ it "routes to #checkout_success" do
40
+ get("/checkout/success").should route_to("catalog#checkout_success")
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,44 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ # Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
10
+ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
11
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
12
+
13
+ # Checks for pending migrations before tests are run.
14
+ # If you are not using ActiveRecord, you can remove this line.
15
+ ActiveRecord::Migration.maintain_test_schema!
16
+
17
+ RSpec.configure do |config|
18
+ # ## Mock Framework
19
+ #
20
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
21
+ #
22
+ # config.mock_with :mocha
23
+ # config.mock_with :flexmock
24
+ # config.mock_with :rr
25
+
26
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
27
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
28
+
29
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
30
+ # examples within a transaction, remove the following line or assign false
31
+ # instead of true.
32
+ config.use_transactional_fixtures = true
33
+
34
+ # If true, the base class of anonymous controllers will be inferred
35
+ # automatically. This will be the default behavior in future versions of
36
+ # rspec-rails.
37
+ config.infer_base_class_for_anonymous_controllers = false
38
+
39
+ # Run specs in random order to surface order dependencies. If you find an
40
+ # order dependency and want to debug it, you can fix the order by providing
41
+ # the seed, which is printed after each run.
42
+ # --seed 1234
43
+ config.order = "random"
44
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe "appointments/edit" do
4
+ before(:each) do
5
+ @appointment = assign(:appointment, stub_model(Appointment))
6
+ end
7
+
8
+ it "renders the edit appointment form" do
9
+ render
10
+
11
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
12
+ assert_select "form[action=?][method=?]", appointment_path(@appointment), "post" do
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe "appointments/index" do
4
+ before(:each) do
5
+ assign(:appointments, [
6
+ stub_model(Appointment),
7
+ stub_model(Appointment)
8
+ ])
9
+ end
10
+
11
+ it "renders a list of appointments" do
12
+ render
13
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe "appointments/new" do
4
+ before(:each) do
5
+ assign(:appointment, stub_model(Appointment).as_new_record)
6
+ end
7
+
8
+ it "renders new appointment form" do
9
+ render
10
+
11
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
12
+ assert_select "form[action=?][method=?]", appointments_path, "post" do
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ describe "appointments/show" do
4
+ before(:each) do
5
+ @appointment = assign(:appointment, stub_model(Appointment))
6
+ end
7
+
8
+ it "renders attributes in <p>" do
9
+ render
10
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,595 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_marketplace
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Josh Yan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-08-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: friendly_id
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: money-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.14.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.14.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: bcrypt-ruby
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 3.1.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 3.1.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 6.0.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 6.0.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Rails Marketplace.
98
+ email:
99
+ - joshyanworks@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - MIT-LICENSE
105
+ - README.rdoc
106
+ - Rakefile
107
+ - app/assets/javascripts/rails_marketplace/application.js
108
+ - app/assets/javascripts/rails_marketplace/catalog.coffee
109
+ - app/assets/javascripts/rails_marketplace/flash.js
110
+ - app/assets/javascripts/rails_marketplace/footermanifest.js
111
+ - app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js
112
+ - app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js
113
+ - app/assets/javascripts/rails_marketplace/js/bootstrap.min.js
114
+ - app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js
115
+ - app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js
116
+ - app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js
117
+ - app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js
118
+ - app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js
119
+ - app/assets/javascripts/rails_marketplace/js/cropping/main.js
120
+ - app/assets/javascripts/rails_marketplace/js/cropping/main2.js
121
+ - app/assets/javascripts/rails_marketplace/js/custom.js
122
+ - app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css
123
+ - app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js
124
+ - app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js
125
+ - app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js
126
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js
127
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js
128
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js
129
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js
130
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js
131
+ - app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js
132
+ - app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css
133
+ - app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css
134
+ - app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js
135
+ - app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json
136
+ - app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js
137
+ - app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js
138
+ - app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css
139
+ - app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js
140
+ - app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css
141
+ - app/assets/javascripts/rails_marketplace/js/datatables/vfs_fonts.js
142
+ - app/assets/javascripts/rails_marketplace/js/datepicker/daterangepicker.js
143
+ - app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js
144
+ - app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js
145
+ - app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js
146
+ - app/assets/javascripts/rails_marketplace/js/echart/green.js
147
+ - app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js
148
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js
149
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js
150
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js
151
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js
152
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js
153
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js
154
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js
155
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js
156
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js
157
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js
158
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js
159
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js
160
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js
161
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js
162
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js
163
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js
164
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js
165
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js
166
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js
167
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js
168
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js
169
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js
170
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js
171
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js
172
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js
173
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js
174
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js
175
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js
176
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js
177
+ - app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js
178
+ - app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js
179
+ - app/assets/javascripts/rails_marketplace/js/flot/curvedLines.js
180
+ - app/assets/javascripts/rails_marketplace/js/flot/date.js
181
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js
182
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js
183
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js
184
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js
185
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.spline.js
186
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js
187
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.time.min.js
188
+ - app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js
189
+ - app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js
190
+ - app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js
191
+ - app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js
192
+ - app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js
193
+ - app/assets/javascripts/rails_marketplace/js/ion_range/ion.rangeSlider.min.js
194
+ - app/assets/javascripts/rails_marketplace/js/jquery.min.js
195
+ - app/assets/javascripts/rails_marketplace/js/knob/jquery.knob.min.js
196
+ - app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js
197
+ - app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js
198
+ - app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-us-aea-en.js
199
+ - app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-world-mill-en.js
200
+ - app/assets/javascripts/rails_marketplace/js/maps/us-unemployment.json
201
+ - app/assets/javascripts/rails_marketplace/js/moment/moment.min.js
202
+ - app/assets/javascripts/rails_marketplace/js/moris/example.js
203
+ - app/assets/javascripts/rails_marketplace/js/moris/morris.min.js
204
+ - app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js
205
+ - app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js
206
+ - app/assets/javascripts/rails_marketplace/js/notify/pnotify.core.js
207
+ - app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js
208
+ - app/assets/javascripts/rails_marketplace/js/nprogress.js
209
+ - app/assets/javascripts/rails_marketplace/js/pace/pace.min.js
210
+ - app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js
211
+ - app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js
212
+ - app/assets/javascripts/rails_marketplace/js/select/select2.full.js
213
+ - app/assets/javascripts/rails_marketplace/js/sidebar/classie.js
214
+ - app/assets/javascripts/rails_marketplace/js/sidebar/component.css
215
+ - app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js
216
+ - app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js
217
+ - app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js
218
+ - app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js
219
+ - app/assets/javascripts/rails_marketplace/js/switchery/switchery.min.js
220
+ - app/assets/javascripts/rails_marketplace/js/tags/jquery.tagsinput.min.js
221
+ - app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js
222
+ - app/assets/javascripts/rails_marketplace/js/validator/validator.js
223
+ - app/assets/javascripts/rails_marketplace/js/wizard/jquery.smartWizard.js
224
+ - app/assets/javascripts/rails_marketplace/less/custom.css
225
+ - app/assets/javascripts/rails_marketplace/marketplace.js
226
+ - app/assets/javascripts/rails_marketplace/welcome.coffee
227
+ - app/assets/stylesheets/rails_marketplace/application.scss
228
+ - app/assets/stylesheets/rails_marketplace/catalog.scss
229
+ - app/assets/stylesheets/rails_marketplace/css/animate.min.css
230
+ - app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css
231
+ - app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css
232
+ - app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css
233
+ - app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css
234
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css
235
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png
236
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/alpha.png
237
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png
238
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/hue.png
239
+ - app/assets/stylesheets/rails_marketplace/css/colorpicker/img/bootstrap-colorpicker/saturation.png
240
+ - app/assets/stylesheets/rails_marketplace/css/custom.css
241
+ - app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css
242
+ - app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css
243
+ - app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css
244
+ - app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css
245
+ - app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css
246
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/Sorting icons.psd
247
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/back_disabled.png
248
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/back_enabled.png
249
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/back_enabled_hover.png
250
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/favicon.ico
251
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_disabled.png
252
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_enabled.png
253
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/forward_enabled_hover.png
254
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_asc.png
255
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_asc_disabled.png
256
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_both.png
257
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_desc.png
258
+ - app/assets/stylesheets/rails_marketplace/css/datatables/images/sort_desc_disabled.png
259
+ - app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css
260
+ - app/assets/stylesheets/rails_marketplace/css/editor/external/google-code-prettify/prettify.css
261
+ - app/assets/stylesheets/rails_marketplace/css/editor/index.css
262
+ - app/assets/stylesheets/rails_marketplace/css/floatexamples.css
263
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css
264
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css
265
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.png
266
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero@2x.png
267
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css
268
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.png
269
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue@2x.png
270
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css
271
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.png
272
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat@2x.png
273
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css
274
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.png
275
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/green@2x.png
276
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css
277
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.png
278
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey@2x.png
279
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css
280
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.png
281
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange@2x.png
282
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css
283
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.png
284
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink@2x.png
285
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css
286
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.png
287
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple@2x.png
288
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css
289
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.png
290
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/red@2x.png
291
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css
292
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.png
293
+ - app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow@2x.png
294
+ - app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css
295
+ - app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css
296
+ - app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css
297
+ - app/assets/stylesheets/rails_marketplace/css/normalize.css
298
+ - app/assets/stylesheets/rails_marketplace/css/nprogress.css
299
+ - app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css
300
+ - app/assets/stylesheets/rails_marketplace/css/select/select2.min.css
301
+ - app/assets/stylesheets/rails_marketplace/css/switchery/switchery.min.css
302
+ - app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css
303
+ - app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css
304
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf
305
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot
306
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg
307
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf
308
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff
309
+ - app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2
310
+ - app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot
311
+ - app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg
312
+ - app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf
313
+ - app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff
314
+ - app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2
315
+ - app/assets/stylesheets/rails_marketplace/fonts/less/animated.less
316
+ - app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less
317
+ - app/assets/stylesheets/rails_marketplace/fonts/less/core.less
318
+ - app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less
319
+ - app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less
320
+ - app/assets/stylesheets/rails_marketplace/fonts/less/icons.less
321
+ - app/assets/stylesheets/rails_marketplace/fonts/less/larger.less
322
+ - app/assets/stylesheets/rails_marketplace/fonts/less/list.less
323
+ - app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less
324
+ - app/assets/stylesheets/rails_marketplace/fonts/less/path.less
325
+ - app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less
326
+ - app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less
327
+ - app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less
328
+ - app/assets/stylesheets/rails_marketplace/fonts/less/variables.less
329
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss
330
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss
331
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss
332
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss
333
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss
334
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss
335
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss
336
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss
337
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss
338
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss
339
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss
340
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss
341
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss
342
+ - app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss
343
+ - app/assets/stylesheets/rails_marketplace/images/1.png
344
+ - app/assets/stylesheets/rails_marketplace/images/4.jpg
345
+ - app/assets/stylesheets/rails_marketplace/images/american-express.png
346
+ - app/assets/stylesheets/rails_marketplace/images/back_disabled.png
347
+ - app/assets/stylesheets/rails_marketplace/images/back_enabled.png
348
+ - app/assets/stylesheets/rails_marketplace/images/back_enabled_hover.png
349
+ - app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/alpha-horizontal.png
350
+ - app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/alpha.png
351
+ - app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/hue-horizontal.png
352
+ - app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/hue.png
353
+ - app/assets/stylesheets/rails_marketplace/images/bootstrap-colorpicker/saturation.png
354
+ - app/assets/stylesheets/rails_marketplace/images/data.png
355
+ - app/assets/stylesheets/rails_marketplace/images/favicon.ico
356
+ - app/assets/stylesheets/rails_marketplace/images/forward_disabled.png
357
+ - app/assets/stylesheets/rails_marketplace/images/forward_enabled.png
358
+ - app/assets/stylesheets/rails_marketplace/images/forward_enabled_hover.png
359
+ - app/assets/stylesheets/rails_marketplace/images/icons.png
360
+ - app/assets/stylesheets/rails_marketplace/images/img.jpg
361
+ - app/assets/stylesheets/rails_marketplace/images/loading.gif
362
+ - app/assets/stylesheets/rails_marketplace/images/mastercard.png
363
+ - app/assets/stylesheets/rails_marketplace/images/paypal2.png
364
+ - app/assets/stylesheets/rails_marketplace/images/picture-2.jpg
365
+ - app/assets/stylesheets/rails_marketplace/images/picture.jpg
366
+ - app/assets/stylesheets/rails_marketplace/images/picture2.jpg
367
+ - app/assets/stylesheets/rails_marketplace/images/prod1.jpg
368
+ - app/assets/stylesheets/rails_marketplace/images/prod2.jpg
369
+ - app/assets/stylesheets/rails_marketplace/images/prod3.jpg
370
+ - app/assets/stylesheets/rails_marketplace/images/prod4.jpg
371
+ - app/assets/stylesheets/rails_marketplace/images/prod5.jpg
372
+ - app/assets/stylesheets/rails_marketplace/images/sprite-skin-flat.png
373
+ - app/assets/stylesheets/rails_marketplace/images/sprite-skin-modern.png
374
+ - app/assets/stylesheets/rails_marketplace/images/sprite-skin-nice.png
375
+ - app/assets/stylesheets/rails_marketplace/images/sprite-skin-simple.png
376
+ - app/assets/stylesheets/rails_marketplace/images/user.png
377
+ - app/assets/stylesheets/rails_marketplace/images/visa.png
378
+ - app/assets/stylesheets/rails_marketplace/marketplace.scss
379
+ - app/assets/stylesheets/rails_marketplace/pace.css
380
+ - app/assets/stylesheets/rails_marketplace/welcome.scss
381
+ - app/assets/stylesheets/scaffold.css
382
+ - app/controllers/rails_marketplace/admin_controller.rb
383
+ - app/controllers/rails_marketplace/application_controller.rb
384
+ - app/controllers/rails_marketplace/catalog_controller.rb
385
+ - app/controllers/rails_marketplace/seller_controller.rb
386
+ - app/helpers/rails_marketplace/admin_helper.rb
387
+ - app/helpers/rails_marketplace/application_helper.rb
388
+ - app/helpers/rails_marketplace/catalog_helper.rb
389
+ - app/helpers/rails_marketplace/plainpage_helper.rb
390
+ - app/helpers/rails_marketplace/seller_helper.rb
391
+ - app/models/rails_marketplace/admin.rb
392
+ - app/models/rails_marketplace/admin_setting.rb
393
+ - app/models/rails_marketplace/cart.rb
394
+ - app/models/rails_marketplace/cart_product.rb
395
+ - app/models/rails_marketplace/category.rb
396
+ - app/models/rails_marketplace/category_product.rb
397
+ - app/models/rails_marketplace/customer.rb
398
+ - app/models/rails_marketplace/order.rb
399
+ - app/models/rails_marketplace/order_product.rb
400
+ - app/models/rails_marketplace/product.rb
401
+ - app/models/rails_marketplace/seller.rb
402
+ - app/models/rails_marketplace/seller_setting.rb
403
+ - app/views/layouts/rails_marketplace/application.html.erb
404
+ - app/views/layouts/rails_marketplace/seller_central.html.erb
405
+ - app/views/layouts/rails_marketplace/super_admin.html.erb
406
+ - app/views/rails_marketplace/admin/add_category.html.erb
407
+ - app/views/rails_marketplace/admin/categories.html.erb
408
+ - app/views/rails_marketplace/admin/category_products.html.erb
409
+ - app/views/rails_marketplace/admin/dashboard.html.erb
410
+ - app/views/rails_marketplace/admin/edit_category.html.erb
411
+ - app/views/rails_marketplace/admin/login_form.html.erb
412
+ - app/views/rails_marketplace/admin/products.html.erb
413
+ - app/views/rails_marketplace/admin/seller_products.html.erb
414
+ - app/views/rails_marketplace/admin/sellers.html.erb
415
+ - app/views/rails_marketplace/admin/settings_form.html.erb
416
+ - app/views/rails_marketplace/admin/signup_form.html.erb
417
+ - app/views/rails_marketplace/catalog/cart.html.erb
418
+ - app/views/rails_marketplace/catalog/category_products.html.erb
419
+ - app/views/rails_marketplace/catalog/checkout.html.erb
420
+ - app/views/rails_marketplace/catalog/checkout_success.html.erb
421
+ - app/views/rails_marketplace/catalog/index.html.erb
422
+ - app/views/rails_marketplace/catalog/product_detail.html.erb
423
+ - app/views/rails_marketplace/partials/_admin_sidenav.html.erb
424
+ - app/views/rails_marketplace/partials/_admin_topnav.html.erb
425
+ - app/views/rails_marketplace/partials/_footer.html.erb
426
+ - app/views/rails_marketplace/partials/_menu.html.erb
427
+ - app/views/rails_marketplace/partials/_sidenav.html.erb
428
+ - app/views/rails_marketplace/partials/_topnav.html.erb
429
+ - app/views/rails_marketplace/seller/add_bulk_products.html.erb
430
+ - app/views/rails_marketplace/seller/add_product.html.erb
431
+ - app/views/rails_marketplace/seller/dashboard.html.erb
432
+ - app/views/rails_marketplace/seller/edit_product.html.erb
433
+ - app/views/rails_marketplace/seller/login_form.html.erb
434
+ - app/views/rails_marketplace/seller/order_details.html.erb
435
+ - app/views/rails_marketplace/seller/orders.html.erb
436
+ - app/views/rails_marketplace/seller/products.html.erb
437
+ - app/views/rails_marketplace/seller/settings_general.html.erb
438
+ - app/views/rails_marketplace/seller/settings_payment.html.erb
439
+ - app/views/rails_marketplace/seller/settings_shipping.html.erb
440
+ - app/views/rails_marketplace/seller/settings_tax.html.erb
441
+ - app/views/rails_marketplace/seller/signup_form.html.erb
442
+ - app/views/rails_marketplace/seller/step_two.html.erb
443
+ - app/views/rails_marketplace/shared/_admin_error_messages.html.erb
444
+ - app/views/rails_marketplace/shared/_product_error_messages.html.erb
445
+ - app/views/rails_marketplace/shared/_seller_error_messages.html.erb
446
+ - config/routes.rb
447
+ - db/migrate/20161013194852_create_sellers.rb
448
+ - db/migrate/20161013195006_create_customers.rb
449
+ - db/migrate/20161013195758_create_orders.rb
450
+ - db/migrate/20161014013032_create_category_products.rb
451
+ - db/migrate/20161014013058_create_order_products.rb
452
+ - db/migrate/20161017185755_create_admins.rb
453
+ - db/migrate/20161017232347_create_products.rb
454
+ - db/migrate/20161019012043_add_reference_product_seller.rb
455
+ - db/migrate/20161019013502_change_data_type_images_files.rb
456
+ - db/migrate/20161019022020_add_reference_order_customers.rb
457
+ - db/migrate/20161109191644_create_categories.rb
458
+ - db/migrate/20161110021043_create_friendly_id_slugs.rb
459
+ - db/migrate/20161110021131_add_slug_to_category.rb
460
+ - db/migrate/20161110024118_add_slug_to_product.rb
461
+ - db/migrate/20161111001446_create_carts.rb
462
+ - db/migrate/20161111004451_create_cart_products.rb
463
+ - db/migrate/20161115013956_add_currency_format_to_price.rb
464
+ - db/migrate/20161115015227_monetize_product.rb
465
+ - db/migrate/20161115032905_add_stripe_key_to_admin.rb
466
+ - db/migrate/20161124015608_add_order_fields.rb
467
+ - db/migrate/20161207193917_add_seller_to_orders.rb
468
+ - db/migrate/20161208012601_add_price_to_cart_products.rb
469
+ - db/migrate/20161208013402_add_money_to_cart_products.rb
470
+ - db/migrate/20170217183953_create_seller_settings.rb
471
+ - db/migrate/20170218003202_create_admin_settings.rb
472
+ - db/migrate/20170224230449_create_stripe_managed_accounts.rb
473
+ - db/migrate/20170224233736_add_stripe_to_admin_settings.rb
474
+ - db/migrate/20170224235259_add_id_to_settings.rb
475
+ - db/migrate/20170225002939_delete_stripe_accounts.rb
476
+ - db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb
477
+ - lib/rails_marketplace.rb
478
+ - lib/rails_marketplace/engine.rb
479
+ - lib/rails_marketplace/version.rb
480
+ - lib/tasks/rails_marketplace_tasks.rake
481
+ - spec/controllers/rails_marketplace/catalog_controller_spec.rb
482
+ - spec/dummy/README.rdoc
483
+ - spec/dummy/Rakefile
484
+ - spec/dummy/app/assets/javascripts/application.js
485
+ - spec/dummy/app/assets/stylesheets/application.css
486
+ - spec/dummy/app/controllers/application_controller.rb
487
+ - spec/dummy/app/helpers/application_helper.rb
488
+ - spec/dummy/app/views/layouts/application.html.erb
489
+ - spec/dummy/bin/bundle
490
+ - spec/dummy/bin/rails
491
+ - spec/dummy/bin/rake
492
+ - spec/dummy/bin/setup
493
+ - spec/dummy/config.ru
494
+ - spec/dummy/config/application.rb
495
+ - spec/dummy/config/boot.rb
496
+ - spec/dummy/config/database.yml
497
+ - spec/dummy/config/environment.rb
498
+ - spec/dummy/config/environments/development.rb
499
+ - spec/dummy/config/environments/production.rb
500
+ - spec/dummy/config/environments/test.rb
501
+ - spec/dummy/config/initializers/assets.rb
502
+ - spec/dummy/config/initializers/backtrace_silencers.rb
503
+ - spec/dummy/config/initializers/cookies_serializer.rb
504
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
505
+ - spec/dummy/config/initializers/inflections.rb
506
+ - spec/dummy/config/initializers/mime_types.rb
507
+ - spec/dummy/config/initializers/session_store.rb
508
+ - spec/dummy/config/initializers/wrap_parameters.rb
509
+ - spec/dummy/config/locales/en.yml
510
+ - spec/dummy/config/routes.rb
511
+ - spec/dummy/config/secrets.yml
512
+ - spec/dummy/db/schema.rb
513
+ - spec/dummy/log/development.log
514
+ - spec/dummy/log/test.log
515
+ - spec/dummy/public/404.html
516
+ - spec/dummy/public/422.html
517
+ - spec/dummy/public/500.html
518
+ - spec/dummy/public/favicon.ico
519
+ - spec/helpers/rails_marketplace/catalog_helper_spec.rb
520
+ - spec/routing/rails_marketplace/catalog_routing_spec.rb
521
+ - spec/spec_helper.rb
522
+ - spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb
523
+ - spec/views/rails_marketplace/catalog/index.html.erb_spec.rb
524
+ - spec/views/rails_marketplace/catalog/new.html.erb_spec.rb
525
+ - spec/views/rails_marketplace/catalog/show.html.erb_spec.rb
526
+ homepage: https://github.com/joshyan/rails-marketplace
527
+ licenses:
528
+ - MIT
529
+ metadata: {}
530
+ post_install_message:
531
+ rdoc_options: []
532
+ require_paths:
533
+ - lib
534
+ required_ruby_version: !ruby/object:Gem::Requirement
535
+ requirements:
536
+ - - ">="
537
+ - !ruby/object:Gem::Version
538
+ version: '0'
539
+ required_rubygems_version: !ruby/object:Gem::Requirement
540
+ requirements:
541
+ - - ">="
542
+ - !ruby/object:Gem::Version
543
+ version: '0'
544
+ requirements: []
545
+ rubyforge_project:
546
+ rubygems_version: 2.7.6
547
+ signing_key:
548
+ specification_version: 4
549
+ summary: Rails Marketplace.
550
+ test_files:
551
+ - spec/controllers/rails_marketplace/catalog_controller_spec.rb
552
+ - spec/dummy/app/assets/javascripts/application.js
553
+ - spec/dummy/app/assets/stylesheets/application.css
554
+ - spec/dummy/app/controllers/application_controller.rb
555
+ - spec/dummy/app/helpers/application_helper.rb
556
+ - spec/dummy/app/views/layouts/application.html.erb
557
+ - spec/dummy/bin/bundle
558
+ - spec/dummy/bin/rails
559
+ - spec/dummy/bin/rake
560
+ - spec/dummy/bin/setup
561
+ - spec/dummy/config/application.rb
562
+ - spec/dummy/config/boot.rb
563
+ - spec/dummy/config/database.yml
564
+ - spec/dummy/config/environment.rb
565
+ - spec/dummy/config/environments/development.rb
566
+ - spec/dummy/config/environments/production.rb
567
+ - spec/dummy/config/environments/test.rb
568
+ - spec/dummy/config/initializers/assets.rb
569
+ - spec/dummy/config/initializers/backtrace_silencers.rb
570
+ - spec/dummy/config/initializers/cookies_serializer.rb
571
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
572
+ - spec/dummy/config/initializers/inflections.rb
573
+ - spec/dummy/config/initializers/mime_types.rb
574
+ - spec/dummy/config/initializers/session_store.rb
575
+ - spec/dummy/config/initializers/wrap_parameters.rb
576
+ - spec/dummy/config/locales/en.yml
577
+ - spec/dummy/config/routes.rb
578
+ - spec/dummy/config/secrets.yml
579
+ - spec/dummy/config.ru
580
+ - spec/dummy/db/schema.rb
581
+ - spec/dummy/log/development.log
582
+ - spec/dummy/log/test.log
583
+ - spec/dummy/public/404.html
584
+ - spec/dummy/public/422.html
585
+ - spec/dummy/public/500.html
586
+ - spec/dummy/public/favicon.ico
587
+ - spec/dummy/Rakefile
588
+ - spec/dummy/README.rdoc
589
+ - spec/helpers/rails_marketplace/catalog_helper_spec.rb
590
+ - spec/routing/rails_marketplace/catalog_routing_spec.rb
591
+ - spec/spec_helper.rb
592
+ - spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb
593
+ - spec/views/rails_marketplace/catalog/index.html.erb_spec.rb
594
+ - spec/views/rails_marketplace/catalog/new.html.erb_spec.rb
595
+ - spec/views/rails_marketplace/catalog/show.html.erb_spec.rb