ish_models 3.1.0.28 → 3.1.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/wco/gallery.rb +0 -0
- data/app/models/wco/photo.rb +0 -0
- data/app/models/wco/publisher.rb +18 -0
- data/app/models/wco/site.rb +17 -0
- data/app/models/wco_email/scheduled_email_action.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e5b5df0a1181ed7f2aa70bd246edd53498ed6ab30d05476367cf25b8b5e615
|
4
|
+
data.tar.gz: 766dee13aa038acfebb3ea16ff4159f521d0466024cf93725cd64266e91e60b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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
|