decidim-core 0.9.1 → 0.9.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f989779c4209adbf2b018283befc02b9c1982630d4136de2a54b5d3b18177884
|
4
|
+
data.tar.gz: b58475aa61559da81c33914954679d2db50e2d1b8f91d3cb7e235ef8beb1513d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 447f6cefe4f3c989be9fad58e509cc9aadc03260b97418a8ea3f025f8dffb4dd6756c7204d129311f05aeeb98bf96f3b9ad76f9e948a5b6de15e122ceb2243fb
|
7
|
+
data.tar.gz: d2a569060ec1f2697cf872b265509a2b2582f936e77f6d8a298ef8fbce76976efd0448a9e8f0640f530dd7036aa4658788e7f0f078b2ff8fdfe17444722d48c8
|
@@ -40,8 +40,12 @@ module Decidim
|
|
40
40
|
def resource_icon(resource, options = {})
|
41
41
|
if resource.respond_to?(:feature)
|
42
42
|
feature_icon(resource.feature, options)
|
43
|
-
|
43
|
+
elsif resource.respond_to?(:manifest)
|
44
44
|
manifest_icon(resource.manifest, options)
|
45
|
+
elsif resource.is_a?(Decidim::User)
|
46
|
+
icon "person", options
|
47
|
+
else
|
48
|
+
icon "bell", options
|
45
49
|
end
|
46
50
|
end
|
47
51
|
end
|
@@ -10,7 +10,7 @@ module Decidim
|
|
10
10
|
# @see BaseRenderer Examples of how to use a content renderer
|
11
11
|
class UserRenderer < BaseRenderer
|
12
12
|
# Matches a global id representing a Decidim::User
|
13
|
-
GLOBAL_ID_REGEX = %r{gid
|
13
|
+
GLOBAL_ID_REGEX = %r{gid://\S+/Decidim::User/\d+}
|
14
14
|
|
15
15
|
# Replaces found Global IDs matching an existing user with
|
16
16
|
# a link to their profile. The Global IDs representing an
|
data/lib/decidim/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
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-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -506,28 +506,28 @@ dependencies:
|
|
506
506
|
requirements:
|
507
507
|
- - '='
|
508
508
|
- !ruby/object:Gem::Version
|
509
|
-
version: 0.9.
|
509
|
+
version: 0.9.2
|
510
510
|
type: :runtime
|
511
511
|
prerelease: false
|
512
512
|
version_requirements: !ruby/object:Gem::Requirement
|
513
513
|
requirements:
|
514
514
|
- - '='
|
515
515
|
- !ruby/object:Gem::Version
|
516
|
-
version: 0.9.
|
516
|
+
version: 0.9.2
|
517
517
|
- !ruby/object:Gem::Dependency
|
518
518
|
name: decidim-dev
|
519
519
|
requirement: !ruby/object:Gem::Requirement
|
520
520
|
requirements:
|
521
521
|
- - '='
|
522
522
|
- !ruby/object:Gem::Version
|
523
|
-
version: 0.9.
|
523
|
+
version: 0.9.2
|
524
524
|
type: :development
|
525
525
|
prerelease: false
|
526
526
|
version_requirements: !ruby/object:Gem::Requirement
|
527
527
|
requirements:
|
528
528
|
- - '='
|
529
529
|
- !ruby/object:Gem::Version
|
530
|
-
version: 0.9.
|
530
|
+
version: 0.9.2
|
531
531
|
description: Adds core features so other engines can hook into the framework.
|
532
532
|
email:
|
533
533
|
- josepjaume@gmail.com
|