decidim-plans 0.15.0 → 0.15.1

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: 6201dcb627ff88b212be94b813dec98030068458918a3fa96e512f0ce0fb3420
4
- data.tar.gz: b0b7aaac71e663acc0b382364ae9ccbf13e1209c892db290e27fe5738298cf05
3
+ metadata.gz: 0bb5cf37b415f9c5db47541f2f0b578cbfa39c5d1faca7f9a5662ed42fb87644
4
+ data.tar.gz: 252ae73f002014e3c22fe3658475dee84ccd8cc5468378a93fd2b7bc34f7887a
5
5
  SHA512:
6
- metadata.gz: 9fe1d8ac264fbc79c15f38eae23ce90bd1408d0ffa8492dd28f5cb41152a527c5555117985f6727575275c3398c5da2987579cdb68b32bc440c34118843d8fb4
7
- data.tar.gz: da95502608c0f96657403e24443d28044eb9e5c623b3ccded2ea706b67cae0285d2564e95b2982199352d36bbda0728f08ea8aa270f70485b9d0b17cb6fc7fb4
6
+ metadata.gz: a650628a11c3dffd10f1036cd522bc45aa966fd3dc03488eb98ca6dc0da87f4ebb1808d8cd204e954bf4cd00bb11dd27f194894022119397577c853c9fcaaf8d
7
+ data.tar.gz: f90fa030b8070a3f5107cfffe4cfb95afa8739a07591284b4627b1a81a651373ef60946491228122e0e857ad037ddd7c58170a084ec82391d70d657d92193c49
data/README.md CHANGED
@@ -31,7 +31,7 @@ following differences:
31
31
  Add this line to your application's Gemfile:
32
32
 
33
33
  ```ruby
34
- gem 'decidim-plans', :git => 'git@github.com:mainio/decidim-module-plans.git'
34
+ gem 'decidim-plans'
35
35
  ```
36
36
 
37
37
  And then execute:
@@ -51,6 +51,8 @@ module Decidim
51
51
  end
52
52
 
53
53
  def statuses
54
+ return [:comments_count] if model.draft?
55
+
54
56
  [:creation_date, :follow, :comments_count]
55
57
  end
56
58
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Plans
5
- VERSION = "0.15.0"
5
+ VERSION = "0.15.1"
6
6
  DECIDIM_VERSION = "~> 0.15.0"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-plans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antti Hukkanen