wco_models 3.1.0.243 → 3.1.0.245

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: a22bfffbb552bdd2a76d735b477bbccc5d8012b63ce53b6af99ec6a81de2c6eb
4
- data.tar.gz: 91717c9205a648ee9f89b26f731b6467aea0d40df14a0050454c27522769b90d
3
+ metadata.gz: 933ad723b05cbdba85a9ea636aedf6f63fbdf9b53e3330e53e174c456fe4628a
4
+ data.tar.gz: 2378742acc51b3113ce61f858bc1f1ccbc55e6aec5c5f1dc9a7a03d120e3c144
5
5
  SHA512:
6
- metadata.gz: e24d6328a9d238108bd77d5a67210469fa2971d6dc9d9695db0276f85bea811523afd2ab4533a6661faee8ed289395d9438e3ffcaf2be3ea35953d69972d9373
7
- data.tar.gz: 6c72568be7196c1ac0073605132cf368803a57b9d3c9969538ea4d3382be18eeccc24026b2e4dbef26094b96d46ed1dfa5045d8fb8c15f4d8e82616494f69d9a
6
+ metadata.gz: 034b9ed4c170b3b434d818a4682597fac85123dc312d188acf3dc8518d7c8f38e34dbe07ade8af4760b39c6502b65f7576d80b7dce92e2713a5c742182ad313a
7
+ data.tar.gz: 3c896c89f4853eb1fb1f8f58d668da1768b4e06af7fc15921860c59cf59a336f10b948501dc2eeeaa59f3c8cfd929e0538c772a1fc398967b051e5c279d283e6
@@ -52,7 +52,7 @@ class Wco::Gallery
52
52
  %w| name subhead descr |
53
53
  end
54
54
 
55
- has_and_belongs_to_many :tags
55
+ has_and_belongs_to_many :tags, class_name: 'Wco::Tag'
56
56
 
57
57
 
58
58
  has_many :oats, class_name: 'Wco::OfficeActionTemplate'
@@ -9,23 +9,23 @@ class Wco::Tag
9
9
  validates :slug, presence: true, uniqueness: true
10
10
  index({ slug: -1 })
11
11
 
12
- belongs_to :parent, class_name: 'Wco::Tag', inverse_of: :sons, optional: true
13
- has_many :sons, class_name: 'Wco::Tag', inverse_of: :parent
12
+ belongs_to :parent, class_name: '::Wco::Tag', inverse_of: :sons, optional: true
13
+ has_many :sons, class_name: '::Wco::Tag', inverse_of: :parent
14
14
 
15
- belongs_to :site, class_name: 'Wco::Site', optional: true
16
- has_many :email_filters, class_name: 'WcoEmail::EmailFilter', inverse_of: :tag
17
- has_many :email_templates, class_name: 'WcoEmail::EmailTemplate', inverse_of: :tag
15
+ belongs_to :site, class_name: '::Wco::Site', optional: true
16
+ has_many :email_filters, class_name: '::WcoEmail::EmailFilter', inverse_of: :tag
17
+ has_many :email_templates, class_name: '::WcoEmail::EmailTemplate', inverse_of: :tag
18
18
 
19
- has_and_belongs_to_many :conversations, class_name: 'WcoEmail::Conversation', index: true
20
- has_and_belongs_to_many :galleries
19
+ has_and_belongs_to_many :conversations, class_name: '::WcoEmail::Conversation', index: true
20
+ has_and_belongs_to_many :galleries, class_name: '::Wco::Gallery'
21
21
  has_and_belongs_to_many :headlines # , class_name: 'Headline'
22
- has_and_belongs_to_many :leads, index: true # , class_name: 'Lead'
23
- has_and_belongs_to_many :leadsets # , class_name: 'Leadset'
22
+ has_and_belongs_to_many :leads, class_name: '::Wco::Lead', index: true
23
+ has_and_belongs_to_many :leadsets, class_name: '::Wco::Leadset'
24
24
  has_and_belongs_to_many :logs
25
- has_and_belongs_to_many :message_stubs, class_name: 'WcoEmail::MessageStub'
26
- has_and_belongs_to_many :newsvideos
27
- has_and_belongs_to_many :reports
28
- has_and_belongs_to_many :videos
25
+ has_and_belongs_to_many :message_stubs, class_name: '::WcoEmail::MessageStub'
26
+ has_and_belongs_to_many :newsvideos, class_name: '::Wco::Newsvideo'
27
+ has_and_belongs_to_many :reports, class_name: '::Wco::Report'
28
+ has_and_belongs_to_many :videos, class_name: '::Wco::Video'
29
29
 
30
30
 
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.243
4
+ version: 3.1.0.245
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev