decidim-participatory_processes 0.6.5 → 0.6.6

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
  SHA1:
3
- metadata.gz: b342a18c73ebe3f03ca3998cf2d4960a1be7384c
4
- data.tar.gz: 85f1e7c5edaeddd4240d9c3a8b0082ceb1ded504
3
+ metadata.gz: 6e7f970e921c638304e6565df29a7f0f47fb4a6a
4
+ data.tar.gz: aff225293b3f1c82abcc5fde4fbc56beaf965f59
5
5
  SHA512:
6
- metadata.gz: 17af837a1ea5161c65db8b6c0def0f5ca5a480faa0500e1b5223e49d1aa20bef10ec98956dbae800f5e93c713178a49838a26f001dc78e1cfabcaf17edbdd7a8
7
- data.tar.gz: 6f181f058aab9e9a5111dd0f86c2ab9cb6684590c5db9c00e8a27c1f65cfe3bcf28767c5c7443355aa472069c68dd4d88078d5698313d9ab2191acb6633a965d
6
+ metadata.gz: ecb226100b0362a2e398e9c44fe7d8ccf4f05c1180deb277902646452c611e960ae1813558fbac5a8d6901682d65a5b04cf2c8c6663096bfb2a559d8882848d7
7
+ data.tar.gz: 659e5d182389f278f6dd421432b17c40799f6d829e7d6f6571e3c8fa2a5b679c46b274c230615c1fb382776d49314aa65d88929c01cf5b5c3f76a89ddd825949
@@ -7,8 +7,7 @@ class MakeAttachmentsPolymorphic < ActiveRecord::Migration[5.0]
7
7
  rename_table :decidim_participatory_process_attachments, :decidim_attachments
8
8
 
9
9
  add_column :decidim_attachments, :attachable_type, :string
10
- ActiveRecord::Base.connection
11
- .execute("UPDATE decidim_attachments SET attachable_type = 'Decidim::ParticipatoryProcess'")
10
+ execute("UPDATE decidim_attachments SET attachable_type = 'Decidim::ParticipatoryProcess'")
12
11
 
13
12
  rename_column :decidim_attachments, :decidim_participatory_process_id, :attachable_id
14
13
  add_index :decidim_attachments, [:attachable_id, :attachable_type]
@@ -1,9 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RemoveStepsShortDescription < ActiveRecord::Migration[5.0]
4
+ class ParticipatoryProcessStep < ApplicationRecord
5
+ self.table_name = :decidim_participatory_process_steps
6
+ end
7
+
4
8
  def change
5
- Decidim::ParticipatoryProcessStep.transaction do
6
- Decidim::ParticipatoryProcessStep.find_each do |step|
9
+ ParticipatoryProcessStep.transaction do
10
+ ParticipatoryProcessStep.find_each do |step|
7
11
  step.update_attributes!(
8
12
  description: new_description_for(step)
9
13
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-participatory_processes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
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: 2017-09-28 00:00:00.000000000 Z
13
+ date: 2017-10-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.6.5
21
+ version: 0.6.6
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.6.5
28
+ version: 0.6.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rails
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -46,28 +46,28 @@ dependencies:
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.6.5
49
+ version: 0.6.6
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.6.5
56
+ version: 0.6.6
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-admin
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.6.5
63
+ version: 0.6.6
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.6.5
70
+ version: 0.6.6
71
71
  description: Participatory Processes plugin for decidim
72
72
  email:
73
73
  - josepjaume@gmail.com