unidom-article_number 1.2 → 1.2.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: 1bd0366fe5076a382f8d53c53cfd18229206997d
4
- data.tar.gz: 8931aa52ef188018890a8a00aa2276a07946da57
3
+ metadata.gz: 51be47dc45e40c3efadec8ed1a553e86648baf7c
4
+ data.tar.gz: 2bfb4c08acdc460260eb44f55c93be83f81006f5
5
5
  SHA512:
6
- metadata.gz: ef6494bd161fe72e543a71d1ac7db12fa700e5488f871f513814a20d7996b4c8b2ec46e150bfd855f128c24bf08efb86bd3242dbb422e412bcac29920be330cd
7
- data.tar.gz: c172f6c2d00e83bd48bc2ba11953dd6cd14709cc4ef7d4d0d9fefe0465f39381e04d5c073b1ed5466b5f6ae897eb8df818a300dd69591f790e332c58637a25d4
6
+ metadata.gz: 563b5153fcd93d9d49e3570e0c8eecb84f52d9d064c69571c03efc477d787bc44b84e78d338b7739a159b757f472613db345c391f1a8b6f492cc6a74dc0acb8b
7
+ data.tar.gz: aa3649219ebdb2c33df5ae62990d0c6eefa01b1ee653afdb8bd6f02310a0b493105bacf0a973780d11e6080c405c6edc0c53428c2ec4bc1dac6b597294e633fb
data/README.md CHANGED
@@ -40,12 +40,12 @@ include Unidom::ArticleNumber::Concerns::AsMarked
40
40
  ```
41
41
 
42
42
  ### As Barcode concern
43
- The As Barcode concern do the following tasks for the includer automatically:
43
+ The As Barcode concern do the following tasks for the includer automatically:
44
44
  1. Define the has_many :markings macro as: ``has_many :markings, class_name: 'Unidom::ArticleNumber::Marking', as: :barcode``
45
45
  2. Define the has_many :marked_products macro as: ``has_many :marked_products, through: :markings, source: :marked, source_type: 'Unidom::Product::Product'``
46
- 3. Define the mark! method as: ``def mark!(marked, by: nil, at: Time.now)``
46
+ 3. Define the #mark! method as: ``def mark!(marked, by: nil, at: Time.now)``
47
47
 
48
48
  ### As Marked concern
49
- The As Marked concern do the following tasks for the includer automatically:
49
+ The As Marked concern do the following tasks for the includer automatically:
50
50
  1. Define the has_many :markings macro as: ``has_many :markings, class_name: 'Unidom::ArticleNumber::Marking', as: :marked``
51
- 2. Define the is_marked! method as: ``def is_marked!(as: nil, by: nil, at: Time.now)``
51
+ 2. Define the #is_marked! method as: ``def is_marked!(as: nil, by: nil, at: Time.now)``
@@ -1,5 +1,5 @@
1
1
  module Unidom
2
2
  module ArticleNumber
3
- VERSION = '1.2'.freeze
3
+ VERSION = '1.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-article_number
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.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-08-03 00:00:00.000000000 Z
11
+ date: 2016-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.9'
19
+ version: '1.0'
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: '0.9'
26
+ version: '1.0'
27
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
28
28
  The Article Number domain model engine includes EAN-13, EAN-8, and IMEI models.
29
29
  Unidom (统一领域对象模型)是一系列的领域模型引擎。物品编码领域模型引擎包括EAN-13、EAN-8和IMEI的模型。