ddd_domain 1.1.0 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72b5644958153fa25e1700fd658f71bd401498828e45f14521c59c7af744bf3c
4
- data.tar.gz: c9487867564cad97bdc7d1b41c03a75b51748ac781a4954b02e5ede7d287633f
3
+ metadata.gz: 55d0e517e612f49ba040d3602b4f097dd2b751fb6dc79e7a7a226bc0114935ef
4
+ data.tar.gz: becc8bfb2a6c5d4a522d72aa0f2f7dac07d55336027e323ab0da50eed4450172
5
5
  SHA512:
6
- metadata.gz: b330af4ddc1b25fd8f9d5d3e70be7ef2329633573a45d5f45a96e5f4a87f5c9bc7beb0c5f312b16988211e5c404a2612d824833b1df17edcaeefaf512d335c24
7
- data.tar.gz: b895ee1d71f4c6d53ca899973214ac39fdc8ed6c5558590cea9c6d414291c6df06bbbadfd96dfc008c1d199c7081ee632bb44d11fe36e687313935b017d8472c
6
+ metadata.gz: 54cb341596a2ceab25fa69e3e69ff4f9b8ca9c56a1761fdeffb6335df2df6c52a04229fe645daaffb983f8372b95df784994ef47ab6e70eab4178c18eb47a6cb
7
+ data.tar.gz: 5933fa6884d3c2dde29afae2e3b713848554c02674dc14873a33d02df077006e296b6531aa1b74a558e55f3d90830944a1177b11dd82c4b8d445396c7be63095
@@ -1,3 +1,3 @@
1
1
  module DddDomain
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.5"
3
3
  end
@@ -6,17 +6,19 @@ class DomainsGenerator < Rails::Generators::NamedBase
6
6
  create_file "app/domains/#{file_name}/.keep"
7
7
 
8
8
  if File.exists? "config/initializers/ddd_domain.rb"
9
- inject_into_file 'config/initializers/ddd_domain.rb' do
9
+ inject_into_file 'config/initializers/ddd_domain.rb', :before => "end" do
10
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"
11
17
  Rails.configuration do |config|
12
18
  config.paths.add 'app/domains/#{file_name}', eager_load: true
13
19
  end
14
20
  RUBY
15
21
  end
16
- else
17
- inject_into_file 'config/initializers/ddd_domain.rb', :before => "end" do
18
- config.paths.add 'app/domains/#{file_name}', eager_load: true
19
- end
20
22
  end
21
23
  end
22
24
  end
@@ -20,7 +20,7 @@ module Dummy
20
20
  # config.i18n.default_locale = :de
21
21
 
22
22
  # Do not swallow errors in after_commit/after_rollback callbacks.
23
- config.active_record.raise_in_transactional_callbacks = true
23
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
24
24
  end
25
25
  end
26
26
 
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.1.0
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - FUNABARA Masao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-19 00:00:00.000000000 Z
11
+ date: 2020-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: It generate the domain of Domain Driven Design.
42
56
  email:
43
57
  - masao@masoo.jp
@@ -55,6 +69,7 @@ files:
55
69
  - test/ddd_domain_test.rb
56
70
  - test/dummy/README.rdoc
57
71
  - test/dummy/Rakefile
72
+ - test/dummy/app/assets/config/manifest.js
58
73
  - test/dummy/app/assets/javascripts/application.js
59
74
  - test/dummy/app/assets/stylesheets/application.css
60
75
  - test/dummy/app/controllers/application_controller.rb
@@ -112,39 +127,40 @@ signing_key:
112
127
  specification_version: 4
113
128
  summary: It supports the domain of Domain Driven Design.
114
129
  test_files:
115
- - test/test_helper.rb
116
130
  - test/ddd_domain_test.rb
131
+ - test/test_helper.rb
117
132
  - test/dummy/config.ru
118
- - test/dummy/README.rdoc
133
+ - test/dummy/public/500.html
134
+ - test/dummy/public/404.html
135
+ - test/dummy/public/422.html
136
+ - test/dummy/public/favicon.ico
137
+ - test/dummy/app/controllers/application_controller.rb
138
+ - test/dummy/app/views/layouts/application.html.erb
119
139
  - test/dummy/app/helpers/application_helper.rb
120
- - test/dummy/app/assets/stylesheets/application.css
121
140
  - test/dummy/app/assets/javascripts/application.js
122
- - test/dummy/app/views/layouts/application.html.erb
123
- - test/dummy/app/controllers/application_controller.rb
124
- - test/dummy/Rakefile
141
+ - test/dummy/app/assets/config/manifest.js
142
+ - test/dummy/app/assets/stylesheets/application.css
143
+ - test/dummy/config/environment.rb
125
144
  - test/dummy/config/environments/production.rb
126
- - test/dummy/config/environments/development.rb
127
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
128
152
  - test/dummy/config/initializers/mime_types.rb
129
- - test/dummy/config/initializers/inflections.rb
153
+ - test/dummy/config/initializers/filter_parameter_logging.rb
130
154
  - test/dummy/config/initializers/wrap_parameters.rb
131
- - test/dummy/config/initializers/session_store.rb
132
155
  - test/dummy/config/initializers/cookies_serializer.rb
133
- - test/dummy/config/initializers/backtrace_silencers.rb
134
- - test/dummy/config/initializers/filter_parameter_logging.rb
135
156
  - test/dummy/config/initializers/assets.rb
136
- - test/dummy/config/database.yml
137
- - test/dummy/config/environment.rb
157
+ - test/dummy/config/initializers/session_store.rb
158
+ - test/dummy/config/initializers/backtrace_silencers.rb
159
+ - test/dummy/config/initializers/inflections.rb
138
160
  - test/dummy/config/boot.rb
139
- - test/dummy/config/secrets.yml
140
- - test/dummy/config/application.rb
141
- - test/dummy/config/locales/en.yml
142
- - test/dummy/config/routes.rb
143
- - test/dummy/public/404.html
144
- - test/dummy/public/500.html
145
- - test/dummy/public/422.html
146
- - test/dummy/public/favicon.ico
147
- - test/dummy/bin/setup
161
+ - test/dummy/Rakefile
162
+ - test/dummy/README.rdoc
148
163
  - test/dummy/bin/bundle
149
- - test/dummy/bin/rails
150
164
  - test/dummy/bin/rake
165
+ - test/dummy/bin/setup
166
+ - test/dummy/bin/rails