decidim-initiatives 0.24.0.rc2 → 0.24.0

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: 905079c01e3ece8db3bc3790610095ae0fc0cbd51d6e2f8c12a8393aab99e09f
4
- data.tar.gz: 5b435d3a2ccd97eb6a57834ac4725e2230423e995dca199556995470f6a9128d
3
+ metadata.gz: 557c6b43a7cda759d2aefa2b9893893e336ccef62cc3533f19df7902ade4694b
4
+ data.tar.gz: fa9a227e8937d5f8b42ee55505ef04b471f85630b3a265ddd655feab095c7d48
5
5
  SHA512:
6
- metadata.gz: 84158aaaafaa89aba72dbfc4424c0d741997bc7c8eb27350c73bcffffdae163715285999d728b20c4f000e8c484edeaecf7ca7e205954bf99b78131047d6375d
7
- data.tar.gz: a9d6c85df92f3c7e0f015be89dfcf6cbeb098a9cfd2ca5d58c18b733aaacfaaf832001c306c6d78b1ea84b9ef5886dcdad4a8ca49c9d27f66231a74ce2be8c20
6
+ metadata.gz: b835b100231867c4ee8a0dbbe93fbecf67f98bc032dca5319d02ae5aacc32b5aef64a7cbe044263825d9fcb09909a8ba11e51e740a8ebfb608de0f88872b2e03
7
+ data.tar.gz: 2987d8c74edf38e2e5be4e103fe667ae3d153d591f13e88ab011d6e9e8f0a42e5642aeacf629181083df616e9251bf91ba241b56ec9c948532a5b40e63f618d3
@@ -1,5 +1,5 @@
1
1
  <% if model.hashtag.present? %>
2
- <%= link_to_if(
2
+ <%= link_to(
3
3
  "##{hashtag}",
4
4
  "https://twitter.com/hashtag/#{hashtag}",
5
5
  class: "card__text--category",
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddFollowableCounterCacheToInitiatives < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_initiatives, :follows_count, :integer, null: false, default: 0, index: true
6
+
7
+ reversible do |dir|
8
+ dir.up do
9
+ Decidim::Initiative.reset_column_information
10
+ Decidim::Initiative.find_each do |record|
11
+ record.class.reset_counters(record.id, :follows)
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-initiatives version.
5
5
  module Initiatives
6
6
  def self.version
7
- "0.24.0.rc2"
7
+ "0.24.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-initiatives
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0.rc2
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.24.0.rc2
19
+ version: 0.24.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.24.0.rc2
26
+ version: 0.24.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.24.0.rc2
33
+ version: 0.24.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.24.0.rc2
40
+ version: 0.24.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.24.0.rc2
47
+ version: 0.24.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.24.0.rc2
54
+ version: 0.24.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-verifications
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.24.0.rc2
61
+ version: 0.24.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.24.0.rc2
68
+ version: 0.24.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: kaminari
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -162,14 +162,14 @@ dependencies:
162
162
  requirements:
163
163
  - - '='
164
164
  - !ruby/object:Gem::Version
165
- version: 0.24.0.rc2
165
+ version: 0.24.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - '='
171
171
  - !ruby/object:Gem::Version
172
- version: 0.24.0.rc2
172
+ version: 0.24.0
173
173
  description: Citizen initiatives plugin for decidim.
174
174
  email:
175
175
  - jsperezg@gmail.com
@@ -518,6 +518,7 @@ files:
518
518
  - db/migrate/20200514102631_add_area_enabled_option_to_initiatives.rb
519
519
  - db/migrate/20200528151456_remove_user_groups_from_initiative_votes.rb
520
520
  - db/migrate/20200827154214_add_commentable_counter_cache_to_initiatives.rb
521
+ - db/migrate/20210310120720_add_followable_counter_cache_to_initiatives.rb
521
522
  - db/seeds/city.jpeg
522
523
  - db/seeds/city2.jpeg
523
524
  - lib/decidim/api/initiative_api_type.rb
@@ -552,9 +553,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
552
553
  version: '2.7'
553
554
  required_rubygems_version: !ruby/object:Gem::Requirement
554
555
  requirements:
555
- - - ">"
556
+ - - ">="
556
557
  - !ruby/object:Gem::Version
557
- version: 1.3.1
558
+ version: '0'
558
559
  requirements: []
559
560
  rubygems_version: 3.1.2
560
561
  signing_key: