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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f498b2dde5e8ab1a530007dec0c66c9f5b0fe58ba650afcf24f767bdaf7e66e5
4
- data.tar.gz: 8be921a2942026f768b15130f85fa39a4ac955c674780d9fa08659c069cb63bb
3
+ metadata.gz: '093398cf9509b98d897ef8912ef1eb2e01d2846f5b3b3711006bb2f2a67b8598'
4
+ data.tar.gz: 01c85e0edbfb43aeaf21129233250a3b709497eb0a072e9b4037fa7a8019c221
5
5
  SHA512:
6
- metadata.gz: d413ab989439e4cdc4fa4985e8307f6d77c46258f11d5aab2da7b4f4ebc03b6a593085b5db01640a02d70ea1027ff19aacd501241187b846abd1db1201bfa43a
7
- data.tar.gz: 619f54ebad480d242987977066fd5e0d6475196f8818446d18090183211bcb0a7c596cfdfa697dfa2e35cd480b6d81695a1343bf5bb0abf1f556697935929af4
6
+ metadata.gz: 9fd6adfca11eab3a4c48c2b78cd2421cf0065dd1f854dab772d8937c9e468c4bb1f107b6acc3fc5b9aa74fd1368900e9f10a055092a3d56995a88b686ac43f79
7
+ data.tar.gz: 8e362938d6a69aec6cf650fe6bdab0f40a31b928c44d3e61b428bbe4cc263e78cc06aa470eb34b72a8765e5fd0dc31fe35e65de2cb0079b31f4b5000db18e087
@@ -1,4 +1,4 @@
1
- Copyright 2018 FUNABARA Masao
1
+ Copyright 2020 FUNABARA Masao
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,3 +1,3 @@
1
1
  module DddDomain
2
- VERSION = "1.1.3"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -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.1.3
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-02-12 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
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
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: '5.0'
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
File without changes
@@ -1,10 +0,0 @@
1
-  (0.1ms) begin transaction
2
- -------------------------
3
- DddDomainTest: test_truth
4
- -------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- -------------------------
8
- DddDomainTest: test_truth
9
- -------------------------
10
-  (0.0ms) rollback transaction