mvpkit 0.8.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/mvp +0 -1
  4. data/mvpkit.gemspec +71 -50
  5. data/package.json +1 -0
  6. data/project/.babelrc +3 -0
  7. data/project/.env +15 -0
  8. data/project/.gitignore +15 -40
  9. data/project/.iteration +3 -0
  10. data/project/Gemfile +43 -19
  11. data/project/Gemfile.lock +237 -165
  12. data/project/Procfile +2 -1
  13. data/project/README.md +0 -1
  14. data/project/app/assets/config/manifest.js +2 -0
  15. data/project/app/assets/javascripts/application.js +5 -0
  16. data/project/app/assets/javascripts/templates.js.erb +14 -0
  17. data/project/app/assets/stylesheets/application.scss +2 -0
  18. data/project/app/controllers/application_controller.rb +25 -5
  19. data/project/app/helpers/application_helper.rb +17 -4
  20. data/project/app/mailers/application_mailer.rb +5 -0
  21. data/project/app/templates/README.txt +1 -0
  22. data/project/app/templates/examples/template.mustache +1 -0
  23. data/project/app/views/examples/mustache.html.erb +25 -3
  24. data/project/app/views/layouts/_header.html.erb +22 -14
  25. data/project/app/views/layouts/_notifications.html.erb +10 -0
  26. data/project/app/views/layouts/application.html.erb +22 -11
  27. data/project/app/views/layouts/mailer.html.erb +5 -0
  28. data/project/app/views/layouts/mailer.text.erb +1 -0
  29. data/project/app/webpack/javascripts/behaviors/example.js +21 -0
  30. data/project/app/webpack/javascripts/controllers/home.js +15 -0
  31. data/project/app/webpack/javascripts/lib/clientsidevalidations.js +3 -0
  32. data/project/app/webpack/javascripts/lib/selectize.js +1 -0
  33. data/project/app/webpack/javascripts/pack.js +47 -0
  34. data/project/app/webpack/stylesheets/config/variables.scss +41 -0
  35. data/project/app/webpack/stylesheets/init/reset.scss +48 -0
  36. data/project/app/webpack/stylesheets/layout/main.scss +7 -0
  37. data/project/app/webpack/stylesheets/pack.scss +20 -0
  38. data/project/app/webpack/stylesheets/skin/alerts.scss +3 -0
  39. data/project/app/webpack/stylesheets/skin/buttons.scss +38 -0
  40. data/project/app/webpack/stylesheets/skin/hero.scss +45 -0
  41. data/project/app/webpack/stylesheets/skin/images.scss +13 -0
  42. data/project/app/webpack/stylesheets/skin/progress.scss +3 -0
  43. data/project/app/webpack/stylesheets/skin/selectize.scss +30 -0
  44. data/project/{assets/stylesheets/lib → app/webpack/stylesheets/skin}/spacing.scss +0 -2
  45. data/project/app/webpack/stylesheets/skin/tables.scss +10 -0
  46. data/project/app/webpack/stylesheets/skin/treatments.scss +3 -0
  47. data/project/app/webpack/stylesheets/skin/turbolinks.scss +4 -0
  48. data/project/app/webpack/stylesheets/skin/typography.scss +116 -0
  49. data/project/bin/rails +1 -6
  50. data/project/bin/rake +0 -5
  51. data/project/bin/setup +17 -17
  52. data/project/bin/update +29 -0
  53. data/project/config/application.rb +5 -4
  54. data/project/config/boot.rb +1 -1
  55. data/project/config/cable.yml +9 -0
  56. data/project/config/environment.rb +1 -1
  57. data/project/config/environments/development.rb +29 -26
  58. data/project/config/environments/production.rb +32 -19
  59. data/project/config/environments/test.rb +6 -6
  60. data/project/config/initializers/algolia.rb +7 -0
  61. data/project/config/initializers/application_controller_renderer.rb +6 -0
  62. data/project/config/initializers/assets.rb +23 -2
  63. data/project/config/initializers/client_side_validations.rb +20 -0
  64. data/project/config/initializers/cookies_serializer.rb +2 -0
  65. data/project/config/initializers/date_formats.rb +6 -0
  66. data/project/config/initializers/fingerprint.rb +1 -0
  67. data/project/config/initializers/geocoder.rb +9 -0
  68. data/project/config/initializers/new_framework_defaults.rb +23 -0
  69. data/project/config/initializers/rails_admin.rb +13 -7
  70. data/project/config/initializers/sidekiq.rb +19 -0
  71. data/project/config/initializers/simple_form.rb +2 -0
  72. data/project/config/initializers/stripe.rb +8 -0
  73. data/project/config/initializers/wrap_parameters.rb +2 -2
  74. data/project/config/puma.rb +47 -0
  75. data/project/config/routes.rb +4 -2
  76. data/project/config/secrets.yml +17 -3
  77. data/project/config/sidekiq.yml +6 -0
  78. data/project/config/spring.rb +6 -0
  79. data/project/config/stripe/coupons.rb +39 -0
  80. data/project/config/stripe/plans.rb +32 -0
  81. data/project/lib/tasks/heroku.rake +10 -2
  82. data/project/lib/tasks/migrations.rake +3 -0
  83. data/project/package.json +19 -28
  84. data/project/public/favicon.ico +0 -0
  85. data/project/webpack.config.js +62 -53
  86. metadata +70 -49
  87. data/project/app/decorators/.keep +0 -0
  88. data/project/app/mailers/.keep +0 -0
  89. data/project/app/views/layouts/_includes.html.erb +0 -7
  90. data/project/app/views/layouts/modal.html.erb +0 -14
  91. data/project/assets/images/.keep +0 -0
  92. data/project/assets/images/favicon.ico +0 -0
  93. data/project/assets/javascripts/controllers/home.coffee +0 -15
  94. data/project/assets/javascripts/pack.js +0 -9
  95. data/project/assets/stylesheets/config/variables.scss +0 -876
  96. data/project/assets/stylesheets/layout/basic.scss +0 -6
  97. data/project/assets/stylesheets/layout/carousel.scss +0 -127
  98. data/project/assets/stylesheets/layout/cover.scss +0 -129
  99. data/project/assets/stylesheets/skin/style.scss +0 -16
  100. data/project/assets/stylesheets/style.scss +0 -8
  101. data/project/config/initializers/mustache.rb +0 -7
  102. data/project/log/development.log +0 -48216
  103. data/project/log/production.log +0 -0
  104. data/project/public/404.html +0 -67
  105. data/project/public/422.html +0 -67
  106. data/project/public/500.html +0 -66
  107. data/project/public/assets/javascripts/448c34a56d699c29117adc64c43affeb.woff2 +0 -0
  108. data/project/public/assets/javascripts/89889688147bd7575d6327160d64e760.svg +0 -288
  109. data/project/public/assets/javascripts/e18bbf611f2a2e43afc071aa2f4e1512.ttf +0 -0
  110. data/project/public/assets/javascripts/f4769f9bdb7466be65088239c12046d1.eot +0 -0
  111. data/project/public/assets/javascripts/fa2772327f55d8198301fdb8bcfc8158.woff +0 -0
  112. data/project/public/assets/javascripts/pack.js +0 -31367
  113. data/project/public/assets/javascripts/pack.js.map +0 -1
  114. data/project/public/assets/pack.js +0 -17220
  115. data/project/public/assets/style.css +0 -7477
  116. /data/app/views/layouts/{minimum_viable_product → mvp}/_instrumentation.html.erb +0 -0
  117. /data/app/views/layouts/{minimum_viable_product → mvp}/_meta.html.erb +0 -0
  118. /data/app/views/layouts/{minimum_viable_product → mvp}/application.html.erb +0 -0
  119. /data/app/views/{minimum_viable_product → mvp}/styleguide/_example.html.erb +0 -0
  120. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_buttons.html.erb +0 -0
  121. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_forms.html.erb +0 -0
  122. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_header.html.erb +0 -0
  123. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_panels.html.erb +0 -0
  124. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_tables.html.erb +0 -0
  125. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_typography.html.erb +0 -0
  126. /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap.html.erb +0 -0
  127. /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/_grouping.html.erb +0 -0
  128. /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/partials/_row_groups_of.html.erb +0 -0
  129. /data/app/views/{minimum_viable_product → mvp}/styleguide/index.html.erb +0 -0
  130. /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/basic.html.erb +0 -0
  131. /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/carousel.html.erb +0 -0
  132. /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/cover.html.erb +0 -0
@@ -1,6 +0,0 @@
1
- body.body-basic {
2
- .starter-template {
3
- padding: 40px 15px;
4
- text-align: center;
5
- }
6
- }
@@ -1,127 +0,0 @@
1
- /* GLOBAL STYLES
2
- -------------------------------------------------- */
3
- /* Padding below the footer and lighter body text */
4
-
5
- body.body-carousel {
6
- /* Special class on .container surrounding .navbar, used for positioning it into place. */
7
- .navbar-wrapper {
8
- position: absolute;
9
- top: 0;
10
- right: 0;
11
- left: 0;
12
- z-index: 20;
13
- }
14
-
15
- /* Flip around the padding for proper display in narrow viewports */
16
- .navbar-wrapper > .container {
17
- padding-right: 0;
18
- padding-left: 0;
19
- }
20
- .navbar-wrapper .navbar {
21
- padding-right: 15px;
22
- padding-left: 15px;
23
- }
24
- .navbar-wrapper .navbar .container {
25
- width: auto;
26
- }
27
-
28
-
29
- /* CUSTOMIZE THE CAROUSEL
30
- -------------------------------------------------- */
31
-
32
- /* Carousel base class */
33
- .carousel {
34
- height: 500px;
35
- }
36
- /* Since positioning the image, we need to help out the caption */
37
- .carousel-caption {
38
- z-index: 10;
39
- }
40
-
41
- /* Declare heights because of positioning of img element */
42
- .carousel .item {
43
- height: 500px;
44
- background-color: #777;
45
- }
46
- .carousel-inner > .item > img {
47
- position: absolute;
48
- top: 0;
49
- left: 0;
50
- min-width: 100%;
51
- height: 500px;
52
- }
53
-
54
-
55
- /* MARKETING CONTENT
56
- -------------------------------------------------- */
57
-
58
- /* Center align the text within the three columns below the carousel */
59
- .marketing .col-lg-4 {
60
- margin-bottom: 20px;
61
- text-align: center;
62
- }
63
- .marketing h2 {
64
- font-weight: normal;
65
- }
66
- .marketing .col-lg-4 p {
67
- margin-right: 10px;
68
- margin-left: 10px;
69
- }
70
-
71
-
72
- /* Featurettes
73
- ------------------------- */
74
-
75
- .featurette-divider {
76
- margin: 80px 0; /* Space out the Bootstrap <hr> more */
77
- }
78
-
79
- /* Thin out the marketing headings */
80
- .featurette-heading {
81
- font-weight: 300;
82
- line-height: 1;
83
- letter-spacing: -1px;
84
- }
85
-
86
-
87
- /* RESPONSIVE CSS
88
- -------------------------------------------------- */
89
-
90
- @media (min-width: 768px) {
91
- /* Navbar positioning foo */
92
- .navbar-wrapper {
93
- margin-top: 20px;
94
- }
95
- .navbar-wrapper .container {
96
- padding-right: 15px;
97
- padding-left: 15px;
98
- }
99
- .navbar-wrapper .navbar {
100
- padding-right: 0;
101
- padding-left: 0;
102
- }
103
-
104
- /* The navbar becomes detached from the top, so we round the corners */
105
- .navbar-wrapper .navbar {
106
- border-radius: 4px;
107
- }
108
-
109
- /* Bump up size of carousel content */
110
- .carousel-caption p {
111
- margin-bottom: 20px;
112
- font-size: 21px;
113
- line-height: 1.4;
114
- }
115
-
116
- .featurette-heading {
117
- font-size: 50px;
118
- }
119
- }
120
-
121
- @media (min-width: 992px) {
122
- .featurette-heading {
123
- margin-top: 120px;
124
- }
125
- }
126
-
127
- }
@@ -1,129 +0,0 @@
1
- html {
2
- height: 100%;
3
- }
4
-
5
- body.body-cover {
6
- height: 100%;
7
- text-align: center;
8
-
9
- /* Extra markup and styles for table-esque vertical and horizontal centering */
10
- .site-wrapper {
11
- display: table;
12
- width: 100%;
13
- height: 100%; /* For at least Firefox */
14
- min-height: 100%;
15
- }
16
- .site-wrapper-inner {
17
- display: table-cell;
18
- vertical-align: top;
19
- }
20
- .cover-container {
21
- margin-right: auto;
22
- margin-left: auto;
23
- }
24
-
25
- /* Padding for spacing */
26
- .inner {
27
- padding: 2rem;
28
- }
29
-
30
-
31
- /*
32
- * Header
33
- */
34
-
35
- .masthead {
36
- margin-bottom: 2rem;
37
- }
38
-
39
- .masthead-brand {
40
- margin-bottom: 0;
41
- }
42
-
43
- .nav-masthead .nav-link {
44
- padding: .25rem 0;
45
- font-weight: bold;
46
- background-color: transparent;
47
- border-bottom: .25rem solid transparent;
48
- }
49
-
50
- .nav-masthead .nav-link:hover,
51
- .nav-masthead .nav-link:focus {
52
- border-bottom-color: rgba(155,155,155,.25);
53
- }
54
-
55
- .nav-masthead .nav-link + .nav-link {
56
- margin-left: 1rem;
57
- }
58
-
59
- .nav-masthead .active {
60
- // color: #fff;
61
- // border-bottom-color: #fff;
62
- }
63
-
64
- @media (min-width: 48em) {
65
- .masthead-brand {
66
- float: left;
67
- }
68
- .nav-masthead {
69
- float: right;
70
- }
71
- }
72
-
73
-
74
- /*
75
- * Cover
76
- */
77
-
78
- .cover {
79
- padding: 0 1.5rem;
80
- }
81
- .cover .btn-lg {
82
- padding: .75rem 1.25rem;
83
- font-weight: bold;
84
- }
85
-
86
-
87
- /*
88
- * Footer
89
- */
90
-
91
- .mastfoot {
92
- // color: rgba(255,255,255,.5);
93
- }
94
-
95
-
96
- /*
97
- * Affix and center
98
- */
99
-
100
- @media (min-width: 40em) {
101
- /* Pull out the header and footer */
102
- .masthead {
103
- position: fixed;
104
- top: 0;
105
- }
106
- .mastfoot {
107
- position: fixed;
108
- bottom: 0;
109
- }
110
- /* Start the vertical centering */
111
- .site-wrapper-inner {
112
- vertical-align: middle;
113
- }
114
- /* Handle the widths */
115
- .masthead,
116
- .mastfoot,
117
- .cover-container {
118
- width: 100%; /* Must be percentage or pixels for horizontal alignment */
119
- }
120
- }
121
-
122
- @media (min-width: 62em) {
123
- .masthead,
124
- .mastfoot,
125
- .cover-container {
126
- width: 42rem;
127
- }
128
- }
129
- }
@@ -1,16 +0,0 @@
1
- body {
2
- background: #F3F3F3;
3
- font-family: 'Open Sans', sans-serif;
4
- }
5
-
6
- h1,h2,h3,h4,h5,h6 {
7
- font-weight: 700;
8
- }
9
-
10
- .panel {
11
- box-shadow: 0 0 5px #CCC;
12
- }
13
-
14
- .form-group {
15
- margin-bottom: 5px;
16
- }
@@ -1,8 +0,0 @@
1
- @import '~bootstrap/scss/bootstrap';
2
-
3
- @import 'layout/basic';
4
- @import 'layout/cover';
5
-
6
- @import 'lib/spacing';
7
-
8
- @import 'skin/style';
@@ -1,7 +0,0 @@
1
- SmtRails.configure do |config|
2
- config.template_extension = 'mustache' # change extension of mustache templates
3
- config.action_view_key = 'mustache' # change name of key for rendering in ActionView mustache template
4
- config.template_namespace = 'SMT' # change templates namespace in javascript
5
- # config.template_base_path = Rails.root.join("assets", "templates") # templates dir
6
- config.template_base_path = Rails.root.join("app", "views")
7
- end