unidom-action 1.16 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cb83c8166fdeb579c96a396fd0568e0db25ad20
4
- data.tar.gz: 835810757a20ba42c1e07908cd5dc4aa9c2cedc6
3
+ metadata.gz: dceab399647d32266563e5ae17618b064992b22b
4
+ data.tar.gz: 509d283d5e7570dc9f5c8944b35e2533edbbe667
5
5
  SHA512:
6
- metadata.gz: 3e9679be561ba505dc0e94f98efcb96424b22759c53b0d88ca1287e2a050e5d99958029ca58a35f9d6918afd520c9c212c4473d5047a0ca4a5a66ba613976e9f
7
- data.tar.gz: 2a3f9a4e4f81f1eae4398ac94d17362acd2d9278f06871f533a2374af450d5ebae1e527b49734fc0326ba21e240d32972e9b3bf7ef28207cc0514cfddfb5e442
6
+ metadata.gz: 444b15b87e3c2a792dcf971804c220fddfcae9a1cc57d1618202808876f70a25104847b0adb81e39d570dcc9ca0b922c9a77b118577819a4205940d9692b872c
7
+ data.tar.gz: 1d6096bd11eaabd0636692fd0a2854ed608a998e7ed57c58da85d2b27bd9c99058d547f1c2ae4ed4d9ae4458eefba0075e242ef4d941c84f30e88513adac6c98
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Acting 是行为记录。
2
3
  # #reason 是原因。
3
4
  # #acted 是被操作的对象。
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Obsolescing 是废弃。
2
3
  # #reason 是原因。
3
4
  # #obsolesced 是被废弃的对象。
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Reason 是行为的原因。
2
3
  # #activity_code 是活动代码。
3
4
 
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Searching 是行为的原因。
2
3
  # #activity_code 是活动代码。
3
4
 
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # State Transition 是状态迁移。
2
3
  # #reason 是原因。
3
4
  # #subject 是状态的主体。
@@ -1,19 +1,13 @@
1
- require 'unidom/common/yaml_helper'
2
-
3
1
  module Unidom
4
2
  module Action
5
3
 
6
4
  class Engine < ::Rails::Engine
7
5
 
8
- isolate_namespace ::Unidom::Action
6
+ include Unidom::Common::EngineExtension
9
7
 
10
- initializer :load_config_initializers do |app|
11
- Unidom::Common::YamlHelper.load_enum config: app.config, root: config.root
12
- end
8
+ isolate_namespace ::Unidom::Action
13
9
 
14
- initializer :append_migrations do |app|
15
- config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s
16
- end
10
+ enable_initializer enum_enabled: true, migration_enabled: true
17
11
 
18
12
  end
19
13
 
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Action
3
- VERSION = '1.16'.freeze
3
+ VERSION = '1.16.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-action
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.16'
4
+ version: 1.16.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: 2017-01-03 00:00:00.000000000 Z
11
+ date: 2017-01-09 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'
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'
27
- - !ruby/object:Gem::Dependency
28
- name: progne_tapera
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0.3'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0.3'
26
+ version: '1.8'
41
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
42
28
  The Action domain model engine includes the Reason, State Transition, Obsolescene,
43
29
  and the Acting models. Unidom (统一领域对象模型)是一系列的领域模型引擎。审计领域模型引擎包括原因、状态迁移、废弃和行为日志的模型。