decidim-system 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-system might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f93d18c0f93f59bd9ee19e68639ecfb4b6fd869
4
- data.tar.gz: 16d551410d03ff500ff581e9829c5c9eeb0ed5bb
3
+ metadata.gz: f83310d7cb5dd3e61002ce8047f48e12a2c055a4
4
+ data.tar.gz: 456d5d2304fe3baf9b7e971edecb8a1995d261ae
5
5
  SHA512:
6
- metadata.gz: 7222a28cbe8da7b70e89ba3c9fc5584a4142a8388210e3122c30e160bd0588bb0a2f1e2841a0c74840247e2c06e7b1c35d631c36709b73e44fd3f3120dc15dce
7
- data.tar.gz: e098a0219be3a4571577fc9e311f3b4c09bdfcb746cfa7696e30ef451b4b875d2effb310e64d681d912eed45d829c1035fcb480a3c88e049a6e48714601f71e2
6
+ metadata.gz: 6e0084d6d801e91caad7181e3c83466821a596713969b47b4c6d019dafff8ffca453b76188eb4772cf2bc018ede97e655c25cee146a58e4baf9138b7e1595c99
7
+ data.tar.gz: abd8579d240ceeb0c8450f5e7be4f4de912ccc1a01156408ceb14a5db751f9a1d3884a959ccd40d64583e36c81694382c90f1f90edf2ccfb81d535f61d673097
@@ -52,10 +52,10 @@ module Decidim
52
52
  end
53
53
 
54
54
  def invite_user_form(organization)
55
- Decidim::InviteAdminForm.from_params(
55
+ Decidim::InviteUserForm.from_params(
56
56
  name: form.organization_admin_name,
57
57
  email: form.organization_admin_email,
58
- roles: %w(admin),
58
+ admin: true,
59
59
  invitation_instructions: "organization_admin_invitation_instructions"
60
60
  ).with_context(
61
61
  current_user: form.current_user,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.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: 2017-07-12 00:00:00.000000000 Z
13
+ date: 2017-08-02 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.4.0
21
+ version: 0.4.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.4.0
28
+ version: 0.4.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rails
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -158,14 +158,14 @@ dependencies:
158
158
  requirements:
159
159
  - - '='
160
160
  - !ruby/object:Gem::Version
161
- version: 0.4.0
161
+ version: 0.4.1
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
- version: 0.4.0
168
+ version: 0.4.1
169
169
  description: System administration to create new organization in an installation.
170
170
  email:
171
171
  - josepjaume@gmail.com