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 +4 -4
- data/lib/gallery.rb +3 -3
- data/lib/ish/email_template.rb +1 -0
- metadata +43 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90de218899ddf4fc0764c1f548417c53fcd398e1c3a1a31560ca796e411832bc
|
4
|
+
data.tar.gz: d0b1ec1ada583d9ac93b924a2a1701c2df0ba62c57c1243c80fcdaddeb00f3dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
4
|
-
include
|
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
|
23
|
+
def published
|
24
24
|
where({ :is_public => true, :is_trash => false }).order_by({ :created_at => :desc })
|
25
25
|
end
|
26
26
|
|
data/lib/ish/email_template.rb
CHANGED
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.
|
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: []
|