virgo 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/virgo/post/search.rb +1 -1
- data/app/models/virgo/post.rb +1 -1
- data/lib/virgo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d99f766996273184bd7f002732ce8b2c63904a9
|
4
|
+
data.tar.gz: 71e27a01f6b565a61d60d913cf0c9c2915ee90bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94acd34ffa2cc7a4221f2ae0bbfcd3463c63a892dc59b8ca9c7266d7f889529ec2a3e4a38cc5d5818f9a76b3cadb176bec9a8feef64eb2b2bfef19ecd038d120
|
7
|
+
data.tar.gz: ea3fc28d4c41f7a27cd3e5da0715a4c55d3fd63bef4f7b1ca51ce193bf858bc945902a1da0dd54a9dcf58a968260c6416025cfb91adc153c51952003eee2fad5
|
data/app/models/virgo/post.rb
CHANGED
@@ -49,7 +49,7 @@ module Virgo
|
|
49
49
|
scope :draft, ->{ where(status: :draft) }
|
50
50
|
scope :pages, ->{ where(post_type: :page) }
|
51
51
|
scope :posts, ->{ where(post_type: :post) }
|
52
|
-
scope :for_month, ->(month){ where("
|
52
|
+
scope :for_month, ->(month){ where("virgo_posts.publish_at >= :month_start AND virgo_posts.publish_at <= :month_end",
|
53
53
|
month_start: month.beginning_of_month,
|
54
54
|
month_end: month.end_of_month) }
|
55
55
|
|
data/lib/virgo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virgo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Zaillian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|