decidim-surveys 0.11.0.pre1 → 0.11.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: ed1d1fb5c5133239e40959fe85f535d60e92f99198f15a8b0afdf886a0f2e6b5
4
- data.tar.gz: e18494afa4f831cce1a1ff12e99f1d6bc69deb5bb3731f8819fa5e007d1877a3
3
+ metadata.gz: 1ce506f420aa30a47e46811808972644589c87514bd497205cc7e3de5666b0b1
4
+ data.tar.gz: c0c91cb5f3f96d38f67d5161c1edcca8afb233bf50658ee7a6118082972a527a
5
5
  SHA512:
6
- metadata.gz: 93f0f880ae735a0ef20f6ec663f31c31864683ecd84e4402ea5ebfe42b443a7f6a9aabca5cb5709607254d1d39eae8ab7d63fd0922f0a3c2d2c861cd3b6af86e
7
- data.tar.gz: 640b3973b1d4d0c05a85e7da67d9d297c257dc71a7d2c02324ca852adb35d192e5687cd6b8296d47471fed8db81cc8edc2bf883f5ca38c9917ace67a0e23697c
6
+ metadata.gz: 0155b16d09b3b3bf24e8ddb0aaa0e6f321805fbec55eaaa7a4c7977457d63f9e71ef6da579f83511f7c7d439f08af94d880293d95a357fa6398e6e2274db7b75
7
+ data.tar.gz: 82487c4d16b94ae5bc881cef818b754d062be5f9752e3e6abdfad23d8064ca5e5a46adf869169e01e676398ddb8a50626056b911d1b89f649bc79ec5d20b95b2
@@ -26,8 +26,9 @@ class CreateDecidimSurveyAnswerChoices < ActiveRecord::Migration[5.1]
26
26
 
27
27
  SurveyAnswer.find_each do |answer|
28
28
  question = SurveyQuestion.find_by(id: answer.decidim_survey_question_id)
29
+ choices = SurveyAnswerChoice.where(decidim_survey_answer_id: answer.id)
29
30
 
30
- answer.choices.each do |answer_choice|
31
+ choices.each do |answer_choice|
31
32
  answer_options = SurveyAnswerOption.where(decidim_survey_question_id: question.id)
32
33
 
33
34
  answer_option = answer_options.find do |option|
@@ -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.11.0.pre1"
7
+ "0.11.1"
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.11.0.pre1
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-04-26 00:00:00.000000000 Z
13
+ date: 2018-05-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,56 +18,56 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.11.0.pre1
21
+ version: 0.11.1
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.11.0.pre1
28
+ version: 0.11.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-admin
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.11.0.pre1
35
+ version: 0.11.1
36
36
  type: :development
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.11.0.pre1
42
+ version: 0.11.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-dev
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.11.0.pre1
49
+ version: 0.11.1
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.11.0.pre1
56
+ version: 0.11.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-participatory_processes
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.11.0.pre1
63
+ version: 0.11.1
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.11.0.pre1
70
+ version: 0.11.1
71
71
  description: A surveys component for decidim's participatory spaces.
72
72
  email:
73
73
  - josepjaume@gmail.com
@@ -176,9 +176,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  version: '2.3'
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ">"
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: 1.3.1
181
+ version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
184
  rubygems_version: 2.7.3