decidim-blogs 0.15.2 → 0.16.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: 9bfe415e0c7d2e1cb5ba188f121ff17f509078206df05c46674ad48726b1a15d
4
- data.tar.gz: 7430c87f6b54823dc940af330a7210913994e17d919a69fd741734c4a5de634b
3
+ metadata.gz: 209960eafc4a5193af907cf1d047f04084838e3f59f5f26344cf610c3353ef9c
4
+ data.tar.gz: a64a066e561e2102dcf21fe1d1aa3c989dcdf79fcb462336f97b0fa7e7dd05ff
5
5
  SHA512:
6
- metadata.gz: 9328f9f04d0c401d3abbf9c7c16ac6f42892a5d1e8708b70d285a21d381cc1d0b768211d1895d6e5ac906f65970535a2fa0aa1ec05729549d18bb028d2eb2c71
7
- data.tar.gz: 323127fcb5de2c53678af9e157bd630b3b0cb8388b07057559390713077a49499de36fb6310d633459bb2f9ee7b7095b9126837a4213b06476ce852f60c3bea2
6
+ metadata.gz: 3643619b1d8cbef928a85a2e6e0535edb26610c21b2e84b3e3e7bccb39b7bf44fecb599151f0c3e2023c5211bd2c45eebcb7ab70576348b2171d22333cddb4b2
7
+ data.tar.gz: 6cf2c78ff986df661c2a40560fe69b9a46550792a2012ac6316cb4fe4c363a812ba6a4749787dc5176920f9772735823f064d8b7b611b135b50b686f6860e371
@@ -48,7 +48,7 @@ module Decidim
48
48
  event: "decidim.events.blogs.post_created",
49
49
  event_class: Decidim::Blogs::CreatePostEvent,
50
50
  resource: @post,
51
- recipient_ids: @post.participatory_space.followers.pluck(:id)
51
+ followers: @post.participatory_space.followers
52
52
  )
53
53
  end
54
54
  end
@@ -3,6 +3,9 @@
3
3
  module Decidim
4
4
  module Blogs
5
5
  class CreatePostEvent < Decidim::Events::SimpleEvent
6
+ def resource_text
7
+ translated_attribute(resource.body)
8
+ end
6
9
  end
7
10
  end
8
11
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Blogs
6
6
  def self.version
7
- "0.15.2"
7
+ "0.16.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-blogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.15.2
19
+ version: 0.16.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.15.2
26
+ version: 0.16.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.15.2
33
+ version: 0.16.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.15.2
40
+ version: 0.16.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.15.2
47
+ version: 0.16.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.15.2
54
+ version: 0.16.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httparty
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,56 +100,56 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.15.2
103
+ version: 0.16.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.15.2
110
+ version: 0.16.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: decidim-assemblies
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.15.2
117
+ version: 0.16.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.15.2
124
+ version: 0.16.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: decidim-dev
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.15.2
131
+ version: 0.16.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.15.2
138
+ version: 0.16.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: decidim-participatory_processes
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.15.2
145
+ version: 0.16.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.15.2
152
+ version: 0.16.0
153
153
  description: A Blog component for decidim's participatory spaces.
154
154
  email:
155
155
  - isaac.mg@coditramuntana.com
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.7.7
242
+ rubygems_version: 2.7.6
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Decidim blogs module