ddd_domain 1.1.8 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ddd_domain/version.rb +1 -1
- data/lib/generators/domains/domains_generator.rb +0 -16
- metadata +33 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29ef9bb8b391b5510d90d71c7c5e81ea829be8bb5275729a94fe4b97d9c607a
|
4
|
+
data.tar.gz: 3abd5e665cdf5fbf34994ef595a5b53c2eed58ad88314d18b55682c3199a522e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20f675f41ded24bdba3ddbfc249cda0a3485d5033460439cb85dd3239047349fc00aa0c75c260bfc1795ab530ad7cc30b94d690d72f2d7c06f34c13287490f13
|
7
|
+
data.tar.gz: 72228843a15d0b282a03b9653a84fb27c498b2d7e85052ca5dd85a62d99d738acfa64503429c2f9fc3d84a33123694b4adf3c55d9528f09d02c069f766fe7016
|
data/lib/ddd_domain/version.rb
CHANGED
@@ -4,21 +4,5 @@ class DomainsGenerator < Rails::Generators::NamedBase
|
|
4
4
|
def create_initializer_file
|
5
5
|
empty_directory "app/domains/#{file_name}"
|
6
6
|
create_file "app/domains/#{file_name}/.keep"
|
7
|
-
|
8
|
-
if File.exists? "config/initializers/ddd_domain.rb"
|
9
|
-
inject_into_file 'config/initializers/ddd_domain.rb', :before => "end" do
|
10
|
-
<<-"RUBY"
|
11
|
-
config.paths.add 'app/domains/#{file_name}', eager_load: true
|
12
|
-
RUBY
|
13
|
-
end
|
14
|
-
else
|
15
|
-
create_file 'config/initializers/ddd_domain.rb' do
|
16
|
-
<<~"RUBY"
|
17
|
-
Rails.configuration do |config|
|
18
|
-
config.paths.add 'app/domains/#{file_name}', eager_load: true
|
19
|
-
end
|
20
|
-
RUBY
|
21
|
-
end
|
22
|
-
end
|
23
7
|
end
|
24
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddd_domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FUNABARA Masao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
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:
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,45 +122,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
125
|
+
rubygems_version: 3.0.3
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: It supports the domain of Domain Driven Design.
|
129
129
|
test_files:
|
130
130
|
- test/ddd_domain_test.rb
|
131
|
-
- test/
|
132
|
-
- test/dummy/
|
133
|
-
- test/dummy/
|
134
|
-
- test/dummy/
|
135
|
-
- test/dummy/
|
131
|
+
- test/test_helper.rb
|
132
|
+
- test/dummy/config.ru
|
133
|
+
- test/dummy/public/500.html
|
134
|
+
- test/dummy/public/404.html
|
135
|
+
- test/dummy/public/422.html
|
136
|
+
- test/dummy/public/favicon.ico
|
136
137
|
- test/dummy/app/controllers/application_controller.rb
|
137
|
-
- test/dummy/app/helpers/application_helper.rb
|
138
138
|
- test/dummy/app/views/layouts/application.html.erb
|
139
|
-
- test/dummy/
|
140
|
-
- test/dummy/
|
141
|
-
- test/dummy/
|
142
|
-
- test/dummy/
|
143
|
-
- test/dummy/config/application.rb
|
144
|
-
- test/dummy/config/boot.rb
|
145
|
-
- test/dummy/config/database.yml
|
139
|
+
- test/dummy/app/helpers/application_helper.rb
|
140
|
+
- test/dummy/app/assets/javascripts/application.js
|
141
|
+
- test/dummy/app/assets/config/manifest.js
|
142
|
+
- test/dummy/app/assets/stylesheets/application.css
|
146
143
|
- test/dummy/config/environment.rb
|
147
|
-
- test/dummy/config/environments/development.rb
|
148
144
|
- test/dummy/config/environments/production.rb
|
149
145
|
- test/dummy/config/environments/test.rb
|
146
|
+
- test/dummy/config/environments/development.rb
|
147
|
+
- test/dummy/config/database.yml
|
148
|
+
- test/dummy/config/routes.rb
|
149
|
+
- test/dummy/config/secrets.yml
|
150
|
+
- test/dummy/config/application.rb
|
151
|
+
- test/dummy/config/locales/en.yml
|
152
|
+
- test/dummy/config/initializers/mime_types.rb
|
153
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
154
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
155
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
150
156
|
- test/dummy/config/initializers/assets.rb
|
157
|
+
- test/dummy/config/initializers/session_store.rb
|
151
158
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
152
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
153
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
154
159
|
- test/dummy/config/initializers/inflections.rb
|
155
|
-
- test/dummy/config/
|
156
|
-
- test/dummy/
|
157
|
-
- test/dummy/
|
158
|
-
- test/dummy/
|
159
|
-
- test/dummy/
|
160
|
-
- test/dummy/
|
161
|
-
- test/dummy/
|
162
|
-
- test/dummy/public/404.html
|
163
|
-
- test/dummy/public/422.html
|
164
|
-
- test/dummy/public/500.html
|
165
|
-
- test/dummy/public/favicon.ico
|
166
|
-
- test/test_helper.rb
|
160
|
+
- test/dummy/config/boot.rb
|
161
|
+
- test/dummy/Rakefile
|
162
|
+
- test/dummy/README.rdoc
|
163
|
+
- test/dummy/bin/bundle
|
164
|
+
- test/dummy/bin/rake
|
165
|
+
- test/dummy/bin/setup
|
166
|
+
- test/dummy/bin/rails
|