unidom-sequence 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/rspec/models/unidom/sequence/sequence_spec.rb +8 -0
- data/lib/unidom/sequence/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a608f965cf9120449d8085c7175d6c7db2cf03e
|
4
|
+
data.tar.gz: a19dcec8f20bae9e5bc945a48270b251e9971b57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9a9f93898ebdd688bb9edf951b7167757994e2d7505c44c9752f68621b73113255f3016c5672a929fc42688165d40d85c15e02e638d12ff8bfb53f0d34fbe6
|
7
|
+
data.tar.gz: e5053f155b24fb1f38affd89d3855b52595e88b325896c64aa2c28683d04be11c0f32128a9de9fef58d367330aeb1cb5c009813c5afdd614fcac35f3592b57ad
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
[![Gem Version](https://badge.fury.io/rb/unidom-sequence.svg)](https://badge.fury.io/rb/unidom-sequence)
|
7
7
|
[![Dependency Status](https://gemnasium.com/badges/github.com/topbitdu/unidom-sequence.svg)](https://gemnasium.com/github.com/topbitdu/unidom-sequence)
|
8
8
|
|
9
|
-
|
10
9
|
Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Sequence domain model engine includes the Sequence model and its relative models.
|
11
10
|
Unidom (统一领域对象模型)是一系列的领域模型引擎。序列领域模型引擎包括序列和与其相关的模型。
|
12
11
|
|
@@ -15,6 +15,14 @@ describe Unidom::Sequence::Sequence, type: :model do
|
|
15
15
|
|
16
16
|
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
|
17
17
|
|
18
|
+
it_behaves_like 'scope', :prefix_is, [
|
19
|
+
{ attributes_collection: [ model_attributes ], count_diff: 0, args: [ '110115' ] },
|
20
|
+
{ attributes_collection: [ model_attributes ], count_diff: 0, args: [ 110115 ] },
|
21
|
+
{ attributes_collection: [ model_attributes ], count_diff: 1, args: [ '110116' ] },
|
22
|
+
{ attributes_collection: [ model_attributes ], count_diff: 1, args: [ 110116 ] },
|
23
|
+
{ attributes_collection: [ model_attributes ], count_diff: 0, args: [ '110117' ] },
|
24
|
+
{ attributes_collection: [ model_attributes ], count_diff: 0, args: [ 110117 ] } ]
|
25
|
+
|
18
26
|
end
|
19
27
|
|
20
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-sequence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2017-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|