command_proposal 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db4149d1e53cb021ee11594b4f8cf74f8a10ae4d0cba115fc0996649a27a70b5
|
4
|
+
data.tar.gz: bdbe876429d3fb79aff2e46058bfd42d674315a90e01c89f812df43022f7895f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57566b279852c47f8756db74b1693214885017fd5eab3f7874fc9146b7b62a5d6f386c2ce9e3349f18fece131f5de32addfb915354c312103b88aca41638e6d6
|
7
|
+
data.tar.gz: 8475af7df8402fbc2e49e5f727280cb29a8ab7aab24e2572ec49ce820f1799217b06082632d114a13c326cf8d3d24f6477094d28efa8b7c45362d7dd90d56cef
|
@@ -9,6 +9,6 @@ class ::CommandProposal::Comment < ApplicationRecord
|
|
9
9
|
self.table_name = :command_proposal_comments
|
10
10
|
include ::CommandProposal::Service::ExternalBelong
|
11
11
|
|
12
|
-
belongs_to :iteration, optional: true
|
12
|
+
belongs_to :iteration, optional: true, class_name: "CommandProposal::Iteration"
|
13
13
|
external_belongs_to :author
|
14
14
|
end
|
@@ -24,8 +24,8 @@ class ::CommandProposal::Iteration < ApplicationRecord
|
|
24
24
|
TRUNCATE_COUNT = 2000
|
25
25
|
# Also hardcoded in JS: app/assets/javascripts/command_proposal/console.js
|
26
26
|
|
27
|
-
has_many :comments
|
28
|
-
belongs_to :task
|
27
|
+
has_many :comments, class_name: "CommandProposal::Comment"
|
28
|
+
belongs_to :task, class_name: "CommandProposal::Task"
|
29
29
|
external_belongs_to :requester
|
30
30
|
external_belongs_to :approver
|
31
31
|
|
@@ -9,7 +9,7 @@ class ::CommandProposal::Task < ApplicationRecord
|
|
9
9
|
self.table_name = :command_proposal_tasks
|
10
10
|
attr_accessor :user, :skip_approval
|
11
11
|
|
12
|
-
has_many :iterations
|
12
|
+
has_many :iterations, class_name: "CommandProposal::Iteration"
|
13
13
|
has_many :ordered_iterations, -> { order(created_at: :desc) }, class_name: "CommandProposal::Iteration"
|
14
14
|
|
15
15
|
scope :search, ->(text) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_proposal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rocco Nicholls
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|