decidim-surveys 0.18.1 → 0.19.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: 827e338386a05a888087dded6381768ec55b1930583e937484399e68ec76e2ad
4
- data.tar.gz: 808901a2e0baef82ab5dde5338cbf9819055b1ee76ea2f93e38abcf027567a70
3
+ metadata.gz: 3cfafe52d14a8b66c6640cfdd207007a880b8925005cb6fe5db835085e5b6b12
4
+ data.tar.gz: 7eb69a0c8b93d4ee4e57380da6acf2ed7bf9aea6b32223826054daf277e72558
5
5
  SHA512:
6
- metadata.gz: 8ee95a20efe9749f947376413290ae565e258d98f8c26bafe43305fc1465ec9af01fa62ff12b0a4de4f267c30eedc36640c5e9d1bca84b6c6eb505fcf51885b8
7
- data.tar.gz: 93db6ab66bc84ffd9b00e75a9b9829dc35117932081d62b7e4f74edddc5540a71ca22c72c8857f3491f4108eedfb49a452702eb9fd0a1762b6424961049f5012
6
+ metadata.gz: 3e3fb930c2d48e0773c0f9625ff041eb333d3bef25785c0705fc96bc93c8c1a395398feae04f34ae138b67a6bc2368c297112165ebedb3dd3e794fb1f8a5b56a
7
+ data.tar.gz: ad11376c91b8c26c967d426273f77c4eaa169f5c06987fdc491a32a92c79a51b0d4aa0f8893b14b8a09b356240ae679131589f0ea43b325589cad7c81964061f
@@ -17,6 +17,7 @@ module Decidim
17
17
  end
18
18
 
19
19
  return unless event && event_class
20
+
20
21
  Decidim::EventsManager.publish(
21
22
  event: event,
22
23
  event_class: event_class,
@@ -15,6 +15,7 @@ module Decidim
15
15
  query.each do |key, results|
16
16
  cumulative_value = results[:cumulative]
17
17
  next if cumulative_value.zero?
18
+
18
19
  quantity_value = results[:quantity] || 0
19
20
  space_type, space_id, survey_id = key
20
21
  record = Decidim::Metric.find_or_initialize_by(day: @day.to_s, metric_type: @metric_name,
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-surveys version.
5
5
  module Surveys
6
6
  def self.version
7
- "0.18.1"
7
+ "0.19.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -18,70 +18,70 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.18.1
21
+ version: 0.19.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.18.1
28
+ version: 0.19.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-forms
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.18.1
35
+ version: 0.19.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.18.1
42
+ version: 0.19.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.18.1
49
+ version: 0.19.0
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.18.1
56
+ version: 0.19.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-dev
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.18.1
63
+ version: 0.19.0
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.18.1
70
+ version: 0.19.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-participatory_processes
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.18.1
77
+ version: 0.19.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.18.1
84
+ version: 0.19.0
85
85
  description: A surveys component for decidim's participatory spaces.
86
86
  email:
87
87
  - josepjaume@gmail.com