decidim-verifications 0.8.2 → 0.8.3

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: e66a97ab725d43e3ceb05db222b767582356bb4b
4
- data.tar.gz: 9cb9c44f45b9e7d1d7f4837d5bc2b1b9564f5614
3
+ metadata.gz: 78af9ec704d18de1630d0341fe64570a236db850
4
+ data.tar.gz: c38b4b9d7bf42af0d0b55199ec6ee5ec73085429
5
5
  SHA512:
6
- metadata.gz: 7f5e43166366d92092760300c804a467ddc2275aba75bb438d23038501826df85558346834b9bcb6b03bf8bbc6465cad42c898ea1974209fa0e10eeee0777d00
7
- data.tar.gz: c623bfe8f62f7df440b67c2a1ced7357618053f405c39672a8a7fb658223b5f93ee887a7fa054c2e2e87e8af712ec30135e6660c8bfe7f787ccd1abc9a09c553
6
+ metadata.gz: 9dd656ba6913d7e9e3eae6381a95605f13b215adc01a2f9ab3a9e90790e5279a803e8e8381d1d4de7a19af617ccabaf5cd0ba11140403c74b0fbba518e38f09a
7
+ data.tar.gz: 6ad8ff2d0133352d3b236c2394aa3144baac5b514d895f898bbbe5eef5044e3c2fc3ca865f33f034f7e607c74c7bff844f6fe361ee5d2b75a2cf586990911389
@@ -39,7 +39,12 @@ class MoveAuthorizationsToNewApi < ActiveRecord::Migration[5.1]
39
39
  next if feature.permissions.nil?
40
40
 
41
41
  feature.permissions.transform_values! do |value|
42
- value["authorization_handler_name"]&.classify&.demodulize&.underscore
42
+ next if value.nil?
43
+
44
+ {
45
+ "authorization_handler_name" => value["authorization_handler_name"]&.classify&.demodulize&.underscore,
46
+ "options" => value["options"]
47
+ }
43
48
  end
44
49
 
45
50
  feature.save!
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-verifications version.
5
5
  module Verifications
6
6
  def self.version
7
- "0.8.2"
7
+ "0.8.3"
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-verifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-12 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.2
19
+ version: 0.8.3
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.8.2
26
+ version: 0.8.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-admin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.2
33
+ version: 0.8.3
34
34
  type: :development
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.8.2
40
+ version: 0.8.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-dev
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.2
47
+ version: 0.8.3
48
48
  type: :development
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.8.2
54
+ version: 0.8.3
55
55
  description: Several verification methods for your decidim instance
56
56
  email:
57
57
  - deivid.rodriguez@riseup.net