power_api 0.2.0 → 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/.circleci/config.yml +104 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.rubocop.yml +0 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +170 -150
- data/README.md +39 -31
- data/app/controllers/power_api/base_controller.rb +0 -1
- data/lib/power_api/version.rb +1 -1
- data/power_api.gemspec +3 -2
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/config/manifest.js +0 -2
- data/spec/dummy/app/controllers/application_controller.rb +0 -1
- data/spec/dummy/app/{assets/javascripts → javascript/packs}/application.js +2 -0
- data/spec/dummy/app/jobs/application_job.rb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +3 -2
- data/spec/dummy/bin/rails +2 -2
- data/spec/dummy/bin/rake +2 -2
- data/spec/dummy/bin/setup +7 -12
- data/spec/dummy/config.ru +2 -1
- data/spec/dummy/config/application.rb +12 -16
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/cable.yml +2 -2
- data/spec/dummy/config/database.yml +8 -16
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +28 -6
- data/spec/dummy/config/environments/production.rb +45 -16
- data/spec/dummy/config/environments/test.rb +24 -7
- data/spec/dummy/config/initializers/assets.rb +0 -2
- data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/locales/en.yml +1 -1
- data/spec/dummy/config/puma.rb +14 -27
- data/spec/dummy/config/storage.yml +34 -0
- metadata +90 -85
- data/.hound.yml +0 -4
- data/.travis.yml +0 -16
- data/app/controllers/concerns/api/versioned.rb +0 -36
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/controllers/concerns/api/versioned_spec.rb +0 -64
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/update +0 -29
- data/spec/dummy/bin/yarn +0 -11
- data/spec/dummy/config/secrets.yml +0 -32
- data/spec/dummy/config/spring.rb +0 -6
@@ -1,10 +1,13 @@
|
|
1
|
+
require "active_support/core_ext/integer/time"
|
2
|
+
|
3
|
+
# The test environment is used exclusively to run your application's
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
7
|
+
|
1
8
|
Rails.application.configure do
|
2
9
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
10
|
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
11
|
config.cache_classes = true
|
9
12
|
|
10
13
|
# Do not eager load code on boot. This avoids loading your whole application
|
@@ -15,18 +18,23 @@ Rails.application.configure do
|
|
15
18
|
# Configure public file server for tests with Cache-Control for performance.
|
16
19
|
config.public_file_server.enabled = true
|
17
20
|
config.public_file_server.headers = {
|
18
|
-
'Cache-Control' => "public, max-age=#{1.hour.
|
21
|
+
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
19
22
|
}
|
20
23
|
|
21
24
|
# Show full error reports and disable caching.
|
22
25
|
config.consider_all_requests_local = true
|
23
26
|
config.action_controller.perform_caching = false
|
27
|
+
config.cache_store = :null_store
|
24
28
|
|
25
29
|
# Raise exceptions instead of rendering exception templates.
|
26
30
|
config.action_dispatch.show_exceptions = false
|
27
31
|
|
28
32
|
# Disable request forgery protection in test environment.
|
29
33
|
config.action_controller.allow_forgery_protection = false
|
34
|
+
|
35
|
+
# Store uploaded files on the local file system in a temporary directory.
|
36
|
+
config.active_storage.service = :test
|
37
|
+
|
30
38
|
config.action_mailer.perform_caching = false
|
31
39
|
|
32
40
|
# Tell Action Mailer not to deliver emails to the real world.
|
@@ -37,6 +45,15 @@ Rails.application.configure do
|
|
37
45
|
# Print deprecation notices to the stderr.
|
38
46
|
config.active_support.deprecation = :stderr
|
39
47
|
|
40
|
-
#
|
41
|
-
|
48
|
+
# Raise exceptions for disallowed deprecations.
|
49
|
+
config.active_support.disallowed_deprecation = :raise
|
50
|
+
|
51
|
+
# Tell Active Support which deprecation messages to disallow.
|
52
|
+
config.active_support.disallowed_deprecation_warnings = []
|
53
|
+
|
54
|
+
# Raises error for missing translations.
|
55
|
+
# config.i18n.raise_on_missing_translations = true
|
56
|
+
|
57
|
+
# Annotate rendered view with file names.
|
58
|
+
# config.action_view.annotate_rendered_view_with_filenames = true
|
42
59
|
end
|
@@ -5,8 +5,6 @@ Rails.application.config.assets.version = '1.0'
|
|
5
5
|
|
6
6
|
# Add additional assets to the asset load path.
|
7
7
|
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
-
# Add Yarn node_modules folder to the asset load path.
|
9
|
-
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|
10
8
|
|
11
9
|
# Precompile additional assets.
|
12
10
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line|
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
|
5
5
|
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
|
7
|
-
#
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
|
7
|
+
# by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
|
8
|
+
Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Define an application-wide content security policy
|
4
|
+
# For further information see the following documentation
|
5
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
6
|
+
|
7
|
+
# Rails.application.config.content_security_policy do |policy|
|
8
|
+
# policy.default_src :self, :https
|
9
|
+
# policy.font_src :self, :https, :data
|
10
|
+
# policy.img_src :self, :https, :data
|
11
|
+
# policy.object_src :none
|
12
|
+
# policy.script_src :self, :https
|
13
|
+
# policy.style_src :self, :https
|
14
|
+
|
15
|
+
# # Specify URI for violation reports
|
16
|
+
# # policy.report_uri "/csp-violation-report-endpoint"
|
17
|
+
# end
|
18
|
+
|
19
|
+
# If you are using UJS then enable automatic nonce generation
|
20
|
+
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
|
21
|
+
|
22
|
+
# Set the nonce only to specific directives
|
23
|
+
# Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
|
24
|
+
|
25
|
+
# Report CSP violations to a specified URI
|
26
|
+
# For further information see the following documentation:
|
27
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
|
28
|
+
# Rails.application.config.content_security_policy_report_only = true
|
@@ -1,4 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# Configure sensitive parameters which will be filtered from the log file.
|
4
|
-
Rails.application.config.filter_parameters += [
|
4
|
+
Rails.application.config.filter_parameters += [
|
5
|
+
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
|
6
|
+
]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Define an application-wide HTTP permissions policy. For further
|
2
|
+
# information see https://developers.google.com/web/updates/2018/06/feature-policy
|
3
|
+
#
|
4
|
+
# Rails.application.config.permissions_policy do |f|
|
5
|
+
# f.camera :none
|
6
|
+
# f.gyroscope :none
|
7
|
+
# f.microphone :none
|
8
|
+
# f.usb :none
|
9
|
+
# f.fullscreen :self
|
10
|
+
# f.payment :self, "https://secure.example.com"
|
11
|
+
# end
|
data/spec/dummy/config/puma.rb
CHANGED
@@ -4,19 +4,28 @@
|
|
4
4
|
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
5
|
# and maximum; this matches the default thread size of Active Record.
|
6
6
|
#
|
7
|
-
|
8
|
-
|
7
|
+
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
|
9
|
+
threads min_threads_count, max_threads_count
|
10
|
+
|
11
|
+
# Specifies the `worker_timeout` threshold that Puma will use to wait before
|
12
|
+
# terminating a worker in development environments.
|
13
|
+
#
|
14
|
+
worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
|
9
15
|
|
10
16
|
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
17
|
#
|
12
|
-
port
|
18
|
+
port ENV.fetch("PORT") { 3000 }
|
13
19
|
|
14
20
|
# Specifies the `environment` that Puma will run in.
|
15
21
|
#
|
16
22
|
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
23
|
|
24
|
+
# Specifies the `pidfile` that Puma will use.
|
25
|
+
pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
|
26
|
+
|
18
27
|
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
-
# Workers are forked
|
28
|
+
# Workers are forked web server processes. If using threads and workers together
|
20
29
|
# the concurrency of the application would be max `threads` * `workers`.
|
21
30
|
# Workers do not work on JRuby or Windows (both of which do not support
|
22
31
|
# processes).
|
@@ -26,31 +35,9 @@ environment ENV.fetch("RAILS_ENV") { "development" }
|
|
26
35
|
# Use the `preload_app!` method when specifying a `workers` number.
|
27
36
|
# This directive tells Puma to first boot the application and load code
|
28
37
|
# before forking the application. This takes advantage of Copy On Write
|
29
|
-
# process behavior so workers use less memory.
|
30
|
-
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
-
# block.
|
38
|
+
# process behavior so workers use less memory.
|
32
39
|
#
|
33
40
|
# preload_app!
|
34
41
|
|
35
|
-
# If you are preloading your application and using Active Record, it's
|
36
|
-
# recommended that you close any connections to the database before workers
|
37
|
-
# are forked to prevent connection leakage.
|
38
|
-
#
|
39
|
-
# before_fork do
|
40
|
-
# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
|
41
|
-
# end
|
42
|
-
|
43
|
-
# The code in the `on_worker_boot` will be called if you are using
|
44
|
-
# clustered mode by specifying a number of `workers`. After each worker
|
45
|
-
# process is booted, this block will be run. If you are using the `preload_app!`
|
46
|
-
# option, you will want to use this block to reconnect to any threads
|
47
|
-
# or connections that may have been created at application boot, as Ruby
|
48
|
-
# cannot share connections between processes.
|
49
|
-
#
|
50
|
-
# on_worker_boot do
|
51
|
-
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
52
|
-
# end
|
53
|
-
#
|
54
|
-
|
55
42
|
# Allow puma to be restarted by `rails restart` command.
|
56
43
|
plugin :tmp_restart
|
@@ -0,0 +1,34 @@
|
|
1
|
+
test:
|
2
|
+
service: Disk
|
3
|
+
root: <%= Rails.root.join("tmp/storage") %>
|
4
|
+
|
5
|
+
local:
|
6
|
+
service: Disk
|
7
|
+
root: <%= Rails.root.join("storage") %>
|
8
|
+
|
9
|
+
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
10
|
+
# amazon:
|
11
|
+
# service: S3
|
12
|
+
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
|
13
|
+
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
|
14
|
+
# region: us-east-1
|
15
|
+
# bucket: your_own_bucket
|
16
|
+
|
17
|
+
# Remember not to checkin your GCS keyfile to a repository
|
18
|
+
# google:
|
19
|
+
# service: GCS
|
20
|
+
# project: your_project
|
21
|
+
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
22
|
+
# bucket: your_own_bucket
|
23
|
+
|
24
|
+
# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
25
|
+
# microsoft:
|
26
|
+
# service: AzureStorage
|
27
|
+
# storage_account_name: your_account_name
|
28
|
+
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
29
|
+
# container: your_container_name
|
30
|
+
|
31
|
+
# mirror:
|
32
|
+
# service: Mirror
|
33
|
+
# primary: local
|
34
|
+
# mirrors: [ amazon, google, microsoft ]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Platanus
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '6.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: '6.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: active_model_serializers
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,6 +235,20 @@ dependencies:
|
|
235
235
|
- - ">="
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: rspec_junit_formatter
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '0'
|
245
|
+
type: :development
|
246
|
+
prerelease: false
|
247
|
+
version_requirements: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ">="
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
238
252
|
- !ruby/object:Gem::Dependency
|
239
253
|
name: rswag-specs
|
240
254
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,14 +297,14 @@ dependencies:
|
|
283
297
|
requirements:
|
284
298
|
- - "~>"
|
285
299
|
- !ruby/object:Gem::Version
|
286
|
-
version: 1.
|
300
|
+
version: 1.4.2
|
287
301
|
type: :development
|
288
302
|
prerelease: false
|
289
303
|
version_requirements: !ruby/object:Gem::Requirement
|
290
304
|
requirements:
|
291
305
|
- - "~>"
|
292
306
|
- !ruby/object:Gem::Version
|
293
|
-
version: 1.
|
307
|
+
version: 1.4.2
|
294
308
|
description: It is a Rails engine that gathers a set of other gems and configurations
|
295
309
|
designed to build incredible APIs
|
296
310
|
email:
|
@@ -300,13 +314,13 @@ executables: []
|
|
300
314
|
extensions: []
|
301
315
|
extra_rdoc_files: []
|
302
316
|
files:
|
317
|
+
- ".circleci/config.yml"
|
318
|
+
- ".circleci/setup-rubygems.sh"
|
303
319
|
- ".coveralls.yml"
|
304
320
|
- ".gitignore"
|
305
|
-
- ".hound.yml"
|
306
321
|
- ".rspec"
|
307
322
|
- ".rubocop.yml"
|
308
323
|
- ".ruby-version"
|
309
|
-
- ".travis.yml"
|
310
324
|
- CHANGELOG.md
|
311
325
|
- Gemfile
|
312
326
|
- Gemfile.lock
|
@@ -321,7 +335,6 @@ files:
|
|
321
335
|
- app/controllers/concerns/api/deprecated.rb
|
322
336
|
- app/controllers/concerns/api/error.rb
|
323
337
|
- app/controllers/concerns/api/filtered.rb
|
324
|
-
- app/controllers/concerns/api/versioned.rb
|
325
338
|
- app/controllers/power_api/base_controller.rb
|
326
339
|
- app/helpers/power_api/application_helper.rb
|
327
340
|
- app/jobs/power_api/application_job.rb
|
@@ -358,8 +371,6 @@ files:
|
|
358
371
|
- power_api.gemspec
|
359
372
|
- spec/dummy/Rakefile
|
360
373
|
- spec/dummy/app/assets/config/manifest.js
|
361
|
-
- spec/dummy/app/assets/javascripts/application.js
|
362
|
-
- spec/dummy/app/assets/javascripts/cable.js
|
363
374
|
- spec/dummy/app/assets/stylesheets/application.css
|
364
375
|
- spec/dummy/app/channels/application_cable/channel.rb
|
365
376
|
- spec/dummy/app/channels/application_cable/connection.rb
|
@@ -367,8 +378,8 @@ files:
|
|
367
378
|
- spec/dummy/app/controllers/concerns/api/deprecated_spec.rb
|
368
379
|
- spec/dummy/app/controllers/concerns/api/error_spec.rb
|
369
380
|
- spec/dummy/app/controllers/concerns/api/filtered_spec.rb
|
370
|
-
- spec/dummy/app/controllers/concerns/api/versioned_spec.rb
|
371
381
|
- spec/dummy/app/helpers/application_helper.rb
|
382
|
+
- spec/dummy/app/javascript/packs/application.js
|
372
383
|
- spec/dummy/app/jobs/application_job.rb
|
373
384
|
- spec/dummy/app/mailers/application_mailer.rb
|
374
385
|
- spec/dummy/app/models/application_record.rb
|
@@ -378,12 +389,9 @@ files:
|
|
378
389
|
- spec/dummy/app/views/layouts/application.html.erb
|
379
390
|
- spec/dummy/app/views/layouts/mailer.html.erb
|
380
391
|
- spec/dummy/app/views/layouts/mailer.text.erb
|
381
|
-
- spec/dummy/bin/bundle
|
382
392
|
- spec/dummy/bin/rails
|
383
393
|
- spec/dummy/bin/rake
|
384
394
|
- spec/dummy/bin/setup
|
385
|
-
- spec/dummy/bin/update
|
386
|
-
- spec/dummy/bin/yarn
|
387
395
|
- spec/dummy/config.ru
|
388
396
|
- spec/dummy/config/application.rb
|
389
397
|
- spec/dummy/config/boot.rb
|
@@ -396,16 +404,17 @@ files:
|
|
396
404
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
397
405
|
- spec/dummy/config/initializers/assets.rb
|
398
406
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
407
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
399
408
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
400
409
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
401
410
|
- spec/dummy/config/initializers/inflections.rb
|
402
411
|
- spec/dummy/config/initializers/mime_types.rb
|
412
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
403
413
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
404
414
|
- spec/dummy/config/locales/en.yml
|
405
415
|
- spec/dummy/config/puma.rb
|
406
416
|
- spec/dummy/config/routes.rb
|
407
|
-
- spec/dummy/config/
|
408
|
-
- spec/dummy/config/spring.rb
|
417
|
+
- spec/dummy/config/storage.yml
|
409
418
|
- spec/dummy/db/migrate/20190322205209_create_blogs.rb
|
410
419
|
- spec/dummy/db/migrate/20200215225917_create_users.rb
|
411
420
|
- spec/dummy/db/migrate/20200227150449_create_portfolios.rb
|
@@ -457,90 +466,86 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
457
466
|
- !ruby/object:Gem::Version
|
458
467
|
version: '0'
|
459
468
|
requirements: []
|
460
|
-
rubygems_version: 3.
|
469
|
+
rubygems_version: 3.1.6
|
461
470
|
signing_key:
|
462
471
|
specification_version: 4
|
463
472
|
summary: Set of other gems and configurations designed to build incredible APIs
|
464
473
|
test_files:
|
465
|
-
- spec/
|
466
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
467
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
468
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
469
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
470
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
471
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
472
|
-
- spec/dummy/app/jobs/application_job.rb
|
473
|
-
- spec/dummy/app/models/blog.rb
|
474
|
-
- spec/dummy/app/models/application_record.rb
|
475
|
-
- spec/dummy/app/models/user.rb
|
476
|
-
- spec/dummy/app/models/portfolio.rb
|
477
|
-
- spec/dummy/app/helpers/application_helper.rb
|
478
|
-
- spec/dummy/app/assets/javascripts/application.js
|
479
|
-
- spec/dummy/app/assets/javascripts/cable.js
|
480
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
474
|
+
- spec/dummy/Rakefile
|
481
475
|
- spec/dummy/app/assets/config/manifest.js
|
476
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
477
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
478
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
482
479
|
- spec/dummy/app/controllers/application_controller.rb
|
483
480
|
- spec/dummy/app/controllers/concerns/api/deprecated_spec.rb
|
484
|
-
- spec/dummy/app/controllers/concerns/api/filtered_spec.rb
|
485
481
|
- spec/dummy/app/controllers/concerns/api/error_spec.rb
|
486
|
-
- spec/dummy/app/controllers/concerns/api/
|
487
|
-
- spec/dummy/
|
488
|
-
- spec/dummy/
|
489
|
-
- spec/dummy/
|
490
|
-
- spec/dummy/
|
491
|
-
- spec/dummy/
|
482
|
+
- spec/dummy/app/controllers/concerns/api/filtered_spec.rb
|
483
|
+
- spec/dummy/app/helpers/application_helper.rb
|
484
|
+
- spec/dummy/app/javascript/packs/application.js
|
485
|
+
- spec/dummy/app/jobs/application_job.rb
|
486
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
487
|
+
- spec/dummy/app/models/application_record.rb
|
488
|
+
- spec/dummy/app/models/blog.rb
|
489
|
+
- spec/dummy/app/models/portfolio.rb
|
490
|
+
- spec/dummy/app/models/user.rb
|
491
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
492
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
493
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
492
494
|
- spec/dummy/bin/rails
|
495
|
+
- spec/dummy/bin/rake
|
493
496
|
- spec/dummy/bin/setup
|
494
|
-
- spec/dummy/spec/lib/power_api/generator_helper/controller_actions_helper_spec.rb
|
495
|
-
- spec/dummy/spec/lib/power_api/generator_helper/simple_token_auth_helper_spec.rb
|
496
|
-
- spec/dummy/spec/lib/power_api/generator_helper/pagination_helper_spec.rb
|
497
|
-
- spec/dummy/spec/lib/power_api/generator_helper/swagger_helper_spec.rb
|
498
|
-
- spec/dummy/spec/lib/power_api/generator_helper/resource_helper_spec.rb
|
499
|
-
- spec/dummy/spec/lib/power_api/generator_helper/controller_helper_spec.rb
|
500
|
-
- spec/dummy/spec/lib/power_api/generator_helper/version_helper_spec.rb
|
501
|
-
- spec/dummy/spec/lib/power_api/generator_helper/ams_helper_spec.rb
|
502
|
-
- spec/dummy/spec/lib/power_api/generator_helper/routes_helper_spec.rb
|
503
|
-
- spec/dummy/spec/support/test_helpers.rb
|
504
|
-
- spec/dummy/spec/support/shared_examples/active_record_resource.rb
|
505
|
-
- spec/dummy/spec/support/shared_examples/active_record_resource_atrributes.rb
|
506
|
-
- spec/dummy/spec/support/test_generator_helpers.rb
|
507
|
-
- spec/dummy/spec/assets/image.png
|
508
|
-
- spec/dummy/spec/assets/video.mp4
|
509
|
-
- spec/dummy/spec/factories/users.rb
|
510
|
-
- spec/dummy/spec/factories/blogs.rb
|
511
|
-
- spec/dummy/spec/factories/portfolios.rb
|
512
|
-
- spec/dummy/public/404.html
|
513
|
-
- spec/dummy/public/500.html
|
514
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
515
|
-
- spec/dummy/public/422.html
|
516
|
-
- spec/dummy/public/apple-touch-icon.png
|
517
|
-
- spec/dummy/public/favicon.ico
|
518
497
|
- spec/dummy/config.ru
|
519
|
-
- spec/dummy/db/migrate/20200227150449_create_portfolios.rb
|
520
|
-
- spec/dummy/db/migrate/20200215225917_create_users.rb
|
521
|
-
- spec/dummy/db/migrate/20190322205209_create_blogs.rb
|
522
|
-
- spec/dummy/db/migrate/20200227150548_add_portfolio_id_blogs.rb
|
523
|
-
- spec/dummy/db/schema.rb
|
524
|
-
- spec/dummy/config/routes.rb
|
525
|
-
- spec/dummy/config/environment.rb
|
526
|
-
- spec/dummy/config/spring.rb
|
527
|
-
- spec/dummy/config/cable.yml
|
528
|
-
- spec/dummy/config/secrets.yml
|
529
498
|
- spec/dummy/config/application.rb
|
530
499
|
- spec/dummy/config/boot.rb
|
531
|
-
- spec/dummy/config/
|
500
|
+
- spec/dummy/config/cable.yml
|
501
|
+
- spec/dummy/config/database.yml
|
502
|
+
- spec/dummy/config/environment.rb
|
532
503
|
- spec/dummy/config/environments/development.rb
|
533
504
|
- spec/dummy/config/environments/production.rb
|
534
|
-
- spec/dummy/config/
|
535
|
-
- spec/dummy/config/puma.rb
|
536
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
537
|
-
- spec/dummy/config/initializers/mime_types.rb
|
538
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
539
|
-
- spec/dummy/config/initializers/assets.rb
|
505
|
+
- spec/dummy/config/environments/test.rb
|
540
506
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
541
|
-
- spec/dummy/config/initializers/
|
542
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
507
|
+
- spec/dummy/config/initializers/assets.rb
|
543
508
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
544
|
-
- spec/dummy/config/
|
509
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
510
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
511
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
512
|
+
- spec/dummy/config/initializers/inflections.rb
|
513
|
+
- spec/dummy/config/initializers/mime_types.rb
|
514
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
515
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
516
|
+
- spec/dummy/config/locales/en.yml
|
517
|
+
- spec/dummy/config/puma.rb
|
518
|
+
- spec/dummy/config/routes.rb
|
519
|
+
- spec/dummy/config/storage.yml
|
520
|
+
- spec/dummy/db/migrate/20190322205209_create_blogs.rb
|
521
|
+
- spec/dummy/db/migrate/20200215225917_create_users.rb
|
522
|
+
- spec/dummy/db/migrate/20200227150449_create_portfolios.rb
|
523
|
+
- spec/dummy/db/migrate/20200227150548_add_portfolio_id_blogs.rb
|
524
|
+
- spec/dummy/db/schema.rb
|
545
525
|
- spec/dummy/package.json
|
526
|
+
- spec/dummy/public/404.html
|
527
|
+
- spec/dummy/public/422.html
|
528
|
+
- spec/dummy/public/500.html
|
529
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
530
|
+
- spec/dummy/public/apple-touch-icon.png
|
531
|
+
- spec/dummy/public/favicon.ico
|
532
|
+
- spec/dummy/spec/assets/image.png
|
533
|
+
- spec/dummy/spec/assets/video.mp4
|
534
|
+
- spec/dummy/spec/factories/blogs.rb
|
535
|
+
- spec/dummy/spec/factories/portfolios.rb
|
536
|
+
- spec/dummy/spec/factories/users.rb
|
537
|
+
- spec/dummy/spec/lib/power_api/generator_helper/ams_helper_spec.rb
|
538
|
+
- spec/dummy/spec/lib/power_api/generator_helper/controller_actions_helper_spec.rb
|
539
|
+
- spec/dummy/spec/lib/power_api/generator_helper/controller_helper_spec.rb
|
540
|
+
- spec/dummy/spec/lib/power_api/generator_helper/pagination_helper_spec.rb
|
541
|
+
- spec/dummy/spec/lib/power_api/generator_helper/resource_helper_spec.rb
|
542
|
+
- spec/dummy/spec/lib/power_api/generator_helper/routes_helper_spec.rb
|
543
|
+
- spec/dummy/spec/lib/power_api/generator_helper/simple_token_auth_helper_spec.rb
|
544
|
+
- spec/dummy/spec/lib/power_api/generator_helper/swagger_helper_spec.rb
|
545
|
+
- spec/dummy/spec/lib/power_api/generator_helper/version_helper_spec.rb
|
546
|
+
- spec/dummy/spec/support/shared_examples/active_record_resource.rb
|
547
|
+
- spec/dummy/spec/support/shared_examples/active_record_resource_atrributes.rb
|
548
|
+
- spec/dummy/spec/support/test_generator_helpers.rb
|
549
|
+
- spec/dummy/spec/support/test_helpers.rb
|
546
550
|
- spec/rails_helper.rb
|
551
|
+
- spec/spec_helper.rb
|