command_proposal 1.0.16 → 1.0.17

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: 43e714b8d84f486d67fabcf4d171cc38f6fe3e97c1e4cd776b558ef9feef2bb0
4
- data.tar.gz: 5107629d432ed32fb26bd3fbfe56094287b1a9a0eb2feaf72b1e9f493b3d1dfd
3
+ metadata.gz: db4149d1e53cb021ee11594b4f8cf74f8a10ae4d0cba115fc0996649a27a70b5
4
+ data.tar.gz: bdbe876429d3fb79aff2e46058bfd42d674315a90e01c89f812df43022f7895f
5
5
  SHA512:
6
- metadata.gz: 283e95ed280a541f6e607e2802068664244d532186448cafe42850763bb318159335b33b64e5411c729a65cbd427de94b6e672154efe0231487a71ba8023e659
7
- data.tar.gz: bbece28324234cfee33481dbdeef5fdadd0b90ff982bb3eeabeaa76e6732c558298ed8dd7a0e313f9304b574dc7559e13187c4bdc3e7cec0a3ed7c0c85102e9c
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) {
@@ -1,3 +1,3 @@
1
1
  module CommandProposal
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
3
3
  end
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.16
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-03-11 00:00:00.000000000 Z
11
+ date: 2022-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails