effective_classifieds 0.4.8 → 0.4.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2931630940c37affb2cdd3ed51f2091685085bbb87d90c9a63d4e2055ebb246
|
4
|
+
data.tar.gz: 6618d98e661fb555384c82808187c5caae82aa5e972a3b17c9841647dda559dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b96e2f49826f5afd28a3522f2d1d5578014695212653c2661a08d87cc68c62306924835126cc06587280946a30c63ef56d2628e2ed319e8afd9660c834c3c7c
|
7
|
+
data.tar.gz: e7b20879880ab6765a8062c7e7af2e72b282e83f18580de5e71383e492d85f721c122113910692be7cd1e969a7df05496717e9155a87f2c915aac8dca6f68f70
|
@@ -63,7 +63,7 @@ module Effective
|
|
63
63
|
timestamps
|
64
64
|
end
|
65
65
|
|
66
|
-
scope :sorted, -> { order(
|
66
|
+
scope :sorted, -> { order(start_on: :desc) }
|
67
67
|
scope :deep, -> { with_rich_text_body }
|
68
68
|
|
69
69
|
scope :upcoming, -> { where(arel_table[:end_on].gt(Time.zone.now)) }
|
@@ -151,7 +151,7 @@ module Effective
|
|
151
151
|
end
|
152
152
|
|
153
153
|
def purchasable_name
|
154
|
-
"
|
154
|
+
"#{category} - #{title}"
|
155
155
|
end
|
156
156
|
|
157
157
|
def published?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_classifieds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|