unidom-sequence 0.3 → 0.3.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: 97eebced3cae5750e8deb5875a34c84d4963d311
4
- data.tar.gz: 74ddb75ffba560c2cfa3c62dd8825449d9acee1b
3
+ metadata.gz: 8a608f965cf9120449d8085c7175d6c7db2cf03e
4
+ data.tar.gz: a19dcec8f20bae9e5bc945a48270b251e9971b57
5
5
  SHA512:
6
- metadata.gz: f872c917a2f3d3f4804cdaf9a1bb3c364161984b7e10b49203d496cd8de90451b08750354c41bf5b989892debdb2422989875f7d109663f4f0c51022e9646ce2
7
- data.tar.gz: 6d029f0a30ff940629a384619c6a8286da9008bbfba87239b27054407f1018c825c2e90c32ec678cf675cd1638c8368ad715a1fb0cdad00bea0594bdc9ffa3a5
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
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module Sequence
3
- VERSION = '0.3'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
5
5
  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: '0.3'
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-01-28 00:00:00.000000000 Z
11
+ date: 2017-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common