ish_models 3.1.0.28 → 3.1.0.29

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: f77703119867d13489f0e84255ecc02e7a152474455a3c2a884667a8ced99d44
4
- data.tar.gz: 00f941a380436c361ba76d5786de744a50d314a6076d5a7ae261de9e86238625
3
+ metadata.gz: 19e5b5df0a1181ed7f2aa70bd246edd53498ed6ab30d05476367cf25b8b5e615
4
+ data.tar.gz: 766dee13aa038acfebb3ea16ff4159f521d0466024cf93725cd64266e91e60b9
5
5
  SHA512:
6
- metadata.gz: 78c31ff8da2c868b49d55ffc7e37765795548bc09a5ab53dab01a4ed0507191a8f0fd34df10703f8d12557f33b8487f77f234acdcf2438125af4dbfd6846fea5
7
- data.tar.gz: e1e9f2117ff9ffef73c6bc304512ace708248bf87bdd9c4191759a0b78e9711ff54a54bfc90619137c4ece2b0a37cd90095e3ca444c0d1427a05d023896b2f51
6
+ metadata.gz: 0f0ba7c47d6c8efe8d232879109d427bac250819186543bcedf86079cba71928f6375982595e3b94f826bff2b5f9d8509f577da951aa4de96516ce03e7f67f78
7
+ data.tar.gz: 2379f779878683501c74767c585c303561fb2464f256d252336cfda83279d6c6d78984e5a89173d5d1784898dcdd72b2e27f2c57a7d2d55175e49a8f52e875d4
File without changes
File without changes
@@ -0,0 +1,18 @@
1
+
2
+ class Wco::Publisher
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+ store_in collection: 'wco_daily_publishers'
6
+
7
+ KIND_ARTICLE = 'article'
8
+ KIND_IMAGE = 'image'
9
+ field :kind, type: :string
10
+
11
+ belongs_to :to_site, class_name: 'Wco::Site'
12
+ belongs_to :from_gallery, class_name: 'Wco::Gallery'
13
+
14
+ field :title_eval, type: :string ## "#{Time.now.strftime('%Y-%m-%d') Daily Tree}" with the quotes
15
+
16
+
17
+
18
+ end
@@ -0,0 +1,17 @@
1
+
2
+ class Wco::Site
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+ store_in collection: 'wco_sites'
6
+
7
+ KIND_DRUPAL = 'drupal'
8
+ KIND_IG = 'instagram'
9
+ KIND_WP = 'wordpress'
10
+ field :kind, type: :string
11
+
12
+ has_many :daily_publishers, class_name: 'Wco::DailyPublisher'
13
+
14
+ field :origin # http://pi.local
15
+ field :post_url # http://pi.local/node?_format=hal_json
16
+
17
+ end
@@ -60,5 +60,5 @@ class WcoEmail::ScheduledEmailAction
60
60
  end
61
61
 
62
62
  end
63
- ::Sch = WcoEmail::ScheduledEmailAction
63
+ Sch = WcoEmail::ScheduledEmailAction
64
64
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.28
4
+ version: 3.1.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-24 00:00:00.000000000 Z
11
+ date: 2023-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -151,11 +151,15 @@ files:
151
151
  - app/helpers/ish_models/application_helper.rb
152
152
  - app/jobs/wco_hosting/certbot_job.rb
153
153
  - app/mailers/ish_models/application_mailer.rb
154
+ - app/models/wco/gallery.rb
154
155
  - app/models/wco/lead.rb
155
156
  - app/models/wco/leadset.rb
156
157
  - app/models/wco/newsitem.rb
157
158
  - app/models/wco/office_action.rb
159
+ - app/models/wco/photo.rb
158
160
  - app/models/wco/profile.rb
161
+ - app/models/wco/publisher.rb
162
+ - app/models/wco/site.rb
159
163
  - app/models/wco/tag.rb
160
164
  - app/models/wco_email/campaign.rb
161
165
  - app/models/wco_email/context.rb