smartmachine 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.rdoc +0 -0
  3. data/README.rdoc +87 -0
  4. data/bin/buildpacker +8 -0
  5. data/bin/prereceiver +8 -0
  6. data/bin/smartmachine +81 -0
  7. data/bin/smartrunner +28 -0
  8. data/lib/smart_machine.rb +24 -0
  9. data/lib/smart_machine/apps.rb +14 -0
  10. data/lib/smart_machine/apps/app.rb +182 -0
  11. data/lib/smart_machine/apps/rails.rb +250 -0
  12. data/lib/smart_machine/base.rb +11 -0
  13. data/lib/smart_machine/boot.rb +31 -0
  14. data/lib/smart_machine/buildpacker.rb +106 -0
  15. data/lib/smart_machine/credentials.rb +126 -0
  16. data/lib/smart_machine/docker.rb +144 -0
  17. data/lib/smart_machine/engine.rb +82 -0
  18. data/lib/smart_machine/engine/Dockerfile +27 -0
  19. data/lib/smart_machine/engine/buildpacks/rails/Dockerfile +21 -0
  20. data/lib/smart_machine/gem_version.rb +17 -0
  21. data/lib/smart_machine/grids.rb +15 -0
  22. data/lib/smart_machine/grids/elasticsearch.rb +97 -0
  23. data/lib/smart_machine/grids/elasticsearch/.keep +0 -0
  24. data/lib/smart_machine/grids/minio.rb +77 -0
  25. data/lib/smart_machine/grids/minio/.keep +0 -0
  26. data/lib/smart_machine/grids/mysql.rb +66 -0
  27. data/lib/smart_machine/grids/mysql/docker-entrypoint-initdb.d/.keep +0 -0
  28. data/lib/smart_machine/grids/nginx.rb +137 -0
  29. data/lib/smart_machine/grids/nginx/.keep +0 -0
  30. data/lib/smart_machine/grids/prereceiver.rb +170 -0
  31. data/lib/smart_machine/grids/prereceiver/Dockerfile +20 -0
  32. data/lib/smart_machine/grids/prereceiver/fcgiwrap/APKBUILD +49 -0
  33. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.confd +6 -0
  34. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.initd +43 -0
  35. data/lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.pre-install +7 -0
  36. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/APKINDEX.tar.gz +0 -0
  37. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk +0 -0
  38. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-doc-1.1.1-r4.apk +0 -0
  39. data/lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-openrc-1.1.1-r4.apk +0 -0
  40. data/lib/smart_machine/grids/redis.rb +58 -0
  41. data/lib/smart_machine/grids/redis/.keep +0 -0
  42. data/lib/smart_machine/grids/solr.rb +99 -0
  43. data/lib/smart_machine/grids/solr/config/.keep +0 -0
  44. data/lib/smart_machine/grids/solr/config/README.txt +77 -0
  45. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ca.txt +8 -0
  46. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_fr.txt +15 -0
  47. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ga.txt +5 -0
  48. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_it.txt +23 -0
  49. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/hyphenations_ga.txt +5 -0
  50. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stemdict_nl.txt +6 -0
  51. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stoptags_ja.txt +420 -0
  52. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ar.txt +125 -0
  53. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_bg.txt +193 -0
  54. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ca.txt +220 -0
  55. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_cz.txt +172 -0
  56. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_da.txt +110 -0
  57. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_de.txt +294 -0
  58. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_el.txt +78 -0
  59. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_en.txt +54 -0
  60. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_es.txt +356 -0
  61. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_eu.txt +99 -0
  62. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fa.txt +313 -0
  63. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fi.txt +97 -0
  64. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fr.txt +186 -0
  65. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ga.txt +110 -0
  66. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_gl.txt +161 -0
  67. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hi.txt +235 -0
  68. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hu.txt +211 -0
  69. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hy.txt +46 -0
  70. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_id.txt +359 -0
  71. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_it.txt +303 -0
  72. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ja.txt +127 -0
  73. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_lv.txt +172 -0
  74. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_nl.txt +119 -0
  75. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_no.txt +194 -0
  76. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_pt.txt +253 -0
  77. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ro.txt +233 -0
  78. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ru.txt +243 -0
  79. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_sv.txt +133 -0
  80. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_th.txt +119 -0
  81. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_tr.txt +212 -0
  82. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/userdict_ja.txt +29 -0
  83. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/managed-schema +1007 -0
  84. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/params.json +20 -0
  85. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/protwords.txt +21 -0
  86. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/solrconfig.xml +1355 -0
  87. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/stopwords.txt +14 -0
  88. data/lib/smart_machine/grids/solr/config/configsets/_default/conf/synonyms.txt +29 -0
  89. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_rest_managed.json +1 -0
  90. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_stopwords_english.json +38 -0
  91. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_synonyms_english.json +11 -0
  92. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txt +11 -0
  93. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/kmeans-attributes.xml +19 -0
  94. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/lingo-attributes.xml +24 -0
  95. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/stc-attributes.xml +19 -0
  96. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/currency.xml +67 -0
  97. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/elevate.xml +42 -0
  98. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ca.txt +8 -0
  99. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_fr.txt +15 -0
  100. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ga.txt +5 -0
  101. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_it.txt +23 -0
  102. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/hyphenations_ga.txt +5 -0
  103. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stemdict_nl.txt +6 -0
  104. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stoptags_ja.txt +420 -0
  105. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ar.txt +125 -0
  106. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_bg.txt +193 -0
  107. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ca.txt +220 -0
  108. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ckb.txt +136 -0
  109. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_cz.txt +172 -0
  110. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_da.txt +110 -0
  111. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_de.txt +294 -0
  112. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_el.txt +78 -0
  113. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_en.txt +54 -0
  114. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_es.txt +356 -0
  115. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_eu.txt +99 -0
  116. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fa.txt +313 -0
  117. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fi.txt +97 -0
  118. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fr.txt +186 -0
  119. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ga.txt +110 -0
  120. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_gl.txt +161 -0
  121. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hi.txt +235 -0
  122. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hu.txt +211 -0
  123. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hy.txt +46 -0
  124. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_id.txt +359 -0
  125. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_it.txt +303 -0
  126. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ja.txt +127 -0
  127. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_lv.txt +172 -0
  128. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_nl.txt +119 -0
  129. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_no.txt +194 -0
  130. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_pt.txt +253 -0
  131. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ro.txt +233 -0
  132. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ru.txt +243 -0
  133. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_sv.txt +133 -0
  134. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_th.txt +119 -0
  135. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_tr.txt +212 -0
  136. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/userdict_ja.txt +29 -0
  137. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/managed-schema +1187 -0
  138. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-FoldToASCII.txt +3813 -0
  139. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-ISOLatin1Accent.txt +246 -0
  140. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/params.json +11 -0
  141. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/protwords.txt +21 -0
  142. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/solrconfig.xml +1616 -0
  143. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/spellings.txt +2 -0
  144. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/stopwords.txt +14 -0
  145. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/synonyms.txt +29 -0
  146. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/update-script.js +53 -0
  147. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/README.txt +101 -0
  148. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/VM_global_library.vm +186 -0
  149. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/browse.vm +33 -0
  150. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster.vm +19 -0
  151. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm +31 -0
  152. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/debug.vm +28 -0
  153. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/did_you_mean.vm +11 -0
  154. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/error.vm +11 -0
  155. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_fields.vm +24 -0
  156. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_pivot.vm +12 -0
  157. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_queries.vm +12 -0
  158. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_ranges.vm +23 -0
  159. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facets.vm +10 -0
  160. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/footer.vm +43 -0
  161. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/head.vm +37 -0
  162. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/header.vm +7 -0
  163. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit.vm +25 -0
  164. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm +43 -0
  165. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_plain.vm +25 -0
  166. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/join_doc.vm +20 -0
  167. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.css +48 -0
  168. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.js +763 -0
  169. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/layout.vm +24 -0
  170. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/main.css +231 -0
  171. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/mime_type_lists.vm +68 -0
  172. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_bottom.vm +22 -0
  173. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_top.vm +29 -0
  174. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/product_doc.vm +32 -0
  175. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query.vm +42 -0
  176. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_form.vm +64 -0
  177. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_group.vm +43 -0
  178. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_spatial.vm +75 -0
  179. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/results_list.vm +22 -0
  180. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/richtext_doc.vm +153 -0
  181. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/suggest.vm +8 -0
  182. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/tabs.vm +50 -0
  183. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example.xsl +132 -0
  184. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_atom.xsl +67 -0
  185. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl +66 -0
  186. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/luke.xsl +337 -0
  187. data/lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl +70 -0
  188. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/_rest_managed.json +1 -0
  189. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/admin-extra.html +31 -0
  190. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/currency.xml +67 -0
  191. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/elevate.xml +36 -0
  192. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/lang/stopwords_en.txt +54 -0
  193. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/mapping-ISOLatin1Accent.txt +246 -0
  194. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/protwords.txt +21 -0
  195. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/schema.xml +278 -0
  196. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/scripts.conf +24 -0
  197. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/solrconfig.xml +632 -0
  198. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/spellings.txt +2 -0
  199. data/lib/smart_machine/grids/solr/config/configsets/sunspot/conf/synonyms.txt +29 -0
  200. data/lib/smart_machine/grids/solr/config/lib/.keep +0 -0
  201. data/lib/smart_machine/grids/solr/config/solr.xml +53 -0
  202. data/lib/smart_machine/grids/solr/config/zoo.cfg +31 -0
  203. data/lib/smart_machine/grids/solr/docker-entrypoint-initdb.d/.keep +0 -0
  204. data/lib/smart_machine/grids/solr/sunspot/conf/schema.xml +278 -0
  205. data/lib/smart_machine/grids/solr/sunspot/conf/solrconfig.xml +632 -0
  206. data/lib/smart_machine/logger.rb +35 -0
  207. data/lib/smart_machine/machine.rb +192 -0
  208. data/lib/smart_machine/ssh.rb +43 -0
  209. data/lib/smart_machine/sync.rb +108 -0
  210. data/lib/smart_machine/templates/dotsmartmachine/apps/containers/.keep +0 -0
  211. data/lib/smart_machine/templates/dotsmartmachine/apps/repositories/.keep +0 -0
  212. data/lib/smart_machine/templates/dotsmartmachine/config/environment.rb +18 -0
  213. data/lib/smart_machine/templates/dotsmartmachine/config/users.yml +4 -0
  214. data/lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/data/.keep +0 -0
  215. data/lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/logs/.keep +0 -0
  216. data/lib/smart_machine/templates/dotsmartmachine/grids/minio/data/.keep +0 -0
  217. data/lib/smart_machine/templates/dotsmartmachine/grids/mysql/data/.keep +0 -0
  218. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/certificates/.keep +0 -0
  219. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/fastcgi.conf +11 -0
  220. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/htpasswd/.keep +0 -0
  221. data/lib/smart_machine/templates/dotsmartmachine/grids/nginx/nginx.tmpl +373 -0
  222. data/lib/smart_machine/templates/dotsmartmachine/grids/prereceiver/pre-receive +17 -0
  223. data/lib/smart_machine/templates/dotsmartmachine/grids/redis/data/.keep +0 -0
  224. data/lib/smart_machine/templates/dotsmartmachine/grids/solr/solr/.keep +0 -0
  225. data/lib/smart_machine/templates/dotsmartmachine/tmp/.keep +0 -0
  226. data/lib/smart_machine/user.rb +38 -0
  227. data/lib/smart_machine/version.rb +10 -0
  228. metadata +297 -12
  229. data/README.md +0 -9
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+
3
+ # oldrev, newrev, refname are a feature of the way in which Git executes the pre-receive hook.
4
+ # See https://www.kernel.org/pub/software/scm/git/docs/githooks.html
5
+ while read oldrev newrev refname; do
6
+ if [ $(git rev-parse --is-bare-repository) = true ]; then
7
+ REPOSITORY_BASENAME=$(basename "$PWD")
8
+ REPOSITORY_BASENAME=${REPOSITORY_BASENAME%.git}
9
+ else
10
+ REPOSITORY_BASENAME=$(basename $(readlink -nf "$PWD"/..))
11
+ fi
12
+ script --quiet --return --flush --command "prereceiver prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname" /home/$(whoami)/.smartmachine/apps/containers/$REPOSITORY_BASENAME/typescript
13
+ if [ "$?" -eq 10 ]; then
14
+ exit 0
15
+ fi
16
+ exit 1
17
+ done
@@ -0,0 +1,38 @@
1
+ require 'yaml'
2
+ require "base64"
3
+ require 'bcrypt'
4
+
5
+ # The main SmartMachine User driver
6
+ module SmartMachine
7
+ class User < SmartMachine::Base
8
+ def initialize
9
+ end
10
+
11
+ def self.create_htpasswd_files
12
+ htpasswd_dirpath = "#{Dir.pwd}/grids/nginx/htpasswd"
13
+
14
+ # Remove existing htpasswd_dirpath
15
+ FileUtils.rm_r htpasswd_dirpath if Dir.exist?(htpasswd_dirpath)
16
+
17
+ # Create new htpasswd_dirpath
18
+ FileUtils.mkdir htpasswd_dirpath
19
+
20
+ # Add hostfiles to htpasswd_dirpath
21
+ self.get_users_from_file.each do |domainname, users|
22
+ next unless users
23
+
24
+ file_data = ""
25
+ users.each do |user, password|
26
+ file_data += "#{user}:#{BCrypt::Password.create(password)}\n"
27
+ end
28
+ File.open("#{Dir.pwd}/grids/nginx/htpasswd/#{domainname}", "w") { |file| file.write(file_data) }
29
+ end
30
+ end
31
+
32
+ private
33
+
34
+ def self.get_users_from_file
35
+ YAML.load_file("#{Dir.pwd}/config/users.yml") || Hash.new
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "gem_version"
4
+
5
+ module SmartMachine
6
+ # Returns the version of the currently loaded SmartMachine as a <tt>Gem::Version</tt>
7
+ def self.version
8
+ gem_version
9
+ end
10
+ end
metadata CHANGED
@@ -1,36 +1,321 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-15 00:00:00.000000000 Z
12
- dependencies: []
13
- description: A safe place for SmartMachine.
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: net-ssh
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bcrypt
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 3.1.13
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '3.1'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 3.1.13
47
+ - !ruby/object:Gem::Dependency
48
+ name: activesupport
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '6.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '6.0'
61
+ description: SmartMachine is a full-stack deployment framework for rails optimized
62
+ for admin programmer happiness and peaceful administration. It encourages natural
63
+ simplicity by favoring convention over configuration.
14
64
  email: hello@timeboard.me
15
- executables: []
65
+ executables:
66
+ - buildpacker
67
+ - prereceiver
68
+ - smartmachine
69
+ - smartrunner
16
70
  extensions: []
17
- extra_rdoc_files: []
71
+ extra_rdoc_files:
72
+ - README.rdoc
18
73
  files:
74
+ - CHANGELOG.rdoc
19
75
  - MIT-LICENSE
20
- - README.md
21
- homepage: https://rubygems.org/gems/smartmachine
76
+ - README.rdoc
77
+ - bin/buildpacker
78
+ - bin/prereceiver
79
+ - bin/smartmachine
80
+ - bin/smartrunner
81
+ - lib/smart_machine.rb
82
+ - lib/smart_machine/apps.rb
83
+ - lib/smart_machine/apps/app.rb
84
+ - lib/smart_machine/apps/rails.rb
85
+ - lib/smart_machine/base.rb
86
+ - lib/smart_machine/boot.rb
87
+ - lib/smart_machine/buildpacker.rb
88
+ - lib/smart_machine/credentials.rb
89
+ - lib/smart_machine/docker.rb
90
+ - lib/smart_machine/engine.rb
91
+ - lib/smart_machine/engine/Dockerfile
92
+ - lib/smart_machine/engine/buildpacks/rails/Dockerfile
93
+ - lib/smart_machine/gem_version.rb
94
+ - lib/smart_machine/grids.rb
95
+ - lib/smart_machine/grids/elasticsearch.rb
96
+ - lib/smart_machine/grids/elasticsearch/.keep
97
+ - lib/smart_machine/grids/minio.rb
98
+ - lib/smart_machine/grids/minio/.keep
99
+ - lib/smart_machine/grids/mysql.rb
100
+ - lib/smart_machine/grids/mysql/docker-entrypoint-initdb.d/.keep
101
+ - lib/smart_machine/grids/nginx.rb
102
+ - lib/smart_machine/grids/nginx/.keep
103
+ - lib/smart_machine/grids/prereceiver.rb
104
+ - lib/smart_machine/grids/prereceiver/Dockerfile
105
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/APKBUILD
106
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.confd
107
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.initd
108
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/fcgiwrap.pre-install
109
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/APKINDEX.tar.gz
110
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk
111
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-doc-1.1.1-r4.apk
112
+ - lib/smart_machine/grids/prereceiver/fcgiwrap/packages/main/x86_64/fcgiwrap-openrc-1.1.1-r4.apk
113
+ - lib/smart_machine/grids/redis.rb
114
+ - lib/smart_machine/grids/redis/.keep
115
+ - lib/smart_machine/grids/solr.rb
116
+ - lib/smart_machine/grids/solr/config/.keep
117
+ - lib/smart_machine/grids/solr/config/README.txt
118
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ca.txt
119
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_fr.txt
120
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_ga.txt
121
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/contractions_it.txt
122
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/hyphenations_ga.txt
123
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stemdict_nl.txt
124
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stoptags_ja.txt
125
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ar.txt
126
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_bg.txt
127
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ca.txt
128
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_cz.txt
129
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_da.txt
130
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_de.txt
131
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_el.txt
132
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_en.txt
133
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_es.txt
134
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_eu.txt
135
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fa.txt
136
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fi.txt
137
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_fr.txt
138
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ga.txt
139
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_gl.txt
140
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hi.txt
141
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hu.txt
142
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_hy.txt
143
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_id.txt
144
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_it.txt
145
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ja.txt
146
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_lv.txt
147
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_nl.txt
148
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_no.txt
149
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_pt.txt
150
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ro.txt
151
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_ru.txt
152
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_sv.txt
153
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_th.txt
154
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/stopwords_tr.txt
155
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/lang/userdict_ja.txt
156
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/managed-schema
157
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/params.json
158
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/protwords.txt
159
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/solrconfig.xml
160
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/stopwords.txt
161
+ - lib/smart_machine/grids/solr/config/configsets/_default/conf/synonyms.txt
162
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_rest_managed.json
163
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_stopwords_english.json
164
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/_schema_analysis_synonyms_english.json
165
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/README.txt
166
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/kmeans-attributes.xml
167
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/lingo-attributes.xml
168
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/clustering/carrot2/stc-attributes.xml
169
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/currency.xml
170
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/elevate.xml
171
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ca.txt
172
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_fr.txt
173
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_ga.txt
174
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/contractions_it.txt
175
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/hyphenations_ga.txt
176
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stemdict_nl.txt
177
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stoptags_ja.txt
178
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ar.txt
179
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_bg.txt
180
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ca.txt
181
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ckb.txt
182
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_cz.txt
183
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_da.txt
184
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_de.txt
185
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_el.txt
186
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_en.txt
187
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_es.txt
188
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_eu.txt
189
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fa.txt
190
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fi.txt
191
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_fr.txt
192
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ga.txt
193
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_gl.txt
194
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hi.txt
195
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hu.txt
196
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_hy.txt
197
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_id.txt
198
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_it.txt
199
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ja.txt
200
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_lv.txt
201
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_nl.txt
202
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_no.txt
203
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_pt.txt
204
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ro.txt
205
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_ru.txt
206
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_sv.txt
207
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_th.txt
208
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/stopwords_tr.txt
209
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/lang/userdict_ja.txt
210
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/managed-schema
211
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-FoldToASCII.txt
212
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/mapping-ISOLatin1Accent.txt
213
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/params.json
214
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/protwords.txt
215
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/solrconfig.xml
216
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/spellings.txt
217
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/stopwords.txt
218
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/synonyms.txt
219
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/update-script.js
220
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/README.txt
221
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/VM_global_library.vm
222
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/browse.vm
223
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster.vm
224
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/cluster_results.vm
225
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/debug.vm
226
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/did_you_mean.vm
227
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/error.vm
228
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_fields.vm
229
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_pivot.vm
230
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_queries.vm
231
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facet_ranges.vm
232
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/facets.vm
233
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/footer.vm
234
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/head.vm
235
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/header.vm
236
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit.vm
237
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_grouped.vm
238
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/hit_plain.vm
239
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/join_doc.vm
240
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.css
241
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/jquery.autocomplete.js
242
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/layout.vm
243
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/main.css
244
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/mime_type_lists.vm
245
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_bottom.vm
246
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/pagination_top.vm
247
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/product_doc.vm
248
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query.vm
249
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_form.vm
250
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_group.vm
251
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/query_spatial.vm
252
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/results_list.vm
253
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/richtext_doc.vm
254
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/suggest.vm
255
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/velocity/tabs.vm
256
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example.xsl
257
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_atom.xsl
258
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/example_rss.xsl
259
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/luke.xsl
260
+ - lib/smart_machine/grids/solr/config/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
261
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/_rest_managed.json
262
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/admin-extra.html
263
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/currency.xml
264
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/elevate.xml
265
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/lang/stopwords_en.txt
266
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/mapping-ISOLatin1Accent.txt
267
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/protwords.txt
268
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/schema.xml
269
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/scripts.conf
270
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/solrconfig.xml
271
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/spellings.txt
272
+ - lib/smart_machine/grids/solr/config/configsets/sunspot/conf/synonyms.txt
273
+ - lib/smart_machine/grids/solr/config/lib/.keep
274
+ - lib/smart_machine/grids/solr/config/solr.xml
275
+ - lib/smart_machine/grids/solr/config/zoo.cfg
276
+ - lib/smart_machine/grids/solr/docker-entrypoint-initdb.d/.keep
277
+ - lib/smart_machine/grids/solr/sunspot/conf/schema.xml
278
+ - lib/smart_machine/grids/solr/sunspot/conf/solrconfig.xml
279
+ - lib/smart_machine/logger.rb
280
+ - lib/smart_machine/machine.rb
281
+ - lib/smart_machine/ssh.rb
282
+ - lib/smart_machine/sync.rb
283
+ - lib/smart_machine/templates/dotsmartmachine/apps/containers/.keep
284
+ - lib/smart_machine/templates/dotsmartmachine/apps/repositories/.keep
285
+ - lib/smart_machine/templates/dotsmartmachine/config/environment.rb
286
+ - lib/smart_machine/templates/dotsmartmachine/config/users.yml
287
+ - lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/data/.keep
288
+ - lib/smart_machine/templates/dotsmartmachine/grids/elasticsearch/logs/.keep
289
+ - lib/smart_machine/templates/dotsmartmachine/grids/minio/data/.keep
290
+ - lib/smart_machine/templates/dotsmartmachine/grids/mysql/data/.keep
291
+ - lib/smart_machine/templates/dotsmartmachine/grids/nginx/certificates/.keep
292
+ - lib/smart_machine/templates/dotsmartmachine/grids/nginx/fastcgi.conf
293
+ - lib/smart_machine/templates/dotsmartmachine/grids/nginx/htpasswd/.keep
294
+ - lib/smart_machine/templates/dotsmartmachine/grids/nginx/nginx.tmpl
295
+ - lib/smart_machine/templates/dotsmartmachine/grids/prereceiver/pre-receive
296
+ - lib/smart_machine/templates/dotsmartmachine/grids/redis/data/.keep
297
+ - lib/smart_machine/templates/dotsmartmachine/grids/solr/solr/.keep
298
+ - lib/smart_machine/templates/dotsmartmachine/tmp/.keep
299
+ - lib/smart_machine/user.rb
300
+ - lib/smart_machine/version.rb
301
+ homepage: https://github.com/timeboarders/smartbytes
22
302
  licenses:
23
303
  - MIT
24
- metadata: {}
304
+ metadata:
305
+ bug_tracker_uri: https://github.com/timeboarders/smartbytes/issues
306
+ changelog_uri: https://github.com/timeboarders/smartbytes/blob/v0.7.0/smartmachine/CHANGELOG.rdoc
307
+ source_code_uri: https://github.com/timeboarders/smartbytes/tree/v0.7.0/smartmachine
25
308
  post_install_message:
26
- rdoc_options: []
309
+ rdoc_options:
310
+ - "--main"
311
+ - README.rdoc
27
312
  require_paths:
28
313
  - lib
29
314
  required_ruby_version: !ruby/object:Gem::Requirement
30
315
  requirements:
31
316
  - - ">="
32
317
  - !ruby/object:Gem::Version
33
- version: '0'
318
+ version: 2.5.0
34
319
  required_rubygems_version: !ruby/object:Gem::Requirement
35
320
  requirements:
36
321
  - - ">="
@@ -40,5 +325,5 @@ requirements: []
40
325
  rubygems_version: 3.1.2
41
326
  signing_key:
42
327
  specification_version: 4
43
- summary: SmartMachine
328
+ summary: Full-stack deployment framework for Rails.
44
329
  test_files: []
data/README.md DELETED
@@ -1,9 +0,0 @@
1
- # Welcome to SmartMachine
2
-
3
- ## What's SmartMachine?
4
-
5
- Wait for it :)
6
-
7
- ## License
8
-
9
- SmartMachine is released under the [MIT License](https://opensource.org/licenses/MIT).