decidim-verifications 0.8.1 → 0.8.2

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: b05903ddd4aea8044b78c8b66681233da2b73b68
4
- data.tar.gz: 2e19c1a5adfce15ff35f9874cf63d67c9f8164c5
3
+ metadata.gz: e66a97ab725d43e3ceb05db222b767582356bb4b
4
+ data.tar.gz: 9cb9c44f45b9e7d1d7f4837d5bc2b1b9564f5614
5
5
  SHA512:
6
- metadata.gz: 43dd3685313c1d46ec6974a52bda38bd662adb301c4e234c704c7e8e4d31a2f4c35849de623e35472f60556a8aeb392a24f12629672698a631254fd3dbcb5afc
7
- data.tar.gz: 13938df65916bd12125dfb6fb8b32fe378dbb6cc663cf8bb11ab67286fa8d316f0e319be7c6fc051cb731d5553eb3682c5887228a69803b04023f965ecc8c2de
6
+ metadata.gz: 7f5e43166366d92092760300c804a467ddc2275aba75bb438d23038501826df85558346834b9bcb6b03bf8bbc6465cad42c898ea1974209fa0e10eeee0777d00
7
+ data.tar.gz: c623bfe8f62f7df440b67c2a1ced7357618053f405c39672a8a7fb658223b5f93ee887a7fa054c2e2e87e8af712ec30135e6660c8bfe7f787ccd1abc9a09c553
@@ -36,8 +36,10 @@ class MoveAuthorizationsToNewApi < ActiveRecord::Migration[5.1]
36
36
  end
37
37
 
38
38
  Feature.find_each do |feature|
39
+ next if feature.permissions.nil?
40
+
39
41
  feature.permissions.transform_values! do |value|
40
- value["authorization_handler_name"].classify.demodulize.underscore
42
+ value["authorization_handler_name"]&.classify&.demodulize&.underscore
41
43
  end
42
44
 
43
45
  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.1"
7
+ "0.8.2"
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.1
4
+ version: 0.8.2
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-11 00:00:00.000000000 Z
11
+ date: 2017-12-12 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.1
19
+ version: 0.8.2
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.1
26
+ version: 0.8.2
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.1
33
+ version: 0.8.2
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.1
40
+ version: 0.8.2
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.1
47
+ version: 0.8.2
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.1
54
+ version: 0.8.2
55
55
  description: Several verification methods for your decidim instance
56
56
  email:
57
57
  - deivid.rodriguez@riseup.net