decidim-assemblies 0.9.0 → 0.9.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4629a4020632853dfcf329943a309f3e61cc9b5a9cc16b8246da90979c3adc5d
|
4
|
+
data.tar.gz: 987a69d30fe256bd7be95fbca4018201e963da8d072f160bafd0a62e341d1927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e843feee23a9d4b860a0086f6c3a201bea8541098cbe618f0379bdd295dcca4c89b986781a364aea171c48925d2256218daf79fd36cb96574d5da565017f21bf
|
7
|
+
data.tar.gz: 5473c6b58d40ccc4bff6df418e68ce00f8cdebad9beb280a60e04aee75bff28fc3ae59d084a38b893646a2fa5876f70dfb108fa6fdb1dda8dd6148ea8d119c47
|
@@ -31,7 +31,7 @@ module Decidim
|
|
31
31
|
|
32
32
|
def detect_current_assembly(params)
|
33
33
|
organization_assemblies.where(slug: params["assembly_slug"]).or(
|
34
|
-
organization_assemblies.where(id: params["
|
34
|
+
organization_assemblies.where(id: params["assembly_slug"])
|
35
35
|
).first!
|
36
36
|
end
|
37
37
|
|
@@ -26,7 +26,11 @@ module Decidim
|
|
26
26
|
private
|
27
27
|
|
28
28
|
def current_participatory_space
|
29
|
-
|
29
|
+
return unless params[:slug]
|
30
|
+
|
31
|
+
@current_participatory_space ||= OrganizationAssemblies.new(current_organization).query.where(slug: params[:slug]).or(
|
32
|
+
OrganizationAssemblies.new(current_organization).query.where(id: params[:slug])
|
33
|
+
).first!
|
30
34
|
end
|
31
35
|
|
32
36
|
def published_assemblies
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-assemblies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.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: 2018-02-
|
13
|
+
date: 2018-02-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.9.
|
21
|
+
version: 0.9.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.9.
|
28
|
+
version: 0.9.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-admin
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.9.
|
35
|
+
version: 0.9.1
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.9.
|
42
|
+
version: 0.9.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-dev
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.9.
|
49
|
+
version: 0.9.1
|
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.9.
|
56
|
+
version: 0.9.1
|
57
57
|
description: Assemblies component for decidim.
|
58
58
|
email:
|
59
59
|
- josepjaume@gmail.com
|