daengine 0.3.7.1 → 0.3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/digital_asset.rb +1 -0
- data/lib/daengine/version.rb +1 -1
- metadata +2 -2
data/app/models/digital_asset.rb
CHANGED
@@ -48,6 +48,7 @@ class DigitalAsset
|
|
48
48
|
scope :sami_is, ->(sami_code) {where(:sami_code => sami_code)}
|
49
49
|
scope :path_is, ->(path) {where(:'documents.path' => path)}
|
50
50
|
scope :doctype_in, ->(types) {where(:'documents.content_type'.in => types)}
|
51
|
+
scope :content_type_in, ->(types) {where(:'documents.content_type'.in => types)}
|
51
52
|
scope :product_in, ->(types) {where(:product_ids.in => types)}
|
52
53
|
scope :stale, -> {where(:updated_at.lte => 2.minutes.ago)}
|
53
54
|
scope :orderable_is, ->(orderable) {where(:orderable => orderable)}
|
data/lib/daengine/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: daengine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.7.
|
5
|
+
version: 0.3.7.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- sbhatia
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-09-
|
13
|
+
date: 2012-09-10 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|