potassium 5.2.2 → 6.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +103 -28
  3. data/.circleci/setup-rubygems.sh +3 -0
  4. data/.gitignore +2 -1
  5. data/.node-version +1 -0
  6. data/.rubocop.yml +530 -0
  7. data/.ruby-version +1 -1
  8. data/CHANGELOG.md +92 -1
  9. data/README.md +51 -45
  10. data/docs/DSL.md +5 -5
  11. data/lib/potassium/assets/.circleci/config.yml.erb +151 -0
  12. data/lib/potassium/assets/.eslintrc.json +352 -0
  13. data/lib/potassium/assets/.github/pull_request_template.md +9 -0
  14. data/lib/potassium/assets/.rubocop.yml +528 -0
  15. data/lib/potassium/assets/.stylelintrc.json +46 -0
  16. data/lib/potassium/assets/Makefile.erb +21 -32
  17. data/lib/potassium/assets/README.yml +59 -15
  18. data/lib/potassium/assets/active_admin/admin-component.vue +35 -0
  19. data/lib/potassium/assets/active_admin/admin_application.js +14 -0
  20. data/lib/potassium/assets/active_admin/init_activeadmin_vue.rb +10 -0
  21. data/lib/potassium/assets/app/graphql/graphql_controller.rb +55 -0
  22. data/lib/potassium/assets/app/graphql/mutations/login_mutation.rb +23 -0
  23. data/lib/potassium/assets/app/graphql/queries/base_query.rb +4 -0
  24. data/lib/potassium/assets/app/graphql/types/base/base_argument.rb +4 -0
  25. data/lib/potassium/assets/app/graphql/types/base/base_enum.rb +4 -0
  26. data/lib/potassium/assets/app/graphql/types/base/base_field.rb +5 -0
  27. data/lib/potassium/assets/app/graphql/types/base/base_input_object.rb +5 -0
  28. data/lib/potassium/assets/app/graphql/types/base/base_interface.rb +7 -0
  29. data/lib/potassium/assets/app/graphql/types/base/base_object.rb +5 -0
  30. data/lib/potassium/assets/app/graphql/types/base/base_scalar.rb +4 -0
  31. data/lib/potassium/assets/app/graphql/types/base/base_union.rb +4 -0
  32. data/lib/potassium/assets/app/graphql/types/mutation_type.rb +10 -0
  33. data/lib/potassium/assets/app/graphql/types/query_type.rb +13 -0
  34. data/lib/potassium/assets/app/javascript/app.spec.js +14 -0
  35. data/lib/potassium/assets/app/uploaders/base_uploader.rb +11 -0
  36. data/lib/potassium/assets/app/uploaders/image_uploader.rb +5 -0
  37. data/lib/potassium/assets/app/views/shared/_gtm_body.html.erb +4 -0
  38. data/lib/potassium/assets/app/views/shared/_gtm_head.html.erb +7 -0
  39. data/lib/potassium/assets/bin/release +1 -1
  40. data/lib/potassium/assets/bin/setup.erb +1 -1
  41. data/lib/potassium/assets/config/database_mysql.yml.erb +2 -2
  42. data/lib/potassium/assets/config/database_postgresql.yml.erb +2 -2
  43. data/lib/potassium/assets/config/graphql_playground.rb +20 -0
  44. data/lib/potassium/assets/config/puma.rb +1 -1
  45. data/lib/potassium/assets/config/shrine.rb +36 -0
  46. data/lib/potassium/assets/lib/tasks/auto_annotate_models.rake +2 -1
  47. data/lib/potassium/assets/package.json +4 -1
  48. data/lib/potassium/assets/redis.yml +1 -2
  49. data/lib/potassium/assets/testing/rails_helper.rb +2 -0
  50. data/lib/potassium/cli/commands/create.rb +12 -19
  51. data/lib/potassium/cli_options.rb +77 -26
  52. data/lib/potassium/helpers/gem-helpers.rb +1 -1
  53. data/lib/potassium/helpers/template-helpers.rb +8 -0
  54. data/lib/potassium/newest_version_ensurer.rb +19 -36
  55. data/lib/potassium/node_version_ensurer.rb +30 -0
  56. data/lib/potassium/recipes/admin.rb +3 -3
  57. data/lib/potassium/recipes/annotate.rb +1 -1
  58. data/lib/potassium/recipes/api.rb +93 -21
  59. data/lib/potassium/recipes/background_processor.rb +66 -19
  60. data/lib/potassium/recipes/ci.rb +10 -38
  61. data/lib/potassium/recipes/data_migrate.rb +44 -0
  62. data/lib/potassium/recipes/database.rb +4 -0
  63. data/lib/potassium/recipes/database_container.rb +7 -5
  64. data/lib/potassium/recipes/draper.rb +1 -10
  65. data/lib/potassium/recipes/file_storage.rb +66 -0
  66. data/lib/potassium/recipes/front_end.rb +225 -9
  67. data/lib/potassium/recipes/github.rb +93 -15
  68. data/lib/potassium/recipes/google_tag_manager.rb +90 -0
  69. data/lib/potassium/recipes/heroku.rb +42 -29
  70. data/lib/potassium/recipes/mailer.rb +18 -2
  71. data/lib/potassium/recipes/monitoring.rb +5 -0
  72. data/lib/potassium/recipes/node.rb +21 -0
  73. data/lib/potassium/recipes/rack_cors.rb +18 -15
  74. data/lib/potassium/recipes/schedule.rb +17 -2
  75. data/lib/potassium/recipes/style.rb +21 -3
  76. data/lib/potassium/recipes/vue_admin.rb +124 -0
  77. data/lib/potassium/templates/application.rb +10 -7
  78. data/lib/potassium/version.rb +7 -4
  79. data/potassium.gemspec +11 -6
  80. data/spec/features/api_spec.rb +25 -0
  81. data/spec/features/background_processor_spec.rb +19 -6
  82. data/spec/features/ci_spec.rb +7 -4
  83. data/spec/features/data_migrate_spec.rb +14 -0
  84. data/spec/features/database_container_spec.rb +1 -5
  85. data/spec/features/draper_spec.rb +1 -6
  86. data/spec/features/file_storage_spec.rb +75 -0
  87. data/spec/features/front_end_spec.rb +102 -0
  88. data/spec/features/github_spec.rb +53 -8
  89. data/spec/features/google_tag_manager_spec.rb +59 -0
  90. data/spec/features/graphql_spec.rb +71 -0
  91. data/spec/features/heroku_spec.rb +1 -1
  92. data/spec/features/mailer_spec.rb +16 -0
  93. data/spec/features/new_project_spec.rb +6 -14
  94. data/spec/features/node_spec.rb +28 -0
  95. data/spec/features/power_types_spec.rb +5 -16
  96. data/spec/features/schedule_spec.rb +11 -4
  97. data/spec/features/vue_admin_spec.rb +47 -0
  98. data/spec/spec_helper.rb +5 -0
  99. data/spec/support/fake_octokit.rb +31 -0
  100. data/spec/support/potassium_test_helpers.rb +26 -9
  101. data/tmp/.keep +0 -0
  102. metadata +152 -46
  103. data/lib/potassium/assets/.circleci/config.yml +0 -20
  104. data/lib/potassium/assets/Dockerfile.ci +0 -6
  105. data/lib/potassium/assets/active_admin/active_admin.js.coffee +0 -4
  106. data/lib/potassium/assets/active_admin/init_activeadmin_angular.rb +0 -8
  107. data/lib/potassium/assets/api/api_error_concern.rb +0 -32
  108. data/lib/potassium/assets/api/base_controller.rb +0 -9
  109. data/lib/potassium/assets/api/draper_responder.rb +0 -62
  110. data/lib/potassium/assets/api/responder.rb +0 -41
  111. data/lib/potassium/assets/aws.rb +0 -1
  112. data/lib/potassium/assets/bin/cibuild.erb +0 -100
  113. data/lib/potassium/assets/docker-compose.ci.yml +0 -11
  114. data/lib/potassium/assets/sidekiq_scheduler.yml +0 -9
  115. data/lib/potassium/assets/testing/paperclip.rb +0 -59
  116. data/lib/potassium/recipes/active_storage.rb +0 -40
  117. data/lib/potassium/recipes/angular_admin.rb +0 -56
  118. data/lib/potassium/recipes/aws_sdk.rb +0 -7
  119. data/lib/potassium/recipes/paperclip.rb +0 -47
  120. data/spec/features/active_storage_spec.rb +0 -30
  121. data/spec/features/front_end.rb +0 -30
@@ -19,20 +19,25 @@ module PotassiumTestHelpers
19
19
  Dir.chdir(tmp_path) do
20
20
  Bundler.with_clean_env do
21
21
  add_fakes_to_path
22
+ add_project_bin_to_path
22
23
  full_arguments = hash_to_arguments(create_arguments(true).merge(arguments))
23
24
  run_command("#{potassium_bin} create #{APP_NAME} #{full_arguments}")
24
- on_project { run_command("hound rules update ruby --local") }
25
25
  end
26
26
  end
27
27
  end
28
28
 
29
29
  def drop_dummy_database
30
30
  return unless File.exist?(project_path)
31
+
31
32
  on_project { run_command("bundle exec rails db:drop") }
32
33
  end
33
34
 
35
+ def add_project_bin_to_path
36
+ add_to_path project_bin, true
37
+ end
38
+
34
39
  def add_fakes_to_path
35
- ENV["PATH"] = "#{support_bin}:#{ENV['PATH']}"
40
+ add_to_path support_bin
36
41
  end
37
42
 
38
43
  def project_path
@@ -47,15 +52,11 @@ module PotassiumTestHelpers
47
52
  end
48
53
  end
49
54
 
50
- private
51
-
52
- def tmp_path
53
- @tmp_path ||= Pathname.new("#{root_path}/tmp")
55
+ def docker_cleanup
56
+ run_command(`docker-compose -f #{project_path}/docker-compose.yml down --volumes`)
54
57
  end
55
58
 
56
- def potassium_bin
57
- File.join(root_path, "bin", "potassium")
58
- end
59
+ private
59
60
 
60
61
  def hash_to_arguments(hash)
61
62
  hash.map do |key, value|
@@ -69,10 +70,26 @@ module PotassiumTestHelpers
69
70
  end.join(" ")
70
71
  end
71
72
 
73
+ def add_to_path(new_path, append = false)
74
+ ENV['PATH'] = append ? "#{ENV['PATH']}:#{new_path}" : "#{new_path}:#{ENV['PATH']}"
75
+ end
76
+
77
+ def project_bin
78
+ File.join(project_path, 'bin')
79
+ end
80
+
81
+ def potassium_bin
82
+ File.join(root_path, "bin", "potassium")
83
+ end
84
+
72
85
  def support_bin
73
86
  File.join(root_path, "spec", "fakes", "bin")
74
87
  end
75
88
 
89
+ def tmp_path
90
+ @tmp_path ||= Pathname.new("#{root_path}/tmp")
91
+ end
92
+
76
93
  def root_path
77
94
  File.expand_path("../../../", __FILE__)
78
95
  end
data/tmp/.keep ADDED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potassium
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-17 00:00:00.000000000 Z
11
+ date: 2021-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.10.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.10.3
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '10.0'
47
+ version: '13.0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '10.0'
54
+ version: '13.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rspec
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -53,47 +67,89 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: 3.4.0
55
69
  - !ruby/object:Gem::Dependency
56
- name: pry
70
+ name: rspec_junit_formatter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
87
  - - "~>"
60
88
  - !ruby/object:Gem::Version
61
- version: 0.10.3
89
+ version: '1.9'
62
90
  type: :development
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
94
  - - "~>"
67
95
  - !ruby/object:Gem::Version
68
- version: 0.10.3
96
+ version: '1.9'
69
97
  - !ruby/object:Gem::Dependency
70
- name: rubocop
98
+ name: rubocop-performance
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rspec
71
127
  requirement: !ruby/object:Gem::Requirement
72
128
  requirements:
73
129
  - - "~>"
74
130
  - !ruby/object:Gem::Version
75
- version: 0.65.0
131
+ version: '2.2'
76
132
  type: :development
77
133
  prerelease: false
78
134
  version_requirements: !ruby/object:Gem::Requirement
79
135
  requirements:
80
136
  - - "~>"
81
137
  - !ruby/object:Gem::Version
82
- version: 0.65.0
138
+ version: '2.2'
83
139
  - !ruby/object:Gem::Dependency
84
- name: rails
140
+ name: gems
85
141
  requirement: !ruby/object:Gem::Requirement
86
142
  requirements:
87
143
  - - "~>"
88
144
  - !ruby/object:Gem::Version
89
- version: 5.2.1
145
+ version: '0.8'
90
146
  type: :runtime
91
147
  prerelease: false
92
148
  version_requirements: !ruby/object:Gem::Requirement
93
149
  requirements:
94
150
  - - "~>"
95
151
  - !ruby/object:Gem::Version
96
- version: 5.2.1
152
+ version: '0.8'
97
153
  - !ruby/object:Gem::Dependency
98
154
  name: gli
99
155
  requirement: !ruby/object:Gem::Requirement
@@ -123,47 +179,61 @@ dependencies:
123
179
  - !ruby/object:Gem::Version
124
180
  version: '0.2'
125
181
  - !ruby/object:Gem::Dependency
126
- name: gems
182
+ name: levenshtein
127
183
  requirement: !ruby/object:Gem::Requirement
128
184
  requirements:
129
185
  - - "~>"
130
186
  - !ruby/object:Gem::Version
131
- version: '0.8'
187
+ version: '0.2'
132
188
  type: :runtime
133
189
  prerelease: false
134
190
  version_requirements: !ruby/object:Gem::Requirement
135
191
  requirements:
136
192
  - - "~>"
137
193
  - !ruby/object:Gem::Version
138
- version: '0.8'
194
+ version: '0.2'
139
195
  - !ruby/object:Gem::Dependency
140
- name: semantic
196
+ name: octokit
141
197
  requirement: !ruby/object:Gem::Requirement
142
198
  requirements:
143
199
  - - "~>"
144
200
  - !ruby/object:Gem::Version
145
- version: '1.4'
201
+ version: '4.18'
146
202
  type: :runtime
147
203
  prerelease: false
148
204
  version_requirements: !ruby/object:Gem::Requirement
149
205
  requirements:
150
206
  - - "~>"
151
207
  - !ruby/object:Gem::Version
152
- version: '1.4'
208
+ version: '4.18'
153
209
  - !ruby/object:Gem::Dependency
154
- name: levenshtein
210
+ name: rails
155
211
  requirement: !ruby/object:Gem::Requirement
156
212
  requirements:
157
213
  - - "~>"
158
214
  - !ruby/object:Gem::Version
159
- version: '0.2'
215
+ version: 6.0.2
160
216
  type: :runtime
161
217
  prerelease: false
162
218
  version_requirements: !ruby/object:Gem::Requirement
163
219
  requirements:
164
220
  - - "~>"
165
221
  - !ruby/object:Gem::Version
166
- version: '0.2'
222
+ version: 6.0.2
223
+ - !ruby/object:Gem::Dependency
224
+ name: semantic
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '1.4'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '1.4'
167
237
  description: An application generator from Platanus
168
238
  email:
169
239
  - julioggonz@gmail.com
@@ -174,9 +244,12 @@ extensions: []
174
244
  extra_rdoc_files: []
175
245
  files:
176
246
  - ".circleci/config.yml"
247
+ - ".circleci/setup-rubygems.sh"
177
248
  - ".editorconfig"
178
249
  - ".gitignore"
250
+ - ".node-version"
179
251
  - ".rspec"
252
+ - ".rubocop.yml"
180
253
  - ".ruby-version"
181
254
  - CHANGELOG.md
182
255
  - Gemfile
@@ -189,40 +262,57 @@ files:
189
262
  - docs/DSL.md
190
263
  - lib/potassium.rb
191
264
  - lib/potassium/assets/.buildpacks
192
- - lib/potassium/assets/.circleci/config.yml
265
+ - lib/potassium/assets/.circleci/config.yml.erb
193
266
  - lib/potassium/assets/.dockerignore
194
267
  - lib/potassium/assets/.editorconfig
195
268
  - lib/potassium/assets/.env.development.erb
269
+ - lib/potassium/assets/.eslintrc.json
270
+ - lib/potassium/assets/.github/pull_request_template.md
196
271
  - lib/potassium/assets/.pryrc
197
- - lib/potassium/assets/Dockerfile.ci
272
+ - lib/potassium/assets/.rubocop.yml
273
+ - lib/potassium/assets/.stylelintrc.json
198
274
  - lib/potassium/assets/Makefile.erb
199
275
  - lib/potassium/assets/Procfile
200
276
  - lib/potassium/assets/README.md.erb
201
277
  - lib/potassium/assets/README.yml
202
- - lib/potassium/assets/active_admin/active_admin.js.coffee
278
+ - lib/potassium/assets/active_admin/admin-component.vue
279
+ - lib/potassium/assets/active_admin/admin_application.js
203
280
  - lib/potassium/assets/active_admin/admin_user_policy.rb
204
281
  - lib/potassium/assets/active_admin/comment_policy.rb
205
- - lib/potassium/assets/active_admin/init_activeadmin_angular.rb
282
+ - lib/potassium/assets/active_admin/init_activeadmin_vue.rb
206
283
  - lib/potassium/assets/active_admin/pundit_page_policy.rb
207
- - lib/potassium/assets/api/api_error_concern.rb
208
- - lib/potassium/assets/api/base_controller.rb
209
- - lib/potassium/assets/api/draper_responder.rb
210
- - lib/potassium/assets/api/responder.rb
284
+ - lib/potassium/assets/app/graphql/graphql_controller.rb
285
+ - lib/potassium/assets/app/graphql/mutations/login_mutation.rb
286
+ - lib/potassium/assets/app/graphql/queries/base_query.rb
287
+ - lib/potassium/assets/app/graphql/types/base/base_argument.rb
288
+ - lib/potassium/assets/app/graphql/types/base/base_enum.rb
289
+ - lib/potassium/assets/app/graphql/types/base/base_field.rb
290
+ - lib/potassium/assets/app/graphql/types/base/base_input_object.rb
291
+ - lib/potassium/assets/app/graphql/types/base/base_interface.rb
292
+ - lib/potassium/assets/app/graphql/types/base/base_object.rb
293
+ - lib/potassium/assets/app/graphql/types/base/base_scalar.rb
294
+ - lib/potassium/assets/app/graphql/types/base/base_union.rb
295
+ - lib/potassium/assets/app/graphql/types/mutation_type.rb
296
+ - lib/potassium/assets/app/graphql/types/query_type.rb
297
+ - lib/potassium/assets/app/javascript/app.spec.js
211
298
  - lib/potassium/assets/app/mailers/application_mailer.rb
212
- - lib/potassium/assets/aws.rb
213
- - lib/potassium/assets/bin/cibuild.erb
299
+ - lib/potassium/assets/app/uploaders/base_uploader.rb
300
+ - lib/potassium/assets/app/uploaders/image_uploader.rb
301
+ - lib/potassium/assets/app/views/shared/_gtm_body.html.erb
302
+ - lib/potassium/assets/app/views/shared/_gtm_head.html.erb
214
303
  - lib/potassium/assets/bin/release
215
304
  - lib/potassium/assets/bin/setup.erb
216
305
  - lib/potassium/assets/bin/setup_heroku.erb
217
306
  - lib/potassium/assets/bin/update.erb
218
307
  - lib/potassium/assets/config/database_mysql.yml.erb
219
308
  - lib/potassium/assets/config/database_postgresql.yml.erb
309
+ - lib/potassium/assets/config/graphql_playground.rb
220
310
  - lib/potassium/assets/config/mailer.rb.erb
221
311
  - lib/potassium/assets/config/puma.rb
222
312
  - lib/potassium/assets/config/secrets.yml.erb
223
313
  - lib/potassium/assets/config/sentry.rb.erb
314
+ - lib/potassium/assets/config/shrine.rb
224
315
  - lib/potassium/assets/config/storage.yml
225
- - lib/potassium/assets/docker-compose.ci.yml
226
316
  - lib/potassium/assets/docker-compose.yml
227
317
  - lib/potassium/assets/es-CL.yml
228
318
  - lib/potassium/assets/lib/tasks/auto_annotate_models.rake
@@ -234,9 +324,7 @@ files:
234
324
  - lib/potassium/assets/seeds/seeds.rb
235
325
  - lib/potassium/assets/sidekiq.rb.erb
236
326
  - lib/potassium/assets/sidekiq.yml
237
- - lib/potassium/assets/sidekiq_scheduler.yml
238
327
  - lib/potassium/assets/testing/.rspec
239
- - lib/potassium/assets/testing/paperclip.rb
240
328
  - lib/potassium/assets/testing/platanus.png
241
329
  - lib/potassium/assets/testing/rails_helper.rb
242
330
  - lib/potassium/cli.rb
@@ -257,17 +345,16 @@ files:
257
345
  - lib/potassium/helpers/template-helpers.rb
258
346
  - lib/potassium/helpers/variable-helpers.rb
259
347
  - lib/potassium/newest_version_ensurer.rb
348
+ - lib/potassium/node_version_ensurer.rb
260
349
  - lib/potassium/recipe.rb
261
- - lib/potassium/recipes/active_storage.rb
262
350
  - lib/potassium/recipes/admin.rb
263
- - lib/potassium/recipes/angular_admin.rb
264
351
  - lib/potassium/recipes/annotate.rb
265
352
  - lib/potassium/recipes/api.rb
266
- - lib/potassium/recipes/aws_sdk.rb
267
353
  - lib/potassium/recipes/background_processor.rb
268
354
  - lib/potassium/recipes/better_errors.rb
269
355
  - lib/potassium/recipes/ci.rb
270
356
  - lib/potassium/recipes/cleanup.rb
357
+ - lib/potassium/recipes/data_migrate.rb
271
358
  - lib/potassium/recipes/database.rb
272
359
  - lib/potassium/recipes/database_container.rb
273
360
  - lib/potassium/recipes/devise.rb
@@ -275,13 +362,16 @@ files:
275
362
  - lib/potassium/recipes/editorconfig.rb
276
363
  - lib/potassium/recipes/env.rb
277
364
  - lib/potassium/recipes/error_reporting.rb
365
+ - lib/potassium/recipes/file_storage.rb
278
366
  - lib/potassium/recipes/front_end.rb
279
367
  - lib/potassium/recipes/github.rb
368
+ - lib/potassium/recipes/google_tag_manager.rb
280
369
  - lib/potassium/recipes/heroku.rb
281
370
  - lib/potassium/recipes/i18n.rb
282
371
  - lib/potassium/recipes/listen.rb
283
372
  - lib/potassium/recipes/mailer.rb
284
- - lib/potassium/recipes/paperclip.rb
373
+ - lib/potassium/recipes/monitoring.rb
374
+ - lib/potassium/recipes/node.rb
285
375
  - lib/potassium/recipes/power_types.rb
286
376
  - lib/potassium/recipes/pry.rb
287
377
  - lib/potassium/recipes/puma.rb
@@ -297,6 +387,7 @@ files:
297
387
  - lib/potassium/recipes/style.rb
298
388
  - lib/potassium/recipes/testing.rb
299
389
  - lib/potassium/recipes/tzinfo.rb
390
+ - lib/potassium/recipes/vue_admin.rb
300
391
  - lib/potassium/recipes/yarn.rb
301
392
  - lib/potassium/template_finder.rb
302
393
  - lib/potassium/templates/application.rb
@@ -307,25 +398,33 @@ files:
307
398
  - potassium.gemspec
308
399
  - spec/fakes/bin/heroku
309
400
  - spec/fakes/bin/hub
310
- - spec/features/active_storage_spec.rb
401
+ - spec/features/api_spec.rb
311
402
  - spec/features/background_processor_spec.rb
312
403
  - spec/features/ci_spec.rb
404
+ - spec/features/data_migrate_spec.rb
313
405
  - spec/features/database_container_spec.rb
314
406
  - spec/features/database_spec.rb
315
407
  - spec/features/draper_spec.rb
316
408
  - spec/features/error_reporting_spec.rb
317
- - spec/features/front_end.rb
409
+ - spec/features/file_storage_spec.rb
410
+ - spec/features/front_end_spec.rb
318
411
  - spec/features/github_spec.rb
412
+ - spec/features/google_tag_manager_spec.rb
413
+ - spec/features/graphql_spec.rb
319
414
  - spec/features/heroku_spec.rb
320
415
  - spec/features/i18n_spec.rb
321
416
  - spec/features/mailer_spec.rb
322
417
  - spec/features/new_project_spec.rb
418
+ - spec/features/node_spec.rb
323
419
  - spec/features/power_types_spec.rb
324
420
  - spec/features/schedule_spec.rb
421
+ - spec/features/vue_admin_spec.rb
325
422
  - spec/spec_helper.rb
326
423
  - spec/support/fake_github.rb
327
424
  - spec/support/fake_heroku.rb
425
+ - spec/support/fake_octokit.rb
328
426
  - spec/support/potassium_test_helpers.rb
427
+ - tmp/.keep
329
428
  homepage: https://github.com/platanus/potassium
330
429
  licenses:
331
430
  - MIT
@@ -345,29 +444,36 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
444
  - !ruby/object:Gem::Version
346
445
  version: '0'
347
446
  requirements: []
348
- rubygems_version: 3.0.4
447
+ rubygems_version: 3.1.2
349
448
  signing_key:
350
449
  specification_version: 4
351
450
  summary: An application generator from Platanus
352
451
  test_files:
353
452
  - spec/fakes/bin/heroku
354
453
  - spec/fakes/bin/hub
355
- - spec/features/active_storage_spec.rb
454
+ - spec/features/api_spec.rb
356
455
  - spec/features/background_processor_spec.rb
357
456
  - spec/features/ci_spec.rb
457
+ - spec/features/data_migrate_spec.rb
358
458
  - spec/features/database_container_spec.rb
359
459
  - spec/features/database_spec.rb
360
460
  - spec/features/draper_spec.rb
361
461
  - spec/features/error_reporting_spec.rb
362
- - spec/features/front_end.rb
462
+ - spec/features/file_storage_spec.rb
463
+ - spec/features/front_end_spec.rb
363
464
  - spec/features/github_spec.rb
465
+ - spec/features/google_tag_manager_spec.rb
466
+ - spec/features/graphql_spec.rb
364
467
  - spec/features/heroku_spec.rb
365
468
  - spec/features/i18n_spec.rb
366
469
  - spec/features/mailer_spec.rb
367
470
  - spec/features/new_project_spec.rb
471
+ - spec/features/node_spec.rb
368
472
  - spec/features/power_types_spec.rb
369
473
  - spec/features/schedule_spec.rb
474
+ - spec/features/vue_admin_spec.rb
370
475
  - spec/spec_helper.rb
371
476
  - spec/support/fake_github.rb
372
477
  - spec/support/fake_heroku.rb
478
+ - spec/support/fake_octokit.rb
373
479
  - spec/support/potassium_test_helpers.rb