ddd_domain 1.2.4 → 1.3.1

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ddd_domain/version.rb +1 -1
  3. data/lib/generators/domains/USAGE +11 -4
  4. data/test/ddd_domain_test.rb +3 -3
  5. data/test/dummy/Rakefile +1 -1
  6. data/test/dummy/app/assets/stylesheets/application.css +1 -15
  7. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  8. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  9. data/test/dummy/app/controllers/application_controller.rb +0 -3
  10. data/test/dummy/app/jobs/application_job.rb +7 -0
  11. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  12. data/test/dummy/app/models/application_record.rb +3 -0
  13. data/test/dummy/app/views/layouts/application.html.erb +10 -9
  14. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  15. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  16. data/test/dummy/bin/rails +3 -3
  17. data/test/dummy/bin/rake +2 -2
  18. data/test/dummy/bin/setup +16 -12
  19. data/test/dummy/config/application.rb +12 -16
  20. data/test/dummy/config/boot.rb +3 -3
  21. data/test/dummy/config/cable.yml +10 -0
  22. data/test/dummy/config/database.yml +3 -3
  23. data/test/dummy/config/environment.rb +1 -1
  24. data/test/dummy/config/environments/development.rb +45 -18
  25. data/test/dummy/config/environments/production.rb +38 -30
  26. data/test/dummy/config/environments/test.rb +34 -16
  27. data/test/dummy/config/initializers/content_security_policy.rb +26 -0
  28. data/test/dummy/config/initializers/filter_parameter_logging.rb +6 -2
  29. data/test/dummy/config/initializers/inflections.rb +4 -4
  30. data/test/dummy/config/initializers/permissions_policy.rb +11 -0
  31. data/test/dummy/config/locales/en.yml +13 -3
  32. data/test/dummy/config/puma.rb +43 -0
  33. data/test/dummy/config/routes.rb +3 -53
  34. data/test/dummy/config/storage.yml +34 -0
  35. data/test/dummy/config.ru +3 -1
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/log/test.log +8 -0
  38. data/test/dummy/public/404.html +6 -6
  39. data/test/dummy/public/422.html +6 -6
  40. data/test/dummy/public/500.html +6 -6
  41. data/test/dummy/public/apple-touch-icon.png +0 -0
  42. data/test/dummy/tmp/local_secret.txt +1 -0
  43. data/test/test_helper.rb +4 -10
  44. metadata +41 -32
  45. data/test/dummy/README.rdoc +0 -28
  46. data/test/dummy/app/assets/javascripts/application.js +0 -13
  47. data/test/dummy/bin/bundle +0 -3
  48. data/test/dummy/config/initializers/assets.rb +0 -11
  49. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  50. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  51. data/test/dummy/config/initializers/mime_types.rb +0 -4
  52. data/test/dummy/config/initializers/session_store.rb +0 -3
  53. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  54. data/test/dummy/config/secrets.yml +0 -22
  55. /data/test/dummy/{app/assets/config/manifest.js → public/apple-touch-icon-precomposed.png} +0 -0
@@ -4,13 +4,13 @@
4
4
  # are locale specific, and you may define rules for as many different
5
5
  # locales as you wish. All of these examples are active by default:
6
6
  # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
7
+ # inflect.plural /^(ox)$/i, "\\1en"
8
+ # inflect.singular /^(ox)en/i, "\\1"
9
+ # inflect.irregular "person", "people"
10
10
  # inflect.uncountable %w( fish sheep )
11
11
  # end
12
12
 
13
13
  # These inflection rules are supported but not enabled by default:
14
14
  # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
15
+ # inflect.acronym "RESTful"
16
16
  # end
@@ -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
@@ -4,11 +4,11 @@
4
4
  #
5
5
  # To use the locales, use `I18n.t`:
6
6
  #
7
- # I18n.t 'hello'
7
+ # I18n.t "hello"
8
8
  #
9
9
  # In views, this is aliased to just `t`:
10
10
  #
11
- # <%= t('hello') %>
11
+ # <%= t("hello") %>
12
12
  #
13
13
  # To use a different locale, set it with `I18n.locale`:
14
14
  #
@@ -16,8 +16,18 @@
16
16
  #
17
17
  # This would use the information in config/locales/es.yml.
18
18
  #
19
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # "true": "foo"
28
+ #
19
29
  # To learn more, please read the Rails Internationalization guide
20
- # available at http://guides.rubyonrails.org/i18n.html.
30
+ # available at https://guides.rubyonrails.org/i18n.html.
21
31
 
22
32
  en:
23
33
  hello: "Hello world"
@@ -0,0 +1,43 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
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"
15
+
16
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
17
+ #
18
+ port ENV.fetch("PORT") { 3000 }
19
+
20
+ # Specifies the `environment` that Puma will run in.
21
+ #
22
+ environment ENV.fetch("RAILS_ENV") { "development" }
23
+
24
+ # Specifies the `pidfile` that Puma will use.
25
+ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
26
+
27
+ # Specifies the number of `workers` to boot in clustered mode.
28
+ # Workers are forked web server processes. If using threads and workers together
29
+ # the concurrency of the application would be max `threads` * `workers`.
30
+ # Workers do not work on JRuby or Windows (both of which do not support
31
+ # processes).
32
+ #
33
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
34
+
35
+ # Use the `preload_app!` method when specifying a `workers` number.
36
+ # This directive tells Puma to first boot the application and load code
37
+ # before forking the application. This takes advantage of Copy On Write
38
+ # process behavior so workers use less memory.
39
+ #
40
+ # preload_app!
41
+
42
+ # Allow puma to be restarted by `bin/rails restart` command.
43
+ plugin :tmp_restart
@@ -1,56 +1,6 @@
1
1
  Rails.application.routes.draw do
2
- # The priority is based upon order of creation: first created -> highest priority.
3
- # See how all your routes lay out with "rake routes".
2
+ # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
4
3
 
5
- # You can have the root of your site routed with "root"
6
- # root 'welcome#index'
7
-
8
- # Example of regular route:
9
- # get 'products/:id' => 'catalog#view'
10
-
11
- # Example of named route that can be invoked with purchase_url(id: product.id)
12
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
-
14
- # Example resource route (maps HTTP verbs to controller actions automatically):
15
- # resources :products
16
-
17
- # Example resource route with options:
18
- # resources :products do
19
- # member do
20
- # get 'short'
21
- # post 'toggle'
22
- # end
23
- #
24
- # collection do
25
- # get 'sold'
26
- # end
27
- # end
28
-
29
- # Example resource route with sub-resources:
30
- # resources :products do
31
- # resources :comments, :sales
32
- # resource :seller
33
- # end
34
-
35
- # Example resource route with more complex sub-resources:
36
- # resources :products do
37
- # resources :comments
38
- # resources :sales do
39
- # get 'recent', on: :collection
40
- # end
41
- # end
42
-
43
- # Example resource route with concerns:
44
- # concern :toggleable do
45
- # post 'toggle'
46
- # end
47
- # resources :posts, concerns: :toggleable
48
- # resources :photos, concerns: :toggleable
49
-
50
- # Example resource route within a namespace:
51
- # namespace :admin do
52
- # # Directs /admin/products/* to Admin::ProductsController
53
- # # (app/controllers/admin/products_controller.rb)
54
- # resources :products
55
- # end
4
+ # Defines the root path route ("/")
5
+ # root "articles#index"
56
6
  end
@@ -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 bin/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-<%= Rails.env %>
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-<%= Rails.env %>
23
+
24
+ # Use bin/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-<%= Rails.env %>
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
data/test/dummy/config.ru CHANGED
@@ -1,4 +1,6 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
- require ::File.expand_path('../config/environment', __FILE__)
3
+ require_relative "config/environment"
4
+
4
5
  run Rails.application
6
+ Rails.application.load_server
Binary file
@@ -0,0 +1,8 @@
1
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2
+  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4
+ TRANSACTION (0.0ms) begin transaction
5
+ -------------------------------------------
6
+ DddDomainTest: test_it_has_a_version_number
7
+ -------------------------------------------
8
+ TRANSACTION (0.1ms) rollback transaction
@@ -4,7 +4,7 @@
4
4
  <title>The page you were looking for doesn't exist (404)</title>
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
6
  <style>
7
- body {
7
+ .rails-default-error-page {
8
8
  background-color: #EFEFEF;
9
9
  color: #2E2F30;
10
10
  text-align: center;
@@ -12,13 +12,13 @@
12
12
  margin: 0;
13
13
  }
14
14
 
15
- div.dialog {
15
+ .rails-default-error-page div.dialog {
16
16
  width: 95%;
17
17
  max-width: 33em;
18
18
  margin: 4em auto 0;
19
19
  }
20
20
 
21
- div.dialog > div {
21
+ .rails-default-error-page div.dialog > div {
22
22
  border: 1px solid #CCC;
23
23
  border-right-color: #999;
24
24
  border-left-color: #999;
@@ -31,13 +31,13 @@
31
31
  box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
32
  }
33
33
 
34
- h1 {
34
+ .rails-default-error-page h1 {
35
35
  font-size: 100%;
36
36
  color: #730E15;
37
37
  line-height: 1.5em;
38
38
  }
39
39
 
40
- div.dialog > p {
40
+ .rails-default-error-page div.dialog > p {
41
41
  margin: 0 0 1em;
42
42
  padding: 1em;
43
43
  background-color: #F7F7F7;
@@ -54,7 +54,7 @@
54
54
  </style>
55
55
  </head>
56
56
 
57
- <body>
57
+ <body class="rails-default-error-page">
58
58
  <!-- This file lives in public/404.html -->
59
59
  <div class="dialog">
60
60
  <div>
@@ -4,7 +4,7 @@
4
4
  <title>The change you wanted was rejected (422)</title>
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
6
  <style>
7
- body {
7
+ .rails-default-error-page {
8
8
  background-color: #EFEFEF;
9
9
  color: #2E2F30;
10
10
  text-align: center;
@@ -12,13 +12,13 @@
12
12
  margin: 0;
13
13
  }
14
14
 
15
- div.dialog {
15
+ .rails-default-error-page div.dialog {
16
16
  width: 95%;
17
17
  max-width: 33em;
18
18
  margin: 4em auto 0;
19
19
  }
20
20
 
21
- div.dialog > div {
21
+ .rails-default-error-page div.dialog > div {
22
22
  border: 1px solid #CCC;
23
23
  border-right-color: #999;
24
24
  border-left-color: #999;
@@ -31,13 +31,13 @@
31
31
  box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
32
  }
33
33
 
34
- h1 {
34
+ .rails-default-error-page h1 {
35
35
  font-size: 100%;
36
36
  color: #730E15;
37
37
  line-height: 1.5em;
38
38
  }
39
39
 
40
- div.dialog > p {
40
+ .rails-default-error-page div.dialog > p {
41
41
  margin: 0 0 1em;
42
42
  padding: 1em;
43
43
  background-color: #F7F7F7;
@@ -54,7 +54,7 @@
54
54
  </style>
55
55
  </head>
56
56
 
57
- <body>
57
+ <body class="rails-default-error-page">
58
58
  <!-- This file lives in public/422.html -->
59
59
  <div class="dialog">
60
60
  <div>
@@ -4,7 +4,7 @@
4
4
  <title>We're sorry, but something went wrong (500)</title>
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
6
  <style>
7
- body {
7
+ .rails-default-error-page {
8
8
  background-color: #EFEFEF;
9
9
  color: #2E2F30;
10
10
  text-align: center;
@@ -12,13 +12,13 @@
12
12
  margin: 0;
13
13
  }
14
14
 
15
- div.dialog {
15
+ .rails-default-error-page div.dialog {
16
16
  width: 95%;
17
17
  max-width: 33em;
18
18
  margin: 4em auto 0;
19
19
  }
20
20
 
21
- div.dialog > div {
21
+ .rails-default-error-page div.dialog > div {
22
22
  border: 1px solid #CCC;
23
23
  border-right-color: #999;
24
24
  border-left-color: #999;
@@ -31,13 +31,13 @@
31
31
  box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
32
  }
33
33
 
34
- h1 {
34
+ .rails-default-error-page h1 {
35
35
  font-size: 100%;
36
36
  color: #730E15;
37
37
  line-height: 1.5em;
38
38
  }
39
39
 
40
- div.dialog > p {
40
+ .rails-default-error-page div.dialog > p {
41
41
  margin: 0 0 1em;
42
42
  padding: 1em;
43
43
  background-color: #F7F7F7;
@@ -54,7 +54,7 @@
54
54
  </style>
55
55
  </head>
56
56
 
57
- <body>
57
+ <body class="rails-default-error-page">
58
58
  <!-- This file lives in public/500.html -->
59
59
  <div class="dialog">
60
60
  <div>
File without changes
@@ -0,0 +1 @@
1
+ c99d1e0735c34846656b81c0713443a1cf210b28c318ec5fa6182dc8ae13c2404ecc2895b95ce0a3d3554df9968d613c6af2c63805ad01072b23240d37690c4c
data/test/test_helper.rb CHANGED
@@ -1,20 +1,14 @@
1
1
  # Configure Rails Environment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
- require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
- ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
4
+ require_relative "../test/dummy/config/environment"
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
6
6
  require "rails/test_help"
7
7
 
8
- # Filter out Minitest backtrace while allowing backtrace from other libraries
9
- # to be shown.
10
- Minitest.backtrace_filter = Minitest::BacktraceFilter.new
11
-
12
- # Load support files
13
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
14
-
15
8
  # Load fixtures from the engine
16
9
  if ActiveSupport::TestCase.respond_to?(:fixture_path=)
17
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
10
+ ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
18
11
  ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
12
+ ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
19
13
  ActiveSupport::TestCase.fixtures :all
20
14
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddd_domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - FUNABARA Masao
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 6.0.0
18
+ version: '7.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 6.0.0
25
+ version: '7.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: sqlite3
29
28
  requirement: !ruby/object:Gem::Requirement
@@ -67,47 +66,52 @@ files:
67
66
  - lib/generators/domains/domains_generator.rb
68
67
  - lib/tasks/ddd_domain_tasks.rake
69
68
  - test/ddd_domain_test.rb
70
- - test/dummy/README.rdoc
71
69
  - test/dummy/Rakefile
72
- - test/dummy/app/assets/config/manifest.js
73
- - test/dummy/app/assets/javascripts/application.js
74
70
  - test/dummy/app/assets/stylesheets/application.css
71
+ - test/dummy/app/channels/application_cable/channel.rb
72
+ - test/dummy/app/channels/application_cable/connection.rb
75
73
  - test/dummy/app/controllers/application_controller.rb
76
74
  - test/dummy/app/helpers/application_helper.rb
75
+ - test/dummy/app/jobs/application_job.rb
76
+ - test/dummy/app/mailers/application_mailer.rb
77
+ - test/dummy/app/models/application_record.rb
77
78
  - test/dummy/app/views/layouts/application.html.erb
78
- - test/dummy/bin/bundle
79
+ - test/dummy/app/views/layouts/mailer.html.erb
80
+ - test/dummy/app/views/layouts/mailer.text.erb
79
81
  - test/dummy/bin/rails
80
82
  - test/dummy/bin/rake
81
83
  - test/dummy/bin/setup
82
84
  - test/dummy/config.ru
83
85
  - test/dummy/config/application.rb
84
86
  - test/dummy/config/boot.rb
87
+ - test/dummy/config/cable.yml
85
88
  - test/dummy/config/database.yml
86
89
  - test/dummy/config/environment.rb
87
90
  - test/dummy/config/environments/development.rb
88
91
  - test/dummy/config/environments/production.rb
89
92
  - test/dummy/config/environments/test.rb
90
- - test/dummy/config/initializers/assets.rb
91
- - test/dummy/config/initializers/backtrace_silencers.rb
92
- - test/dummy/config/initializers/cookies_serializer.rb
93
+ - test/dummy/config/initializers/content_security_policy.rb
93
94
  - test/dummy/config/initializers/filter_parameter_logging.rb
94
95
  - test/dummy/config/initializers/inflections.rb
95
- - test/dummy/config/initializers/mime_types.rb
96
- - test/dummy/config/initializers/session_store.rb
97
- - test/dummy/config/initializers/wrap_parameters.rb
96
+ - test/dummy/config/initializers/permissions_policy.rb
98
97
  - test/dummy/config/locales/en.yml
98
+ - test/dummy/config/puma.rb
99
99
  - test/dummy/config/routes.rb
100
- - test/dummy/config/secrets.yml
100
+ - test/dummy/config/storage.yml
101
+ - test/dummy/db/test.sqlite3
102
+ - test/dummy/log/test.log
101
103
  - test/dummy/public/404.html
102
104
  - test/dummy/public/422.html
103
105
  - test/dummy/public/500.html
106
+ - test/dummy/public/apple-touch-icon-precomposed.png
107
+ - test/dummy/public/apple-touch-icon.png
104
108
  - test/dummy/public/favicon.ico
109
+ - test/dummy/tmp/local_secret.txt
105
110
  - test/test_helper.rb
106
111
  homepage: https://github.com/masoo/ddd_domain
107
112
  licenses:
108
113
  - MIT
109
114
  metadata: {}
110
- post_install_message:
111
115
  rdoc_options: []
112
116
  require_paths:
113
117
  - lib
@@ -115,52 +119,57 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
119
  requirements:
116
120
  - - ">="
117
121
  - !ruby/object:Gem::Version
118
- version: '0'
122
+ version: 2.7.0
119
123
  required_rubygems_version: !ruby/object:Gem::Requirement
120
124
  requirements:
121
125
  - - ">="
122
126
  - !ruby/object:Gem::Version
123
127
  version: '0'
124
128
  requirements: []
125
- rubygems_version: 3.2.32
126
- signing_key:
129
+ rubygems_version: 3.6.9
127
130
  specification_version: 4
128
131
  summary: It supports the domain of Domain Driven Design.
129
132
  test_files:
130
133
  - test/ddd_domain_test.rb
131
- - test/dummy/README.rdoc
132
134
  - test/dummy/Rakefile
133
- - test/dummy/app/assets/config/manifest.js
134
- - test/dummy/app/assets/javascripts/application.js
135
135
  - test/dummy/app/assets/stylesheets/application.css
136
+ - test/dummy/app/channels/application_cable/channel.rb
137
+ - test/dummy/app/channels/application_cable/connection.rb
136
138
  - test/dummy/app/controllers/application_controller.rb
137
139
  - test/dummy/app/helpers/application_helper.rb
140
+ - test/dummy/app/jobs/application_job.rb
141
+ - test/dummy/app/mailers/application_mailer.rb
142
+ - test/dummy/app/models/application_record.rb
138
143
  - test/dummy/app/views/layouts/application.html.erb
139
- - test/dummy/bin/bundle
144
+ - test/dummy/app/views/layouts/mailer.html.erb
145
+ - test/dummy/app/views/layouts/mailer.text.erb
140
146
  - test/dummy/bin/rails
141
147
  - test/dummy/bin/rake
142
148
  - test/dummy/bin/setup
149
+ - test/dummy/config.ru
143
150
  - test/dummy/config/application.rb
144
151
  - test/dummy/config/boot.rb
152
+ - test/dummy/config/cable.yml
145
153
  - test/dummy/config/database.yml
146
154
  - test/dummy/config/environment.rb
147
155
  - test/dummy/config/environments/development.rb
148
156
  - test/dummy/config/environments/production.rb
149
157
  - test/dummy/config/environments/test.rb
150
- - test/dummy/config/initializers/assets.rb
151
- - test/dummy/config/initializers/backtrace_silencers.rb
152
- - test/dummy/config/initializers/cookies_serializer.rb
158
+ - test/dummy/config/initializers/content_security_policy.rb
153
159
  - test/dummy/config/initializers/filter_parameter_logging.rb
154
160
  - test/dummy/config/initializers/inflections.rb
155
- - test/dummy/config/initializers/mime_types.rb
156
- - test/dummy/config/initializers/session_store.rb
157
- - test/dummy/config/initializers/wrap_parameters.rb
161
+ - test/dummy/config/initializers/permissions_policy.rb
158
162
  - test/dummy/config/locales/en.yml
163
+ - test/dummy/config/puma.rb
159
164
  - test/dummy/config/routes.rb
160
- - test/dummy/config/secrets.yml
161
- - test/dummy/config.ru
165
+ - test/dummy/config/storage.yml
166
+ - test/dummy/db/test.sqlite3
167
+ - test/dummy/log/test.log
162
168
  - test/dummy/public/404.html
163
169
  - test/dummy/public/422.html
164
170
  - test/dummy/public/500.html
171
+ - test/dummy/public/apple-touch-icon-precomposed.png
172
+ - test/dummy/public/apple-touch-icon.png
165
173
  - test/dummy/public/favicon.ico
174
+ - test/dummy/tmp/local_secret.txt
166
175
  - test/test_helper.rb
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,11 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
- # Rails.application.config.assets.precompile += %w( search.js )
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
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| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'