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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30074d5806cc4b43fbba7a65671037f72bfdcf2f
4
- data.tar.gz: f72f581b2eb16fa3809a1c5b12f11c0eeb95eeba
3
+ metadata.gz: 6d99f766996273184bd7f002732ce8b2c63904a9
4
+ data.tar.gz: 71e27a01f6b565a61d60d913cf0c9c2915ee90bd
5
5
  SHA512:
6
- metadata.gz: 767e011418d1518086ded0ca737e508ae810f9735db27af5444a66f9f7c5a43a61ea4f7de2ea5b5137eb30879ae36ea635f411b13968ec20d19565df48e5e08f
7
- data.tar.gz: 362af32a8fbfff1196aaf4fee66a49f5b442ee44b340176373fa34c229a58a59e954db74562b74be26b6ef9747cf505fd1bd0eca0627c2c700d36143015a4ec0
6
+ metadata.gz: 94acd34ffa2cc7a4221f2ae0bbfcd3463c63a892dc59b8ca9c7266d7f889529ec2a3e4a38cc5d5818f9a76b3cadb176bec9a8feef64eb2b2bfef19ecd038d120
7
+ data.tar.gz: ea3fc28d4c41f7a27cd3e5da0715a4c55d3fd63bef4f7b1ca51ce193bf858bc945902a1da0dd54a9dcf58a968260c6416025cfb91adc153c51952003eee2fad5
@@ -101,4 +101,4 @@ module Virgo
101
101
  end
102
102
  end
103
103
  end
104
- end
104
+ end
@@ -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("posts.publish_at >= :month_start AND posts.publish_at <= :month_end",
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
 
@@ -1,3 +1,3 @@
1
1
  module Virgo
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
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.10
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-03 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails