unidom-accession 1.0 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d334d2ec2065736811d935126687a0a5bae269da
|
4
|
+
data.tar.gz: 03ca6d5a9afada376c8a15c287e44be144a48905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7554202d27191ce47f2536c57b2100f5ac77b11d7ea83997643d272f90145f446f83d0c34d88775dd606a3bb803b005b2dc482e05f8b0af59faac53b7adf5aa7
|
7
|
+
data.tar.gz: d6583faac6fb8a4385be9391e24a622895fa953dba9e5431f43bdbdf379a2202062e4fa975382afd76b9096ca6308533f84218c97ba71ad1d6f3d7a32688afda
|
data/README.md
CHANGED
@@ -24,5 +24,8 @@ The migration versions start with 200405.
|
|
24
24
|
## Call the Model
|
25
25
|
```ruby
|
26
26
|
post_fulfillment = Unidom::Accession::PostFulfillment.valid_at.alive.first
|
27
|
-
|
27
|
+
|
28
|
+
post_fulfillment = Unidom::Accession::PostFulfillment.fulfill! fulfiller: fulfiller, fulfilled: post, opened_at: Time.now
|
29
|
+
# or like the following source codes, which opened_at is optional
|
30
|
+
post_fulfillment = Unidom::Accession::PostFulfillment.fulfill! fulfiller: fulfiller, fulfilled: post
|
28
31
|
```
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-accession
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.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-
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|
@@ -40,6 +40,8 @@ files:
|
|
40
40
|
- app/assets/stylesheets/unidom/accession/application.css
|
41
41
|
- app/controllers/unidom/accession/application_controller.rb
|
42
42
|
- app/helpers/unidom/accession/application_helper.rb
|
43
|
+
- app/models/unidom/accession/concerns/as_post_fulfilled.rb
|
44
|
+
- app/models/unidom/accession/concerns/as_post_fulfiller.rb
|
43
45
|
- app/models/unidom/accession/post_fulfillment.rb
|
44
46
|
- app/views/layouts/unidom/accession/application.html.erb
|
45
47
|
- config/routes.rb
|