voyage 1.44.0.13 → 1.44.0.14
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.
- checksums.yaml +4 -4
- data/lib/voyage/app_builder.rb +8 -7
- data/lib/voyage/generators/app_generator.rb +5 -5
- data/lib/voyage/templates/Gemfile.erb +5 -9
- data/lib/voyage/templates/bundle_config +2 -0
- data/lib/voyage/templates/rubocop.yml +6 -0
- data/lib/voyage/version.rb +1 -1
- metadata +3 -3
- data/lib/voyage/templates/config_dj_rails5_patches.rb +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 898b6240efc3c604ed7eea9ea2ec695db6c91768
|
|
4
|
+
data.tar.gz: 616e9ba3fa97d099de9cc6b8a1d74b23cfd855fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e40bcb36dff0d357c56bf5d330d75133fd3348356edce7364ee7c193826d5c9d488d5272573bd674714eefbe908a2c709ed43abbdda4dbc093a026594915eab
|
|
7
|
+
data.tar.gz: 4f59db9fa7a67ceec794cf0981f56b8345c74774da5fc994a312a03576138681ade9d47283b50a3acf7bec3fddd29b16acb171f1a32614b06e06b6052372b98d
|
data/lib/voyage/app_builder.rb
CHANGED
|
@@ -22,6 +22,10 @@ module Suspenders
|
|
|
22
22
|
gsub_file('Gemfile', /^\s{2}\n/, '')
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
def bundle_without_production
|
|
26
|
+
template '../templates/bundle_config', '.bundle/config'
|
|
27
|
+
end
|
|
28
|
+
|
|
25
29
|
def use_slim
|
|
26
30
|
if @@accept_defaults || agree?('Would you like to use slim? (Y/n)')
|
|
27
31
|
@@use_slim = true
|
|
@@ -766,11 +770,6 @@ module Suspenders
|
|
|
766
770
|
template '../templates/auto_annotate_models.rake', 'lib/tasks/auto_annotate_models.rake', force: true
|
|
767
771
|
end
|
|
768
772
|
|
|
769
|
-
def update_delayed_job_migration_rails_5_1_specify_4_2
|
|
770
|
-
file = Dir['db/migrate/*_create_delayed_jobs.rb'].first
|
|
771
|
-
replace_in_file file, 'class CreateDelayedJobs < ActiveRecord::Migration', "class CreateDelayedJobs < ActiveRecord::Migration[4.2]"
|
|
772
|
-
end
|
|
773
|
-
|
|
774
773
|
def add_favicon
|
|
775
774
|
template '../templates/favicon.ico', 'app/assets/images/favicon.ico', force: true
|
|
776
775
|
end
|
|
@@ -887,9 +886,11 @@ module Suspenders
|
|
|
887
886
|
end
|
|
888
887
|
|
|
889
888
|
def configure_background_jobs_for_rspec
|
|
890
|
-
#
|
|
889
|
+
# NOTE: (2017-05-31) jon => don't want this
|
|
890
|
+
end
|
|
891
891
|
|
|
892
|
-
|
|
892
|
+
def configure_active_job
|
|
893
|
+
# NOTE: (2017-06-02) jon => don't want this
|
|
893
894
|
end
|
|
894
895
|
|
|
895
896
|
def configure_capybara_webkit
|
|
@@ -24,6 +24,7 @@ module Suspenders
|
|
|
24
24
|
def finish_template
|
|
25
25
|
invoke :suspenders_customization
|
|
26
26
|
invoke :update_gemset_in_gemfile
|
|
27
|
+
invoke :bundle_without_production
|
|
27
28
|
invoke :use_slim
|
|
28
29
|
invoke :install_devise
|
|
29
30
|
invoke :customize_application_js
|
|
@@ -41,7 +42,6 @@ module Suspenders
|
|
|
41
42
|
invoke :update_test_environment
|
|
42
43
|
invoke :add_rubocop_config
|
|
43
44
|
invoke :add_auto_annotate_models_rake_task
|
|
44
|
-
invoke :update_delayed_job_migration_rails_5_1_specify_4_2
|
|
45
45
|
invoke :add_favicon
|
|
46
46
|
invoke :customize_application_mailer
|
|
47
47
|
invoke :add_specs
|
|
@@ -64,6 +64,10 @@ module Suspenders
|
|
|
64
64
|
build :update_gemset_in_gemfile
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
def bundle_without_production
|
|
68
|
+
build :bundle_without_production
|
|
69
|
+
end
|
|
70
|
+
|
|
67
71
|
def use_slim
|
|
68
72
|
build :use_slim
|
|
69
73
|
end
|
|
@@ -132,10 +136,6 @@ module Suspenders
|
|
|
132
136
|
build :add_auto_annotate_models_rake_task
|
|
133
137
|
end
|
|
134
138
|
|
|
135
|
-
def update_delayed_job_migration_rails_5_1_specify_4_2
|
|
136
|
-
build :update_delayed_job_migration_rails_5_1_specify_4_2
|
|
137
|
-
end
|
|
138
|
-
|
|
139
139
|
def add_favicon
|
|
140
140
|
build :add_favicon
|
|
141
141
|
end
|
|
@@ -5,15 +5,13 @@ ruby "<%= Voyage::RUBY_VERSION %>"
|
|
|
5
5
|
#ruby-gemset
|
|
6
6
|
|
|
7
7
|
gem "autoprefixer-rails"
|
|
8
|
-
gem "delayed_job_active_record"
|
|
9
|
-
<%# TODO: (2017-05-17) jon => remove this fork's version of delayed_job when DJ proper is released both ^ and v %>
|
|
10
|
-
gem 'delayed_job', github: 'dsander/delayed_job', branch: 'rails51'
|
|
8
|
+
<%# gem "delayed_job_active_record" %>
|
|
11
9
|
gem "flutie"
|
|
12
10
|
gem "honeybadger"
|
|
13
11
|
gem "jquery-rails"
|
|
14
12
|
gem "normalize-rails", "~> 3.0.0"
|
|
15
13
|
gem "pg"
|
|
16
|
-
gem "puma"
|
|
14
|
+
<%# gem "puma" %>
|
|
17
15
|
gem "rack-canonical-host"
|
|
18
16
|
gem "rails", "<%= Voyage::RAILS_VERSION %>"
|
|
19
17
|
gem "recipient_interceptor"
|
|
@@ -61,8 +59,8 @@ gem 'fog'
|
|
|
61
59
|
gem 'mini_magick'
|
|
62
60
|
|
|
63
61
|
# Cron Jobs
|
|
64
|
-
gem 'whenever', require: false # provides a clear syntax for writing and deploying cron jobs
|
|
65
|
-
gem 'whenever-web'
|
|
62
|
+
# gem 'whenever', require: false # provides a clear syntax for writing and deploying cron jobs
|
|
63
|
+
# gem 'whenever-web'
|
|
66
64
|
|
|
67
65
|
# Debugging (need at top level if we want pry-remote to work on a deployed prod server)
|
|
68
66
|
gem 'pry-awesome_print' # make pry output legible
|
|
@@ -78,9 +76,6 @@ group :development do
|
|
|
78
76
|
|
|
79
77
|
# Customizations
|
|
80
78
|
gem 'annotate' # annotate models automatically when rake db:migrate is called
|
|
81
|
-
gem 'better_errors' # A better error page for rails when a local 500 (or similar) is thrown
|
|
82
|
-
gem 'binding_of_caller' # REPL in better_errors to debug in the browser at the point at which it failed
|
|
83
|
-
gem 'bitters', '~> 1.3'
|
|
84
79
|
gem 'fix-db-schema-conflicts' # when working with multiple developers schema order of columns is standardized.
|
|
85
80
|
gem 'meta_request' # for chrome rails console plugin found here: https://chrome.google.com/webstore/detail/railspanel/gjpfobpafnhjhbajcjgccbbdofdckggg?hl=en-US
|
|
86
81
|
gem 'rails-erd' # auto gen ERD Diagram of models in the app on rake db:migrate
|
|
@@ -138,4 +133,5 @@ end
|
|
|
138
133
|
|
|
139
134
|
group :production do
|
|
140
135
|
gem 'analytics-ruby', '~> 2.2.2', require: 'segment/analytics'
|
|
136
|
+
gem 'puma'
|
|
141
137
|
end
|
data/lib/voyage/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: voyage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.44.0.
|
|
4
|
+
version: 1.44.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoughtbot, headway
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bitters
|
|
@@ -119,8 +119,8 @@ files:
|
|
|
119
119
|
- lib/voyage/templates/application.js
|
|
120
120
|
- lib/voyage/templates/application_mailer.rb.erb
|
|
121
121
|
- lib/voyage/templates/auto_annotate_models.rake
|
|
122
|
+
- lib/voyage/templates/bundle_config
|
|
122
123
|
- lib/voyage/templates/circle.yml.erb
|
|
123
|
-
- lib/voyage/templates/config_dj_rails5_patches.rb
|
|
124
124
|
- lib/voyage/templates/config_initializers_ams.rb
|
|
125
125
|
- lib/voyage/templates/config_locales_en.yml.erb
|
|
126
126
|
- lib/voyage/templates/controller_helpers.rb
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# RAILS 5 patches for delayed_job
|
|
2
|
-
# TODO: REMOVE WHEN upstream is updated
|
|
3
|
-
|
|
4
|
-
module DelayedWorkerPatches
|
|
5
|
-
def reload!
|
|
6
|
-
return unless self.class.reload_app?
|
|
7
|
-
if defined?(ActiveSupport::Reloader)
|
|
8
|
-
Rails.application.reloader.reload!
|
|
9
|
-
else
|
|
10
|
-
ActionDispatch::Reloader.cleanup!
|
|
11
|
-
ActionDispatch::Reloader.prepare!
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
module Delayed
|
|
17
|
-
class Worker
|
|
18
|
-
prepend DelayedWorkerPatches
|
|
19
|
-
end
|
|
20
|
-
end
|