unidom-requirement 0.2 → 0.2.1

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
  SHA1:
3
- metadata.gz: a8fb268008c2c7c50396ffa081b9d5e162efce83
4
- data.tar.gz: 63f11ab94b90f6f4ba887e60c4a5382454474689
3
+ metadata.gz: 1502e1268b14aefee840e3db2a0fb8e30c290fb5
4
+ data.tar.gz: 8376d0cc0ae3015d6951f9d7af3cf3da7d3f84e8
5
5
  SHA512:
6
- metadata.gz: f3f3aeb7fb33793f61637f873bdf49524c98fecf20800214217fcdd5165424d78019fa041ca99fc3aedf8915f5980b753eb036f2e5894f3bc2d7f4c179c26eca
7
- data.tar.gz: caf9a99e3e41d098aba2ebb5cfa0b51afa5698c0ff1b9a16f0f238ffaf6d42156921f4fdf528314677d50514a89673ba498fac5f58c31cf4fb719a138b9efd9e
6
+ metadata.gz: 1277304d683448fcda5f60134b10dd5e7fb10a4a1af988109eaa9843dd52b58cfe7da0a27cec65ea8c7dab84606c91f35bb5d226926ec3c1d711e728de06aa06
7
+ data.tar.gz: 000210ff098eb185116a3c4197bf6f206ec21ed8c14b9bab555eaa09beeb03f7ef8bec278c7f890a76bcb3df1cdd3ddd2b1cc9a10379e7cf4a36c93238622747
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Requirement 是需求,表示参与者的某种需要,并作用于某个设施。
2
3
 
3
4
  class Unidom::Requirement::Requirement < Unidom::Requirement::ApplicationRecord
@@ -3,11 +3,11 @@ module Unidom
3
3
 
4
4
  class Engine < ::Rails::Engine
5
5
 
6
+ include Unidom::Common::EngineExtension
7
+
6
8
  isolate_namespace Unidom::Requirement
7
9
 
8
- initializer :append_migrations do |app|
9
- config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s
10
- end
10
+ enable_initializer enum_enabled: false, migration_enabled: true
11
11
 
12
12
  end
13
13
 
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Requirement
3
- VERSION = '0.2'.freeze
3
+ VERSION = '0.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-requirement
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Topbit Du
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2017-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.7.1
19
+ version: '1.8'
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: 1.7.1
26
+ version: '1.8'
27
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
28
28
  The Requirement domain model engine includes the Requirement and the Order Requirement
29
29
  Commitment model. Unidom (统一领域对象模型)是一系列的领域模型引擎。需求领域模型引擎包括需求和订单需求委托的模型。