approval 0.6.0 → 0.6.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
  SHA256:
3
- metadata.gz: b569ae57b3644b8c2cc853e55ac67f14436447d84033bf334979e3bc77ef2a3f
4
- data.tar.gz: 7e283cb4c83a1dc16e4b2866b2ee87e0ab39991614b1c6856b34d8afbf33debd
3
+ metadata.gz: dfe5cf74580a8812e589b157b19a2fe10f128e4594d62623a7da5177987abd7f
4
+ data.tar.gz: dc41acafd1ccca41fd1bd4eaad6d3463f752f02154955eb4340c7abd23fa3c6b
5
5
  SHA512:
6
- metadata.gz: 3adfc855ae861184026e30ae8f55b2b632118cfae5d28d34f8d2c9171ba9179b58f056c54f5ccfeb9bac79df181ad5a79026db1c32473b08167b6fced7aaaca1
7
- data.tar.gz: 534bc1feeeb6fb610f9a1d92c09e5a718c78b51a5affbf1d0446fbdb71a2ab91f774c728d577328d4ef38b5b4fd93f44b1db9096054d0e21572c46e485723675
6
+ metadata.gz: 2fa6a4dea912af743861b82f0f08d644a5b32b7eb7d8a0009742644ef2d13befb88f0abcfebb27f0141338d38c6c77e380dc721c17fa0014932cac84adbc5b23
7
+ data.tar.gz: c7abe5bee34dd0304b08b2d8b4c328fb0f5cb5ad7d08eb245e2d0eda3ea0c61d7ff1af9b41621b796673bc8650378b4a8dd756fb9aba1a6ce7e13dd5db1e1479
data/README.md CHANGED
@@ -49,7 +49,7 @@
49
49
 
50
50
  ### Make request
51
51
 
52
- You send request, but resources aren't created/updated/destroied.
52
+ You send request, but resources aren't created/updated/destroyed.
53
53
 
54
54
  #### :pray: Create
55
55
 
@@ -107,7 +107,7 @@ request.save
107
107
 
108
108
  #### :ok_woman: Approve
109
109
 
110
- Then resources are created/updated/destroied, if respond user have approved the request.
110
+ Then resources are created/updated/destroyed, if respond user have approved the request.
111
111
 
112
112
  ```ruby
113
113
  admin = User.find_or_create_by(email: "admin@example.com")
@@ -119,7 +119,7 @@ respond.save! # Create/Update/Destroy resources
119
119
 
120
120
  ##### :no_good: Reject
121
121
 
122
- Then resources are not created/updated/destroied, if respond user have rejected the request.
122
+ Then resources are not created/updated/destroyed, if respond user have rejected the request.
123
123
 
124
124
  ```ruby
125
125
  admin = User.find_or_create_by(email: "admin@example.com")
@@ -0,0 +1,37 @@
1
+ id:
2
+ errors:
3
+ messages:
4
+ already_performed: "Permintaan ini sudah dilakukan sebelumnya."
5
+ cannot_respond_to_own_request: "Tidak dapat merespon terhadap permintaan sendiri."
6
+ cannot_execute_others_request: "Tidak dapat merespon terhadap permintaan lainnya."
7
+ is_not_approved: "tidak di setujui"
8
+
9
+ attributes:
10
+ id: "ID"
11
+ reason: "Alasan"
12
+ created_at: "Dibuat pada"
13
+ updated_at: "Diperbaharui pada"
14
+
15
+ activerecord:
16
+ models:
17
+ approval/comment: "Komentar Persetujuan"
18
+ approval/item: "Item Persetujuan"
19
+ approval/request: "Permintaan Persetujuan"
20
+ attributes:
21
+ approval/comment:
22
+ user: "Pengguna"
23
+ content: "Konten"
24
+ approval/item:
25
+ resource_type: "Tipe sumber"
26
+ resource_id: "ID sumber"
27
+ event: "Event"
28
+ params: "Parameter"
29
+ approval/request:
30
+ request_user: "Pengguna yang diminta"
31
+ respond_user: "Pengguna yang direspon"
32
+ state: "Status"
33
+ requested_at: "Diminta pada"
34
+ cancelled_at: "Dibatalkan pada"
35
+ approved_at: "Disetujui pada"
36
+ rejected_at: "Ditolak pada"
37
+ executed_at: "Dieksekusi pada"
@@ -1,3 +1,3 @@
1
1
  module Approval
2
- VERSION = "0.6.0".freeze
2
+ VERSION = "0.6.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: approval
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiyuki Hirano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2019-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,6 +53,7 @@ files:
53
53
  - app/models/concerns/approval/form_notifiable.rb
54
54
  - app/models/concerns/approval/mixins.rb
55
55
  - config/locales/en.yml
56
+ - config/locales/id.yml
56
57
  - config/locales/ja.yml
57
58
  - db/migrate/20180409000000_create_approval_tables.rb
58
59
  - lib/approval.rb
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  version: '0'
83
84
  requirements: []
84
85
  rubyforge_project:
85
- rubygems_version: 2.7.6
86
+ rubygems_version: 2.7.8
86
87
  signing_key:
87
88
  specification_version: 4
88
89
  summary: Approval flow for Rails