mvpkit 0.8.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/mvp +0 -1
- data/mvpkit.gemspec +71 -50
- data/package.json +1 -0
- data/project/.babelrc +3 -0
- data/project/.env +15 -0
- data/project/.gitignore +15 -40
- data/project/.iteration +3 -0
- data/project/Gemfile +43 -19
- data/project/Gemfile.lock +237 -165
- data/project/Procfile +2 -1
- data/project/README.md +0 -1
- data/project/app/assets/config/manifest.js +2 -0
- data/project/app/assets/javascripts/application.js +5 -0
- data/project/app/assets/javascripts/templates.js.erb +14 -0
- data/project/app/assets/stylesheets/application.scss +2 -0
- data/project/app/controllers/application_controller.rb +25 -5
- data/project/app/helpers/application_helper.rb +17 -4
- data/project/app/mailers/application_mailer.rb +5 -0
- data/project/app/templates/README.txt +1 -0
- data/project/app/templates/examples/template.mustache +1 -0
- data/project/app/views/examples/mustache.html.erb +25 -3
- data/project/app/views/layouts/_header.html.erb +22 -14
- data/project/app/views/layouts/_notifications.html.erb +10 -0
- data/project/app/views/layouts/application.html.erb +22 -11
- data/project/app/views/layouts/mailer.html.erb +5 -0
- data/project/app/views/layouts/mailer.text.erb +1 -0
- data/project/app/webpack/javascripts/behaviors/example.js +21 -0
- data/project/app/webpack/javascripts/controllers/home.js +15 -0
- data/project/app/webpack/javascripts/lib/clientsidevalidations.js +3 -0
- data/project/app/webpack/javascripts/lib/selectize.js +1 -0
- data/project/app/webpack/javascripts/pack.js +47 -0
- data/project/app/webpack/stylesheets/config/variables.scss +41 -0
- data/project/app/webpack/stylesheets/init/reset.scss +48 -0
- data/project/app/webpack/stylesheets/layout/main.scss +7 -0
- data/project/app/webpack/stylesheets/pack.scss +20 -0
- data/project/app/webpack/stylesheets/skin/alerts.scss +3 -0
- data/project/app/webpack/stylesheets/skin/buttons.scss +38 -0
- data/project/app/webpack/stylesheets/skin/hero.scss +45 -0
- data/project/app/webpack/stylesheets/skin/images.scss +13 -0
- data/project/app/webpack/stylesheets/skin/progress.scss +3 -0
- data/project/app/webpack/stylesheets/skin/selectize.scss +30 -0
- data/project/{assets/stylesheets/lib → app/webpack/stylesheets/skin}/spacing.scss +0 -2
- data/project/app/webpack/stylesheets/skin/tables.scss +10 -0
- data/project/app/webpack/stylesheets/skin/treatments.scss +3 -0
- data/project/app/webpack/stylesheets/skin/turbolinks.scss +4 -0
- data/project/app/webpack/stylesheets/skin/typography.scss +116 -0
- data/project/bin/rails +1 -6
- data/project/bin/rake +0 -5
- data/project/bin/setup +17 -17
- data/project/bin/update +29 -0
- data/project/config/application.rb +5 -4
- data/project/config/boot.rb +1 -1
- data/project/config/cable.yml +9 -0
- data/project/config/environment.rb +1 -1
- data/project/config/environments/development.rb +29 -26
- data/project/config/environments/production.rb +32 -19
- data/project/config/environments/test.rb +6 -6
- data/project/config/initializers/algolia.rb +7 -0
- data/project/config/initializers/application_controller_renderer.rb +6 -0
- data/project/config/initializers/assets.rb +23 -2
- data/project/config/initializers/client_side_validations.rb +20 -0
- data/project/config/initializers/cookies_serializer.rb +2 -0
- data/project/config/initializers/date_formats.rb +6 -0
- data/project/config/initializers/fingerprint.rb +1 -0
- data/project/config/initializers/geocoder.rb +9 -0
- data/project/config/initializers/new_framework_defaults.rb +23 -0
- data/project/config/initializers/rails_admin.rb +13 -7
- data/project/config/initializers/sidekiq.rb +19 -0
- data/project/config/initializers/simple_form.rb +2 -0
- data/project/config/initializers/stripe.rb +8 -0
- data/project/config/initializers/wrap_parameters.rb +2 -2
- data/project/config/puma.rb +47 -0
- data/project/config/routes.rb +4 -2
- data/project/config/secrets.yml +17 -3
- data/project/config/sidekiq.yml +6 -0
- data/project/config/spring.rb +6 -0
- data/project/config/stripe/coupons.rb +39 -0
- data/project/config/stripe/plans.rb +32 -0
- data/project/lib/tasks/heroku.rake +10 -2
- data/project/lib/tasks/migrations.rake +3 -0
- data/project/package.json +19 -28
- data/project/public/favicon.ico +0 -0
- data/project/webpack.config.js +62 -53
- metadata +70 -49
- data/project/app/decorators/.keep +0 -0
- data/project/app/mailers/.keep +0 -0
- data/project/app/views/layouts/_includes.html.erb +0 -7
- data/project/app/views/layouts/modal.html.erb +0 -14
- data/project/assets/images/.keep +0 -0
- data/project/assets/images/favicon.ico +0 -0
- data/project/assets/javascripts/controllers/home.coffee +0 -15
- data/project/assets/javascripts/pack.js +0 -9
- data/project/assets/stylesheets/config/variables.scss +0 -876
- data/project/assets/stylesheets/layout/basic.scss +0 -6
- data/project/assets/stylesheets/layout/carousel.scss +0 -127
- data/project/assets/stylesheets/layout/cover.scss +0 -129
- data/project/assets/stylesheets/skin/style.scss +0 -16
- data/project/assets/stylesheets/style.scss +0 -8
- data/project/config/initializers/mustache.rb +0 -7
- data/project/log/development.log +0 -48216
- data/project/log/production.log +0 -0
- data/project/public/404.html +0 -67
- data/project/public/422.html +0 -67
- data/project/public/500.html +0 -66
- data/project/public/assets/javascripts/448c34a56d699c29117adc64c43affeb.woff2 +0 -0
- data/project/public/assets/javascripts/89889688147bd7575d6327160d64e760.svg +0 -288
- data/project/public/assets/javascripts/e18bbf611f2a2e43afc071aa2f4e1512.ttf +0 -0
- data/project/public/assets/javascripts/f4769f9bdb7466be65088239c12046d1.eot +0 -0
- data/project/public/assets/javascripts/fa2772327f55d8198301fdb8bcfc8158.woff +0 -0
- data/project/public/assets/javascripts/pack.js +0 -31367
- data/project/public/assets/javascripts/pack.js.map +0 -1
- data/project/public/assets/pack.js +0 -17220
- data/project/public/assets/style.css +0 -7477
- /data/app/views/layouts/{minimum_viable_product → mvp}/_instrumentation.html.erb +0 -0
- /data/app/views/layouts/{minimum_viable_product → mvp}/_meta.html.erb +0 -0
- /data/app/views/layouts/{minimum_viable_product → mvp}/application.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/_example.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_buttons.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_forms.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_header.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_panels.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_tables.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_typography.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/_grouping.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/partials/_row_groups_of.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/index.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/basic.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/carousel.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/cover.html.erb +0 -0
data/project/Gemfile.lock
CHANGED
@@ -1,57 +1,70 @@
|
|
1
1
|
GIT
|
2
|
-
remote:
|
3
|
-
revision:
|
2
|
+
remote: https://github.com/rails/sprockets.git
|
3
|
+
revision: 09f44cb0334ba94afbf0c3c385933e38f62bcd82
|
4
4
|
specs:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
sprockets (4.0.0.beta4)
|
6
|
+
concurrent-ruby (~> 1.0)
|
7
|
+
rack (> 1, < 3)
|
8
|
+
|
9
|
+
GIT
|
10
|
+
remote: https://github.com/thefrontside/stripe-rails.git
|
11
|
+
revision: a11cf2fe8094044039fd278543d195a67f269c65
|
12
|
+
specs:
|
13
|
+
stripe-rails (0.3.2)
|
14
|
+
rails (>= 3)
|
15
|
+
responders (~> 2.0)
|
16
|
+
stripe (< 2)
|
10
17
|
|
11
18
|
GEM
|
12
19
|
remote: https://rubygems.org/
|
13
20
|
specs:
|
14
|
-
CFPropertyList (2.3.
|
15
|
-
|
16
|
-
actionpack (=
|
17
|
-
|
18
|
-
|
21
|
+
CFPropertyList (2.3.5)
|
22
|
+
actioncable (5.0.2)
|
23
|
+
actionpack (= 5.0.2)
|
24
|
+
nio4r (>= 1.2, < 3.0)
|
25
|
+
websocket-driver (~> 0.6.1)
|
26
|
+
actionmailer (5.0.2)
|
27
|
+
actionpack (= 5.0.2)
|
28
|
+
actionview (= 5.0.2)
|
29
|
+
activejob (= 5.0.2)
|
19
30
|
mail (~> 2.5, >= 2.5.4)
|
20
|
-
rails-dom-testing (~>
|
21
|
-
actionpack (
|
22
|
-
actionview (=
|
23
|
-
activesupport (=
|
24
|
-
rack (~>
|
25
|
-
rack-test (~> 0.6.
|
26
|
-
rails-dom-testing (~>
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
actionpack (5.0.2)
|
33
|
+
actionview (= 5.0.2)
|
34
|
+
activesupport (= 5.0.2)
|
35
|
+
rack (~> 2.0)
|
36
|
+
rack-test (~> 0.6.3)
|
37
|
+
rails-dom-testing (~> 2.0)
|
27
38
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
-
actionview (
|
29
|
-
activesupport (=
|
39
|
+
actionview (5.0.2)
|
40
|
+
activesupport (= 5.0.2)
|
30
41
|
builder (~> 3.1)
|
31
42
|
erubis (~> 2.7.0)
|
32
|
-
rails-dom-testing (~>
|
33
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
34
|
-
activejob (
|
35
|
-
activesupport (=
|
36
|
-
globalid (>= 0.3.
|
37
|
-
activemodel (
|
38
|
-
activesupport (=
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
rails-dom-testing (~> 2.0)
|
44
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
45
|
+
activejob (5.0.2)
|
46
|
+
activesupport (= 5.0.2)
|
47
|
+
globalid (>= 0.3.6)
|
48
|
+
activemodel (5.0.2)
|
49
|
+
activesupport (= 5.0.2)
|
50
|
+
activerecord (5.0.2)
|
51
|
+
activemodel (= 5.0.2)
|
52
|
+
activesupport (= 5.0.2)
|
53
|
+
arel (~> 7.0)
|
54
|
+
activesupport (5.0.2)
|
55
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
56
|
i18n (~> 0.7)
|
46
|
-
json (~> 1.7, >= 1.7.7)
|
47
57
|
minitest (~> 5.1)
|
48
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
49
58
|
tzinfo (~> 1.1)
|
50
59
|
addressable (2.5.0)
|
51
60
|
public_suffix (~> 2.0, >= 2.0.2)
|
52
|
-
|
53
|
-
|
54
|
-
|
61
|
+
algoliasearch (1.12.6)
|
62
|
+
httpclient (~> 2.8.3)
|
63
|
+
json (>= 1.5.1)
|
64
|
+
algoliasearch-rails (1.17.1)
|
65
|
+
algoliasearch (~> 1.12.4)
|
66
|
+
json (>= 1.5.1)
|
67
|
+
arel (7.1.4)
|
55
68
|
aws_cf_signer (0.1.3)
|
56
69
|
better_errors (2.1.1)
|
57
70
|
coderay (>= 1.0.0)
|
@@ -59,64 +72,59 @@ GEM
|
|
59
72
|
rack (>= 0.9.0)
|
60
73
|
binding_of_caller (0.7.2)
|
61
74
|
debug_inspector (>= 0.0.1)
|
62
|
-
builder (3.2.
|
63
|
-
|
64
|
-
activesupport (>= 3.0.0)
|
65
|
-
uniform_notifier (~> 1.9.0)
|
66
|
-
byebug (9.0.5)
|
75
|
+
builder (3.2.3)
|
76
|
+
byebug (9.0.6)
|
67
77
|
carrierwave (0.11.2)
|
68
78
|
activemodel (>= 3.2.0)
|
69
79
|
activesupport (>= 3.2.0)
|
70
80
|
json (>= 1.7)
|
71
81
|
mime-types (>= 1.16)
|
72
82
|
mimemagic (>= 0.3.0)
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
83
|
+
chunky_png (1.3.8)
|
84
|
+
client_side_validations (9.1.0)
|
85
|
+
jquery-rails (~> 4.2)
|
86
|
+
js_regex (~> 1.2)
|
87
|
+
rails (>= 5.0.0.1, < 5.2)
|
88
|
+
client_side_validations-simple_form (6.0.0)
|
89
|
+
client_side_validations (~> 9.0)
|
90
|
+
simple_form (~> 3.4)
|
91
|
+
cloudinary (1.6.0)
|
81
92
|
aws_cf_signer
|
82
93
|
rest-client
|
83
94
|
coderay (1.1.1)
|
84
|
-
coffee-rails (4.
|
95
|
+
coffee-rails (4.2.1)
|
85
96
|
coffee-script (>= 2.2.0)
|
86
|
-
railties (>= 4.0.0, < 5.
|
97
|
+
railties (>= 4.0.0, < 5.2.x)
|
87
98
|
coffee-script (2.4.1)
|
88
99
|
coffee-script-source
|
89
100
|
execjs
|
90
|
-
coffee-script-source (1.
|
91
|
-
|
92
|
-
|
93
|
-
concurrent-ruby (1.0.2)
|
101
|
+
coffee-script-source (1.12.2)
|
102
|
+
concurrent-ruby (1.0.5)
|
103
|
+
connection_pool (2.2.1)
|
94
104
|
debug_inspector (0.0.2)
|
95
|
-
domain_name (0.5.
|
105
|
+
domain_name (0.5.20170223)
|
96
106
|
unf (>= 0.0.5, < 1.0.0)
|
97
|
-
dotenv (2.
|
98
|
-
dotenv-rails (2.
|
99
|
-
dotenv (= 2.
|
100
|
-
railties (>=
|
101
|
-
draper (2.1.0)
|
102
|
-
actionpack (>= 3.0)
|
103
|
-
activemodel (>= 3.0)
|
104
|
-
activesupport (>= 3.0)
|
105
|
-
request_store (~> 1.0)
|
107
|
+
dotenv (2.2.0)
|
108
|
+
dotenv-rails (2.2.0)
|
109
|
+
dotenv (= 2.2.0)
|
110
|
+
railties (>= 3.2, < 5.1)
|
106
111
|
erubis (2.7.0)
|
107
|
-
excon (0.
|
112
|
+
excon (0.55.0)
|
108
113
|
execjs (2.7.0)
|
109
|
-
faraday (0.
|
114
|
+
faraday (0.9.2)
|
110
115
|
multipart-post (>= 1.2, < 3)
|
116
|
+
ffi (1.9.18)
|
111
117
|
fission (0.5.0)
|
112
118
|
CFPropertyList (~> 2.2)
|
113
|
-
fog (1.
|
119
|
+
fog (1.40.0)
|
114
120
|
fog-aliyun (>= 0.1.0)
|
115
121
|
fog-atmos
|
116
122
|
fog-aws (>= 0.6.0)
|
117
123
|
fog-brightbox (~> 0.4)
|
118
124
|
fog-cloudatcost (~> 0.1.0)
|
119
|
-
fog-core (~> 1.
|
125
|
+
fog-core (~> 1.43)
|
126
|
+
fog-digitalocean (>= 0.3.0)
|
127
|
+
fog-dnsimple (~> 1.0)
|
120
128
|
fog-dynect (~> 0.0.2)
|
121
129
|
fog-ecloud (~> 0.1)
|
122
130
|
fog-google (<= 0.1.0)
|
@@ -139,6 +147,7 @@ GEM
|
|
139
147
|
fog-xenserver
|
140
148
|
fog-xml (~> 0.1.1)
|
141
149
|
ipaddress (~> 0.5)
|
150
|
+
json (>= 1.8, < 2.0)
|
142
151
|
fog-aliyun (0.1.0)
|
143
152
|
fog-core (~> 1.27)
|
144
153
|
fog-json (~> 1.0)
|
@@ -147,7 +156,7 @@ GEM
|
|
147
156
|
fog-atmos (0.1.0)
|
148
157
|
fog-core
|
149
158
|
fog-xml
|
150
|
-
fog-aws (
|
159
|
+
fog-aws (1.2.1)
|
151
160
|
fog-core (~> 1.38)
|
152
161
|
fog-json (~> 1.0)
|
153
162
|
fog-xml (~> 0.1)
|
@@ -165,6 +174,14 @@ GEM
|
|
165
174
|
builder
|
166
175
|
excon (~> 0.49)
|
167
176
|
formatador (~> 0.2)
|
177
|
+
fog-digitalocean (0.3.0)
|
178
|
+
fog-core (~> 1.42)
|
179
|
+
fog-json (>= 1.0)
|
180
|
+
fog-xml (>= 0.1)
|
181
|
+
ipaddress (>= 0.5)
|
182
|
+
fog-dnsimple (1.0.0)
|
183
|
+
fog-core (~> 1.38)
|
184
|
+
fog-json (~> 1.0)
|
168
185
|
fog-dynect (0.0.3)
|
169
186
|
fog-core
|
170
187
|
fog-json
|
@@ -181,7 +198,7 @@ GEM
|
|
181
198
|
multi_json (~> 1.10)
|
182
199
|
fog-local (0.3.1)
|
183
200
|
fog-core (~> 1.27)
|
184
|
-
fog-openstack (0.1.
|
201
|
+
fog-openstack (0.1.20)
|
185
202
|
fog-core (>= 1.40)
|
186
203
|
fog-json (>= 1.0)
|
187
204
|
ipaddress (>= 0.8)
|
@@ -192,7 +209,7 @@ GEM
|
|
192
209
|
fog-profitbricks (3.0.0)
|
193
210
|
fog-core (~> 1.42)
|
194
211
|
fog-json (~> 1.0)
|
195
|
-
fog-rackspace (0.1.
|
212
|
+
fog-rackspace (0.1.4)
|
196
213
|
fog-core (>= 1.35)
|
197
214
|
fog-json (>= 1.0)
|
198
215
|
fog-xml (>= 0.1)
|
@@ -226,53 +243,74 @@ GEM
|
|
226
243
|
fog-voxel (0.1.0)
|
227
244
|
fog-core
|
228
245
|
fog-xml
|
229
|
-
fog-vsphere (1.
|
246
|
+
fog-vsphere (1.7.1)
|
230
247
|
fog-core
|
231
248
|
rbvmomi (~> 1.9)
|
232
|
-
fog-xenserver (0.
|
249
|
+
fog-xenserver (0.3.0)
|
233
250
|
fog-core
|
234
251
|
fog-xml
|
235
252
|
fog-xml (0.1.2)
|
236
253
|
fog-core
|
237
254
|
nokogiri (~> 1.5, >= 1.5.11)
|
238
|
-
font-awesome-rails (4.
|
255
|
+
font-awesome-rails (4.7.0.1)
|
239
256
|
railties (>= 3.2, < 5.1)
|
257
|
+
font-awesome-sass (4.7.0)
|
258
|
+
sass (>= 3.2)
|
240
259
|
formatador (0.2.5)
|
241
|
-
geocoder (1.4.
|
260
|
+
geocoder (1.4.3)
|
242
261
|
globalid (0.3.7)
|
243
262
|
activesupport (>= 4.1.0)
|
244
263
|
haml (4.0.7)
|
245
264
|
tilt
|
246
|
-
hashie (3.
|
247
|
-
highline (1.7.8)
|
265
|
+
hashie (3.5.5)
|
248
266
|
http-cookie (1.0.3)
|
249
267
|
domain_name (~> 0.5)
|
250
|
-
|
268
|
+
httpclient (2.8.3)
|
269
|
+
i18n (0.8.1)
|
270
|
+
identicon (0.0.5)
|
271
|
+
chunky_png
|
251
272
|
inflecto (0.0.2)
|
252
273
|
ipaddress (0.8.3)
|
253
|
-
|
274
|
+
jbuilder (2.6.3)
|
275
|
+
activesupport (>= 3.0.0, < 5.2)
|
276
|
+
multi_json (~> 1.2)
|
277
|
+
jquery-rails (4.2.2)
|
254
278
|
rails-dom-testing (>= 1, < 3)
|
255
279
|
railties (>= 4.2.0)
|
256
280
|
thor (>= 0.14, < 2.0)
|
281
|
+
jquery-turbolinks (2.1.0)
|
282
|
+
railties (>= 3.1.0)
|
283
|
+
turbolinks
|
257
284
|
jquery-ui-rails (5.0.5)
|
258
285
|
railties (>= 3.2.16)
|
259
|
-
js_regex (1.
|
260
|
-
regexp_parser (
|
261
|
-
json (1.8.
|
286
|
+
js_regex (1.2.1)
|
287
|
+
regexp_parser (>= 0.3.6, <= 0.4.2)
|
288
|
+
json (1.8.6)
|
262
289
|
kaminari (0.17.0)
|
263
290
|
actionpack (>= 3.0.0)
|
264
291
|
activesupport (>= 3.0.0)
|
292
|
+
launchy (2.4.3)
|
293
|
+
addressable (~> 2.3)
|
294
|
+
letter_opener (1.4.1)
|
295
|
+
launchy (~> 2.2)
|
296
|
+
listen (3.0.8)
|
297
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
298
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
265
299
|
loofah (2.0.3)
|
266
300
|
nokogiri (>= 1.5.9)
|
267
301
|
mail (2.6.4)
|
268
302
|
mime-types (>= 1.16, < 4)
|
303
|
+
method_source (0.8.2)
|
269
304
|
mime-types (3.1)
|
270
305
|
mime-types-data (~> 3.2015)
|
271
306
|
mime-types-data (3.2016.0521)
|
272
307
|
mimemagic (0.3.2)
|
273
308
|
mini_portile2 (2.1.0)
|
274
|
-
|
275
|
-
|
309
|
+
minitest (5.10.1)
|
310
|
+
multi_json (1.12.1)
|
311
|
+
multipart-post (2.0.0)
|
312
|
+
mustache (1.0.3)
|
313
|
+
mvpkit (0.8.1)
|
276
314
|
carrierwave
|
277
315
|
cloudinary
|
278
316
|
faraday
|
@@ -286,46 +324,50 @@ GEM
|
|
286
324
|
sass-rails (~> 5.0)
|
287
325
|
sitemap_generator
|
288
326
|
slack-notifier
|
289
|
-
minitest (5.10.1)
|
290
|
-
multi_json (1.12.1)
|
291
|
-
multipart-post (2.0.0)
|
292
|
-
mustache (1.0.3)
|
293
327
|
nested_form (0.3.2)
|
294
328
|
netrc (0.11.0)
|
295
|
-
|
329
|
+
nio4r (2.0.0)
|
330
|
+
nokogiri (1.7.0.1)
|
296
331
|
mini_portile2 (~> 2.1.0)
|
297
|
-
pg (0.
|
298
|
-
|
299
|
-
|
332
|
+
pg (0.19.0)
|
333
|
+
postmark (1.10.0)
|
334
|
+
json
|
335
|
+
rake
|
336
|
+
postmark-rails (0.15.0)
|
337
|
+
actionmailer (>= 3.0.0)
|
338
|
+
postmark (~> 1.10.0)
|
339
|
+
public_suffix (2.0.5)
|
340
|
+
puma (3.8.1)
|
341
|
+
rack (2.0.1)
|
300
342
|
rack-canonical-host (0.2.2)
|
301
343
|
addressable (> 0, < 3)
|
302
344
|
rack (>= 1.0.0, < 3)
|
303
|
-
rack-pjax (0.
|
345
|
+
rack-pjax (1.0.0)
|
304
346
|
nokogiri (~> 1.5)
|
305
|
-
rack (
|
347
|
+
rack (>= 1.1)
|
348
|
+
rack-protection (1.5.3)
|
349
|
+
rack
|
306
350
|
rack-ssl-enforcer (0.2.9)
|
307
351
|
rack-test (0.6.3)
|
308
352
|
rack (>= 1.0)
|
309
|
-
rails (
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
353
|
+
rails (5.0.2)
|
354
|
+
actioncable (= 5.0.2)
|
355
|
+
actionmailer (= 5.0.2)
|
356
|
+
actionpack (= 5.0.2)
|
357
|
+
actionview (= 5.0.2)
|
358
|
+
activejob (= 5.0.2)
|
359
|
+
activemodel (= 5.0.2)
|
360
|
+
activerecord (= 5.0.2)
|
361
|
+
activesupport (= 5.0.2)
|
317
362
|
bundler (>= 1.3.0, < 2.0)
|
318
|
-
railties (=
|
319
|
-
sprockets-rails
|
320
|
-
rails-
|
321
|
-
activesupport (>= 4.2.0.
|
322
|
-
|
323
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
324
|
-
nokogiri (~> 1.6.0)
|
325
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
363
|
+
railties (= 5.0.2)
|
364
|
+
sprockets-rails (>= 2.0.0)
|
365
|
+
rails-dom-testing (2.0.2)
|
366
|
+
activesupport (>= 4.2.0, < 6.0)
|
367
|
+
nokogiri (~> 1.6)
|
326
368
|
rails-html-sanitizer (1.0.3)
|
327
369
|
loofah (~> 2.0)
|
328
|
-
rails_admin (
|
370
|
+
rails_admin (1.1.1)
|
329
371
|
builder (~> 3.1)
|
330
372
|
coffee-rails (~> 4.0)
|
331
373
|
font-awesome-rails (>= 3.0, < 5)
|
@@ -334,104 +376,134 @@ GEM
|
|
334
376
|
jquery-ui-rails (~> 5.0)
|
335
377
|
kaminari (~> 0.14)
|
336
378
|
nested_form (~> 0.3)
|
337
|
-
rack-pjax (
|
338
|
-
rails (
|
339
|
-
remotipart (~> 1.
|
340
|
-
safe_yaml (~> 1.0)
|
379
|
+
rack-pjax (>= 0.7)
|
380
|
+
rails (>= 4.0, < 6)
|
381
|
+
remotipart (~> 1.3)
|
341
382
|
sass-rails (>= 4.0, < 6)
|
342
|
-
railties (
|
343
|
-
actionpack (=
|
344
|
-
activesupport (=
|
383
|
+
railties (5.0.2)
|
384
|
+
actionpack (= 5.0.2)
|
385
|
+
activesupport (= 5.0.2)
|
386
|
+
method_source
|
345
387
|
rake (>= 0.8.7)
|
346
388
|
thor (>= 0.18.1, < 2.0)
|
347
389
|
rake (12.0.0)
|
348
|
-
|
349
|
-
|
390
|
+
rb-fsevent (0.9.8)
|
391
|
+
rb-inotify (0.9.8)
|
392
|
+
ffi (>= 0.5.0)
|
393
|
+
rbvmomi (1.10.0)
|
394
|
+
builder (~> 3.0)
|
350
395
|
json (>= 1.8)
|
351
396
|
nokogiri (~> 1.5)
|
352
397
|
trollop (~> 2.1)
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
398
|
+
redis (3.3.3)
|
399
|
+
redis-namespace (1.5.3)
|
400
|
+
redis (~> 3.0, >= 3.0.4)
|
401
|
+
regexp_parser (0.4.2)
|
402
|
+
remotipart (1.3.1)
|
403
|
+
responders (2.3.0)
|
404
|
+
railties (>= 4.2.0, < 5.1)
|
405
|
+
rest-client (2.0.1)
|
359
406
|
http-cookie (>= 1.0.2, < 2.0)
|
360
407
|
mime-types (>= 1.16, < 4.0)
|
361
408
|
netrc (~> 0.8)
|
362
|
-
rollbar (2.
|
409
|
+
rollbar (2.14.0)
|
363
410
|
multi_json
|
364
|
-
|
365
|
-
sass (3.4.22)
|
411
|
+
sass (3.4.23)
|
366
412
|
sass-rails (5.0.6)
|
367
413
|
railties (>= 4.0.0, < 6)
|
368
414
|
sass (~> 3.1)
|
369
415
|
sprockets (>= 2.8, < 4.0)
|
370
416
|
sprockets-rails (>= 2.0, < 4.0)
|
371
417
|
tilt (>= 1.1, < 3)
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
418
|
+
sidekiq (4.2.9)
|
419
|
+
concurrent-ruby (~> 1.0)
|
420
|
+
connection_pool (~> 2.2, >= 2.2.0)
|
421
|
+
rack-protection (>= 1.5.0)
|
422
|
+
redis (~> 3.2, >= 3.2.1)
|
423
|
+
simple_form (3.4.0)
|
377
424
|
actionpack (> 4, < 5.1)
|
378
425
|
activemodel (> 4, < 5.1)
|
379
|
-
sitemap_generator (5.
|
426
|
+
sitemap_generator (5.3.1)
|
380
427
|
builder (~> 3.0)
|
381
|
-
slack-notifier (1.
|
382
|
-
spring (
|
383
|
-
|
384
|
-
|
385
|
-
|
428
|
+
slack-notifier (2.1.0)
|
429
|
+
spring (2.0.1)
|
430
|
+
activesupport (>= 4.2)
|
431
|
+
spring-watcher-listen (2.0.1)
|
432
|
+
listen (>= 2.7, < 4.0)
|
433
|
+
spring (>= 1.2, < 3.0)
|
386
434
|
sprockets-rails (3.2.0)
|
387
435
|
actionpack (>= 4.0)
|
388
436
|
activesupport (>= 4.0)
|
389
437
|
sprockets (>= 3.0.0)
|
438
|
+
statistics2 (0.54)
|
439
|
+
stripe (1.58.0)
|
440
|
+
rest-client (>= 1.4, < 4.0)
|
390
441
|
thor (0.19.4)
|
391
|
-
thread_safe (0.3.
|
392
|
-
tilt (2.0.
|
442
|
+
thread_safe (0.3.6)
|
443
|
+
tilt (2.0.6)
|
393
444
|
trollop (2.1.2)
|
394
|
-
turbolinks (5.0.
|
445
|
+
turbolinks (5.0.1)
|
395
446
|
turbolinks-source (~> 5)
|
396
447
|
turbolinks-source (5.0.0)
|
397
448
|
tzinfo (1.2.2)
|
398
449
|
thread_safe (~> 0.1)
|
399
|
-
uglifier (3.
|
450
|
+
uglifier (3.1.9)
|
400
451
|
execjs (>= 0.3.0, < 3)
|
401
452
|
unf (0.1.4)
|
402
453
|
unf_ext
|
403
454
|
unf_ext (0.0.7.2)
|
404
|
-
|
405
|
-
|
406
|
-
activemodel (>=
|
407
|
-
|
408
|
-
railties (>=
|
409
|
-
|
455
|
+
web-console (3.4.0)
|
456
|
+
actionview (>= 5.0)
|
457
|
+
activemodel (>= 5.0)
|
458
|
+
debug_inspector
|
459
|
+
railties (>= 5.0)
|
460
|
+
websocket-driver (0.6.5)
|
461
|
+
websocket-extensions (>= 0.1.0)
|
462
|
+
websocket-extensions (0.1.2)
|
463
|
+
workflow (1.2.0)
|
410
464
|
xml-simple (1.1.5)
|
411
465
|
|
412
466
|
PLATFORMS
|
413
467
|
ruby
|
414
468
|
|
415
469
|
DEPENDENCIES
|
470
|
+
algoliasearch-rails
|
416
471
|
better_errors
|
417
472
|
binding_of_caller
|
418
|
-
bullet
|
419
473
|
byebug
|
474
|
+
carrierwave (= 0.11.2)
|
420
475
|
client_side_validations
|
421
476
|
client_side_validations-simple_form
|
422
477
|
dotenv-rails
|
423
|
-
|
424
|
-
|
478
|
+
font-awesome-sass
|
479
|
+
identicon
|
480
|
+
jbuilder (~> 2.5)
|
481
|
+
jquery-turbolinks
|
482
|
+
letter_opener
|
483
|
+
listen (~> 3.0.5)
|
484
|
+
mustache
|
485
|
+
mvpkit
|
425
486
|
pg
|
426
|
-
rails
|
487
|
+
postmark-rails
|
488
|
+
puma (~> 3.0)
|
489
|
+
rails (~> 5.0.1)
|
427
490
|
rails_admin
|
428
|
-
|
429
|
-
|
430
|
-
|
491
|
+
redis
|
492
|
+
redis-namespace
|
493
|
+
sidekiq
|
494
|
+
simple_form
|
431
495
|
spring
|
432
|
-
|
433
|
-
|
434
|
-
|
496
|
+
spring-watcher-listen (~> 2.0.0)
|
497
|
+
sprockets!
|
498
|
+
statistics2
|
499
|
+
stripe-rails!
|
500
|
+
turbolinks (~> 5)
|
501
|
+
uglifier
|
502
|
+
web-console (>= 3.3.0)
|
503
|
+
workflow
|
504
|
+
|
505
|
+
RUBY VERSION
|
506
|
+
ruby 2.3.1p112
|
435
507
|
|
436
508
|
BUNDLED WITH
|
437
|
-
1.
|
509
|
+
1.14.3
|
data/project/Procfile
CHANGED
data/project/README.md
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
var Templates = [];
|
2
|
+
|
3
|
+
<% dir = Rails.root.join('app','templates').to_s + "/" %>
|
4
|
+
<% Dir.glob( dir + "**/*").entries.select{|f| File.file?(f)}.each do |file| %>
|
5
|
+
<% tokens = file.gsub(dir,'').split('/') %>
|
6
|
+
<% name = tokens[-1].split('.')[0].gsub(/^_/,'') %>
|
7
|
+
<% path = tokens[0...-1].join('/') %>
|
8
|
+
|
9
|
+
Templates['<%= [path,name].compact.join("/") %>'] = function(obj){
|
10
|
+
var template = <%= File.open(file).read.inspect %>
|
11
|
+
Mustache.parse(template)
|
12
|
+
return Mustache.render(template, obj)
|
13
|
+
}
|
14
|
+
<% end %>
|
@@ -1,12 +1,32 @@
|
|
1
1
|
class ApplicationController < ActionController::Base
|
2
|
-
include
|
3
|
-
include
|
4
|
-
include
|
2
|
+
include MVP::AnalyticsConcern
|
3
|
+
include MVP::SEOConcern
|
4
|
+
include MVP::SessionConcern
|
5
5
|
|
6
|
-
helper MVP::
|
7
|
-
helper MVP::BootstrapHelper
|
6
|
+
helper MVP::Engine.helpers
|
8
7
|
|
8
|
+
before_action :authenticate_with_http_basic if ENV['HTTP_BASIC_AUTH_USER']
|
9
|
+
|
9
10
|
# Prevent CSRF attacks by raising an exception.
|
10
11
|
# For APIs, you may want to use :null_session instead.
|
11
12
|
protect_from_forgery with: :exception
|
13
|
+
|
14
|
+
class RecordNotFound < StandardError; end
|
15
|
+
|
16
|
+
if Rails.env.production?
|
17
|
+
rescue_from StandardError do |exception|
|
18
|
+
Rollbar.error(exception)
|
19
|
+
render 'errors/internal_server_error', status: 500
|
20
|
+
end
|
21
|
+
|
22
|
+
rescue_from RecordNotFound, Neo4j::ActiveNode::Labels::RecordNotFound do |exception|
|
23
|
+
render 'errors/not_found', status: 404
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def authenticate_with_http_basic
|
28
|
+
authenticate_or_request_with_http_basic do |username, password|
|
29
|
+
username == ENV['HTTP_BASIC_AUTH_USER'] && password == ENV['HTTP_BASIC_AUTH_PASSWORD']
|
30
|
+
end
|
31
|
+
end
|
12
32
|
end
|