ddd_domain 1.1.3 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/lib/ddd_domain/version.rb +1 -1
- data/lib/generators/domains/domains_generator.rb +0 -16
- metadata +4 -8
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '093398cf9509b98d897ef8912ef1eb2e01d2846f5b3b3711006bb2f2a67b8598'
|
4
|
+
data.tar.gz: 01c85e0edbfb43aeaf21129233250a3b709497eb0a072e9b4037fa7a8019c221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fd6adfca11eab3a4c48c2b78cd2421cf0065dd1f854dab772d8937c9e468c4bb1f107b6acc3fc5b9aa74fd1368900e9f10a055092a3d56995a88b686ac43f79
|
7
|
+
data.tar.gz: 8e362938d6a69aec6cf650fe6bdab0f40a31b928c44d3e61b428bbe4cc263e78cc06aa470eb34b72a8765e5fd0dc31fe35e65de2cb0079b31f4b5000db18e087
|
data/MIT-LICENSE
CHANGED
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FUNABARA Masao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-31 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
|
@@ -98,8 +98,6 @@ files:
|
|
98
98
|
- test/dummy/config/locales/en.yml
|
99
99
|
- test/dummy/config/routes.rb
|
100
100
|
- test/dummy/config/secrets.yml
|
101
|
-
- test/dummy/db/test.sqlite3
|
102
|
-
- test/dummy/log/test.log
|
103
101
|
- test/dummy/public/404.html
|
104
102
|
- test/dummy/public/422.html
|
105
103
|
- test/dummy/public/500.html
|
@@ -160,11 +158,9 @@ test_files:
|
|
160
158
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
161
159
|
- test/dummy/config/initializers/inflections.rb
|
162
160
|
- test/dummy/config/boot.rb
|
163
|
-
- test/dummy/db/test.sqlite3
|
164
161
|
- test/dummy/Rakefile
|
165
162
|
- test/dummy/README.rdoc
|
166
163
|
- test/dummy/bin/bundle
|
167
164
|
- test/dummy/bin/rake
|
168
165
|
- test/dummy/bin/setup
|
169
166
|
- test/dummy/bin/rails
|
170
|
-
- test/dummy/log/test.log
|
data/test/dummy/db/test.sqlite3
DELETED
File without changes
|
data/test/dummy/log/test.log
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2
|
-
-------------------------
|
3
|
-
DddDomainTest: test_truth
|
4
|
-
-------------------------
|
5
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
-------------------------
|
8
|
-
DddDomainTest: test_truth
|
9
|
-
-------------------------
|
10
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|