fae-rails 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -2
  3. data/app/assets/config/fae/manifest.js +2 -0
  4. data/app/assets/javascripts/fae/_contrast.js +50 -0
  5. data/app/assets/javascripts/fae/_deploy.js +198 -0
  6. data/app/assets/javascripts/fae/_modals.js +94 -0
  7. data/app/assets/javascripts/fae/application.js +7 -1
  8. data/app/assets/javascripts/fae/form/_ajax.js +17 -5
  9. data/app/assets/javascripts/fae/form/_filtering.js +34 -0
  10. data/app/assets/javascripts/fae/form/_form.js +5 -2
  11. data/app/assets/javascripts/fae/form/_form_manager.js +295 -0
  12. data/app/assets/javascripts/fae/form/_slugger.js.erb +2 -2
  13. data/app/assets/javascripts/fae/form/_validator.js +224 -55
  14. data/app/assets/javascripts/fae/form/drag_drop.js +109 -0
  15. data/app/assets/javascripts/fae/form/inputs/_select.js +10 -4
  16. data/app/assets/javascripts/fae/form/inputs/_text.js +23 -9
  17. data/app/assets/javascripts/fae/vendor/simplemde/codemirror-4.inline-attachment.js +95 -0
  18. data/app/assets/javascripts/fae/vendor/simplemde/inline-attachment.js +405 -0
  19. data/app/assets/stylesheets/fae/application.css +1 -0
  20. data/app/assets/stylesheets/fae/base.scss +7 -3
  21. data/app/assets/stylesheets/fae/globals/_tags.scss +1 -1
  22. data/app/assets/stylesheets/fae/globals/imports/_variables.scss +1 -0
  23. data/app/assets/stylesheets/fae/globals/layout/_base.scss +9 -4
  24. data/app/assets/stylesheets/fae/globals/layout/_content-header.scss +14 -4
  25. data/app/assets/stylesheets/fae/globals/legacy/_pre-1.3.scss +1 -1
  26. data/app/assets/stylesheets/fae/globals/navigation/_footer.scss +1 -1
  27. data/app/assets/stylesheets/fae/globals/navigation/_header.scss +3 -3
  28. data/app/assets/stylesheets/fae/globals/navigation/_multi-col-subnav.scss +50 -0
  29. data/app/assets/stylesheets/fae/globals/navigation/_sidenav.scss +2 -2
  30. data/app/assets/stylesheets/fae/globals/navigation/_utility.scss +1 -1
  31. data/app/assets/stylesheets/fae/modules/_buttons.scss +11 -0
  32. data/app/assets/stylesheets/fae/modules/_deploy.scss +25 -0
  33. data/app/assets/stylesheets/fae/modules/_errors-bar.scss +19 -0
  34. data/app/assets/stylesheets/fae/modules/_modal.scss +25 -0
  35. data/app/assets/stylesheets/fae/modules/_toggles.scss +39 -23
  36. data/app/assets/stylesheets/fae/modules/forms/_asset-actions.scss +1 -1
  37. data/app/assets/stylesheets/fae/modules/forms/_base.scss +14 -1
  38. data/app/assets/stylesheets/fae/modules/forms/_checkbox.scss +1 -1
  39. data/app/assets/stylesheets/fae/modules/forms/_date.scss +20 -4
  40. data/app/assets/stylesheets/fae/modules/forms/_form-manager.scss +82 -0
  41. data/app/assets/stylesheets/fae/modules/forms/_hints.scss +1 -1
  42. data/app/assets/stylesheets/fae/modules/forms/_label.scss +1 -1
  43. data/app/assets/stylesheets/fae/modules/forms/_radio.scss +1 -1
  44. data/app/assets/stylesheets/fae/modules/forms/_select.scss +9 -8
  45. data/app/assets/stylesheets/fae/modules/forms/_simple-mde.scss +72 -1
  46. data/app/assets/stylesheets/fae/modules/forms/_textarea.scss +1 -1
  47. data/app/assets/stylesheets/fae/modules/tables/_base.scss +1 -1
  48. data/app/assets/stylesheets/fae/modules/tables/_filters.scss +4 -0
  49. data/app/assets/stylesheets/fae/modules/tables/_pagination.scss +2 -2
  50. data/app/assets/stylesheets/fae/pages/_error.scss +1 -1
  51. data/app/assets/stylesheets/fae/pages/_login.scss +5 -1
  52. data/app/assets/stylesheets/fae/simplemde_override.scss +32 -0
  53. data/app/controllers/fae/application_controller.rb +9 -2
  54. data/app/controllers/fae/base_controller.rb +6 -2
  55. data/app/controllers/fae/deploy_controller.rb +24 -0
  56. data/app/controllers/fae/deploy_hooks_controller.rb +71 -0
  57. data/app/controllers/fae/form_managers_controller.rb +19 -0
  58. data/app/controllers/fae/options_controller.rb +1 -0
  59. data/app/controllers/fae/setup_controller.rb +2 -2
  60. data/app/controllers/fae/static_pages_controller.rb +6 -1
  61. data/app/controllers/fae/users_controller.rb +11 -1
  62. data/app/controllers/fae/utilities_controller.rb +18 -6
  63. data/app/helpers/fae/application_helper.rb +36 -2
  64. data/app/helpers/fae/form_helper.rb +26 -2
  65. data/app/helpers/fae/view_helper.rb +26 -9
  66. data/app/models/concerns/fae/base_model_concern.rb +17 -0
  67. data/app/models/concerns/fae/seo_set_concern.rb +1 -0
  68. data/app/models/fae/change.rb +20 -6
  69. data/app/models/fae/deploy_hook.rb +12 -0
  70. data/app/models/fae/form_manager.rb +24 -0
  71. data/app/models/fae/option.rb +1 -0
  72. data/app/models/fae/seo_set.rb +14 -0
  73. data/app/models/fae/user.rb +2 -2
  74. data/app/services/fae/netlify_api.rb +213 -0
  75. data/app/uploaders/fae/file_uploader.rb +1 -1
  76. data/app/uploaders/fae/image_uploader.rb +2 -2
  77. data/app/views/devise/unlocks/new.html.slim +5 -9
  78. data/app/views/fae/application/_content_form.html.slim +16 -11
  79. data/app/views/fae/application/_file_uploader.html.slim +7 -2
  80. data/app/views/fae/application/_global_search_results.html.slim +1 -1
  81. data/app/views/fae/application/_header.slim +4 -1
  82. data/app/views/fae/application/_mobilenav.slim +3 -0
  83. data/app/views/fae/application/_seo_set_form.html.slim +12 -0
  84. data/app/views/fae/deploy/index.html.slim +40 -0
  85. data/app/views/fae/deploy_hooks/_form.html.slim +18 -0
  86. data/app/views/fae/deploy_hooks/_table.html.slim +28 -0
  87. data/app/views/fae/deploy_hooks/edit.html.slim +3 -0
  88. data/app/views/fae/deploy_hooks/new.html.slim +3 -0
  89. data/app/views/fae/images/_image_uploader.html.slim +12 -3
  90. data/app/views/fae/options/_form.html.slim +6 -2
  91. data/app/views/fae/pages/activity_log.html.slim +7 -3
  92. data/app/views/fae/pages/home.html.slim +3 -4
  93. data/app/views/fae/shared/_errors.slim +0 -3
  94. data/app/views/fae/shared/_form_header.html.slim +20 -12
  95. data/app/views/fae/shared/_nested_table.html.slim +5 -2
  96. data/app/views/fae/shared/_recent_changes.html.slim +1 -1
  97. data/app/views/fae/shared/_shared_nested_table.html.slim +9 -3
  98. data/app/views/layouts/fae/application.html.slim +2 -1
  99. data/config/deploy.rb +3 -1
  100. data/config/initializers/carrierwave.rb +41 -2
  101. data/config/initializers/devise.rb +6 -6
  102. data/config/initializers/fae_judge.rb +4 -2
  103. data/config/locales/fae.en.yml +49 -4
  104. data/config/locales/fae.zh-CN.yml +2 -2
  105. data/config/puma.rb +82 -0
  106. data/config/routes.rb +9 -1
  107. data/db/migrate/20140809222030_add_user_table.rb +1 -1
  108. data/db/migrate/20190925153222_create_fae_form_managers.rb +11 -0
  109. data/db/migrate/20220118192729_create_fae_publish_hooks.rb +10 -0
  110. data/db/migrate/20220128133730_rename_publish_hooks.rb +5 -0
  111. data/db/migrate/20220202153607_add_position_to_deploy_hooks.rb +6 -0
  112. data/db/migrate/20221118161833_create_fae_seo_sets.rb +13 -0
  113. data/lib/fae/concerns/models/base.rb +2 -0
  114. data/lib/fae/engine.rb +3 -3
  115. data/lib/fae/options.rb +18 -18
  116. data/lib/fae/version.rb +1 -1
  117. data/lib/generators/fae/base_generator.rb +28 -5
  118. data/lib/generators/fae/controller_generator.rb +0 -1
  119. data/lib/generators/fae/install_generator.rb +1 -1
  120. data/lib/generators/fae/model_generator.rb +1 -2
  121. data/lib/generators/fae/nested_index_scaffold_generator.rb +1 -2
  122. data/lib/generators/fae/nested_scaffold_generator.rb +23 -2
  123. data/lib/generators/fae/page_generator.rb +1 -2
  124. data/lib/generators/fae/scaffold_generator.rb +1 -1
  125. data/lib/generators/fae/templates/assets/fae.js +1 -1
  126. data/lib/generators/fae/templates/controllers/nested_scaffold_controller.rb +13 -1
  127. data/lib/generators/fae/templates/controllers/scaffold_controller.rb +7 -0
  128. data/lib/generators/fae/templates/initializers/fae.rb +16 -1
  129. data/lib/generators/fae/templates/views/_form.html.slim +12 -1
  130. data/lib/generators/fae/templates/views/_form_index_nested.html.slim +15 -1
  131. data/lib/generators/fae/templates/views/_form_nested.html.slim +22 -2
  132. data/lib/generators/fae/templates/views/static_page_form.html.slim +13 -1
  133. metadata +53 -24
  134. data/config/deploy/dev.rb +0 -19
  135. data/config/deploy/prod.rb +0 -19
  136. data/config/deploy/stage.rb +0 -19
  137. /data/app/assets/javascripts/fae/vendor/{simplemde.min.js → simplemde/simplemde.min.js} +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fae-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FINE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -112,30 +112,30 @@ dependencies:
112
112
  name: carrierwave
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.2.2
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.2.2
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: devise
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 4.6.2
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 4.6.2
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: jquery-ui-rails
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.0.0
173
+ version: 3.1.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.0.0
180
+ version: 3.1.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: judge-simple_form
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -196,16 +196,16 @@ dependencies:
196
196
  name: kaminari
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - "~>"
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
- version: 1.1.1
201
+ version: '0'
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - "~>"
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
- version: 1.1.1
208
+ version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: remotipart
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -224,16 +224,16 @@ dependencies:
224
224
  name: simple_form
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - "~>"
227
+ - - "<="
228
228
  - !ruby/object:Gem::Version
229
- version: 4.0.0
229
+ version: '5.1'
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - "~>"
234
+ - - "<="
235
235
  - !ruby/object:Gem::Version
236
- version: 4.0.0
236
+ version: '5.1'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: slim
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -341,6 +341,7 @@ extra_rdoc_files: []
341
341
  files:
342
342
  - README.md
343
343
  - Rakefile
344
+ - app/assets/config/fae/manifest.js
344
345
  - app/assets/fonts/fae/icons.eot
345
346
  - app/assets/fonts/fae/icons.svg
346
347
  - app/assets/fonts/fae/icons.ttf
@@ -395,6 +396,8 @@ files:
395
396
  - app/assets/images/fae/icons/zoom.svg
396
397
  - app/assets/images/fae/tutorial_model_location.png
397
398
  - app/assets/images/fae/youtube_helper.jpg
399
+ - app/assets/javascripts/fae/_contrast.js
400
+ - app/assets/javascripts/fae/_deploy.js
398
401
  - app/assets/javascripts/fae/_modals.js
399
402
  - app/assets/javascripts/fae/_tables.js
400
403
  - app/assets/javascripts/fae/admin.js.erb
@@ -404,8 +407,10 @@ files:
404
407
  - app/assets/javascripts/fae/form/_cancel.js
405
408
  - app/assets/javascripts/fae/form/_filtering.js
406
409
  - app/assets/javascripts/fae/form/_form.js
410
+ - app/assets/javascripts/fae/form/_form_manager.js
407
411
  - app/assets/javascripts/fae/form/_slugger.js.erb
408
412
  - app/assets/javascripts/fae/form/_validator.js
413
+ - app/assets/javascripts/fae/form/drag_drop.js
409
414
  - app/assets/javascripts/fae/form/fae_chosen.js
410
415
  - app/assets/javascripts/fae/form/fileinputer.js
411
416
  - app/assets/javascripts/fae/form/hinter.js
@@ -429,7 +434,9 @@ files:
429
434
  - app/assets/javascripts/fae/vendor/jquery.tablesorter.js
430
435
  - app/assets/javascripts/fae/vendor/js.cookie.js
431
436
  - app/assets/javascripts/fae/vendor/moment.min.js
432
- - app/assets/javascripts/fae/vendor/simplemde.min.js
437
+ - app/assets/javascripts/fae/vendor/simplemde/codemirror-4.inline-attachment.js
438
+ - app/assets/javascripts/fae/vendor/simplemde/inline-attachment.js
439
+ - app/assets/javascripts/fae/vendor/simplemde/simplemde.min.js
433
440
  - app/assets/javascripts/fae/vendor/touch_punch.js
434
441
  - app/assets/javascripts/fae/vendor/trumbowyg.js.erb
435
442
  - app/assets/javascripts/fae/vendor/trumbowyg/plugins/upload/trumbowyg.upload.js
@@ -455,11 +462,14 @@ files:
455
462
  - app/assets/stylesheets/fae/globals/navigation/_footer.scss
456
463
  - app/assets/stylesheets/fae/globals/navigation/_header.scss
457
464
  - app/assets/stylesheets/fae/globals/navigation/_mobilenav.scss
465
+ - app/assets/stylesheets/fae/globals/navigation/_multi-col-subnav.scss
458
466
  - app/assets/stylesheets/fae/globals/navigation/_search.scss
459
467
  - app/assets/stylesheets/fae/globals/navigation/_sidenav.scss
460
468
  - app/assets/stylesheets/fae/globals/navigation/_utility.scss
461
469
  - app/assets/stylesheets/fae/modules/_alerts.scss
462
470
  - app/assets/stylesheets/fae/modules/_buttons.scss
471
+ - app/assets/stylesheets/fae/modules/_deploy.scss
472
+ - app/assets/stylesheets/fae/modules/_errors-bar.scss
463
473
  - app/assets/stylesheets/fae/modules/_modal.scss
464
474
  - app/assets/stylesheets/fae/modules/_toggles.scss
465
475
  - app/assets/stylesheets/fae/modules/forms/_asset-actions.scss
@@ -467,6 +477,7 @@ files:
467
477
  - app/assets/stylesheets/fae/modules/forms/_checkbox.scss
468
478
  - app/assets/stylesheets/fae/modules/forms/_colorpicker.scss
469
479
  - app/assets/stylesheets/fae/modules/forms/_date.scss
480
+ - app/assets/stylesheets/fae/modules/forms/_form-manager.scss
470
481
  - app/assets/stylesheets/fae/modules/forms/_hints.scss
471
482
  - app/assets/stylesheets/fae/modules/forms/_label.scss
472
483
  - app/assets/stylesheets/fae/modules/forms/_radio.scss
@@ -488,6 +499,7 @@ files:
488
499
  - app/assets/stylesheets/fae/pages/_help.scss
489
500
  - app/assets/stylesheets/fae/pages/_home.scss
490
501
  - app/assets/stylesheets/fae/pages/_login.scss
502
+ - app/assets/stylesheets/fae/simplemde_override.scss
491
503
  - app/assets/stylesheets/fae/vendor/chosen.css
492
504
  - app/assets/stylesheets/fae/vendor/daterangepicker.css
493
505
  - app/assets/stylesheets/fae/vendor/reset.css
@@ -498,7 +510,10 @@ files:
498
510
  - app/controllers/concerns/fae/cloneable.rb
499
511
  - app/controllers/fae/application_controller.rb
500
512
  - app/controllers/fae/base_controller.rb
513
+ - app/controllers/fae/deploy_controller.rb
514
+ - app/controllers/fae/deploy_hooks_controller.rb
501
515
  - app/controllers/fae/files_controller.rb
516
+ - app/controllers/fae/form_managers_controller.rb
502
517
  - app/controllers/fae/images_controller.rb
503
518
  - app/controllers/fae/nested_base_controller.rb
504
519
  - app/controllers/fae/options_controller.rb
@@ -526,6 +541,7 @@ files:
526
541
  - app/models/concerns/fae/page_validatable.rb
527
542
  - app/models/concerns/fae/paper_trailer.rb
528
543
  - app/models/concerns/fae/role_concern.rb
544
+ - app/models/concerns/fae/seo_set_concern.rb
529
545
  - app/models/concerns/fae/sortable.rb
530
546
  - app/models/concerns/fae/static_page_concern.rb
531
547
  - app/models/concerns/fae/text_area_concern.rb
@@ -534,15 +550,19 @@ files:
534
550
  - app/models/concerns/fae/user_concern.rb
535
551
  - app/models/fae/authorization.rb
536
552
  - app/models/fae/change.rb
553
+ - app/models/fae/deploy_hook.rb
537
554
  - app/models/fae/file.rb
555
+ - app/models/fae/form_manager.rb
538
556
  - app/models/fae/image.rb
539
557
  - app/models/fae/navigation.rb
540
558
  - app/models/fae/option.rb
541
559
  - app/models/fae/role.rb
560
+ - app/models/fae/seo_set.rb
542
561
  - app/models/fae/static_page.rb
543
562
  - app/models/fae/text_area.rb
544
563
  - app/models/fae/text_field.rb
545
564
  - app/models/fae/user.rb
565
+ - app/services/fae/netlify_api.rb
546
566
  - app/uploaders/fae/file_uploader.rb
547
567
  - app/uploaders/fae/image_uploader.rb
548
568
  - app/validators/fae/cross_model_uniqueness_validator.rb
@@ -566,8 +586,14 @@ files:
566
586
  - app/views/fae/application/_header.slim
567
587
  - app/views/fae/application/_markdown_helper.slim
568
588
  - app/views/fae/application/_mobilenav.slim
589
+ - app/views/fae/application/_seo_set_form.html.slim
569
590
  - app/views/fae/application/_sidenav.slim
570
591
  - app/views/fae/application/_user_log.html.slim
592
+ - app/views/fae/deploy/index.html.slim
593
+ - app/views/fae/deploy_hooks/_form.html.slim
594
+ - app/views/fae/deploy_hooks/_table.html.slim
595
+ - app/views/fae/deploy_hooks/edit.html.slim
596
+ - app/views/fae/deploy_hooks/new.html.slim
571
597
  - app/views/fae/images/_image_uploader.html.slim
572
598
  - app/views/fae/options/_form.html.slim
573
599
  - app/views/fae/options/edit.html.slim
@@ -598,9 +624,6 @@ files:
598
624
  - app/views/layouts/fae/application.html.slim
599
625
  - app/views/layouts/fae/error.html.slim
600
626
  - config/deploy.rb
601
- - config/deploy/dev.rb
602
- - config/deploy/prod.rb
603
- - config/deploy/stage.rb
604
627
  - config/initializers/assets.rb
605
628
  - config/initializers/carrierwave.rb
606
629
  - config/initializers/devise.rb
@@ -618,6 +641,7 @@ files:
618
641
  - config/locales/fae.zh-CN.yml
619
642
  - config/locales/simple_form.en.yml
620
643
  - config/locales/simple_form.zh-CN.yml
644
+ - config/puma.rb
621
645
  - config/routes.rb
622
646
  - db/migrate/20140809222030_add_user_table.rb
623
647
  - db/migrate/20140822224029_create_fae_roles.rb
@@ -628,6 +652,11 @@ files:
628
652
  - db/migrate/20141021184311_create_fae_pages.rb
629
653
  - db/migrate/20141105214814_create_fae_text_fields.rb
630
654
  - db/migrate/20150930224821_create_fae_changes.rb
655
+ - db/migrate/20190925153222_create_fae_form_managers.rb
656
+ - db/migrate/20220118192729_create_fae_publish_hooks.rb
657
+ - db/migrate/20220128133730_rename_publish_hooks.rb
658
+ - db/migrate/20220202153607_add_position_to_deploy_hooks.rb
659
+ - db/migrate/20221118161833_create_fae_seo_sets.rb
631
660
  - lib/fae-rails.rb
632
661
  - lib/fae/concerns/models/base.rb
633
662
  - lib/fae/engine.rb
data/config/deploy/dev.rb DELETED
@@ -1,19 +0,0 @@
1
- set :stage, :prod
2
-
3
- set :ruby_version, "ruby-2.3.1"
4
- set :gemset, "dev.fae.afinedevelopment.com"
5
- set :deploy_to, "/var/www/rails/fae.afinedevelopment.com/dev"
6
-
7
- set :rails_env, 'remote_development'
8
-
9
- set :branch, 'dev'
10
-
11
- set :rvm_ruby_version, "#{fetch(:ruby_version)}@#{fetch(:gemset)}"
12
-
13
- set :default_env, {
14
- path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin:/usr/local/rvm/bin:/usr/local/rvm/rubies/#{fetch(:ruby_version)}/bin:$PATH",
15
- ruby_version: fetch(:ruby_version),
16
- gem_home: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
17
- gem_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
18
- bundle_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin" # If you are using bundler.
19
- }
@@ -1,19 +0,0 @@
1
- set :stage, :prod
2
-
3
- set :ruby_version, "ruby-2.3.1"
4
- set :gemset, "fae.afinedevelopment.com"
5
- set :deploy_to, "/var/www/rails/fae.afinedevelopment.com/prod"
6
-
7
- set :rails_env, 'production'
8
-
9
- set :branch, 'master'
10
-
11
- set :rvm_ruby_version, "#{fetch(:ruby_version)}@#{fetch(:gemset)}"
12
-
13
- set :default_env, {
14
- path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin:/usr/local/rvm/bin:/usr/local/rvm/rubies/#{fetch(:ruby_version)}/bin:$PATH",
15
- ruby_version: fetch(:ruby_version),
16
- gem_home: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
17
- gem_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
18
- bundle_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin" # If you are using bundler.
19
- }
@@ -1,19 +0,0 @@
1
- set :stage, :stage
2
-
3
- set :ruby_version, "ruby-2.3.1"
4
- set :gemset, "stage.fae.afinedevelopment.com"
5
- set :deploy_to, "/var/www/rails/fae.afinedevelopment.com/stage"
6
-
7
- set :rails_env, 'stage'
8
-
9
- set :branch, 'stage'
10
-
11
- set :rvm_ruby_version, "#{fetch(:ruby_version)}@#{fetch(:gemset)}"
12
-
13
- set :default_env, {
14
- path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin:/usr/local/rvm/bin:/usr/local/rvm/rubies/#{fetch(:ruby_version)}/bin:$PATH",
15
- ruby_version: fetch(:ruby_version),
16
- gem_home: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
17
- gem_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}",
18
- bundle_path: "/usr/local/rvm/gems/#{fetch(:rvm_ruby_version)}/bin" # If you are using bundler.
19
- }