wco_models 3.1.0.243 → 3.1.0.244

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: 8171e4a66ef058a4b0a2df6e74e78d660baaf4c6c658c5d0f37ef6d8751a6fca
4
+ data.tar.gz: 125d032a3d1c433b0b9bdb43eccf533aa484d39307b18ca499ddd9b125116e04
5
5
  SHA512:
6
- metadata.gz: e24d6328a9d238108bd77d5a67210469fa2971d6dc9d9695db0276f85bea811523afd2ab4533a6661faee8ed289395d9438e3ffcaf2be3ea35953d69972d9373
7
- data.tar.gz: 6c72568be7196c1ac0073605132cf368803a57b9d3c9969538ea4d3382be18eeccc24026b2e4dbef26094b96d46ed1dfa5045d8fb8c15f4d8e82616494f69d9a
6
+ metadata.gz: e1bd76909d819c43ee1bcba649832152ce5cc1221b8b3155693d4ae9dc0a46a1c81217f16fd7112e71a570f51070e428d961be8eea9a1def4109d2fab6527979
7
+ data.tar.gz: 3af6207bae5bb95edb549027066e3f37f1493d59894b80edf1a425bd694e070ddc2f23832e8d9a6a49196d7c22780069e9ed428d089a7b6a43dfbdbce7503f86
@@ -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'
@@ -17,15 +17,15 @@ class Wco::Tag
17
17
  has_many :email_templates, class_name: 'WcoEmail::EmailTemplate', inverse_of: :tag
18
18
 
19
19
  has_and_belongs_to_many :conversations, class_name: 'WcoEmail::Conversation', index: true
20
- has_and_belongs_to_many :galleries
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
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
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.244
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev