ddd_domain 1.3.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e364b08acdafc7b684679449ba427231bfd36ee517c0b425dd3a38eb5b95a4a
4
- data.tar.gz: c8303dd7c1e2939f4081861edc72bc8840c2e06f24931ddd8d95f7a90bf99fd2
3
+ metadata.gz: be5ca75dbb7af8dacb35dca6f4f3feed25212169aada2cd6ab6d97dd34b4e666
4
+ data.tar.gz: 9106bdd714e91fa0ec01ccce868ba7ce12608befdf9ec94eaa3afa6c9e080d5d
5
5
  SHA512:
6
- metadata.gz: c9d8440cbb15cc5a2e1a1f9b4e0029fb01d0609a44e9441f82b2cb5d8bcf9479f1de6a2b8555bc4e858c289900aa5cdb9222c0edf3dee3e3f7b0ce43c66fdc88
7
- data.tar.gz: c2f74f060a6377105a8ce155bd635d0892867c02e410a79c969055259b93b825a92227aaae7b45c4c6c76c535c410cbe0ee03f54086016428441eaa432b19067
6
+ metadata.gz: 340876b83a72ff4a64014fa8d16973c36e56e5dc1c04e1cb3a541c0f01335781237b64c7e1cee7201dd3ea953958660eab4604cd3e7e3efbccf8818afdd7272d
7
+ data.tar.gz: f84e846fbe47b1909f630ef001f6de20f90bad7f2af0f726479b3a55f337660813ef892feb7e64bf35734c74371fcf82378a57f7fe2bf1a0946af2118b761ad2
@@ -1,3 +1,3 @@
1
1
  module DddDomain
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
@@ -1,8 +1,15 @@
1
1
  Description:
2
- Explain the generator
2
+ Domain Driven Design(DDD)のドメイン構造を作成するジェネレーターです。
3
+ 指定された名前でドメインディレクトリを app/domains 配下に作成します。
3
4
 
4
5
  Example:
5
- rails generate domains Thing
6
+ rails generate domains user
7
+ rails generate domains order
8
+ rails generate domains product
6
9
 
7
- This will create:
8
- what/will/it/create
10
+ これにより以下が作成されます:
11
+ app/domains/[domain_name]/
12
+ app/domains/[domain_name]/.keep
13
+
14
+ 作成されたディレクトリには、DDDのドメインロジック(エンティティ、
15
+ 値オブジェクト、ドメインサービスなど)を配置することができます。
Binary file
@@ -1,6 +1,8 @@
1
-  (1.2ms) SELECT sqlite_version(*)
2
- TRANSACTION (0.1ms) begin transaction
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
3
5
  -------------------------------------------
4
6
  DddDomainTest: test_it_has_a_version_number
5
7
  -------------------------------------------
6
- TRANSACTION (0.0ms) rollback transaction
8
+ TRANSACTION (0.1ms) rollback transaction
@@ -0,0 +1 @@
1
+ c99d1e0735c34846656b81c0713443a1cf210b28c318ec5fa6182dc8ae13c2404ecc2895b95ce0a3d3554df9968d613c6af2c63805ad01072b23240d37690c4c
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.3.0
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
@@ -107,13 +106,12 @@ files:
107
106
  - test/dummy/public/apple-touch-icon-precomposed.png
108
107
  - test/dummy/public/apple-touch-icon.png
109
108
  - test/dummy/public/favicon.ico
110
- - test/dummy/tmp/development_secret.txt
109
+ - test/dummy/tmp/local_secret.txt
111
110
  - test/test_helper.rb
112
111
  homepage: https://github.com/masoo/ddd_domain
113
112
  licenses:
114
113
  - MIT
115
114
  metadata: {}
116
- post_install_message:
117
115
  rdoc_options: []
118
116
  require_paths:
119
117
  - lib
@@ -121,15 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
119
  requirements:
122
120
  - - ">="
123
121
  - !ruby/object:Gem::Version
124
- version: '0'
122
+ version: 2.7.0
125
123
  required_rubygems_version: !ruby/object:Gem::Requirement
126
124
  requirements:
127
125
  - - ">="
128
126
  - !ruby/object:Gem::Version
129
127
  version: '0'
130
128
  requirements: []
131
- rubygems_version: 3.2.32
132
- signing_key:
129
+ rubygems_version: 3.6.9
133
130
  specification_version: 4
134
131
  summary: It supports the domain of Domain Driven Design.
135
132
  test_files:
@@ -149,6 +146,7 @@ test_files:
149
146
  - test/dummy/bin/rails
150
147
  - test/dummy/bin/rake
151
148
  - test/dummy/bin/setup
149
+ - test/dummy/config.ru
152
150
  - test/dummy/config/application.rb
153
151
  - test/dummy/config/boot.rb
154
152
  - test/dummy/config/cable.yml
@@ -165,7 +163,6 @@ test_files:
165
163
  - test/dummy/config/puma.rb
166
164
  - test/dummy/config/routes.rb
167
165
  - test/dummy/config/storage.yml
168
- - test/dummy/config.ru
169
166
  - test/dummy/db/test.sqlite3
170
167
  - test/dummy/log/test.log
171
168
  - test/dummy/public/404.html
@@ -174,5 +171,5 @@ test_files:
174
171
  - test/dummy/public/apple-touch-icon-precomposed.png
175
172
  - test/dummy/public/apple-touch-icon.png
176
173
  - test/dummy/public/favicon.ico
177
- - test/dummy/tmp/development_secret.txt
174
+ - test/dummy/tmp/local_secret.txt
178
175
  - test/test_helper.rb
@@ -1 +0,0 @@
1
- 5074834c1a2465d0be7d149cc2415f8149afbfbaa92152cc0c718d12117e0492a824b4405bfe31cad5eec0f6cfa09c3a90ab047b2eabdf8250b7641527b3aff8