decidim-api 0.17.2 → 0.18.0

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: 816bd115d2c4949ccd0dfbc7d8130e3c25e0fd4ab981d743baf0cae1bbb9e3f4
4
- data.tar.gz: 1f90ded819ce5b8e333ea5b8974d8fd42279a97c69c0dc6c63699589a38e7c46
3
+ metadata.gz: de4dda2bcc297ac998c690d37588aabad23811ad3a571abeaa4b3ad778f51ce7
4
+ data.tar.gz: 16a85cd00bb4569dc3826f5f30950733c616c9b3730c15e0a3d892a7bf1154bb
5
5
  SHA512:
6
- metadata.gz: 3ca6ae705140b192a0ffa7f40b097addf86432399335a6d7d28c33a1ae6807978a10a3ba8b4a553da88cb3c92eca5dd54440a4dce1ab0b19c4f75c9fc61031f2
7
- data.tar.gz: b5ef790af1a464de06fa6cad83613ab09fa3861e687643e2334d7d56f2056c65bc12e0743d2c129529d11f37721d10cade2f4ac223d55822706324306c9a17aa
6
+ metadata.gz: b41c9024adb9ad0b14bd9e6fe0726eb006692d7d87779c84463526141dd7cbec1daf6ecbc0cac9fa062ecd1871c88715781ba11b70c916ebe86aafffa3962b35
7
+ data.tar.gz: 26087095ba61483cb9e5e9c3a9286afd18bc54e8f5c40252f506cafee1494eaecfada890a8f35fe7db729cd61a92624a2a0335953c04421cca531b6106ad4481
@@ -9,8 +9,11 @@ module Decidim
9
9
  include NeedsPermission
10
10
  include ImpersonateUsers
11
11
 
12
+ register_permissions(::Decidim::Api::ApplicationController,
13
+ ::Decidim::Permissions)
14
+
12
15
  def permission_class_chain
13
- [Decidim::Permissions]
16
+ ::Decidim.permissions_registry.chain_for(::Decidim::Api::ApplicationController)
14
17
  end
15
18
 
16
19
  def permission_scope
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-api version.
5
5
  module Api
6
6
  def self.version
7
- "0.17.2"
7
+ "0.18.0"
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-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -86,56 +86,56 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.17.2
89
+ version: 0.18.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.17.2
96
+ version: 0.18.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: decidim-core
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.17.2
103
+ version: 0.18.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.17.2
110
+ version: 0.18.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: decidim-dev
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.17.2
117
+ version: 0.18.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.17.2
124
+ version: 0.18.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: decidim-participatory_processes
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.17.2
131
+ version: 0.18.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.17.2
138
+ version: 0.18.0
139
139
  description: API engine for decidim
140
140
  email:
141
141
  - josepjaume@gmail.com