ish_models 0.0.33.272 → 0.0.33.274

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 569fd681a6098f88e39d36996bc031e4094d57d4250efdf5d76961857b8b5987
4
- data.tar.gz: 5737743c665eb8998829713413e0f5c70273596c0d749c6ab2a1ef366498fa1d
3
+ metadata.gz: 90de218899ddf4fc0764c1f548417c53fcd398e1c3a1a31560ca796e411832bc
4
+ data.tar.gz: d0b1ec1ada583d9ac93b924a2a1701c2df0ba62c57c1243c80fcdaddeb00f3dc
5
5
  SHA512:
6
- metadata.gz: 6c97854130e7399943406ac285198bbd101d4d3f06a9daa478f6266079b70efc4f62e287e1b1660f51c7187f41241b1b8c62cae8b4a5a6e8eb061d65ebb0030f
7
- data.tar.gz: 8912dcb2e23c9da38481c5af234b66bfdab701ffc4ca016f3747b5ff81e0c59bb63c307c4fab62c145dcdfe74ad7b78f2d49daac301098c7216796060a81830e
6
+ metadata.gz: eb4f60187c093f0661b90d0c064eb6ba4e294455f2b5287cc22f876041144a48fa9052162980dd8599986015fa89ed45b6a1ab809c0f8943b3bcc188ce14cd59
7
+ data.tar.gz: cd94a83ea12c95bd829385f26277c6fe730982d88c9078153a58065fdb8ec171c1b5436d286da506a34605c8aea2070b5108c99952a4c8e251b84476c7aea3d9
data/lib/gallery.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  class Gallery
3
- include ::Mongoid::Document
4
- include ::Mongoid::Timestamps
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
5
  include Ish::PremiumItem
6
6
  include Ish::Utils
7
7
 
@@ -20,7 +20,7 @@ class Gallery
20
20
  field :is_trash, type: Boolean, default: false
21
21
  field :is_done, type: Boolean, default: false
22
22
 
23
- def public
23
+ def published
24
24
  where({ :is_public => true, :is_trash => false }).order_by({ :created_at => :desc })
25
25
  end
26
26
 
@@ -68,6 +68,7 @@ class ::Ish::EmailTemplate
68
68
  'Victor <victor@wasyaco.com>',
69
69
 
70
70
  'Wasya Co Mailer <no-reply@wco.com.de>',
71
+ 'Wasya Co Mailer <wasyacomailer@gmail.com>',
71
72
  ];
72
73
  field :from_email
73
74
  def self.from_email_list
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.272
4
+ version: 0.0.33.274
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
@@ -136,6 +136,48 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 7.1.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: prawn
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 2.4.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 2.4.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: prawn-table
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.2.1
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.2.1
167
+ - !ruby/object:Gem::Dependency
168
+ name: net-scp
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 4.0.0
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 4.0.0
139
181
  description: models of ish
140
182
  email: victor@wasya.co
141
183
  executables: []