unidom-authorization 1.4.3 → 1.4.4

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: 6283ca18d8798627d08025d0793d45e556ef1782
4
- data.tar.gz: 4702e426f6ecfb216caa8e65f0f0663dd8299c4a
3
+ metadata.gz: 2435a1acf8dbeffb9852fab44ba2ddeecb970a4a
4
+ data.tar.gz: 128a9d021436050d539cace00f056707d9c5f857
5
5
  SHA512:
6
- metadata.gz: 4118a84cdd54a9bfb4322ce6948504f59fd70f4975e2566bf3b3f820319a35bf9a08ef1505787f5d56451ee1c55ba95f94c1f75da0813907881e0f72a5f3778d
7
- data.tar.gz: 25379df00ea304afae203213f5b45123789bcfabdf75dccfe226b8163dbe47ca53a6feff06efd90e084005fe68c1aa9c17ca86605b50bb17902d3a17906f65a7
6
+ metadata.gz: ab7a3e2e2df52ea095dbacce94bfd77d8a229d1bacc5580b7a0117adf8a01c134a0cf65d8e486e0592436385033f4bedbd1f93c1027d93a37bda94baaf09c99c
7
+ data.tar.gz: b5d9f1611b7d7902ebb998a619b56aad071fecaabb6850a9b4cf12f0467406ca158bda35acb07b4858141c436612924bd641cfb822e2fa673589837f591c0b53
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Authorizing 是授权。
2
3
 
3
4
  class Unidom::Authorization::Authorizing < Unidom::Authorization::ApplicationRecord
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # Permission 是权限。
2
3
 
3
4
  class Unidom::Authorization::Permission < Unidom::Authorization::ApplicationRecord
@@ -3,13 +3,13 @@ module Unidom
3
3
 
4
4
  class Engine < ::Rails::Engine
5
5
 
6
+ include Unidom::Common::EngineExtension
7
+
6
8
  isolate_namespace ::Unidom::Authorization
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
 
14
14
  end
15
- end
15
+ end
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Authorization
3
- VERSION = '1.4.3'.freeze
3
+ VERSION = '1.4.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
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-06 00:00:00.000000000 Z
11
+ date: 2017-01-03 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 Authorization domain model engine includes the Permission and Authorizing models.
29
29
  Unidom (统一领域对象模型)是一系列的领域模型引擎。授权领域模型引擎包括权限、授权的模型。